[iPhone] Plot a line chart (like Stocks appl)

Hi all,
I want to plot a line chart like the one that we can see in the Apple Stocks application.
Is there a framework or library or widget that I can use? Or have I to use "raw" Quartz2D functions?
Thank you very much!

There's no specific plotting support in the SDK. There are a number of 3rd party libraries for OS/X, and some of these seem to be in the process of being ported to iPhone. Here's one of the few ports that's ready for download: [http://fluidiphone.com/2008/11/25/ported-phgraph-to-iphone].
You might also take a look at the Google Chart API: [http://pmougin.wordpress.com/2007/12/10/google-chart-api-fun-with-cocoa-and-f- script>.
As mentioned at the fluidiphone link, the AccelerometerGraph sample app at the Dev Center includes a very simple plotting example, but you'd probably need to enhance that code to do very much with it.
Except for the sample app, I haven't tested any of the libraries yet so am just summarizing what's out there, not making any recommendation.
Hope that helps!

Similar Messages

  • Need Help In Flash/Flex Line Charts...Output should be like stock exchange chart

    Hello Friends,
    I need a small help from you guys.
    I want to do a line chart example in flash cs3 or in flex. Actually my requirement is getting the data from external file ie xml and with that i want to display a line chart with some time interval just like stock exchange charts for example.
    I have to do this either in flex or in flash cs3. i dont have any ideas how to proceed. can anyone help me out on this. i need it asap.
    Thanks
    Rajesh

    hi
    flex has charting components you can use. see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/charts/LineChart.htm l (example at the bottom of page)

  • Line chart to plot count of 2 date fields against calendar month

    Post Author: springle
    CA Forum: Charts and Graphs
    I would like to create a line chart with 2 lines.  I would like the x axis to be a calendar month.  I would like the y axis to be the count of a date field for that month.  I would like 2 lines, one the the count of applications recieved in a month and the other to be the number of shipments in a month.  I can make a chart to plot one or the other but not both on one chart.So in summary I want of a count of date1 and a count of date2 by calendar month in one line chart.Thanks in advance,Scott

    Post Author: springle
    CA Forum: Charts and Graphs
    Thanks for the reply but I am afraid this does not solve my problem.  Your proposal make the month count of Date1 records in the fields and the count of Date2 in the month of date1 I am try to graph...In the month of Jan: 56 apps and 49 deliveriesIn the month of Feb: 76 apps and 79 deliveriesIn the month of Feb: 86 apps and 69 deliveriesThe change on date cannot be either app date or del date.  It needs to be independent from a calendar timeline. Scott 

  • Plot empty point in line chart with previous non empty value

    Hello,
    I have a problem to plot series data in SSRS line chart, with the empty point, I don't want use average and zero provided by the report builder, I want use the last non empty data to fill the empty point, tried to use expression =Previous(Field!Value), no
    luck, any one have some good idea?
    P.S. do not want to use query to fill the null with previous non null value, just from the performance point view. at last , the chart should have some line as square wave with different height, if I use average for empty point, it shows slop wave line which
    is not reflect the real production.
    Thanks
    Richard 

    Hi Richard,
    In Reporting Services, if the chart type is a linear chart type (bar, column, scatter, line, area, range), null values are shown on the chart as empty spaces or gaps between data points in a series. By default, empty points are calculated by taking the average
    of the previous and next data points that are not null.
    If we want to use previous value to replace the empty value, please refer to the following steps:
    Right-click the field which displayed in Y axis (Height) to open the Series Properties.
    In the Value field to modify the expression to look like this:
    =iif(isnothing(Sum(Fields!Height.Value)),previous(sum(Fields!Height.Value)),sum(Fields!Height.Value))
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to plot line chart for huge xml files?

    Guys,
    I would like to plot files over 2000 lines in a line chart!
    but the application is getting very slow!
    does anyone have any tips to improve performance?

    Can we see how you implement the LineChart and bind the XML please?
    It should be fast normally.

  • Hi, why can't I use the iMessage on my iPhone? I've already had my apple id email on it but it keeps saying "waiting for activation" always like that. No progress. Could anybody help me on this? Cheers

    Hi, why can't I use the iMessage on my iPhone? I've already had my apple id email on it but it keeps saying "waiting for activation" always like that. No progress. Could anybody help me on this? Cheers

    I have an old iPod Touch with old software that can no longer be updated:
    iOS version 6.1.6
    I've been searching for a solution to my iMessage login problem for months and tried everything from those frustrating links and all the tips from other users.
    Here is what finally worked:
    1) Settings > Privacy > Location Services > On
    2) Settings > General > Date & Time > Set Automatically > On
    3) Reboot device until Apple logo appears
    4) Settings > Messages > Sign In

  • TS3367 I own iPad mini and iPhone 4. I'd like to use FaceTime to talk to my partner whilst I'm in hospital. What's the best way of setting it up. Can I use my apple username for both devices?

    So have iPad mini and iPhone. But I'd like to leave my iPad with my partner whilst I'm in hospital so we can FaceTime each other.
    What's the best way of setting this up!

    http://support.apple.com/kb/HT4319

  • I'd like to buy an iPhone 4S in France directly from the Apple Store, not from the operators. But, I will go back to my country, Thailand. So, I'm wondering to know that there is an INTERNATIONAL warranty for iPhone, and is it valid in Thailand (warranty)

    I'd like to buy an iPhone 4S in France directly from the Apple Store, not from the operators. But, I will go back to my country, Thailand. So, I'm wondering to know that there is an INTERNATIONAL warranty for iPhone, and is it valid in Thailand (warranty). Would it be able to be claimed at the iStudio in Thailand?

    There is NO International Warranty for the iPhone.  Your best bet is to purchase one in Thailand.  If you purchase a phone in France, you will NOT get warranty service on it in Thailand and will have to return it to France (or any EU country) for warranty service.

  • The movies from my Iphone 5 are not coming across on Apple TV. The little spinning beach ball appears like it is thinking.  It use to work but quick working a month ago.

    The movies from my Iphone 5 are not coming across on Apple TV. The little spinning beach ball appears like it is thinking.  It use to work fine but quick working a month ago. I mirror from my phone to the Apple TV.  Still images and everything I do on the phone is mirrored on to the TV except when I want to show a YouTube video or any video and then the screen on the phone and the TV screen go black and the spinning beach ball appears.  The videos open right up on the phone if I do not have mirroring on and going through the Apple TV.  I just downloaded the latest update to the phone it did not fix the problem.  Please help.  Thanks, Elvis G

    Hello Elvis G,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps concerning device issues. You may want to consider a reset, then testing to see if the issue is resolved:
    Turn your iOS device off and on (restart) and reset
    http://support.apple.com/kb/ht1430
    How to reset
    You should reset your device as a last resort and only if you can't restart it.
    To reset, press and hold both the Sleep/Wake and Home buttons for at least 10 seconds, until you see the Apple logo.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    My free apps purchased using my cousin's apple id won't open anymore on my iphone but apps donwloaded using my own apple id still works. Why is it like that and how can I make apps purchased using my cousin's apple id work on my iphone? Help!

    Welcome to the Apple Community.
    Delete the apps purchased by your cousin and purchase your own.

  • I would like to plot two lines with an xy graph in realtime

    I understand how to plot in real time with an xy graph appending to an array, but I would like to simply put a line so I can see when my first plot crosses a certain value on the y-axis, say at like y=30. So I would like to know how it is you can plot two lines in real time. I'll put in my vi so you can take a look at what I have so far. On my vi the array is shortened to contain only 5 values so as not to take up memory.
    Attachments:
    xygraph.vi ‏47 KB

    Hi,
    I have made certain modifications to your vi so that now it plots two lines with an xy graph in realtime.
    Regards,
    Ankita A.
    Applications Engineer
    National Instruments
    Attachments:
    multiplot_XY_graph.vi ‏55 KB

  • HELLO I WOULD LIKE TO BUY IPHONE 5 FROM THE OFFICIAL SITE OF APPLE BECAUSE IS CHEAPER FROM MY COUNTRY GREECE. MY QUESTION IS CAN SUPPORT THE GREEK MENU OR LANGUAGE? THANKS

    HELLO I WOULD LIKE TO BUY IPHONE 5 FROM THE OFFICIAL SITE OF APPLE BECAUSE IS CHEAPER FROM MY COUNTRY GREECE. MY QUESTION IS CAN SUPPORT THE GREEK MENU OR LANGUAGE? THANKS

    To find out what languages are supported, just read for yourself the tech specs:
    http://www.apple.com/iphone/specs.html
    To find out if you can buy something you have to contact the store yourself.  The US Apple store does not sell to other countries.

  • I have got iphone 5 and i have made my apple id  and to download apps from app store they ask me the payment method but there is no option like none what should i do

    i have got iphone 5 and i have made my apple id  and to download apps from app store they ask me the payment method but there is no option like none what should i do

    it require a creditcard even if one only get free apps

  • Ive purchased a black coloured iphone 5s but i dont like the colour, can apple replace my current phone with a white one?j

    Ive purchased a black coloured iphone 5s but i dont like the colour, can apple replace my current phone with a white one?j

    If you purchased your iPhone from Apple within the last 14 days then you can return it to switch it for another color if you wish.
    If you purchased it through your carrier, then you will need to look at their returns policy, but I expect it would be similar.

  • I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?

    I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?

    anshulmajoka wrote:
    I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?
    iOS 4.3.5 is not the same as iOS 5. iOS 5 with the new features you list has not been released.
    Stedman

