Jump to content

Component: Bar meter (Misc): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(3 intermediate revisions by the same user not shown)
Line 66: Line 66:


===GetValue===
===GetValue===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue'''
| width="90%" class="mtx-class-macrohead" | '''GetValue'''
|-
|-
| colspan="2" | Gets the bar graphs value 
| colspan="2" | Gets the bar graphs value 
Line 80: Line 80:


===SetRange===
===SetRange===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange'''
| width="90%" class="mtx-class-macrohead" | '''SetRange'''
|-
|-
| colspan="2" | Sets the range of the graph 
| colspan="2" | Sets the range of the graph 
Line 104: Line 104:


===SetTitle===
===SetTitle===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTitle'''
| width="90%" class="mtx-class-macrohead" | '''SetTitle'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 123: Line 123:


===SetValue===
===SetValue===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue'''
| width="90%" class="mtx-class-macrohead" | '''SetValue'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 142: Line 142:


===ShowScale===
===ShowScale===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ShowScale'''
| width="90%" class="mtx-class-macrohead" | '''ShowScale'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 162: Line 162:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|}
|}

Latest revision as of 14:23, 13 July 2026

Author
Version 1.0
Category Misc


Bar meter component

A simple bar meter showing a scale and value

Component Source Code

Please click here to download the component source project: FC_Comp_Source_bargraph.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_bargraph.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

GetValue

GetValue
Gets the bar graphs value 
- FLOAT Return


SetRange

SetRange
Sets the range of the graph 
- INT Min
Min (start) value 
- INT Max
Maximum (end) value 
- VOID Return


SetTitle

SetTitle
 
- STRING Title
Title text to show on the graph 
- VOID Return


SetValue

SetValue
 
- FLOAT Value
 
- VOID Return


ShowScale

ShowScale
 
- BOOL Show
True to show scale, else false 
- VOID Return


Property reference

Properties