Difference between revisions of "Component: Pie Chart (Charts)"

From Flowcode Help
Jump to navigationJump to search
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

Fc9-comp-macro.png Clear
Resets the XY chart and removes all data points. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AddPoint
Add a data point to the chart. 
Fc9-string-icon.png - STRING Category
The name of the category for the data point 
Fc9-f32-icon.png - FLOAT Value
The Y coordinate of the data point 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Appearance
Fc9-type-12-icon.png Style
 
Fc9-type-12-icon.png Type
 
Fc9-type-10-icon.png Title
 
Fc9-type-12-icon.png Fill Gradient
 
Fc9-type-7-icon.png Single colour
 
Fc9-type-7-icon.png Exploded
 
Fc9-type-8-icon.png Hole Size
 
Fc9-type-21-icon.png Rotation Offset
 
Fc9-type-12-icon.png Viewing Depth
 
Fc9-conn-icon.png Data labels
Fc9-type-7-icon.png Show Category
 
Fc9-type-7-icon.png Show Value
 
Fc9-type-7-icon.png Show Percentage
 
Fc9-type-12-icon.png Label Position
 
Fc9-conn-icon.png Legend
Fc9-type-12-icon.png Position
 
Fc9-type-7-icon.png Draw Border
 

==Macro reference==

Fc9-comp-macro.png Clear
Resets the XY chart and removes all data points. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AddPoint
Add a data point to the chart. 
Fc9-string-icon.png - STRING Category
The name of the category for the data point 
Fc9-f32-icon.png - FLOAT Value
The Y coordinate of the data point 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Appearance
Fc9-type-12-icon.png Style
 
Fc9-type-12-icon.png Type
 
Fc9-type-10-icon.png Title
 
Fc9-type-12-icon.png Fill Gradient
 
Fc9-type-7-icon.png Single colour
 
Fc9-type-7-icon.png Exploded
 
Fc9-type-8-icon.png Hole Size
 
Fc9-type-21-icon.png Rotation Offset
 
Fc9-type-12-icon.png Viewing Depth
 
Fc9-conn-icon.png Data labels
Fc9-type-7-icon.png Show Category
 
Fc9-type-7-icon.png Show Value
 
Fc9-type-7-icon.png Show Percentage
 
Fc9-type-12-icon.png Label Position
 
Fc9-conn-icon.png Legend
Fc9-type-12-icon.png Position
 
Fc9-type-7-icon.png Draw Border
 

==Macro reference==

Fc9-comp-macro.png Clear
Resets the XY chart and removes all data points. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AddPoint
Add a data point to the chart. 
Fc9-string-icon.png - STRING Category
The name of the category for the data point 
Fc9-f32-icon.png - FLOAT Value
The Y coordinate of the data point 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Appearance
Fc9-type-12-icon.png Style
 
Fc9-type-12-icon.png Type
 
Fc9-type-10-icon.png Title
 
Fc9-type-12-icon.png Fill Gradient
 
Fc9-type-7-icon.png Single colour
 
Fc9-type-7-icon.png Exploded
 
Fc9-type-8-icon.png Hole Size
 
Fc9-type-21-icon.png Rotation Offset
 
Fc9-type-12-icon.png Viewing Depth
 
Fc9-conn-icon.png Data labels
Fc9-type-7-icon.png Show Category
 
Fc9-type-7-icon.png Show Value
 
Fc9-type-7-icon.png Show Percentage
 
Fc9-type-12-icon.png Label Position
 
Fc9-conn-icon.png Legend
Fc9-type-12-icon.png Position
 
Fc9-type-7-icon.png Draw Border
 

==Macro reference==

Fc9-comp-macro.png Clear
Resets the XY chart and removes all data points. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AddPoint
Add a data point to the chart. 
Fc9-string-icon.png - STRING Category
The name of the category for the data point 
Fc9-f32-icon.png - FLOAT Value
The Y coordinate of the data point 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Appearance
Fc9-type-12-icon.png Style
 
Fc9-type-12-icon.png Type
 
Fc9-type-10-icon.png Title
 
Fc9-type-12-icon.png Fill Gradient
 
Fc9-type-7-icon.png Single colour
 
Fc9-type-7-icon.png Exploded
 
Fc9-type-8-icon.png Hole Size
 
Fc9-type-21-icon.png Rotation Offset
 
Fc9-type-12-icon.png Viewing Depth
 
Fc9-conn-icon.png Data labels
Fc9-type-7-icon.png Show Category
 
Fc9-type-7-icon.png Show Value
 
Fc9-type-7-icon.png Show Percentage
 
Fc9-type-12-icon.png Label Position
 
Fc9-conn-icon.png Legend
Fc9-type-12-icon.png Position
 
Fc9-type-7-icon.png Draw Border