TiPlotAxis.LabelsFormatStyle

TiPlotAxis See Also

Used to set the formatting style of scale labels.

type TiPlotTextFormat = (iptfValue, iptfExponent, iptfPrefix, iptfDateTime, iptfPrice32nds);

property LabelsFormatStyle : TiPlotTextFormat

Description

Use LabelsFormatStyle to get or set the formatting style of scale labels.

Value
Meaning
iptfValue
Simple Value (ex. 198678.567
iptfExponent
Exponential (ex. 2.35E+002).
iptfPrefix
Prefix (ex. 2.2K).
iptfDateTime
Date/Time (ex. 3 Jan 01 5:23:44)
iptfPrice32nds
Ex. 100.231
This format is used in the Bond and Securities Market. Displayed where 23 is in 32nds and 1 is in 256ths. So in decimal the price above is: 100 +23/32 + 1/256. Pass the actual double value of 100.72265625 to display it as Price32nds format as 100.231..

Example

Delphi

iComponent.XAxis[0].LabelsFormatStyle := iptfExponent;

iComponent.YAxis[0].LabelsFormatStyle := iptfExponent;

C++ Builder

iComponent->XAxis[0]->LabelsFormatStyle = iptfExponent;

iComponent->YAxis[0]->LabelsFormatStyle = iptfExponent;

Contents | Index | Previous | Next