Skip to main content
All docs
V24.1

PolarChartSelectionChangedEventArgs Class

Contains data for the SelectionChanged event.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public class PolarChartSelectionChangedEventArgs :
    EventArgs

Remarks

Handle the SelectionChanged event to react to series or point selection changes.

The following snippet displays the coordinates of a selected point:

<DxPolarChart Data=@DataSource
              PointSelectionMode="ChartSelectionMode.Multiple" 
              SelectionChanged="OnSelectionChanged">
    <DxPolarChartArgumentAxis Inverted="true" StartAngle="90" TickInterval="30"/>
    <DxPolarChartLineSeries ArgumentField="@((DataPoint i) => i.X)"
                            ValueField="@((DataPoint i) => i.Y)">
    </DxPolarChartLineSeries>
</DxPolarChart>

<p>The (@Argument; @Value) point was selected.</p>

@code {
    IEnumerable<DataPoint> DataSource = Enumerable.Empty<DataPoint>();

    object Argument, Value;

    protected override void OnInitialized () {
        DataSource = ChartContinuousDataProvider.GenerateData();
    }

    void OnSelectionChanged(PolarChartSelectionChangedEventArgs args) {
        Argument = args.Point.Argument;
        Value = args.Point.Value;
    }
}

Coordinates of a selected point

Inheritance

Object
EventArgs
PolarChartSelectionChangedEventArgs
See Also