I have the
following issue with the chart control (Syncfusion.UI.Xaml.Charts.SfChart) :
working on an app, which (amongst other things) shows stock prices
There is 1
Page for showing the chart and another for selecting the stock
go back and forth (so selecting a stock, show the data, go back, selecting
the 2., etc.) after a few stocks the memory consumption of the app goes up and then
the CPU consumption also goes up, so the app becomes unresponsive and it
comment out the chart from the XAML of the page, everything is fine
I use HiLoOpenCloseSeries,
but a simple LineSeries has the same problem
MVVM so the ItemSource of the Series is data-bound.
what VS Performance Profiler shows:
a simple reproducer. Just click to “Go To Chart” in the first page and then to “Back”
on the second and repeat this a few times (on my machine after 3 iteration the
app is already dead).
Am I doing
something wrong here, or is this really a bug? ..this seems to be a very simple
scenario for a common use-case. Btw. the problem is already reproducible with
100 data points, so we are not talking about “lot of data point” here (so this one does not help).
SASanthiya Arulsamy Syncfusion Team August 16, 2016 01:02 PM UTC
Thanks for contacting Syncfusion Support.
We have analyzed your reported problem and when navigating one page to other, we have to clear previous page’s chart series ItemsSource. We have modified your sample based on this. Please find the sample from the following location.