Jump to content

Component: Bar Chart (Charts): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 17: Line 17:
==Component Source Code==
==Component Source Code==


Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_ChartBar.fcfx FC_Comp_Source_ChartBar.fcfx]
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/ChartBar.fcfx FC_Comp_Source_temp/ChartBar.fcfx]


Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_ChartBar.fcfx FC_Comp_Source_ChartBar.fcfx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/ChartBar.fcfx FC_Comp_Source_temp/ChartBar.fcfx]


==Detailed description==
==Detailed description==
Line 81: Line 81:




==Macro reference==


===Clear===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Clear'''
|-
| colspan="2" | Resets the XY chart and removes all data points. 
|-
|-
| 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''
|}


==Macro reference==


===AddPoint===
===AddPoint===
Line 120: Line 108:
|-
|-
| colspan="2" | The data series (1-8) 
| colspan="2" | The data series (1-8) 
|-
| 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''
|}
===Clear===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Clear'''
|-
| colspan="2" | Resets the XY chart and removes all data points. 
|-
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID

Revision as of 11:59, 3 February 2023

Author Steve Tandy
Version 2.0
Category Charts


Bar Chart component

A 2d bar chart component.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_temp/ChartBar.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_temp/ChartBar.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples




Macro reference

AddPoint

AddPoint
Add a point to the selected data series. 
- STRING Category
The name of the category for the data point 
- FLOAT Y
The Y coordinate of the data point 
- BYTE Index
The data series (1-8) 
- VOID Return


Clear

Clear
Resets the XY chart and removes all data points. 
- VOID Return



Property reference

Properties
Appearance
Title
 
Style
 
Stacking
 
Fill Gradient
 
Categories
Name
 
Show Grid
 
Values
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Values (secondary)
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Data Labels
Show
 
Show Category
 
Show Value
 
Show Series
 
Position
 
Legend
Position
 
Draw Border
 
Select Series
 
Series1
Series Name
 
Visible
 
Secondary Axis