Back to Devexpress

DxPolarChartLineSeries<T, TArgument, TValue>.SelectionMode Property

blazor-devexpress-dot-blazor-dot-dxpolarchartlineseries-3-a5ad0290.md

latest2.4 KB
Original Source

DxPolarChartLineSeries<T, TArgument, TValue>.SelectionMode Property

Specifies the selection mode for the line 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 property also allows you to override the PointSelectionMode property value.

In the following example, the Polar Chart highlights both series and its points on a click:

razor
<DxPolarChart Data=@DataSource 
              SeriesSelectionMode="ChartSelectionMode.Single">
    <DxChartLegend Position="RelativePosition.Outside" />
    <DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
                            ValueField="@((DiscretePoint i) => i.Day)"
                            SelectionMode="ChartContinuousSeriesSelectionMode.SeriesAndAllPoints">
    </DxPolarChartLineSeries>
</DxPolarChart>

See Also

DxPolarChartLineSeries<T, TArgument, TValue> Class

DxPolarChartLineSeries<T, TArgument, TValue> Members

DevExpress.Blazor Namespace