Component: GLCD Graph Creator XY (Graphical Library): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
A component to simplify the process of drawing XY graphs and charts using a graphical LCD. | A component to simplify the process of drawing XY graphs and charts using a graphical LCD. | ||
== | ==Detailed description== | ||
| Line 26: | Line 30: | ||
==Examples== | ==Examples== | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
==Macro reference== | ==Macro reference== | ||
{| class="wikitable | ===AddPoint=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''AddPoint''' | ||
|- | |- | ||
| colspan="2" | Adds a new data point to the graph. | | colspan="2" | Adds a new data point to the graph. | ||
| Line 61: | Line 84: | ||
{| class="wikitable | ===Initialise=== | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | Initialises the graph object on the GLCD to the specified dimensions. | | colspan="2" | Initialises the graph object on the GLCD to the specified dimensions. | ||
| Line 72: | Line 96: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Display Properties | ||
|- | |- | ||
|- | |- | ||
| Line 118: | Line 140: | ||
| colspan="2" | Vertical size of the graph in pixels | | colspan="2" | Vertical size of the graph in pixels | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Graph Properties | ||
|- | |- | ||
|- | |- | ||
| Line 140: | Line 162: | ||
| width="90%" | Min X Value | | width="90%" | Min X Value | ||
|- | |- | ||
| colspan="2" | Value to represent the | | colspan="2" | Value to represent the left X axis on the graph | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
| width="90%" | Max X Value | | width="90%" | Max X Value | ||
|- | |- | ||
| colspan="2" | Value to represent the | | colspan="2" | Value to represent the right X axis on the graph | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
| Line 167: | Line 189: | ||
| colspan="2" | Decides if a X or Y grid is shown for the graph | | colspan="2" | Decides if a X or Y grid is shown for the graph | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Theme | |||
| width="90%" | |||
|- | |- | ||
|- | |- | ||
| Line 185: | Line 197: | ||
|- | |- | ||
| colspan="2" | Determines the graph background colour. | | colspan="2" | Determines the graph background colour. | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-1-icon.png]] | ||
| Line 196: | Line 203: | ||
| colspan="2" | Determines the graph plot colour. | | colspan="2" | Determines the graph plot colour. | ||
|} | |} | ||
==Component Source Code== | |||
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Lib_GLCD_GraphXY.fcfx FC_Comp_Source_Lib_GLCD_GraphXY.fcfx] | |||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Lib_GLCD_GraphXY.fcfx FC_Comp_Source_Lib_GLCD_GraphXY.fcfx] | |||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix TSL |
| Version | 1.2 |
| Category | Graphical Library |
GLCD Graph Creator XY component
A component to simplify the process of drawing XY graphs and charts using a graphical LCD.
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. | |
| X | |
| X Data Value to plot | |
| Y | |
| Y Data Value to plot | |
| Index | |
| Plot Index: Range 0-7 | |
| Return | |
Initialise
| Initialise | |
| Initialises the graph object on the GLCD to the specified dimensions. | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Lib_GLCD_GraphXY.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Lib_GLCD_GraphXY.fcfx