Override mouse button that activates panning action when dragging over ChartXY Axis.
By default Right Mouse Button (2).
012Override mouse button that activates zooming action when dragging over ChartXY Axis.
By default Left Mouse Button (0).
012Override mouse button that activates panning action when dragging over ChartXY series background.
By default Right Mouse Button (2).
012Override mouse button that activates rectangle zoom / fit actions when dragging over ChartXY series background.
By default Left Mouse Button (0).
012
Interface for overriding mouse buttons that trigger user interactions.
Can be supplied along LightningChartOptions before creating any chart or series, when initiating the
lightningChartfunction:const lcjs = lightningChart({ overrideInteractionMouseButtons: { chartXYPanMouseButton: 0, // LMB chartXYRectangleZoomFitMouseButton: 2, // RMB } }) // Create charts... const chart = lcjs.ChartXY()