set datatype to Xaxis or Yaxis

2 posts, 0 answers
  1. Sarani Ravindran
    Sarani Ravindran avatar
    2 posts
    Member since:
    Oct 2009

    Posted 09 Oct 2009 Link to this post

    Can we have only integer(without decimals) values in Yaxis or Xaxis?


    Thanks.
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 14 Oct 2009 Link to this post

    Hello Sarani,

    RadChart calculates MinValue, MaxValue and Step automatically and if it happens so that MinValue and MaxValue are too close, the step might be less than one, so the decimals would appear. In this case you can set the axis range manually by setting the AutoScale property to false and then populating MinValue, MaxValue and Step properties or calling the AddRange method.


    Regards,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top