Back to Devexpress

DxPolarChartAreaSeries<T, TArgument, TValue>.SelectionMode Property

blazor-devexpress-dot-blazor-dot-dxpolarchartareaseries-3-eca284ae.md

latest2.7 KB
Original Source

DxPolarChartAreaSeries<T, TArgument, TValue>.SelectionMode Property

Specifies the selection mode of the area series.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(ChartContinuousSeriesSelectionMode.SeriesAndAllPoints)]
[Parameter]
public ChartContinuousSeriesSelectionMode SelectionMode { get; set; }

Property Value

TypeDefaultDescription
ChartContinuousSeriesSelectionModeSeriesAndAllPoints

An enumeration value.

|

Available values:

NameDescriptionImage
Series

The clicked series is selected.

|

| | SeriesAndAllPoints |

The clicked series and its points are selected.

|

| | None |

No chart elements are selected when a series is clicked.

|

|

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 SeriesSelectionMode property value.

In the following example, the Night series can be selected while the Day series is not selectable:

razor
<DxPolarChart Data=@DataSource
              SeriesSelectionMode="ChartSelectionMode.Single">
    <DxPolarChartAreaSeries Name="Day"
                            ArgumentField="@((DiscretePoint i) => i.Arg)"
                            ValueField="@((DiscretePoint i) => i.Day)"
                            SelectionMode="ChartContinuousSeriesSelectionMode.None">
    </DxPolarChartAreaSeries>
    <DxPolarChartAreaSeries Name="Night"
                            Color="Color.MidnightBlue"
                            ArgumentField="@((DiscretePoint i) => i.Arg)"
                            ValueField="@((DiscretePoint i) => i.Night)">
    </DxPolarChartAreaSeries>
    <DxChartLegend Visible="false" />
</DxPolarChart>

See Also

DxPolarChartAreaSeries<T, TArgument, TValue> Class

DxPolarChartAreaSeries<T, TArgument, TValue> Members

DevExpress.Blazor Namespace