TiPlotAxis.CursorUseDefaultFormat

TiPlotAxis

Specifies whether associated Data Cursors use the Axis Default Formatting.

property CursorUseDefaultFormat : Boolean;

Description

Use CursorUseDefaultFormat to specify whether the associated Data Cursors use the Axis Default Formatting.

By default, all Data Cursors assigned to a particular axis (A Data Cursor is assigned to a channel, which in turn is associated with a particular x and y-axis) will use the same formatting as that X or Y-Axis. For example, if the X-Axis is set to display Date/Time data, formatted as "hh:nn:ss", then the DataCursor will display all X-Data formatted the same as the X-Axis.

Setting this property to FALSE allows you to specify alternative formatting for the DataCursor only by utilizing the CursorFormatStyle, CursorDateTimeFormat, CursorPrecision, CursorPrecisionStyle, CursorMinLength, and CursorMinLengthAutoAdjust properties

Setting this property to TRUE forces the DataCursor to use the default formatting of the Axis. Specifically the LabelsFormatStyle, DateTimeFormat, LabelsPrecision, LabelsPrecisionStyle, LabelsMinLength, and LabelsMinLengthAutoAdjust properties.

Note: The values displayed by the Data Cursors are made up of either an X-Value, Y-Value, or both. Therefore you will need to configure the X-Axis, Y-Axis, or both if you want to display custom data formatting on the cursor. You can also utilize the OnDataCursorCustomizeHint to modify Data Cursor Hints before they are displayed.

Example

Delphi

iComponent.XAxis[0].CursorUseDefaultFormat := False;

iComponent.YAxis[0].CursorUseDefaultFormat := False;

C++ Builder

iComponent->XAxis[0]->CursorUseDefaultFormat = False;

iComponent->YAxis[0]->CursorUseDefaultFormat = False;

Contents | Index | Previous | Next