SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Hello 🙂

Is there a performance difference between LineRenderableSeriesViewModel and FastLineRenderableSeries ?
So is it better to use ObservableCollection<IRenderableSeries> RenderableSeries = new ObservableCollection<IRenderableSeries>();
RenderableSeries.add(new FastLineRenderableSeries());and bind in XAML RenderableSeries="{Binding RenderableSeries}" or to use ObservableCollection<IRenderableSeriesViewModel> RenderableSeriesViewModel = new ObservableCollection<IRenderableSeriesViewModel>();
RenderableSeriesViewModel.add(new LineRenderableSeriesViewModel()); and bind in XAML RenderableSeries="{s:SeriesBinding RenderableSeriesViewModels}" ? Or is there no difference ?

Thank you

Version
5.4
  • You must to post comments
0
0

Hi Benjamin

For drawing, there will be no discernible difference between MVVM series and code-created series.

The only performance difference is during creation. MVVM series are slightly slower to create / instantiate. The difference is only noticeable when you have 100s or 1000s of series, so for most applications, ‘no discernible difference’.

Best regards,
Andrew

  • Benjamin Brückner
    We have up to 500 series with about 2000 points each. So I will go with the FastLineRenderableSeries. Thank you!
  • You must to post comments
0
0

Hi Ben,

We have up to 500 series with about 2000 points each. So I will go with the FastLineRenderableSeries. Thank you!

OK sounds like a good plan. Note that SciChart is able to handle this, we test for it specifically.

Have a look at this example https://www.scichart.com/example/wpf-chart-example-load-500-series-x-500-points/

Also, our new rendering engine (https://www.scichart.com/scichart-wpf-v6-the-worlds-fastest-wpf-charts) will help you a lot in this case. One of the test cases loads 1,000 series by 1,000 points and tests SciChart WPF v5 vs. v6

enter image description here

As you can see there’s a pretty big performance improvement for this case with the new rendering engine.

Best regards,
Andrew

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.