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

Force to rearrange measurement of Y axis value range

2 Answers 88 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 1
Robin asked on 21 Nov 2013, 09:13 AM
Hi,

I got a problem with the automatic measurement of the main Y axis label range. The corresponding dataseries is created completly in code behind.
So when the data is being visualized the actual range of the Y axis is not correct (see attached image). But when I manually change the size of the window and recalculating of measurements begins the Y axis updates and the range fits perfectly just as expected (second image).

So is there an API method to force the chart to recalculate the min, max value and step of the Y axis?

Thanks for your help!
Robin

2 Answers, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 25 Nov 2013, 11:52 AM
Hi Robin,

I tried to reproduce the issue you have but to no avail. I have also noticed you have opened another ticket thread regarding the same. I would suggest to keep the conversation in one thread so it is easier for both sides to follow. Regarding the issue, in order for us to give you an appropriate answer, could you please attach a sample project reproducing the issue. You can either modify the project I am attaching to this thread or give us a runnable copy of yours.

Regards,
Peshito
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Robin
Top achievements
Rank 1
answered on 26 Nov 2013, 09:40 AM
I found a fix for the issue. The problem was that I always initiated a new instance of the main Y axis when reloading data.
When using the default instance everything works fine.
Tags
Chart
Asked by
Robin
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Robin
Top achievements
Rank 1
Share this question
or