This is a migrated thread and some comments may be shown as answers.

[Solved] Zoom Out programmatically

3 Answers 160 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sal
Top achievements
Rank 1
Sal asked on 10 Dec 2015, 01:49 AM
So I know I can set the Zoom Range and Zoom value on an axis when setting up a chart by accessing both properties but is there a way to Zoom Out, like add a negative value to have the chart zoomed out a little more than it's default view? I only ask because I have a couple charts where the last few data points are right at the edge of the graph and there isn't enough room to really see them so the users want to know if the graph can first load a little zoomed out and then they can zoom in if they want to. When I try to set the zoom of either axes as a negative number the graph's don't draw at all (I have NSDate's on the X-Axis and Numbers on the Y-Axis). Thanks. 

3 Answers, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 10 Dec 2015, 03:39 PM
Hi, Sal,

Than you for contacting the iOS team.

TKChart does not support negative zoom on its axes. I added this suggestion to our feedback portal where you can follow its status. We will consider implementing such functionality if there is enough interest. 
Currently a possible way to show the points on left and right of the chart is to change the axis range which will make the points visible with zoom 0.

I hope this helps. If you need more assistance, do not hesitate to contact us.

Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Sal
Top achievements
Rank 1
answered on 10 Dec 2015, 03:43 PM
Thanks Adrian. I kind of thought that was going to be the issue so I'll add an adjust the Date Range on the xAxis so I can get the last point to show up a little better. 
0
Adrian
Telerik team
answered on 15 Dec 2015, 01:16 PM
Hello, Sal,

I am glad that I could help. In case you need further assistance do not hesitate to contact us.

Regards,
Adrian
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Sal
Top achievements
Rank 1
Answers by
Adrian
Telerik team
Sal
Top achievements
Rank 1
Share this question
or