44#include <QSharedPointer>
77 typedef QSharedPointer<LinePlot>
SPtr;
97 const QString& title =
"",
98 QWidget* parent =
nullptr);
110 const QVector<double>& y,
111 const QString& title =
"",
112 QWidget* parent =
nullptr);
126 void setTitle(
const QString& p_sTitle);
134 void setXLabel(
const QString& p_sXLabel);
142 void setYLabel(
const QString& p_sYLabel);
160 const QVector<double>& y);
175 QVector<double> m_vecXData;
176 QVector<double> m_vecYData;
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
2-D display widgets and visualisation helpers (charts, topography, colour maps).
void updateData(const QVector< double > &y)
void paintEvent(QPaintEvent *event) override
LinePlot(QWidget *parent=nullptr)
void setTitle(const QString &p_sTitle)
void setXLabel(const QString &p_sXLabel)
QSharedPointer< LinePlot > SPtr
void setYLabel(const QString &p_sYLabel)
QSharedPointer< const LinePlot > ConstSPtr