DxPolarChartBarSeries<T, TArgument, TValue>.SelectionMode Property
Specifies the selection mode for the bar series.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(ChartSeriesPointSelectionMode.Point)]
[Parameter]
public ChartSeriesPointSelectionMode SelectionMode { get; set; }
Property Value
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. |
Remarks
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>