Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
XamDataChart performance issues depending on number of points and signal shape
posted

Hi!

I am facing some performance issues when using a XamDataChart.

I've an example, taken from another post

https://ko.infragistics.com/community/forums/f/ultimate-ui-for-wpf/70986/how-to-bind-multiple-collections-to-single-xamdatachart

I modified this example a little bit so that multiple signals are bound to one common x-axis and one common y-xaxis. There are 5 different signals, each consisting of about 10000 points randomly generated. When a signal is selected or deselected in the listbox the update of the XamDataChart is fast.

This is my first example:

Ex1.zip

Then I modified this example further to include an algorithm to compute a specific signal, 5 times the same signal. This signal is a rectangular signal consisting of about 480 points. Here the update of the XamDataChart is pretty slow (compared to example 1 with about 10000 points)

Ex2.zip

Where does this performance degradation come from?!

How can I increase the performance?!

Best regards,

   Christoph

Parents Reply
  • 50
    Offline posted in reply to Christoph Rolz

    Hi!

    I modified the example project XamDataChartNoiseDataDemo  a little bit and included my signal-

    Modifications include

    ChartTestData:

    added two methods to compute my specific signal shape, one with steps (3,-1) -> (3, 1), and one with steep gradients (3,-1) -> (3.0011, 1).

    ChartTestModel:

    changed CategoryDataPoint (instead of properties Index and Value I now use X and Y, and both are double).

    changed PidDataSet to support changed CategoryDataPoint class

    DataChartPage:

    added OverviewPlusDetailPane and zoom settings

    MainWindow:

    two new checkboxes to load my data into the chart

    The chart now displays this shape:

    instead of something similar to

    The modified demo project: 

    XamDataChartNoiseDataDemo_Modified.zip

    I appreciate your hel, because I've no experience with this ImmediateLineSeries.

    BR Christoph

Children