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

RadChart not calculatin y axis heights and values correctly

1 Answer 127 Views
Chart
This is a migrated thread and some comments may be shown as answers.
mark
Top achievements
Rank 1
mark asked on 20 Jul 2012, 03:52 PM
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.

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 25 Jul 2012, 07:24 AM
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.

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