TiPlotDataCursor.ChannelShowAllInLegend

TiPlotDataCursor

Specifies whether the Data Cursor displays cursor data in the Legend when the Data Cursor ChannelName property is set to "<All>".

property ChannelAllowAll : Boolean;

Description

Use ChannelAllowAll to specify whether the Data Cursor displays cursor data in the Legend when the Data Cursor ChannelName property is set to "<All>"..

If this property is set to TRUE, then the X and Y columns in the Legend are forced on to display X and Y coordinate data for all channels.

If this property is FALSE, then no data is shown in the Legend for the Data Cursor. You would then want to use OnDataCursorChange event to be notified when the data cursor is moved. In the OnDataCursorChange event handler, you would then inspect the DataCursorStatus, DataCursorXText, DataCursorXValue, DataCursorYText, and DataCursorYValue properties on each channel.

Example

Delphi

iComponent.DataCursor[0].ChannelAllowAll := True;

C++ Builder

iComponent->DataCursor[0]->ChannelAllowAll = True;

Contents | Index | Previous | Next