Back to Devexpress

ChartBuilder.SeriesSelectionMode(ChartElementSelectionMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-chartbuilder-dot-seriesselectionmode-x28-devextreme-dot-aspnet-dot-mvc-dot-chartelementselectionmode-x29.md

latest1.4 KB
Original Source

ChartBuilder.SeriesSelectionMode(ChartElementSelectionMode) Method

Specifies whether a single series or multiple series can be selected in the chart. Mirrors the client-side seriesSelectionMode option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public ChartBuilder SeriesSelectionMode(
    ChartElementSelectionMode value
)

Parameters

NameTypeDescription
valueChartElementSelectionMode

The option value.

|

Returns

TypeDescription
ChartBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Chart()
    .SeriesSelectionMode(ChartElementSelectionMode.Multiple)
)

See Also

ChartBuilder Class

ChartBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace