27 virtual void setTitle(
const QString & _title);
33 virtual void setMin(
double _minValue);
35 virtual void setMax(
double _maxValue);
137 void SetGridColor(
const QColor & _color,
bool _repaint =
true);
Definition AbstractPlot.h:12
virtual void setMax(double _maxValue)
Definition AbstractPlot.cpp:28
virtual void setMin(double _minValue)
Definition AbstractPlot.cpp:24
bool m_isLogScale
Definition AbstractPlot.h:48
bool m_isAutoScale
Definition AbstractPlot.h:47
virtual ~AbstractPlotAxis()
Definition AbstractPlot.cpp:8
virtual void setLogScale(bool _isLogScale)
Definition AbstractPlot.cpp:20
bool m_isLogScaleLast
Definition AbstractPlot.h:49
double m_maxValue
Definition AbstractPlot.h:51
AxisID m_id
Definition AbstractPlot.h:44
double m_minValue
Definition AbstractPlot.h:50
QwtPlot::Axis xyAxisID(void) const
Definition AbstractPlot.cpp:32
QwtPolar::Axis polarAxisID(void) const
Definition AbstractPlot.cpp:45
QString m_title
Definition AbstractPlot.h:46
virtual void setAutoScale(bool _isAutoScale)
Definition AbstractPlot.cpp:16
AxisID
Definition AbstractPlot.h:14
@ yRight
Definition AbstractPlot.h:16
@ xBottom
Definition AbstractPlot.h:17
@ xTop
Definition AbstractPlot.h:18
@ yLeft
Definition AbstractPlot.h:15
virtual void repaint(void)=0
virtual void setTitle(const QString &_title)
Definition AbstractPlot.cpp:12
Definition AbstractPlot.h:83
void SetGridVisible(bool _isVisible, bool _repaint=true)
Definition AbstractPlot.cpp:163
PlotConfiguration m_config
Definition AbstractPlot.h:156
virtual void RepaintGrid(void)=0
AbstractPlotAxis * m_axisYRight
Definition AbstractPlot.h:154
void SetAxisMax(AbstractPlotAxis::AxisID _axis, double _maxValue)
Definition AbstractPlot.cpp:151
AbstractPlotAxis * m_axisXTop
Definition AbstractPlot.h:152
static PlotType plotTypeFromString(const std::string &_string, bool &_isComplex)
Definition AbstractPlot.cpp:85
void SetAxisAutoScale(AbstractPlotAxis::AxisID _axis, bool _isAutoScale)
Definition AbstractPlot.cpp:139
static std::string plotTypeString(PlotType _type)
Definition AbstractPlot.cpp:74
void SetAxisLogScale(AbstractPlotAxis::AxisID _axis, bool _isLogScale)
Definition AbstractPlot.cpp:143
AbstractPlotAxis * m_axisYLeft
Definition AbstractPlot.h:153
virtual void RefreshWholePlot(void)=0
void SetAxis(AbstractPlotAxis *_axisXBottom, AbstractPlotAxis *_axisXTop, AbstractPlotAxis *_axisYLeft, AbstractPlotAxis *_axisYRight)
Definition AbstractPlot.cpp:115
void SetGridColor(const QColor &_color, bool _repaint=true)
Definition AbstractPlot.cpp:168
AbstractPlotAxis * GetAxis(AbstractPlotAxis::AxisID _id)
Definition AbstractPlot.cpp:122
void SetGridLineWidth(double _width, bool _repaint=true)
Definition AbstractPlot.cpp:173
void SetAxisTitle(AbstractPlotAxis::AxisID _axis, const QString &_title)
Definition AbstractPlot.cpp:135
virtual ~AbstractPlot()
Definition AbstractPlot.cpp:100
void RepaintAxis(AbstractPlotAxis::AxisID _axis)
Definition AbstractPlot.cpp:155
PlotType
Definition AbstractPlot.h:86
@ Cartesian
Definition AbstractPlot.h:87
@ Polar
Definition AbstractPlot.h:88
void SetLegendVisible(bool _isVisible=true, bool _repaint=true)
Definition AbstractPlot.cpp:106
PlotType m_type
Definition AbstractPlot.h:158
void SetAxisMin(AbstractPlotAxis::AxisID _axis, double _minValue)
Definition AbstractPlot.cpp:147
AbstractPlotAxis * m_axisXBottom
Definition AbstractPlot.h:151
PlotType Type(void) const
Definition AbstractPlot.h:147
virtual void Clear(void)=0
virtual void RepaintLegend(void)=0
Definition AbstractPlot.h:65
QColor gridColor
Definition AbstractPlot.h:70
double gridLineWidth
Definition AbstractPlot.h:71
bool gridIsVisible
Definition AbstractPlot.h:69
bool legendIsVisible
Definition AbstractPlot.h:73
PlotConfiguration()
Definition AbstractPlot.cpp:64