Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PieChartSeriesClickEventArgs.Point Property

Returns the clicked series point.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public ChartSeriesPoint Point { get; }

#Property Value

Type Description
ChartSeriesPoint

A series point.

#Remarks

The following example details how to display information about a pie sector when a user clicks it:

<DxPieChart SeriesClick=@OnSeriesClick>
    <@*...*@>
</DxPieChart>
@if(ClickedPointArgs.Point != null) {
    <div id="point-args">
        <table>
            <tr> <td>Point Value:</td><td> @ClickedPointArgs.Point.Value</td> </tr>
            <tr> <td>Argument:</td><td> @ClickedPointArgs.Point.Argument</td> </tr>
        </table>
    </div>
}
@code {
    PieChartSeriesClickEventArgs ClickedPointArgs { get; set; }
    void OnSeriesClick(PieChartSeriesClickEventArgs seriesArgs) {
        ClickedPointArgs = seriesArgs;
    }
}
See Also