DxPolarChartAreaSeries<T, TArgument, TValue>.SelectionMode Property
Specifies the selection mode of the area series.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(ChartContinuousSeriesSelectionMode.SeriesAndAllPoints)]
[Parameter]
public ChartContinuousSeriesSelectionMode SelectionMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ChartContinuousSeriesSelectionMode | SeriesAndAllPoints | An enumeration value. |
Available values:
Name | Description | Image |
---|---|---|
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:
<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