Adjusting label.step starting point

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

    Posted 18 Mar 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:
    http://dojo.telerik.com/@kmcdaniel/OTEZO
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 22 Mar 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.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top