This is a migrated thread and some comments may be shown as answers.

Adjusting label.step starting point

1 Answer 40 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 18 Mar 2016, 09:04 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 22 Mar 2016, 10:01 AM
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!
 
Tags
Charts
Asked by
Kevin
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or