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

chart without y-axis

1 Answer 57 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Anatoly Chekh
Top achievements
Rank 1
Anatoly Chekh asked on 15 May 2011, 04:27 PM
Hello!

I have a question:
1) I collapsed Y-Axis
2) I use AutoRange

But Acual MaxYValue is different from Acual MaxYValue in case Y-Axis visible, see attachment.

How can I fix this?

Thanks, Anatoly Chekh,

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 19 May 2011, 08:30 AM
Hi Anatoly ,

The automatically calculated axis range depends on the available space. When the axis is not visible, it gets some initial values, which are not further refined as the axis does not take part in the layout. On the other hand, when visible, the axis range is re-calculated to better fit in its space. A possible workaround here would be to hide the axis in code-behind in Loaded event handler or use AutoRange = false.

Best regards,
Ves
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
Anatoly Chekh
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or