Component: Graph Plotter (Indicators)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Indicators |
Contents
Graph Plotter component
A simple component to allow a number of values to be plotted onto a panel primitive.
Examples
No additional examples
Downloadable macro reference
AddPoint
Adds a new data point to the graph.
Parameters
- UINT Data
- Data Value to plot
- BYTE Index
- Plot Index: Range 0-7
Return value
- This call does not return a value
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.
Parameters
- UINT X
- UINT Y
- UINT Width
- UINT Height
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Number Of Plots
This property is of type Fixed list of ints and can be referenced with the variable name NumPlots.
Determines the number of plots that can be displayed simultaneously on the graph.
Monochrome displays can only support a single plot.
Number Of Points
This property is of type Unsigned integer and can be referenced with the variable name NumPoints.
Number of data points the graph can store, multiplied by the number of plots.
Graph Style
This property is of type Fixed list of ints and can be referenced with the variable name GraphStyle.
No additional information
Min Value
This property is of type Signed integer and can be referenced with the variable name MinVal.
No additional information
Max Value
This property is of type Signed integer and can be referenced with the variable name MaxVal.
No additional information
Show Grid
This property is of type Fixed list of ints and can be referenced with the variable name ShowGrid.
No additional information
Pixel Width
This property is of type Unsigned integer and can be referenced with the variable name PixelWidth.
No additional information
Pixel Height
This property is of type Unsigned integer and can be referenced with the variable name PixelHeight.
No additional information
Background Colour
This property is of type Color picker and can be referenced with the variable name BgCol.
Determines the graph background colour.
Plot 1 Colour
This property is of type Color picker and can be referenced with the variable name P1Col.
Determines the graph plot colour.
Plot 2 Colour
This property is of type Color picker and can be referenced with the variable name P2Col.
Determines the graph plot colour.