tags:

views:

42

answers:

1

I have a graph where user can draw the graph using touch gesture, i want the graph drawn to have smooth edges what Function should be used for this ?

Edit : I draw the graph using Touches method of the UIView, I store the traced path in an array, this array will be used in drawRectMethod to draw lines connecting these points, the problem i am facing is if the user moves the finger too quickly i do not get smooth lines they are more like individual lines connected and my requirement is that they should be curved, i tried using Arcs but not getting the angle correctly.

Thanks

+1  A: 

Take a look at the core-plot project.

coob