Back to Devexpress

DxPolarChartBarSeries<T, TArgument, TValue>.SelectionMode Property

blazor-devexpress-dot-blazor-dot-dxpolarchartbarseries-3-462ba2cc.md

latest2.7 KB
Original Source

DxPolarChartBarSeries<T, TArgument, TValue>.SelectionMode Property

Specifies the selection mode for the bar series.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(ChartSeriesPointSelectionMode.Point)]
[Parameter]
public ChartSeriesPointSelectionMode SelectionMode { get; set; }

Property Value

TypeDefaultDescription
ChartSeriesPointSelectionModePoint

An enumeration value.

|

Available values:

NameDescriptionImage
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:

razor
<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

DxPolarChartBarSeries<T, TArgument, TValue> Members

DevExpress.Blazor Namespace