TiPlotComponent.OnClickDataPoint

TiPlotComponent

Occurs when the application end-user clicks on an individual data point.

type TiPlotClickDataPointEvent = procedure(ChannelIndex, DataIndex: Integer) of object;

property OnClickDataPoint : TiPlotClickDataPointEvent;

Description

Use OnClickDataPoint to perform actions after a data point is clicked. This event will only fire when the application end-user clicks on an actual data point, and will not fire if an interpolated data point is clicked.

Note: the user must turn on the select mode, by toggling the select button, to be able to click on data points and have this event fire.

Contents | Index | Previous | Next