vcl-dxchartcore-da7e342f.md
Stores mouse action settings for a user operation in the Chart control.
TdxChartMouseAction = class(
TcxOwnedPersistent
)
Users can drag the plot area with the mouse and rotate the mouse wheel to interact with diagrams in the Chart control. The TdxChartMouseAction class implements settings required to customize and differentiate mouse actions, such as zoom and pan operations in XY diagrams.
The list below outlines key members of the TdxChartMouseAction class that allow you to configure mouse actions required to perform different operations in a Chart control.
EnabledSpecifies if the mouse action is enabled in the Chart control.MouseButtonSpecifies the mouse button required to execute the mouse action.ModifierKeysSpecifies modifier keys required to execute the mouse action in addition to the active mouse button.AssignCopies mouse action settings between Chart controls.
The following public API members reference a TdxChartMouseAction object:
TdxChartScrollOptions.PanMouseActionSpecifies how users can pan the plot area of a zoomed-in XY diagram.TdxChartZoomOptions.MarqueeZoomMouseActionSpecifies how users can zoom a particular part of the plot area in an XY diagram.TdxChartZoomOptions.ZoomInMouseActionSpecifies how users can zoom an XY diagram in large increments.TdxChartZoomOptions.ZoomOutMouseActionSpecifies how users can zoom an XY diagram out in large decrements.
TObject TPersistent TcxOwnedPersistent TdxChartMouseAction
See Also