About dynamic update of line chart

Hi,

I have created a line chart that displays the date and time on the x-axis and the amount on the y-axis.
And I created a javascript that reflects the data received from SignalR at 3 second intervals on the line chart.

It works fine and I'm using chart.refresh to update the datasource of the chart, but the line chart flickers when updating.
Is it possible to draw smoothly like the "Dynamic line chart" introduced below?
https://www.syncfusion.com/aspnet-mvc-ui-controls/charts/chart-types/line-chart

The version you are using is 18.1.0.42.

Regards,
Pylori.


3 Replies 1 reply marked as answer

SM Srihari Muthukaruppan Syncfusion Team January 8, 2021 08:04 AM UTC

Hi Pylori, 
 
We have analysed your query. From that we suggest you to disable series animation and change the datasource to achieve your requirement. Based on your requirement we have prepared a sample in MVC platform for your reference. Please find the sample below. 
 
 
Let us know if you have any concerns. 
 
Regards, 
Srihari 


Marked as answer

PY Pylori January 8, 2021 12:00 PM UTC

Hi,

Thank you for your quick reply.
I checked the sample.
The operation of the chart was also smooth.
I will proceed with development with reference to this sample.

Regards,
Pylori.



SM Srihari Muthukaruppan Syncfusion Team January 8, 2021 12:33 PM UTC

Hi Pylori 
 
Most welcome. Kindly get in touch with us, if you requires further assistance. We are always happy in assisting you.   
   
Thanks,   
Srihari M 


Loader.
Up arrow icon