##// END OF EJS Templates
Refactor xyplotdata...
Refactor xyplotdata * rename xyplotdata to xyplotdomain * add proper initialization list to constructor * change xylinechartitem update interface

File last commit:

r25:9ee7e26e06fe
r25:9ee7e26e06fe
Show More
xyplotdomain_p.h
30 lines | 483 B | text/x-c | CLexer
#ifndef PLOTDOMAIN_H_
#define PLOTDOMAIN_H_
#include "qchartconfig.h"
#include <QRect>
QCHART_BEGIN_NAMESPACE
class XYPlotDomain {
public:
XYPlotDomain();
virtual ~XYPlotDomain();
qreal spanX() const;
qreal spanY() const;
int ticksX() const { return m_ticksX; }
int ticksY() const { return m_ticksY; }
public:
int m_ticksX;
int m_ticksY;
qreal m_minX;
qreal m_maxX;
qreal m_minY;
qreal m_maxY;
QRect m_viewportRect;
};
QCHART_END_NAMESPACE
#endif /* PLOTTER_H_ */