Pre loader

Slow work when FastLineRenderableSeries StrokeThickness value is big

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums



I have a problem: I’m creating FastLineRenderableSeries with big StrokeThickness value. The bigger this value is the slower my program works.

Is there any way to speed it up in this situation?

P.S. I’ve attached project below.

Thanks in advance.

  • You must to post comments

Yes, use DirectX

From How Fast is SciChart’s WPF Chart? DirectX vs. Software Comparison

// TLDR;

Test results demonstrate that SciChart’s Direct3D10RenderSurface,
available in the SciChart Enterprise and SDK Editions, is up to 18x
faster than software rendering, and median speed increase is 4x faster
than software. In a variety of test results and chart types SciChart’s
DirectX Renderer plugin excelled in performance vs. software!

// Measuring WPF Chart Performance

There there are several factors which influence overall performance of a WPF Chart Control. Such as:

Thickness of pens / number of pixels filled

From the performance test results, DirectX performs better at wider stroke-thicknesses. Wider stroke = more pixels = more CPU required for the software renderers. For DirectX this is not an issue.

Some test results showing effect of stroke thickness on FPS (Frames per second). Higher numbers are better.

enter image description here

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.