Hi, I am currently doing MVVM development with SciChart. Previously I was using thousands of LineRenderableSeriesViewModel to represent vertical lines along a profile. I noticed that this may be the cause for a slow-down, so I have attempted to merge all the LineRenderableSeriesViewModels into one view model, using double.NaN’s in between vertical lines to get gaps. This works fine, except if the first point is off-screen then everything else disappears. I am currently using the VisualXcceleratorEngine in my surface. The screenshots show what happens if I pan to the right a little bit and the first point goes off-screen. One thing I thought it was at first was the stationing was not monotonically increasing, but I have made it that way and it didn’t fix the problem. Tips would be appreciated.
- Daniel Black asked 3 months ago
- You must login to post comments
I figured out a solution. The data series DataDistributionCalculator was erroneously settings IsSortedAscending to true when there were NaN’s in the data series. I overrode the data distribution calculator to fix the problem, using this article: https://www.scichart.com/documentation/win/current/webframe.html#DataSeries%20DataDistributionCalculator.html
- Daniel Black answered 3 months ago
- last edited 3 months ago
- You must login to post comments
Please login first to submit.