Error using FastLineSeries with data out of range

Hi,

I am using FastLineSeries with only 2 points (I am using FastLineSeires because this series can hold large amount of data) and when using RangeController with start and end in between those points (points from series are out of visible range) this error is thrown and no line is draw:

"The data points should be available to render fast line series.

'package:syncfusion_flutter_charts/src/chart/series_painter/fastline_painter.dart':

Failed assertion: line 184 pos 14: 'seriesPoints.isNotEmpty'"

But after I drag or zoom chart the line is draw and everything is fine.

Is this a correct behavior?



8 Replies

SK Sriram Kiran Senthilkumar Syncfusion Team September 8, 2022 04:04 AM UTC

Hi W4A,


We have checked your query at our end, and we would like to let you know that as per the current behavior, we have raised assertion when there are not visible data points available for the fast line series to render on the initial rendering. This is the default behavior.

However, we will consider your suggestion and will remove the assertion and include the changes in any of our upcoming releases yet to come and we appreciate your patience until then.


Regards,

Sriram Kiran



W4 W4A September 8, 2022 02:41 PM UTC

Is it possible to force a new rendering after the initial rendering?



SK Sriram Kiran Senthilkumar Syncfusion Team September 12, 2022 02:34 AM UTC

Hi W4A,


We are analyzing your query at our end, and we will update further details in one business day. We appreciate your patience until then.


Regards,

Sriram Kiran



SK Sriram Kiran Senthilkumar Syncfusion Team September 13, 2022 02:56 PM UTC

Hi W4A,


We have considered the reported issue as bug, and we have logged bug report regarding “Fastline series not rendering the line when the data points are outside of range controller's visible range” in our feedback portal. We will fix this and include the changes in our upcoming weekly patch release which will be rolled out in the second week of October. We will update you once the release is rolled out and we appreciate your patience until then. You can also track the status of the bug using the feedback link below.

https://www.syncfusion.com/feedback/37704


Regards,
Sriram Kiran



LA Lavanya Anaimuthu Syncfusion Team October 12, 2022 03:35 PM UTC

Hi W4A,


Sorry for delay.


The reported issue regarding "Fastline series not rendering the line when the data points are outside of range controller's visible range" has been fixed and currently it’s under the testing phase. Due to this, we can't be able to move this into our weekly patch release, we will give high priority to this and include it in our upcoming weekly nuget, which is scheduled for October 25th, 2022. We will let you know once the release gets rolled out. We appreciate your patience until then.


Regards,

Lavanya A.



SK Sriram Kiran Senthilkumar Syncfusion Team October 27, 2022 01:23 PM UTC

Hi W4A,


Sorry for the delay.

The reported issue regarding "Fastline series not rendering the line when the data points are outside of range controller's visible range" has been fixed and in testing phase, we encountered some performance consideration related issues due to which it is taking time to validate and roll out the fix from our end and so we can't be able to move this into our weekly patch release.

However, we are working on this with high priority and will include it in our upcoming Volume 3 SP release, which is expected to be rolled out by the second week of November 2022. We will let you know once the release gets rolled out and we appreciate your patience until then.


Regards,

Sriram Kiran



SK Sriram Kiran Senthilkumar Syncfusion Team November 15, 2022 02:43 PM UTC

Hi W4A,


We are working on high priority to resolve this issue from our end and will let you know once it gets fixed.


Regards,

Sriram Kiran



YG Yuvaraj Gajaraj Syncfusion Team December 14, 2022 12:57 PM UTC

The reported issue regarding the "Fastline series not rendering the line when the data points are outside of range controller's visible range" has been fixed and rolled out in our weekly patch release. To avoid this issue please upgrade the chart package to the latest version mentioned below.


Version: https://pub.dev/packages/syncfusion_flutter_charts/versions/20.3.61


Loader.
Up arrow icon