Selection
The Chart category axis enables users to select a specific range by clicking, dragging, resizing, or mouse-wheeling.
To enable the selection, set the select
option of the category axis.
Selection is supported only for horizontal category axes.
The following example demonstrates how to enable the selection.
Using Selection as Navigator
Similar to the Stock Chart, you can use the selection to filter the data, which is displayed in another pane or chart.
The following example demonstrates how to use the selectEnd
event to filter the main pane data.