TiPlotAxis.LegendUseDefaultFormat

TiPlotAxis

Specifies whether associated Legend uses the Axis Default Formatting.

property LegendUseDefaultFormat : Boolean;

Description

Use LegendUseDefaultFormat to specify whether the associated Legends use the Axis Default Formatting.

By default, the Legends assigned will use the same formatting as the X or Y-Axis assigned to a particular channel when displaying X and Y-Value data for that channel. For example, if the X-Axis is set to display Date/Time data, formatted as "hh:nn:ss", then the Legend will display all X-Data formatted the same as the X-Axis for the channel that uses that axis.

Setting this property to FALSE allows you to specify alternative formatting for the Legend only by utilizing the LegendFormatStyle, LegendDateTimeFormat, LegendPrecision, LegendPrecisionStyle, LegendMinLength, and LegendMinLengthAutoAdjust properties

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

Note: The values displayed by the Legends 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 Legend.

Example

Delphi

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

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

C++ Builder

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

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

Contents | Index | Previous | Next