Maybe you are looking for

  • How to restrict number of characters for an input field

    Hi All, I have an input field. The max number of characters for this input field is 10. when a user enter more then 10 characters. it should prompt for an error or the input field should not allow to accpet the 11 character. how we do this in VC. nee

  • SSIS TechNet Gurus Announced for June 2014!

    The Results are in! and the winners of the TechNet Guru Competition June 2014 have been posted on the Wiki Ninjas Blog. Below is a summary, heavily trimmed to fit the size restrictions of forum posting.  BizTalk Technical Guru - June 2014   Steef-Jan

  • Masking P-Card Number

    Hi All, I need to  mask the first 12 characters with *'s and the last 4 numbers as it for a procurement card. The transactions where we would like the masking to occur would be: 1) Create/Change/Display Requisition 2) Create/Change/Display Purchase O

  • Can't get unparsed (XML string) BPEL response in servlet

    (Reposted from "OC4J and Java EE" forum) I'm trying to invoke a two-way BPEL process from within a servlet like so:         NormalizedMessage requestMessage = new NormalizedMessage();         requestMessage.addPart("payload", requestXml);         Loc

  • Raid 1 and JBOD?

    HiWill the EX4100 support 2 different setups.  eg I'd like Raid1 on 2x 6TB drives, and then 2 separate drives either as individual or JBOD (I will be adding the 2 separates drives at a later date) Thanks In Advance