"curveScaleFormat", "curveScaleFormatX"
Sets the format for the scale range (value range) of a trend curve. The attribute "curveScaleFormatX" sets the format for the XY trend curve of the X part.
Synopsis
setValue(string shape, "curveScaleFormat", string curve, string
format);
getValue(string shape, "curveScaleFormat", string curve, string
format);
shape.curveScaleFormat(string curve, string format);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
curve | Name of the curve whose format is set |
format |
The format that should be set, for example, "%6.2f" (two decimal places) (for more information on the different formats, see chapter sprintf()). If the specified string "" is empty, the autoFormat ("%g") is used. Note: Leading zeros are never displayed in the trend scale. |
Description
Sets the format for the scale range (value range) of a trend curve.
Example
The example below sets the format of the scale range to "%06.1f". This means that the value is displayed with one position after decimal point.
main()
{
this.curveScaleFormat("Curve","%06.1f");
}
Assignment
Trend