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

Changing IsLogarithmic on Y Axis at run time

1 Answer 75 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 06 Feb 2014, 09:20 AM
Hi,

I've added an option on my RadChart to toggle between the Y-axis being logarithmic & non logarithmic. This is at run time so a user can flick between the two after the data has been plotted.

I'm seeing some funny behaviour with points not appearing where they should. Before looking into this further I wanted to check if I should be clearing down the series and re drawing them whenever I change the value of IsLogarithmic on the Y-axis?

Any help is much appreciated.

Thanks,

Rob

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 10 Feb 2014, 08:32 AM
Hello Robert,

I was unable to reproduce this glitch on my side. I created a small project based on your description and the points (bars) are shown as expected.

In general, you should not need to rebind the chart if you need to changed the IsLogarithmic property of the axis. However, it is possible that there is a bug in the control. If you have not integrated the old RadChart into your application, I suggest you remove it fully and use the new ChartView instead. It solves many of the limitations that the old chart had, it is very flexible and easy to set up and has a great performance rate.

Regards,
Petar Marchev
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
Chart
Asked by
Robert
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or