blazor-devexpress-dot-blazor-dot-dxpolarchartbarseries-3-462ba2cc.md
Specifies the selection mode for the bar 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 |
An enumeration value.
|
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.
| |
If a user is allowed to select series, you can use the SelectionMode property to specify highlighted elements in the selected series. The SelectionMode also allows you to override the PointSelectionMode property value.
In the following example, the Night series can be selected while the Day series is non-selectable:
<DxPolarChart Data=@DataSource
PointSelectionMode="ChartSelectionMode.Single">
<DxPolarChartBarSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
ValueField="@((DiscretePoint i) => i.Day)"
SelectionMode="ChartSeriesPointSelectionMode.None"
Name="Day">
</DxPolarChartBarSeries>
<DxPolarChartBarSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
ValueField="@((DiscretePoint i) => i.Night)"
Name="Night">
</DxPolarChartBarSeries>
</DxPolarChart>
See Also
DxPolarChartBarSeries<T, TArgument, TValue> Class