##// END OF EJS Templates
Some fixes to bar charts. Now bars draw almost correctly
Some fixes to bar charts. Now bars draw almost correctly

File last commit:

r76:522426b793d2
r97:f3d03f051601
Show More
plotdomain_p.h
28 lines | 447 B | text/x-c | CLexer
#ifndef PLOTDOMAIN_H_
#define PLOTDOMAIN_H_
#include "qchartglobal.h"
#include <QRect>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class PlotDomain {
public:
PlotDomain();
virtual ~PlotDomain();
qreal spanX() const;
qreal spanY() const;
PlotDomain subDomain(const QRect& rect, qreal maxWidth, qreal maxHeight) const;
public:
qreal m_minX;
qreal m_maxX;
qreal m_minY;
qreal m_maxY;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* PLOTTER_H_ */