Adding more information to AxisChangedEventArgs

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

Slxe wrote at 2014-07-14 16:38:

I'd like to propose adding some more information to AxisChangedEventArgs, just simple things like the original screen points used for a zoom or pan, and the scale or factor used.

The main reasoning behind this for me is that this will make things like syncing axis changes easier. For example if you have two or three axes displayed on the left side, being able to use the same screen coordinates for panning would be a lot easier than having to Transform then InverseTransform the ActualMin/Max values to try and sync them.

I'd also like to suggest adding more types to AxisChangedTypes, for the different kinds of zoom (scale, range and factor) and pan (screen points and delta), again for similar reasons as above.