Jump to content

Component: Numeric Indicator (Indicators): Difference between revisions

From Flowcode Help
XML import
 
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| style="width:50%"
 
{| width="50%"
|-
|-
| width="20%" style="color: gray;" | Author
| width="20%" style="color:gray;" | Author
| Steve Tandy
| Steve Tandy
|-
|-
| width="20%" style="color: gray;" | Version
| width="20%" style="color:gray;" | Version
| 0.1 (Development)
| 1.0
|-
|-
| width="20%" style="color: gray;" | Category
| width="20%" style="color:gray;" | Category
| Indicators
| Indicators
|}
|}




 
==Numeric Indicator component==
==[[File:Component Icon f959d1c6_e0be_415b_abd6_da5b386638f3.png|Image]] Numeric Indicator component==
A 2d numeric indicator component.
A 2d numeric indicator component.


==Examples==
==Component Pack==
''<span style="color:red;">No additional examples</span>''


FREE


==Downloadable macro reference==
==Detailed description==


''This component does not contain any downloadable macros''


==Simulation macro reference==


===<span style="font-weight: normal;"><u><tt>GetValue</tt></u></span>===
''No detailed description exists yet for this component''
Returns the current value of the component.


'''Parameters'''
==Examples==


:''This macro has no parameters''




'''Return value'''
''<span style="color:red;">No additional examples</span>''


:[[Variable Types|FLOAT]]
==Downloadable macro reference==


{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''GetValue'''
|-
| colspan="2" | Returns the current value of the component.&nbsp;
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}


===<span style="font-weight: normal;"><u><tt>SetValue</tt></u></span>===
Sets the component to the specified value.


'''Parameters'''
{| class="mtx-class-macrotable wikitable"
 
|-
:[[Variable Types|FLOAT]] ''value''
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
::A new value for the component.
| width="90%" class="mtx-class-macrohead" | '''SetValue'''
 
|-
 
| colspan="2" | Sets the component to the specified value.&nbsp;
'''Return value'''
|-
 
|-
:''This call does not return a value''
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="90%" | value
|-
| colspan="2" | A new value for the component.&nbsp;
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}




Line 58: Line 67:


==Property reference==
==Property reference==
<span style="font-weight: normal;"><u>Value</u></span>


This property is of type ''Floating point'' and can be referenced with the variable name ''Base2dGauge::Base2dObject::dValue''.
{| class="mtx-class-macrotable wikitable"
 
|-
''<span style="color:red;">No additional information</span>''
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
 
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
 
|-
 
|-
<span style="font-weight: normal;"><u>Style</u></span>
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 
| width="90%" | Value
This property is of type ''Fixed list of text'' and can be referenced with the variable name ''nStyle''.
|-
 
| colspan="2" | &nbsp;
''<span style="color:red;">No additional information</span>''
|-
 
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
 
| width="90%" | Style
 
|-
<span style="font-weight: normal;"><u>Type</u></span>
| colspan="2" | &nbsp;
 
|-
This property is of type ''Fixed list of text'' and can be referenced with the variable name ''nType''.
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
 
| width="90%" | Type
''<span style="color:red;">No additional information</span>''
|-
 
| colspan="2" | &nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
<span style="font-weight: normal;"><u>Cell Count</u></span>
| width="90%" | Cell Count
 
|-
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''nCellCount''.
| colspan="2" | &nbsp;
 
|-
''<span style="color:red;">No additional information</span>''
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
 
| width="90%" | Show Decimal Point
 
|-
 
| colspan="2" | &nbsp;
<span style="font-weight: normal;"><u>Show Decimal Point</u></span>
|-
 
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
This property is of type ''True or false'' and can be referenced with the variable name ''bShowDP''.
| width="90%" | Show Leading Zeros
 
|-
''<span style="color:red;">No additional information</span>''
| colspan="2" | &nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
 
| width="90%" | Show Sign
<span style="font-weight: normal;"><u>Show Leading Zeros</u></span>
|-
 
| colspan="2" | &nbsp;
This property is of type ''True or false'' and can be referenced with the variable name ''bShowLeadingZeros''.
|-
 
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
''<span style="color:red;">No additional information</span>''
| width="90%" | Decimal Places
 
|-
 
| colspan="2" | &nbsp;
 
|-
<span style="font-weight: normal;"><u>Show Sign</u></span>
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-conn-icon.png]]
 
| width="90%" class="mtx-class-macrohead" | '''Connections'''  
This property is of type ''True or false'' and can be referenced with the variable name ''bShowSign''.
|-
 
|-
''<span style="color:red;">No additional information</span>''
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-conn-icon.png]]
 
| width="90%" class="mtx-class-macrohead" | '''Simulations'''  
 
|-
 
|}
<span style="font-weight: normal;"><u>Decimal Places</u></span>
 
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''nDecimalPlaces''.
 
''<span style="color:red;">No additional information</span>''

Latest revision as of 14:23, 13 July 2026

Author Steve Tandy
Version 1.0
Category Indicators


Numeric Indicator component

A 2d numeric indicator component.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Downloadable macro reference

GetValue
Returns the current value of the component. 
- FLOAT Return


SetValue
Sets the component to the specified value. 
- FLOAT value
A new value for the component. 
- VOID Return



Property reference

Properties
Value
 
Style
 
Type
 
Cell Count
 
Show Decimal Point
 
Show Leading Zeros
 
Show Sign
 
Decimal Places
 
Connections
Simulations