How to customize yaxis values in rad chart

Thread is closed for posting
2 posts, 0 answers
  1. Muhamed Shafi
    Muhamed Shafi avatar
    22 posts
    Member since:
    Jan 2010

    Posted 04 Nov 2011 Link to this post

    Hi all,
            I am using a rad chart (type="Line") where x axis values are adding dynamically which is working smoothly. Now I need to add y axis values also in the same manner. I know minimum and maximum values of y axis but the major tick values binding on it should be specific. For instance: minimum Value=0 and Maximum Value=10. Now I want to display only major ticks like 0,2,5,9 & 10 in the y axis; and also distance between these values should be proportionate. Is it possible ? Any help would be highly appreciated
    Thanks in advance
  2. Peshito
    Peshito avatar
    493 posts

    Posted 08 Nov 2011 Link to this post

    Hi Muhamed Shafi,

    You can control axes values by setting the AutoScale to False. Then you need to set Min, Max and Step values which will then define your axis.

    Alternatively need to do a custom logic, by wiring to the Chart's BeforeLayout event and set the value of each ChartAxisItem. Similar scenario is achieved in the following forum thread:

    More about axes can be found here:

    Best wishes,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. DevCraft R3 2016 release webinar banner
Back to Top