Maintain x and y axis proportion when zooming chart

3 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 05 Jan 2011 Link to this post

    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. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 10 Jan 2011 Link to this post

    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
  3. DevCraft banner
  4. Jeremy
    Jeremy avatar
    96 posts
    Member since:
    Mar 2010

    Posted 17 Jan 2011 Link to this post

    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;
Back to Top