TcxGridChartView.OnValueClick Event
Occurs when a data marker for a particular chart value is clicked.
Declaration
property OnValueClick: TcxGridChartValueClickEvent read; write;
Remarks
This event is fired for instance, when a drill-down is performed. Note that this event is fired even 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).
The Sender parameter references the Chart View.
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 a drill-down operation.
Note
The OnValueClick event of a series can override the View’s OnValueClick event since the series OnValueClick event is fired last.