title: iOS Line Graph Using X,Y Axis
body: <p>I searched many forums. But i need to Draw Line  with X,Y Start point to Another X,Y End point. But i am not getting any solutions. </p>
  
  <p>This is Asp.net code. I need something look like similer.</p>
  
  <pre><code>Grap.AddPoint(0, 0, "ff0000", "Red Line")
  Graph.AddPoint(30, 30, "ff0000", "")
  Graph.AddPoint(0, 0, "00ff00", "Green Line")
  Graph.AddPoint(30, 20, "00ff00", "")
  </code></pre>
  
  <p>My Points.</p>
  
  <p>Line 1:</p>
  
  <p>From (0,0)
  To (75,18)</p>
  
  <p>Line 1:</p>
  
  <p>From (0,0)
  To (75,9)</p>
  
  <p><a href="https://i.stack.imgur.com/Sz7cc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sz7cc.png" alt="This is Result i am expecting in Objective C"></a></p>
  
  <p>Check Below Image for your reference.</p>
  
  <p><a href="https://i.stack.imgur.com/Sz7cc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xu8m7.gif" alt="Image"></a></p>