New to Kendo UI for AngularStart a free 30-day trial

Selection

Updated on Mar 24, 2026

The Chart category axis enables users to select a specific range by clicking, dragging, resizing, or scrolling with the mouse wheel.

The following example demonstrates a range selection and a selection that filters data in the main pane.

Change Theme
Theme
Loading ...

Enabling Selection

To enable the selection, set the select configuration on the category axis item. The from and to properties define the initial selected range through zero-based category indices.

Selection is supported only for horizontal category axes.

html
<kendo-chart-category-axis>
    <kendo-chart-category-axis-item
        [categories]="months"
        [select]="{ from: 3, to: 8 }"
    >
    </kendo-chart-category-axis-item>
</kendo-chart-category-axis>

Use the selectEnd event to react when the user changes the selection. The event provides the updated from and to indices.

The following example demonstrates how to enable the selection and display the selected range.

Change Theme
Theme
Loading ...

Configuring the Selection Options

The select configuration provides the following options to control the selection behavior:

  • from and to—Set the lower and upper boundaries of the selected range.
  • min and max—Limit the range that the user can select. The selection handles cannot move beyond these boundaries.
  • mousewheel—Configure the mouse wheel behavior. Set zoom to both, left, or right to control the zoom direction. Set reverse to true to invert the scroll direction.

The following example demonstrates how to configure the selection options.

Change Theme
Theme
Loading ...

Filtering Data with Navigator Selection

You can use the selection to filter data in another pane, similar to the Stock Chart navigator. Add a second pane with its own category axis and bind both axes to the same data. Use the selectEnd event to update the min and max of the main axis.

The following example demonstrates how to filter the main pane data through the selection.

Change Theme
Theme
Loading ...

Support and Learning Resources

Additional Resources