[RadCartesianChart] Why does LineSeries have abysmal performance compared to SplineSeries?

0 Answers 69 Views
Chart
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
Sébastien asked on 28 Jun 2022, 02:32 AM
Hi,

Today, Lance (Telerik) updated my sample provided in https://www.telerik.com/forums/radcartesianchart-datetimecontinuousaxis-minimum-and-maximum-are-not-respected to bypass the bug on the Min/Max not taking into account.

I re-updated the sample (attached) with 2 videos. The sample is in line with my business app: 1440 data point per serie (up to 5 series).

The performance of LineSeries are really bad, I'm quite surprised because these are just lines.

However, if you replace the "<chart:LineSeries" in MainPage.xaml to "<chart:SplineSeries", it is like in real-time when changing the date. This is awesome and frankly I do not understand how come it is fast versus LineSeries where it takes 3 to 5 seconds to refresh. You can see the 2 videos.

My only fear is Spline has the following bug https://www.telerik.com/forums/radcartesianchart-weird-rendering

Thanks
Didi
Telerik team
commented on 28 Jun 2022, 02:08 PM

Hi Sebastien,

Thank you for the provided videos and project. I will need some time to review in details the performance of both series. In general Line and Spline Series are two different series with different drawing and implementation.  

Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
commented on 28 Jun 2022, 04:22 PM

I believe that the spline renderer does have a bug. Here again with my ordered data, the line goes back in time.

If it is needed, I could try to do the same sample in WinUI. I would assume the rendering engine is similar.
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
commented on 29 Jun 2022, 03:17 PM

Between this bug and https://www.telerik.com/forums/radcartesianchart-weird-rendering, this one https://www.telerik.com/forums/radcartesianchart-weird-rendering is more important since I would like to use Spline. Thanks
Didi
Telerik team
commented on 01 Jul 2022, 02:15 PM

Hi Sebastien, 

Regarding to the spline series rendering issue, my colleague Yana logged a bug report on your behalf https://feedback.telerik.com/uwp/1571079-chart-splineseries-rendering-is-not-correct-in-certain-scenarios 

Regarding to the chart performance behavior, I reproduced it. As I explained both series have different rendering. I have logged this behavior on your side the the public UI for UWP feedback portal: https://feedback.telerik.com/uwp/1571209-chart-inconsistency-in-rendering-performance-between-line-and-splineseries 

I am sorry for the inconvenience. 

 

No answers yet. Maybe you can help?

Tags
Chart
Asked by
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or