Jump to content

Component: Base2dChart (Development): Difference between revisions

From Flowcode Help
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder""
Line 353: Line 353:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Data
| width="90%" class="mtx-class-propfolder" | Data
|-
|-
|-
|-
Line 377: Line 377:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Appearance
| width="90%" class="mtx-class-propfolder" | Appearance
|-
|-
|-
|-
Line 411: Line 411:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | X-axis
| width="90%" class="mtx-class-propfolder" | X-axis
|-
|-
|-
|-
Line 450: Line 450:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Y-axis
| width="90%" class="mtx-class-propfolder" | Y-axis
|-
|-
|-
|-
Line 489: Line 489:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Y-axis (secondary)
| width="90%" class="mtx-class-propfolder" | Y-axis (secondary)
|-
|-
|-
|-
Line 528: Line 528:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Data Labels
| width="90%" class="mtx-class-propfolder" | Data Labels
|-
|-
|-
|-
Line 567: Line 567:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Legend
| width="90%" class="mtx-class-propfolder" | Legend
|-
|-
|-
|-
Line 586: Line 586:
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Series1
| width="90%" class="mtx-class-propfolder" | Series1
|-
|-
|-
|-

Revision as of 14:35, 13 July 2026

Author Steve Tandy
Version 1.1
Category Development


Base2dChart component

A base component for creating 2d charts.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples






Macro reference

AddCatData

AddCatData
Adds a data point (y-value only) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- STRING Category
 
- FLOAT Value
The data point value 
- VOID Return


AddData

AddData
Adds a data point (y-value only) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- FLOAT Value
The data point value 
- VOID Return


AddDataCXYY1

AddDataCXYY1
Adds a data point to a bubble chart. 
- BYTE Series
Which series to add to (1-8) 
- STRING Category
 
- FLOAT Y
Y coordinate 
- FLOAT X
X coordinate 
- FLOAT Value
The value of the data point 
- VOID Return


AddDataXY

AddDataXY
Adds a data point (x and y values) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- FLOAT xValue
The x coordinate for the data point 
- FLOAT yValue
The y coordinate for the data point 
- VOID Return


AddDataXYY1

AddDataXYY1
Adds a data point for a ternary chart (3 axes) to the specified series. 
- BYTE Series
Which series to add to (1-8) 
- FLOAT xValue
The value on the first axis 
- FLOAT yValue
The value on the second axis 
- FLOAT zValue
The value on the third axis 
- VOID Return


ClearData

ClearData
Removes all datapoints from the chart. 
- VOID Return


GetData

GetData
Gets a data point from the specified series. 
- BYTE Series
Which series to add to (1-8) 
- INT Index
The data point index (1 - 32767) 
- FLOAT Return


GetDataXY

GetDataXY
Gets a data point from the specified XY reference 
- BYTE Series
Which series to read from (1-8) 
- INT X
X location of the data (1 - 32767) 
- INT Y
Y location of the data (1 - 255) 
- FLOAT Return


RefreshChart

RefreshChart
Redraws the chart. 
- VOID Return


SetMode

SetMode
Select the mode of operation 
- BOOL bUseArrays
True if data points are added to a hidden buffer; False if data is drawn directly onto chart. 
- VOID Return


Property reference

Properties
Data
Categories
 
Y Values
 
X Values
 
Z Values
 
Appearance
Title
 
Style
 
Stacking
 
Fill Gradient
 
Transparency
 
Data Between Ticks
 
X-axis
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Scalable
 
Y-axis
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Scalable
 
Y-axis (secondary)
Name
 
Show Grid
 
Auto-scale
 
Start
 
End
 
Logarithmic
 
Scalable
 
Data Labels
Show
 
Show Category
 
Show Value
 
Show Percentage
 
Show Series
 
Angle
 
Position
 
Legend
Position
 
Draw Border
 
Select Series
 
Series1
Series Name
 
Visible
 
Secondary Axis
 
Line Style
 
Line Type
 
Line Width
 
Shadow
 
Fill
 
Show Marker
 
Marker Shape
 
Marker Size