TdxChartZoomOptions.ZoomMouseWheelAction Property
Specifies how users can gradually zoom an XY diagram in or out.
Declaration
property ZoomMouseWheelAction: TdxChartMouseWheelAction read; write;
Property Value
Type | Description |
---|---|
TdxChartMouseWheelAction | Mouse wheel action settings for gradual zoom changes in an XY diagram. |
Remarks
Users can rotate the mouse wheel while holding down the Ctrl modifier key to gradually zoom an XY diagram. To adjust the zoom change that corresponds to the minimum mouse wheel position change, use the SmallStep property.
You can use the ZoomMouseWheelAction
.ModifierKeys property to change modifier keys required to zoom diagrams with the mouse wheel. Refer to the TdxChartMouseWheelAction class description for detailed information on all available options.
Action Availability
Users can rotate the mouse wheel while holding down one or more modifier keys to gradually zoom an XY diagram in or out only if the following conditions are met:
- The
ZoomMouseWheelAction
.Enabled property is set toTrue
. - The diagram’s ZoomOptions.AxisXZoomingEnabled or ZoomOptions.AxisYZoomingEnabled property is set to
True
. If only one of these properties is set toTrue
, rotation of the mouse wheel zooms the diagram only by the corresponding axis.