LineSeries exaggerated values

4 posts, 0 answers
  1. Charles
    Charles avatar
    2 posts
    Member since:
    Oct 2012

    Posted 19 May 2012 Link to this post

    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
  2. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 23 May 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Charles
    Charles avatar
    2 posts
    Member since:
    Oct 2012

    Posted 23 May 2012 Link to this post

    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


  5. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 29 May 2012 Link to this post

    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 >>

Back to Top