TUndoZoomCoordinates

Unit

DMPlot

Description

TUndoZoomCoordinates class used to hold axes ranges for TPlot.UndoZoom operation. TPlot component maintains internal stack of TUndoZoomCoordinates objects and adds new object every time when user performs plot zooming with mouse. Note that ONLY mouse zooming is remembered, so that direct changes of TAxis.Min/Max cannot be "undone".

There's two different modes: this object may remember either coordinates of X/Y axes associated with current serie or coordinates of both axes pairs. In this case, X,YAxis references are NILs.

Fields

Old2X1

Old2X2

Old2Y1

Old2Y2

OldX1

OldX2

OldY1

OldY2

XAxis

YAxis