Is it possible to draw a graph combining a HorizontalBarChart with a CubicLineChart with iOS-charts? The CubicLineChart would be drawn from top to bottom, following the horizontal bars rather than left to right.
If not, can anyone recommend a graph library that would support this please?
Currently, No. But technically, you could, but you need to do a lot of decent study on the framework and rewrite a bunch of methods to get it work.
Check out how combined chart is carried out, and make sure you understand how the ChartTransformer get setup and work. Then you are good to go.
The other way is, use vertical bar chart and normal line chart to get what you want, like a combined chart, and rotate it 90 degree, and customize the axis labels maybe easier for you?
BTW, you need to know that chart is making data easy to understand, I'm not sure would a chart like you said make it easier?
Related
I tryied to create a Pizza that is able to be split in pieces...
The circle itself aint been any Problem, as its a rounded Container, but to cut it by lets say "1-8 pieces", and make it possible to split it individually, and get the circle equally fair splitted visually. If someone could help me with this, i would really appreciate it as im pretty new to Flutter/Dart, and couldnt find any workaround for this problem. thanks.
Take a look at this package. It adds pie charts to flutter. This will probably cover your use case.
I have used Highcharts for drawing different types of graphs and for simple charts like stack, column, bar, pie etc.
But when I searched for GANTT chart I realize that it is not available in Highcharts. In the mean time I came across FusionCharts, can anyone please explain me which one to use and why? I'm a beginner in this area.
im working with amcharts since few years and I needed to make the same decision in the past and I'm super happy that I've choosen Amcharts it's super easy to use and to integrate in projects , I can just recommend this one it's pretty flexible, I guess you can also simulate the GANT chart if you simply combine few bar charts together :)
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.
im planning to do a percentage visualisation using a circle, and am currently trying to figure out what framework / technique to use.
i have used corePlot for graphs so far and have been wondering if it might be an option
my ideas are so far:
1: use a Core Plot piechart and add a covering circle layer in the middle
2: try to use quartz 2d to do it somehow
attached is a mockup how it should look like so you get an idea:
what do you think might be the best approach here? id like avoid using cover-up subviews and such..
is there any simple solution i might be missing?
thanks in advance
sebastian
(PS: i do not hope for any code here, just a general fingerpoint to the right direction)
As more of an alternative than an actual straightforward CorePlot answer, you could display your percentage in a customized version of the UICircularProgressView control which I can personally vouch for.
I want to draw a piechart in my application. Do anyone know any code or tutorial to help me out. I found some in the following link
http://rajeev.name/blog/2009/01/18/drawing-pie-charts-using-iphone-sdk/
but if there is any other more efficient way to do it, I want to learn it.
I'm not sure if you know how to do pie charts on other platforms, but there really are some basic techniques that you should be aware of and understand, before embarking on creating pie charts on ANY platform.
See here for a pretty good discussion. There are many more out there, if you want to learn more.
Applying that to the iPhone isn't going to be child's play, but it's not too hard either. If you are looking for a library to do the work for you, look around and you'd probably find something to give you a head start.
KeepEdge offers an iPhone charting/graphing API:
http://www.keepedge.com/products/iphone_charting/
You can also check the source code of AppMobile, which has a pie chart embedded inside it:
http://github.com/omz/AppSales-Mobile/tree/master
I will recommend you to look at the "Animating Pie Slices Using a Custom CALayer" page!.
there is new, nice Pie Chart 3D library. 3D charts which you can rotate and scale with fingers + protocol for getting information about tapped slice
http://iphone.orpi.pl/?p=20