Skip to main content
All docs
V25.1
  • TdxChartMouseAction Class

    Stores mouse action settings for a user operation in the Chart control.

    Declaration

    TdxChartMouseAction = class(
        TcxOwnedPersistent
    )

    Remarks

    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.

    Main API Members

    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.

    Enabled
    Specifies if the mouse action is enabled in the Chart control.
    MouseButton
    Specifies the mouse button required to execute the mouse action.
    ModifierKeys
    Specifies modifier keys required to execute the mouse action in addition to the active mouse button.
    Assign
    Copies mouse action settings between Chart controls.

    Direct TdxChartMouseAction Class References

    The following public API members reference a TdxChartMouseAction object:

    TdxChartScrollOptions.PanMouseAction
    Specifies how users can pan the plot area of a zoomed-in XY diagram.
    TdxChartZoomOptions.MarqueeZoomMouseAction
    Specifies how users can zoom a particular part of the plot area in an XY diagram.
    TdxChartZoomOptions.ZoomInMouseAction
    Specifies how users can zoom an XY diagram in large increments.
    TdxChartZoomOptions.ZoomOutMouseAction
    Specifies how users can zoom an XY diagram out in large decrements.

    Inheritance

    See Also