A custom QwtPlotCurve that can self-update and toggle.
More...
A custom QwtPlotCurve that can self-update and toggle.
| DtAssistantPlotSeries::DtAssistantPlotSeries |
( |
DtAssistantPlot * |
plot, |
|
|
unsigned |
seriesId, |
|
|
const QString & |
title |
|
) |
| |
CTOR Instantiates a new DtQtGpsAccuracyPlotSeries for use with the given plot.
- Parameters
-
| plot | the parent plot for the series (used when toggling series visibility) |
| title | the name of the series |
| virtual DtAssistantPlotSeries::~DtAssistantPlotSeries |
( |
| ) |
|
|
virtual |
| virtual void DtAssistantPlotSeries::addDataPoint |
( |
double |
time, |
|
|
double |
val |
|
) |
| |
|
virtual |
Adds a data point to the series.
- Parameters
-
| time | the time (x value) |
| value | the value (y value) |
| virtual void DtAssistantPlotSeries::clear |
( |
| ) |
|
|
virtual |
Clears the data representing the series state.
| virtual void DtAssistantPlotSeries::itemChanged |
( |
| ) |
|
|
virtual |
| virtual unsigned DtAssistantPlotSeries::seriesId |
( |
| ) |
const |
|
virtual |
Get the id this series is indexed as.
| void DtAssistantPlotSeries::setData |
( |
double * |
timeVals, |
|
|
double * |
dataVals, |
|
|
unsigned |
numVals |
|
) |
| |
Sets the data for the series.
| virtual void DtAssistantPlotSeries::setEnabled |
( |
bool |
state | ) |
|
|
virtual |
Sets whether the series is visible on the plot and legend.
- Parameters
-
| state | whether the series is visible on the plot and legend |
| virtual void DtAssistantPlotSeries::updateLegend |
( |
QwtAbstractLegend * |
legend | ) |
const |
|
virtual |
| double* DtAssistantPlotSeries::myDataVals |
|
protected |
| bool DtAssistantPlotSeries::myEnabledFlag |
|
protected |
| unsigned DtAssistantPlotSeries::myNumVals |
|
protected |
| unsigned DtAssistantPlotSeries::mySeriesId |
|
protected |
| double* DtAssistantPlotSeries::myTimeVals |
|
protected |
| const unsigned DtAssistantPlotSeries::theMaxDataPoints |
|
staticprotected |
The documentation for this class was generated from the following file: