DataBreaking causes performance down?

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

Jason, Cho
Posts: 1
Joined: Wed Jul 26, 2017 12:23 pm

DataBreaking causes performance down?

Post by Jason, Cho » Wed Jul 26, 2017 1:22 pm

1.PNG
1.PNG (18.93 KiB) Viewed 5365 times
I have a chart with a series of PointLineSeries.
Series need data-breaking.
So, PointLineSeries.DataBreaking should be enabled and DataBreaking.Value is double.NaN.
DataBreaking is a perfect solution, but the chart is slow down more than twice when rendered.
Zooming operation is slower too.

Is there any solutions for the issue?
ClipArea can not be our solution. because y1, y2 at x1 are changed.

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: DataBreaking causes performance down?

Post by ArctionPasi » Wed Jul 26, 2017 3:14 pm

Hello,

Databreaking has affect for performance. Simply calling Double.IsNan() for each point take excessive time.

What version are you using. According to our version log, there's an improvement in 8.1.3 version.

Using other value than NaN is faster, like double.MinValue.
LightningChart Support Team, PT