Hi,
I have the
following issue with the chart control (Syncfusion.UI.Xaml.Charts.SfChart) :
- I’m
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
- When you
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
eventually crashing.
- When I
comment out the chart from the XAML of the page, everything is fine
- I use HiLoOpenCloseSeries,
but a simple LineSeries has the same problem
- It uses
MVVM so the ItemSource of the Series is data-bound.
Here is
what VS Performance Profiler shows:
I attached
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).
Thanks,
Greg
Attachment:
ChartReproducer_ff6b4335.zip