HELLO ALL
i want to draw bar chart for my app and i feel S7GraphView is easier then core-plot...as i tried to download and use core plot but its not happening ...for me
can any one knows how to draw bar graph by use of S7GraphView?
thank you in advance
S7GraphView doesn't draw bar graphs.
You can choose to use Core-Plot (it's very difficult to use it) or to draw rectangles with quartz
Related
I'm trying to draw a custom shape like this in my app:
Tried to draw using custom painter, but haven't figured out how to get this sort of shape. It's really just a container with a custom border I think, but not sure even where to start. It's just the shape I'm interested in, not the content.
Or if someone knows how to draw a rounded rectangle with a thinner bottom section, then that would really help me to work out the rest.
Also, does anyone here know how to draw a rounded rectangle that is thinner in the middle, like the shape behind the purple one in the example I've given?
Any help is grately appreciated.
Thanks in advance
use this tools
this is the link
download it for your windows and draw your shape and generate the code..
here is the tutorial on how to use the tools
the tutorial on how to use it
I am developing a plotting app which uses core plot. I want to animate the bar-chart height growth. I haven't used CALayer animations before. I saw some details of it but couldn't find any way to fulfill my motive using that. Though I feel it can have a role to play as charts are highly sub classed CALayers. Please correct if I am wrong and guide me to use animations to show growth of bar charts.
CABasicAnimation and michele's answer for this question did the trick for me and the charts are animating smoothly now :)
I have a CPTTradingRangePlot with a CPTTradingRangePlotStyleCandleStick style.
I'm looking for a way to highlight a specific (or a few) candlesticks with a different fill color (or a glow, or something), but I can't find a way to access individual candlesticks in a similar way that a CPTBarPlot has with -(CPTFill *)barFillForBarPlot:(CPTBarPlot *)barPlot recordIndex:(NSUInteger)index;
Am I missing something here?
Can I somehow maybe access a specific candlestick after the data load, and then change the fill color?
I was also thinking about adding an Annotation Layer, and maybe draw a circle around the specific candlestick(s), but I don't want to use an image, since it will get stretched and pixelated when I'll adjust it's size.
Is there any way to draw a vector-based shape as an annotation around the candlesticks?
Thanks for any help!
You can put a request for that feature on the Core Plot issue tracker. In the meantime, you can achieve the same look by using more than one plot, one for each different style.
Here I stuck with a problem in drawing the pie chart using coreplot in iphone sdk.
Actually my problem is to represent a line between each slice and the title of that slice I searched for the properties but I didn't found.
Anyone's help will be deeply appreciated.
Thank you all,
Monish.
There's nothing like that built into Core Plot currently. You could make a subclass of CPTTextLayer that draws the connecting line in addition to the text and use that to make custom data labels.
I am new to Iphone and i want to make bar chart can some one provide basic tutorial for it.I want make Simple line and small rectangle portion to show coordinate.
Thanks .
Try using core-plot.
You can look at DSBarChart. A simple Objective-C Bar Chart / Histogram library.
And here is the sample usage