Adjusting label.step starting point

2 posts, 1 answers
  1. Kevin
    Kevin avatar
    3 posts
    Member since:
    Mar 2016

    Posted 18 Mar 2016 Link to this post

    Is there any way do n+1 with step? With the dataset on one of my charts, the units are getting set to .5 When I set the step equal to 2 I’m getting 1.5, 2.5, 3.5… as my values. I’d really prefer the labels to be whole numbers.

    Here’s a hardcoded example of my chart:
  2. Answer
    Iliana Nikolova
    Iliana Nikolova avatar
    2622 posts

    Posted 22 Mar 2016 Link to this post

    Hi Kevin,

    To achieve the expected result you could set valueAxis.majorUnit 1. For your convenience here is the updated dojo.

    Iliana Nikolova
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top