![]() |
University of Murcia, Spain ![]() |
QVNumericPlot Class ReferenceClass for plot graphs of worker's int or double properties.
More...
|
This class lets us plot graphs for int or double worker's output properties over a timeline.
The following code features how to create a Numeric plot object in a QVision application:
void main() { [...] QVGraphsWorker graphsWorker("Graphs worker"); [...] QVNumericPlot numericPlot("Numeric Plot", true, 10); graphsWorker.linkProperty("Max pixel", numericPlot); graphsWorker.linkProperty("Min pixel", numericPlot); [...] }
This application will display a plot like the following:
By default, the QVDefaultGUI includes the following button for CPU plot statistics displaying, which opens a QVNumericPlot widget plotting the worker CPU usage:
For further info see section Numeric plot widget.