PieChartSeriesClickEventArgs.Point Property
In This Article
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 |
---|---|
Chart |
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