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

LineSeries exaggerated values

3 Answers 82 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Charles
Top achievements
Rank 1
Charles asked on 20 May 2012, 01:43 AM
I'm currently evaluating switching our charting solution to Telerik.  I've noticed that small changes in the Y values can be magnified when fully zoomed out.  I'm not sure why this is or how I can minimize it.

It certainly makes the data look as though there are values that don't really exist.

As an example I have two screen shots of the chart.  I've put the trackinfo at the same point in both so that you can see that the massive spike to the right of it is the same tiny ripple seen in the other shot.

Telerik_ChartViewer_LineSeries_ExaggeratedValues1.png - Zoomed out version, large spikes
Telerik_ChartViewer_LineSeries_ExaggeratedValues2.png - Zoomed in version, little ripples

Thanks

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 23 May 2012, 01:12 PM
Hi Charles,

We might need a little bit more information to understand what is going on. Will it be possible for you to send us a sample of your data that the line represents? Also a small runnable project can be very helpful.

Kind regards,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Charles
Top achievements
Rank 1
answered on 24 May 2012, 04:14 AM
Thanks for your response.  I don't have any easy way of creating a test project to handle this data at the moment.  But here is the relevant data that might help. 

I also have a tab separated value text file with all of the data points I was plotting but cannot attach it here.  Is there an e-mail I can send it to?

I think the minor changes in Y value amplitude are what get drawn as spikes depending on the zoom.  I've noticed as I change the zoom level by expanding the horizontal scroll bar on the bottom the values would be come more or less exaggerated as I zoomed in and out.

By looking at this data you can see that every vertical spike in ExaggeratedValues1.png is due to minor fluctuations in the data file.

The point I had the tooltip for is:
11/21/2011 16:36:44    148.2247728

Without being able to attach the file here's an example of the data ripple immediately after the tool tip as an example:
...
11/21/2011 16:36:59    150.7766062
11/21/2011 16:37:00    150.9484572
11/21/2011 16:37:01    150.7963844
...

The RadCartesianChart LineSeries I was using is defined as:
<chartView:LineSeries Name="PrimarySeries" ItemsSource="{Binding PrimarySimpleData}" CategoryBinding="X" ValueBinding="Y">

Where the binding PrimarySimpleData was just a List<SimpleData> where SimpleData is a class with two properties, DateTime X and double Y.

Regards,
Charles


0
Yavor
Telerik team
answered on 29 May 2012, 06:56 AM
Hello Charles,

You can open a support ticket and attach a sample of your data there. It will be visible only to our team and you. Unfortunately without data and some code that reproduces this behavior it is difficult to determine what is going on.

All the best,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ChartView
Asked by
Charles
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Charles
Top achievements
Rank 1
Share this question
or