TcxGridChartSeries.OnValueClick Event
Occurs when a data marker is clicked.
Declaration
property OnValueClick: TcxGridChartValueClickEvent read; write;
Remarks
The OnValueClick
event also occurs when:
- Drill-down functionality is disabled through the View’s OptionsCustomize.DataDrillDown property.
- A drill-down operation is not available (the View’s Controller.IsDataDrillDownPossible function returns
False
).
The Sender
and ASeries
parameters identify the Chart View and the series whose value is clicked, respectively.
The AValueIndex
corresponds to the index of the chart value being clicked in the VisibleValues collection of ASeries
.
Set the AHandled
parameter to True
to cancel a drill-down operation. In this instance the View’s OnValueClick event for this series does not occur.
See Also