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

Maintain x and y axis proportion when zooming chart

2 Answers 35 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 06 Jan 2011, 05:28 AM
Hi

I have a line series chart on which I use zooming and scrolling. However if I don't select a perfect square as my zoom area then the x and y axis's zoom-in in different proportions and the resulting series line changes slope and seems skewed. I want to be able to select an area of the chart and zoom in - BUT I want to zoom in on the x and y axis the same proportion. ie I don't want to see 10% of the x-axis and 20% of the y-axis, I would rather see 10% or 20% of both.

Is this possible?

2 Answers, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 10 Jan 2011, 08:45 AM
Hello Jeremy,

Unfortunately we do not have such a functionality. It is not hard to be added but this will create a custom solution that we cannot afford to support.
I hope this information helps.

Kind regards,
Evgeni "Zammy" Petrov
the Telerik team

Browse the videos here>> to help you get started with RadControls for Silverlight
0
Jeremy
Top achievements
Rank 1
answered on 18 Jan 2011, 12:39 AM
Well I obviously wasn't making myself very clear what I wanted because this is achieved with 1 line of code:

RadChart1.DefaultView.ChartArea.ZoomScrollSettingsY = RadChart1.DefaultView.ChartArea.ZoomScrollSettingsX;
Tags
Chart
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Jeremy
Top achievements
Rank 1
Share this question
or