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