RangeError using tooltips

Hi,

I am using one SfCartesianChart with 2 AreaSeries (1 with a lot of points and another with only 2 points). Sometimes, when I tap in one point of the first series one RangeError is thrown.

I believe that this happens because the selected series is not the correct one. Could you check that?


6 Replies

YG Yuvaraj Gajaraj Syncfusion Team July 3, 2022 06:20 AM UTC

Hi W4a,


Greetings from Syncfusion. We have checked the reported issue as per the mentioned in the query, that having two AreaSeries with 1 series having a large number of data points and in 2nd series only 2 data points. But the reported issue is not getting reproduced at our end. We request you to check with our updated chart package. If you are still facing the issue, we attached the sample below used in the testing phase please try to reproduce the issue and revert us. It will help us to provide a solution sooner.


Regards,

Yuvaraj.


Attachment: f175977_9b6fe770.zip


W4 W4A July 4, 2022 08:47 AM UTC

Hi,

I was playing with your sample and I reproduce the same error.

The error happens when we click between the end of the first series and the start of the second one.

Could you check that?


I couldn't attach the whole sample, so I only attached the code from main.



Attachment: main_335722a7.zip


YG Yuvaraj Gajaraj Syncfusion Team July 5, 2022 02:25 PM UTC

Hi W4A,


We have checked the reported issue and found that the reported issue has already been fixed, and it will be available in the next weekly patch release, this would be expected on 12th July 2022. We appreciate your patience until then.


Regards,

Yuvaraj.



W4 W4A July 5, 2022 02:57 PM UTC

Hi,


Thank you for your help.



YG Yuvaraj Gajaraj Syncfusion Team July 6, 2022 02:55 PM UTC

Hi W4A,


Thanks for the update. We will update you know once the patch release got rolled out. We appreciate your patience until then.


Regards,

Yuvaraj.



YG Yuvaraj Gajaraj Syncfusion Team July 13, 2022 12:09 PM UTC

Hi W4A,


Thanks for your patience. The reported issue regarding the range error exception when activating a tooltip at multiple series has been fixed and rolled out in our weekly patch release. To avoid this, kindly upgrade the chart package to the latest version below.


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


Regards,

Yuvaraj.


Loader.
Up arrow icon