Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
[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.

All points with the same argument are selected

AllPoints

All points that belong to the series are selected when a user selects a point.

All points of a series are selected

Point

Only a clicked point is selected.

A single 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