title: How to draw custom yahoo finance stock graph
body: <p>I am new to the iOS graph apps world. I want to make a custom graph in my iPhone app through yahoo finance API. The Core requirements of my app are<br><br>
  1). To show instant stock price fluctuations in graph ranging from 1 day to 1 year as yahoo finance shows in its own website for any company.<br>
  2). To show a customised graph (graph line and background color) based on the values.<br><br>
  After doing some research on internet I have found two ways of doing it but both of them fulfil only one functional requirement and lack the other one.<br><br>
  1). To use YQL to retrieve stock values on daily basis. For this i am using a query like:<br>
  <a href="http://query.yahooapis.com/v1/public/yql?q=select" rel="nofollow">http://query.yahooapis.com/v1/public/yql?q=select</a> * from yahoo.finance.historicaldata where symbol = "AAPL" and startDate = "2013-09-09" and endDate = "2013-10-10"&amp;diagnostics=true&amp;env=store://datatables.org/alltableswithkeys
  <br><br>
  This feed gives stock details on daily basis. By parsing the response from above feed, I can fulfil my requirement number 2 but i need to show instant fluctuations because user can opt to view graph of single day. How can I show instant fluctuations if i go with this option? what will be the suitable yahoo finance URL for that?
  <br><br>
  2). To using following yahoo finance charts library.<br>
  <a href="https://code.google.com/p/yahoo-finance-managed/wiki/miscapiImageDownload" rel="nofollow">https://code.google.com/p/yahoo-finance-managed/wiki/miscapiImageDownload</a>
  <br><br>
  This API fulfils my functional requirement number 1 but this API returns an image and does not provide any option to change graph line color or background color. So if I go with this option, how can I customise the graph? Please Help!!!!</p>