Steps for X-Axis?

Thread is closed for posting
4 posts, 0 answers
  1. Stefan Willebrand
    Stefan Willebrand avatar
    20 posts
    Member since:
    Sep 2008

    Posted 16 Jan 2009 Link to this post

    How can I set the steps for the X-Axis if I load the values dynamically from the database, currently it displays all the values no matter what I use for the steps setting.
  2. Stefan Willebrand
    Stefan Willebrand avatar
    20 posts
    Member since:
    Sep 2008

    Posted 16 Jan 2009 Link to this post

    I have tried adding new ranges:

    RadChart1.PlotArea.XAxis.Clear()

    RadChart1.PlotArea.XAxis.AddRange(39592, 39772, 100)

    But nothing seems to work, it still shows every label.

    Anyone?

  3. Stefan Willebrand
    Stefan Willebrand avatar
    20 posts
    Member since:
    Sep 2008

    Posted 16 Jan 2009 Link to this post

    Finaly, I found 

    RadChart1.PlotArea.XAxis.LabelStep = 20
    and that made it work.

    However, the Major Grid lines does not follow so they appear for every datapoint. 

     

    RadChart1.PlotArea.XAxis.Appearance.MajorGridLines
    and I can not find a step setting for that one, the only way is to set them to visible=false but I would like them at the labelsteps.

  4. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 19 Jan 2009 Link to this post

    Hello Stefan,

    This has been fixed in the latest release - RadControls for ASP.NET AJAX 2008 Q3 SP2 from January 13-th, 2009. Please, download it and give it a try.

    Greetings,
    Ves
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top