RadChart not calculatin y axis heights and values correctly

2 posts, 0 answers
  1. mark
    mark avatar
    6 posts
    Member since:
    Mar 2011

    Posted 20 Jul 2012 Link to this post

    The RadChart will not calculate y axis heights and values correctly if 

    1. IsLogerithmic is true
    2. Values exist in the x axis that are 0.

    I have included a sample project that shows this problem. It was download from a Telerik forum where they said that it works.  I modified it and proved that it does not.  Actually, it turns out I could not attach the zip file to this message, as the attachment process only allows graphics files. I can make this project available if needed, if someone will let me know how!

    The steps to reproduce are:

    1. Run the application.
    2. Notice that the even though I've limited the data points to a max of 10, the y axis is showing 1000000000.
    3. Uncheck the checkbox that says "Include Zero in chart"  (this will regenerate the data with no zeros.) 
    4. The chart is calculated correctly.
    5. Check the checkbox again and switch the "Is Logerithmic" off then on again. (Notice that the the Y axis is miscalculating).
    6.  Resize the window (Here you will notice that the 1000000000 is back.

  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 25 Jul 2012 Link to this post

    Hi Mark,

    After creating a project based on your description and following the steps I can confirm that there is a problem with the RadChart when the IsLogarithmic property of the AxisY changes at run-time. I have logged this issue in our PITS where you can vote for it and track its status. I have also updated your Telerik points as a thank you for bringing this issue to our attention.  

    All the best,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top