line/bar graph with respect to day,week,month and year iPhone
<p>i wanna to make a bar/line graph showing progress of the body weight wrto day,week,month and year,all in a segmentd control.
the body weight are shown as increment of 20 in X axis(20,40,60 etc.) and the y value should be 1,2,3 etc irrespective of the segmented control values. If the segmened control value is chosen as day, the y value will read as 1 day, 2 day etc. and if it is week,the y value would be 1 week, 2 week and so on.</p>

<p>for eg: if the weight for the 1 day is 20, 2nd day is 30 and for 3rd day is 25, then the  graph sould be as follows..(line graph also accepted)
<img src="http://i.stack.imgur.com/xoVZP.png" alt="Bar Graph for BodyWeight vs day"></p>

<p>Any help will be highly appreciated.</p>
