Problem on plotting with large values

2 posts, 0 answers
  1. chirag
    chirag avatar
    3 posts
    Member since:
    Apr 2008

    Posted 04 Nov 2008 Link to this post

     

    Values on the x and y axis scale if become very large they tend to overlap. How to avoid this?

  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 06 Nov 2008 Link to this post

    Hello chirag,

    Both axes are easily customizable. You need to disable the AutoScale:
    this.radChart1.PlotArea.YAxis.AutoScale = false;

    Then just set the range you require, providing minimum, maximum value and step between them:
    this.radChart1.PlotArea.YAxis.AddRange(0, 2000, 1000); // that will create only 3 labels.

    Regards,
    Evtim
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top