Skip to content

Example of Range Selection in ASP.NET Core Charts Control

This example selects the points inside a rectangle or a band that is dragged over the plot.

Inside the rectangle: nothing

SelectionMode = DragXY: drag a rectangle over the plot and the points inside it are selected, the others fade. DragX and DragY select with a band across one axis. The result arrives in OnSelectionChanged.