Jump to content

Component: Graph Plotter (Indicators): 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 134: Line 134:
|-
|-
| 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;" | Graph Properties
| width="90%" class="mtx-class-propfolder" | Graph Properties
|-
|-
|-
|-
Line 188: Line 188:
|-
|-
| 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;" | Theme
| width="90%" class="mtx-class-propfolder" | Theme
|-
|-
|-
|-

Revision as of 14:35, 13 July 2026

Author Matrix TSL
Version 1.0
Category Indicators


Graph Plotter component

A simple component to allow a number of values to be plotted onto a panel primitive.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

AddPoint

AddPoint
Adds a new data point to the graph. 
- UINT Data
Data Value to plot 
- BYTE Index
Plot Index: Range 0-7 
- VOID Return


Initialise

Initialise
Initialises the graph object on the GLCD to the specified dimensions. X, Y coordinates dictate the top left corner of the graph. Width, Height measurements dictate the size of the graph. 
- UINT X
 
- UINT Y
 
- UINT Width
 
- UINT Height
 
- VOID Return


Property reference

Properties
Graph Properties
Number Of Plots
Determines the number of plots that can be displayed simultaneously on the graph. Monochrome displays can only support a single plot. 
Number Of Points
Number of data points the graph can store, multiplied by the number of plots. 
Graph Style
 
Min Value
 
Max Value
 
Show Grid
 
X Subdivisions
 
Y Subdivisions
 
Pixel Width
 
Pixel Height
 
Theme
Background Colour
Determines the graph background colour.  
Grid Colour
Determines the graph grid colour.  
Plot 1 Colour
Determines the graph plot colour.  
Plot 2 Colour
Determines the graph plot colour.