blazor-devexpress-dot-blazor-dot-dxchartseriespoint-0e903195.md
Specifies which series points are selected when a user selects a point. This property applies to line- and area-based series.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(ChartSeriesPointSelectionMode.Point)]
[Parameter]
public ChartSeriesPointSelectionMode SelectionMode { get; set; }
| Type | Default | Description |
|---|---|---|
| ChartSeriesPointSelectionMode | Point |
A value that defines a point selection mode.
|
Available values:
| Name | Description | Image |
|---|---|---|
| AllPointsForArgument |
All points that have the same argument are selected when a user selects a point.
|
| | AllPoints |
All points that belong to the series are selected when a user selects a point.
|
| | Point |
Only a clicked point is selected.
|
| | None |
Point selection is disabled.
| |
Specify the DxChart.PointSelectionMode property to enable point selection at the chart level.
You can also specify the DxChart.SeriesSelectionMode property to allow users to select entire series.
The following example enables selection for a line chart:
<DxChart Data="@dataPoints"
SeriesSelectionMode=ChartSelectionMode.Single
PointSelectionMode=ChartSelectionMode.Multiple>
<DxChartLineSeries ArgumentField="@((DataPoint i) => i.Arg)"
ValueField="@((DataPoint i) => i.Value1)"
Name="Series 1"
HoverMode=ChartContinuousSeriesHoverMode.None
SelectionMode=ChartContinuousSeriesSelectionMode.Series>
<DxChartSeriesPoint HoverMode=ChartSeriesPointHoverMode.None
SelectionMode=ChartSeriesPointSelectionMode.AllPointsForArgument />
</DxChartLineSeries>
@* ... *@
</DxChart>
See Also