Chart Value Axis whole number intervals?

2 posts, 0 answers
  1. Chris
    Chris avatar
    7 posts
    Member since:
    Jan 2016

    Posted 07 Feb Link to this post

    When loaded with little data it was displaying marks in the value axis as 0.2,.04 and so on.  So I found I could set the .MajorUnit(1) and that made it display whole numbers.  However if I load allot of data it gets crowded.  Attached is what it looks like.  I know i can increase the .MajorUnit but how do i make it only use whole numbers in the value axis and auto scale depending on the data passed in?
  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 09 Feb Link to this post

    Hi Chris,

    There is no autoscale option for such a case. The chart will always be rendered with all series that is bound to. 

    However, in order to have a more pleasant looking chart when more data is loaded, you can consider using Pan and Zoom options. By that, you can configure the minimum and maximum amount of series to appear intially and enable end user to navigate and zoom in or out through the chart.

    Regards,
    Ianko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top