I have an uiview ,In that view i had drawn one chart...I want to zoom in...
How can i do this ?
Is it possible ?
Can anyone help me?
Thanks in advance.....
I have an uiview ,In that view i had drawn one chart...I want to zoom in...
How can i do this ?
Is it possible ?
Can anyone help me?
Thanks in advance.....
Look at UIScrollView for one way of zooming in.
Another way to do it would be to draw the chart in a larger format in another offscreen view or bitmap, and then use a 0.5 or so transform to show it in your view, pre-zoomed. Then when you want to zoom, you dial the transform back to a 1:1 ratio.
If you don't shrink the view down initially, then when you zoom it you will see artifacts.