Example of Range Selection in ASP.NET Core Chart Control
This sample demonstrates the range selection behavior and its mode in the charts.
DEMO
SOURCE
Selection Mode:
|
|
Enable Multi Selection:
|
In this example, you can see how to select points in a specific region. You can change the Selection Mode in the properties panel. You can also enable multiple selection.
Click and drag to enable a rectangular selection and it will display the collection of points that are selected under the region.
Rectangular selection can be set using the SelectionMode property and it supports the following modes.
DragXY
- Rectangular selection with respect to both axes.DragX
- Rectangular selection with respect to horizontal axis.DragY
- Rectangular selection with respect to vertical axis.
More information about the rectangular selection can be found in this documentation section.