UnitX Property (FPScript)
Read access to the unit of a data object's X component. Read/write access to the unit of the current formula's X component.
Syntax
[DataObject].UnitX
or
[this].UnitX = Unit
The syntax of the UnitX property consists of the following elements:
Element |
Description |
---|---|
DataObject |
Optional. The data object being accessed. If you omit this element, then the current formula is accessed. In the case of embedded FPScript you have to use the This keyword. |
Unit |
The string to be assigned as the unit for the X component of the current formula. |
Remarks
Write access to the header information of a data object is only allowed for the formula where the FPScript code is located. You should only use this option in embedded FPScript. For standard formula objects, you should edit the attribute on theGeneral tab of the Properties dialog box instead.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
\DataSet.UnitX |
Returns a string with the physical unit of a data set's X component in the root folder. |
.UnitX = "ms" |
Sets the unit of the current formula's X component to "ms". (only useful when the unit monitoring is disabled) |
See Also
You might be interested in these articles
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information