TiPlotAxis.LabelsPrecisionStyle
TiPlotAxis See Also
Specifies how the LabelsPrecision property is interpreted when formatting scale labels.
type TiPrecisionStyle = (ipsSignificantDigits, ipsFixedDecimalPoints);
property LabelsPrecisionStyle : TiPrecisionStyle;
Description
Use LabelsPrecisionStyle to specify how the LabelsPrecision property is interpreted when formatting scale labels.
When LabelsPrecisionStyle is set to ipsSignificantDigits, the number of digits
to the right of the decimal point is automatically calculated to ensure that
the span of the values will show enough significant digits.
For Example:
LabelsPrecision = 3
LabelsPrecisionStyle = ipsSignificantDigits
Span = 50
------------------------------------------------------------------------------------------------------------------
Number of digits shown to the right of the decimal point = 1
These are the possible values:
Value
Meaning
ipsSignificantDigits
Precision property specifies the number of significant digits.
ipsFixedDecimalPoints
Precision property specifies the number of digits to the right of the decimal
point.
Example
Delphi
iComponent.XAxis[0].LabelsPrecisionStyle := ipsSignificantDigits;
iComponent.YAxis[0].LabelsPrecisionStyle := ipsSignificantDigits;
C++ Builder
iComponent->XAxis[0]->LabelsPrecisionStyle = ipsSignificantDigits;
iComponent->YAxis[0]->LabelsPrecisionStyle = ipsSignificantDigits;
Contents | Index | Previous | Next