How to plot waterfall chart using coreplot in ipad.I am able to draw pie chart and other chart but not getting way to draw it. please share if any one have working example it will be very helpfull
Use a bar plot. Set barBasesVary to YES on the plot and return base values from your datasource in addition to the usual location and tip values.
Related
I need to make a Pie Chart for a new PDF document I'm developing but I haven't found a way to make it happen. As long as I've been researching there's no obvious way to draw a piece of a pie chart. just a full circle witch doesn't help.
My goal is to have a pie chart where each piece can be independent and have different size and radius.
I've tried to use circles and divide the circle with lines but it would be better if I could draw each piece of the pie chart independently, so i could make the design more appealing.
I am using core-plot framework for drawing graphs. But I need to draw two bars with two y-axis. Please help providing sample code/example links.
Thanks in advance.
For your requirement this bellow link is very useful to you..also in this example many graphs and charts available
MIMChart-Library
and this tutorial with core-plot library
how-to-draw-graphs-with-core-plot-part
using-core-plot-to-draw-line-graphs
i hope this help you..
The "Axis Demo" in the Plot Gallery example app included with Core Plot shows how to do this. You create another axis and add it to the axes array of the axis set. The secondary y-axis can share the same plot space as the other axes or be assigned to another plot space if it needs to have a different scale.
I'm using core-plot0.4 for drawing waterfall graph. I have used barFillForBarPlot for coloring bars, but in legends(CPTLegend) its not displaying correctly.
That's a Core Plot bug. Please report it on the Core Plot issue tracker.
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