I'm using 2017.3.1018.45 on 64-bit Windows 10 and Visual Studio 2017.
My application has a single chart view. I can change the data that is displaying. The DataContext changes out from under the view. When the DataContextChanged message arrives, I:
1. save the current pan/zoom settings for the chart.
2. clear all series.
3. generate all series for the new data context
4. restore the pan/zoom settings that were saved from the last time this data was displayed.
Except that it doesn't work at all. I have tried saving and restoring: Zoom, PanOffset, Horizontal/Vertical-ZoomRange-Start/End.
At first, I tried just saving/restoring Zoom and PanOffset. I could successfully set the Zoom, but the PanOffset was always (0,0) after the set.
I have tried invoking my restore operation on the dispatcher during Idle, so it should be done after everything has been complete.