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

Whole numbers (not decimal) in Y axis

1 Answer 114 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Ken Spencer
Top achievements
Rank 1
Ken Spencer asked on 25 Sep 2009, 05:44 PM
Is there a way, outside of manually setting min,max and step - to force the Y axis to use whole numbers only? I have tried AutoRange but in a stackedbar chart it still uses decimal for smaller number (max value of the data is 2 and the scale goes up to 2.5)

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 30 Sep 2009, 11:13 AM
Hi Ken,

I am afraid AutoRange=false is the only way to enforce such limitation for AxisY at the moment. As long as the additional step at the top is concerned, you can control it through the AxisY.ExtendDirection property. You can set it to AxisExtendDirection.None so that no additional steps are added to the axis.

Best 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.
Tags
Chart
Asked by
Ken Spencer
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or