FastLineSeries onRendererCreated ChartSeriesController

Hi

I have a Future<Builder> that calls a function to reload Chart data and I have MANY FastLineSeries.

When I create the FastLineSeries, I made use of

onRendererCreated: (ChartSeriesController controller) {

_mySeriesControllerList.add(controller);

}

_mySeriesControllerList is a list of controllers

I need a way to check if _mySeriesControllerList already have the same controller so won't add the same controll

This is because every time I update the chart, new controllers are added into _mySeriesControllerList
So, the first time, it is 24, then the next 48, and so forth

How do I address the issue?


4 Replies 1 reply marked as answer

SK Sriram Kiran Senthilkumar Syncfusion Team October 28, 2021 01:14 PM UTC

Hi Peter, 

Greetings from Syncfusion. We have analyzed your scenario at our end, and we are able to replicate the reported issue regarding the ChartSeriesController object gets created newly and added while reloading the chart to change the chart data. We will resolve this and include the changes in our upcoming weekly patch release which is expected to be rolled out by 2nd November 2021. We will update you once the release is rolled out and we appreciate your patience until then. 
 
Regards, 
Sriram Kiran 



YG Yuvaraj Gajaraj Syncfusion Team November 2, 2021 03:06 PM UTC

Hi Peter, 
 
Thanks for your patience. The reported issue regarding the ChartSeriesController object gets created twice has been fixed and rolled out in our weekly patch release. To resolve this, kindly upgrade the chart widget package to the latest version below.  
 
 
Regards, 
Yuvaraj. 


Marked as answer

PE Peter November 3, 2021 05:55 AM UTC

Thanks, it is working now.



SK Sriram Kiran Senthilkumar Syncfusion Team November 4, 2021 03:37 AM UTC

Hi Peter, 
 
Most welcome. Please get back to us if you require further assistance. We are always happy in assisting you. 
 
Regards, 
Sriram Kiran 


Loader.
Up arrow icon