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

AxisY ticks int values

1 Answer 53 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Konstantin
Top achievements
Rank 1
Konstantin asked on 03 Nov 2010, 04:46 PM

Hi, Telerik Team!

I am trying to make simple bar chart using default axisY behavior (AutoRange = true).

The problem is my data values are always int (like 3, 5, 10 etc.) but on AxisY i see values on ticks like 3.5, 3.75. Is it possible to show only int values on this axis but still use AutoRange behavior.

1 Answer, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 08 Nov 2010, 09:10 AM
Hi Konstantin,

Unfortunately when AutoRange is set to true you do not have such control over it.
X axis has an internal mechanism to make it integer when step between items is high. You can set AutoRange to false you can define your own min, max and step.

Kind regards,
Evgeni "Zammy" Petrov
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Konstantin
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Share this question
or