-
Hi Peter, this could be related to some virtualization issues of TabControl that we’re working on for another client. Is the sample above complete – meaning – can we reproduce it with just this? Or do we need more code.
-
Thank you for your reply! I think it’s reproducible from this, the code above is in a TabControl’s TabItem and in the ViewModel I use XyScatterRenderableSeries for the chart. Meanwhile I figured out that the main problem is that the data (points) disappears from the chart for a few seconds after switching to the scatter chart, the flickering happens because the AutoRange property is “always”, with turning it off the axis values will not move, just the points will disappear for a bit, then reappear.
-
Update: The disappearing what I mentioned in the previous comment is actually that all of the data points are “respawn” in the Y=0 and they slowly climb up/down until their real Y values, it happens in a few seconds.
-
Hi Peter, Thank you for the details. We are going to investigate this issue on our side.
-
Hi again, finally I found out the main reason: there was an unintended ScaleAnimation added to the series from code once which was there from a demo code. This animation was played after tab switching because as I know now it triggered the SciChartSurface.Loaded event, and with the AutoRange=”Always” option this caused the weird flickering while the data was animating to its real position. So, with the AutoRange turned off it works as should be I guess, maybe with AutoRange=”Always” it isn’t the expected behavior. Thank you for your help and sorry that I couldn’t recognize the main cause earlier.
-
Hi Peter, that’s ok – I appreciate the effort you’re also putting in to diagnost it. Did you ‘resolve’ the problem or do you need further help?
-
As I wouldn’t like to use the animation and the AutoRange together which caused the flickering, for me it is resolved, thank you again!