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

LineSeries Y-Axis Innaccuracy

1 Answer 54 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Chris Ward
Top achievements
Rank 1
Chris Ward asked on 07 Apr 2014, 08:31 PM
I'm trying to figure out why charting a LineSeries is so innaccurate. It seems like big spikes are causing some sort of pointy artifact that makes the max value seem higher than it really is.

Take for instance the first attachment, "Innaccurate1.png", where the data series is [0,0,0,0,0,0,0,0,0,0,1,0,0,0]

It appears to go over the y-axis grid line marking "1".

The second attachment, "Innaccurate2.png", shows how this effect is amplified as the chart control is shrunk. The spike now appears nearly over the gridline marking the value 2, though the same dataseries (with max value of 1) is still being charted.

This difference between the data max and the visual max isn't always <1 either. When charting a line series with a max value of ~1980, and a max Y-Axis value of 2000, the spike appears to go off the top of the chart. An error of more than 20 units!

Is there some way to solve this visual error to more accurately display my data?

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 10 Apr 2014, 04:54 PM
Hello Chris,

Thank you for writing.

I have logged this issue in our Feedback Portal. You can add your votes/comments at the following url: http://feedback.telerik.com/Project/154/Feedback/Details/125663-fix-radchartview-lineseries-do-not-visually-show-correct-values. We will do our best to address it for the Q2 2014 release.

Due to the nature of the problem, which is lying in the painting of the BorderPrimitive I am not able to provide you with a workaround.

I have also updated your Telerik Points for bringing this to our attention.

Let me know if you have further questions.

Regards,
George
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ChartView
Asked by
Chris Ward
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or