TcxGridChartView.OnValueClick Event
Occurs when a data marker for a particular chart value is clicked.
Declaration
property OnValueClick: TcxGridChartValueClickEvent read; write;
Remarks
The OnValueClick
event also occurs when:
The drill-down functionality is disabled via the View’s OptionsCustomize.DataDrillDown property.
A drill-down cannot be performed (the View’s Controller.IsDataDrillDownPossible function returns
False
).
Event Parameters
The Sender
parameter provides access to the Chart View that raised the OnValueClick
event.
The ASeries
parameter identifies the series whose value has been clicked.
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 the pending drill-down operation.
Note
The OnValueClick event of a series can override the View’s OnValueClick
event since the series OnValueClick event occurs last.