Jump to content

Component: Pie 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/wikicopy/componentsource/FC_Comp_Source_ChartPie.fcfx FC_Comp_Source_ChartPie.fcfx]
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_ChartPie.fcfx FC_Comp_Source_ChartPie.fcfx]


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


==Detailed description==
==Detailed description==




Line 44: Line 46:


==Examples==
==Examples==




Line 66: Line 70:


==Macro reference==
==Macro reference==
{| 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''
|}
{| 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;" | '''AddPoint'''
|-
| colspan="2" | Add a data point to the chart. 
|-
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Category
|-
| colspan="2" | The name of the category for the data point 
|-
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
| width="90%" | Value
|-
| colspan="2" | The Y coordinate of the data point 
|-
| 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''
|}
==Property reference==
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance
|-
|-
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
| width="90%" | Style
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
| width="90%" | Type
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-10-icon.png]]
| width="90%" | Title
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
| width="90%" | Fill Gradient
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Single colour
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Exploded
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-8-icon.png]]
| width="90%" | Hole Size
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]]
| width="90%" | Rotation Offset
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
| width="90%" | Viewing Depth
|-
| colspan="2" |  
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Data labels
|-
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Show Category
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Show Value
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Show Percentage
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
| width="90%" | Label Position
|-
| colspan="2" |  
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Legend
|-
|-
| width="10%" align="center" | [[File:Fc9-type-12-icon.png]]
| width="90%" | Position
|-
| colspan="2" |  
|-
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
| width="90%" | Draw Border
|-
| colspan="2" |  
|}==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"

Revision as of 09:52, 27 January 2023

Author Steve Tandy
Version 2.0
Category Charts


Pie Chart component

A 2d pie chart component.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

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


AddPoint
Add a data point to the chart. 
- STRING Category
The name of the category for the data point 
- FLOAT Value
The Y coordinate of the data point 
- VOID Return



Property reference

Properties
Appearance
Style
 
Type
 
Title
 
Fill Gradient
 
Single colour
 
Exploded
 
Hole Size
 
Rotation Offset
 
Viewing Depth
 
Data labels
Show Category
 
Show Value
 
Show Percentage
 
Label Position
 
Legend
Position
 
Draw Border
 

==Macro reference==

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


AddPoint
Add a data point to the chart. 
- STRING Category
The name of the category for the data point 
- FLOAT Value
The Y coordinate of the data point 
- VOID Return



Property reference

Properties
Appearance
Style
 
Type
 
Title
 
Fill Gradient
 
Single colour
 
Exploded
 
Hole Size
 
Rotation Offset
 
Viewing Depth
 
Data labels
Show Category
 
Show Value
 
Show Percentage
 
Label Position
 
Legend
Position
 
Draw Border
 

==Macro reference==

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


AddPoint
Add a data point to the chart. 
- STRING Category
The name of the category for the data point 
- FLOAT Value
The Y coordinate of the data point 
- VOID Return



Property reference

Properties
Appearance
Style
 
Type
 
Title
 
Fill Gradient
 
Single colour
 
Exploded
 
Hole Size
 
Rotation Offset
 
Viewing Depth
 
Data labels
Show Category
 
Show Value
 
Show Percentage
 
Label Position
 
Legend
Position
 
Draw Border
 

==Macro reference==

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


AddPoint
Add a data point to the chart. 
- STRING Category
The name of the category for the data point 
- FLOAT Value
The Y coordinate of the data point 
- VOID Return



Property reference

Properties
Appearance
Style
 
Type
 
Title
 
Fill Gradient
 
Single colour
 
Exploded
 
Hole Size
 
Rotation Offset
 
Viewing Depth
 
Data labels
Show Category
 
Show Value
 
Show Percentage
 
Label Position
 
Legend
Position
 
Draw Border