We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Stock Chart - Updating data source with multiple "StockChartSeries" does not display properly


When updating the data source with a single data source the stock chart works properly.  With multiple

"StockChartSeries" it doesn't update properly or please let me know the proper way to do it.  I have attached two videos.

In video MultiSeries_UpdateStockChart.mp4 I am changing the data source via chartObj.UpdateStockChart().  You will see the new data gets pushed to the left of the chart.

In the video ResetDataSource, I am setting the data source via chartObj.DataSource = ...

You can see it mostly works, but for some reason the spline is shown multiple times or will start drawing all over the place.  If you zoom into the chart via the zoom control, it starts to look better. 

The charts have around 300-400 data points.



Attachment: MultiSeries_UpdateStockChart_2a90f3dd.zip

1 Reply 1 reply marked as answer

JU Justin November 16, 2022 07:02 PM

Hello Syncfusion team, 

I resolved this issue by ordering the data within the database. 

Thank you, 

Justin K

Marked as answer
Live Chat Icon For mobile
Up arrow icon