AutoRange false when Chart is zoomed

2 posts, 0 answers
  1. Anitha
    Anitha avatar
    33 posts
    Member since:
    Apr 2012

    Posted 20 Jan 2014 Link to this post

    Hi All,

    I am using Racharts for display with X and Y ScrollandZoom.
    When I zoom the chart, need to assign AutoRange = False for YAxis,
    bcoz if it is Ture, when we move AxisX the values on Y Axis are changing.

    Once the chart is zoomed, if we move XAxis, the values on the YAxis should be constant.

    Any help,
    Thanks in advance
  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 23 Jan 2014 Link to this post

    Hello Anitha,

    I think that you only need to set the AutoRange, Min, Max and Step properties of the axis and you will get the desired output.

    I will suggest that you do not use the old RadChart but use the new ChartView. It has a much greater performance and smooth zooming, it is generally very easy to set up and is very flexible. With the RadCartesianChart, when you zoom in horizontally - the range of the vertical axis is not updated and you get the desired behavior out-of-the-box. We strongly suggest you migrate to the new charting control.

    Petar Marchev
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top