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?
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
Is it possible to force a new rendering after the initial rendering?
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
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
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.
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
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
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