Changing IsLogarithmic on Y Axis at run time

2 posts, 0 answers
  1. Robert
    Robert avatar
    5 posts
    Member since:
    Jan 2013

    Posted 06 Feb 2014 Link to this post


    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.


  2. Petar Marchev
    Petar Marchev avatar
    968 posts

    Posted 10 Feb 2014 Link to this post

    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.

    Petar Marchev

    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).

  3. DevCraft banner
Back to Top