Hi,
We have encountered a problem where if you zoom in on dashed lines the re-rendering takes longer and longer each time. After a while the chart seems to be frozen.
I have attached a file which is a modified WPF sample file. Just replace the contents of the original sample, start the WPF Example app, go to Chart Gallery / Line / Sampled 2D line and keep zooming in on the dashed line (keep it in the viewport in every zoom level).
The key seems to be the property called NLineSeries.SamplingMode. If it is set to SeriesSamplingMode.Enabled then as you zoom in the dashes get longer and wider. If it is Disabled, then the dashes stay at their original size regardless of the zoom level, but the rendering get longer.
1.) What can be done to keep the performance during zooming regardless of the chosen SeriesSamplingMode value?
2.) In our solution it is set to enabled, but it still behaves as if it was disabled. (The performance problem persists.) Is there any other factor which influences the performance during zooming in on dashed lines which we may not be aware of?
Thanks,
Sandor