TiStripChart.PrecisionStyle
TiStripChart See Also
Specifies how the Precision property is interpreted.
type TiPrecisionStyle = (ipsSignificantDigits, ipsFixedDecimalPoints);
property PrecisionStyle : TiPrecisionStyle;
Description
Use PrecisionStyle to specify how the Precision property is interpreted.
When PrecisionStyle 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 :
XAxisMin = 150
XAxisMax = 100
TickLabelPrecision = 3
TiPrecisionStyle = ipsSignificantDigits
------------------------------------------------------------------------------------------------------------------
Span = 50 (150 – 100)
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.PrecisionStyle := ipsSignificantDigits;
C++ Builder
iComponent->PrecisionStyle = ipsSignificantDigits;
Contents | Index | Previous | Next