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