TouchGFX
Graph::addValue()
is only used within TouchGFX.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
TouchGFX
Graph::addValue()
Graph::addValue() method
@fn bool Graph::addValue(int x, int y) Adds a point to the graph. Adds a point to the graph.
Syntax
from
Graph.hpp:89
bool
addValue
(
int
x
,
int
y
)
;
Arguments
x
The x coordinate.
y
The y coordinate.
Return value
true if it succeeds, false if it fails.
References
Location
Referrer
Scope
Text
Graph.hpp:89
bool
addValue
(
int
x
,
int
y
)
GraphView.cpp:222
GraphView::handleTickEvent()
GraphView
primaryGraph
.
addValue
(
graphX
,
(
int
)
(
(
CWRUtil
::
toQ5
(
150
)
*
CWRUtil
::
sine
(
graphX
+
Utils
::
randomNumberBetween
(
-
25
,
25
)
)
)
.
to
<
int
>
(
)
)
+
200
+
Utils
::
randomNumberBetween
(
-
50
,
50
)
)
;
GraphView.cpp:223
GraphView::handleTickEvent()
GraphView
secondaryGraph
.
addValue
(
graphX
,
(
int
)
(
(
CWRUtil
::
toQ5
(
150
)
*
CWRUtil
::
sine
(
graphX
+
230
)
)
.
to
<
int
>
(
)
)
+
200
+
Utils
::
randomNumberBetween
(
-
50
,
50
)
)
;
GraphView.cpp:272
GraphView::handleTickEvent()
GraphView
primaryGraph
.
addValue
(
graphX
,
value1
)
;
GraphView.cpp:273
GraphView::handleTickEvent()
GraphView
secondaryGraph
.
addValue
(
graphX
,
value2
)
;
Call Tree
Functions calling
Graph::addValue()
Functions called by
Graph::addValue()
GraphView::handleTickEvent()
all items filtered out
Graph::addValue()
AbstractGraph::addValue()
all items filtered out
Data read by
Graph::addValue()
Graph::graphLine
Graph::addValue()::x
Graph::addValue()::y
all items filtered out
Graph::addValue()