07-01-2020 09:38 PM
As we know that the WPF graphs use Shift+Right-click for Undo like the Windows Forms graphs in the Measurement Studio 2015 release. I use a TabControl to show different graphs. After Zooming,i change to other tabitem, and then i change back to first tabitem, I can not undo last operation.
07-02-2020 05:07 PM
Unfortunately, the graph automatically resets the undo history and draws the currently assigned data whenever it is loaded (including after being hidden and shown as a child in a tab control).
To persist the undo history, you would need to either:
Unloaded
event, monitor the axes while calling UndoZoomPan
until the graph history is cleared, and in the Loaded
event replaying the recorded values).07-02-2020 08:47 PM
07-08-2020 10:51 AM
I do not have ready access to older versions of Measurement Studio to fully confirm those issues. I believe graph undo history did change significantly after the 2012 release, so the lack of reset sounds likely. However, from what I could find it seems the reset should have been present in the 2015 release (note that the reset happens when the graph is next loaded after being hidden, so you would need to switch away and then switch back for the reset to occur).