How to have your app make a graph based of of data in the app?

Discussion in 'iOS Programming' started by geiger10d, Mar 3, 2011.

  1. geiger10d macrumors member

    Joined:
    Jan 31, 2011
    #1
    hey guys, i am making a app that i want to be able to log your weight and keep track of it, which displays in on a simple line graph

    i am using a picker to log the weight, and that works fine, but i am not sure how to start making the graph? I have not a slightest clue!

    THANKS!
     
  2. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    There are some public libraries to put a graph on ur iPhone screen, from a .plist or XML or similair.
    Think u need to google that ;)
     
  3. geiger10d, Mar 4, 2011
    Last edited: Mar 4, 2011

    geiger10d thread starter macrumors member

    Joined:
    Jan 31, 2011
    #4
  4. balamw, Mar 4, 2011
    Last edited: Mar 4, 2011

    balamw Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #5
    The output linked looked like a line graph to me. Can you define what you mean?

    [​IMG]

    B
     
  5. geiger10d thread starter macrumors member

    Joined:
    Jan 31, 2011
    #6
    ah shoot i forgot to edit my reply I did not mean to say that im sorry, my question was to be how to make the graph only take up half of the page
    i was messing with all the numbers in the code but i couldn't figure it out, also how would i have the graph use the numbers that are logged from the user?
     

Share This Page