I tried to google this but could not find anything.
Do you have any idea how to create inverted cone graph like this?
I don't think that there is any direct API which does this.
But you can try to draw or plot it using
Drawing and Printing Guide for iOS
or
try using CoreGraphics Framework at more basic level to draw something like what you want.
Hope this helps you.
Related
I am a newbie to the graph functionality in an iPhone application.
I am having array of numbers for which I want to make the simple static line graph without using the coreplot library since I have already tried this which seemed to me quite complicated.
Can anyone please fix out my problem ?
You can draw Line chart using CoreAnimation.
Alternatively you can use core plot also : http://code.google.com/p/core-plot/
hi You can Draw your simple line chart without using core plot just refer following link.
http://code4app.net/ios/Line-Chart/4fc844616803faf26a000002
here you can get demo for simple line graph.
I hope this will help full to you.
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.
iPhone sdk :Does any Framework Support User to draw "candle graph" in iphone sdk?
I have tried following framework:
MIMChart-Library
CorePlot
But it seems not example to show that how to draw Candle Graph......
Or user need to customize by ourself?
Because i am trying to draw candle graph by some framework,
i understand that i has not much Framework support draw candle graph , because it is little bit hard to draw...
Core Plot can draw candlestick plots. The Plot Gallery example app includes one.
everyone.
I just found that there has a example code in CorePlot named "AAPLot"
It seems like the Candlestick plots we are looking at in Stock Market....
Hope this reference can help you guys. :]
I would like to draw a line graph in the same style as the one posted in this Core Plot issue.
Is there a tutorial out there on how to create a graph like this in Core Plot?
Use the below links this will help you.
http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application
http://code.google.com/p/s7graphview/
http://code.google.com/p/core-plot/wiki/PlotExamples
in my app I have 49 points with x,y and I wnat to display them on the screen. I've seen a lot of library that can help me (core plot, s7graphview, etc.). But since I'm doing very basic stuff (just draw points), what is the simplest way do to that ?
Thanks !
Its basic core graphics. Plenty of examples on the developer.apple.com site or just google for Core Graphics iPhone Tutorial.
You could use this Quartz2d method to draw a small circle:
CGContextFillEllipseInRect