PieChartSeriesClickEventArgs.Point Property
Returns the clicked series point.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
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 != 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