12 #include "KDChartLeveyJenningsCoordinatePlane_p.h"
20 #include "KDChartPainterSaver_p.h"
26 LeveyJenningsCoordinatePlane::Private::Private()
31 LeveyJenningsCoordinatePlane::LeveyJenningsCoordinatePlane(
Chart *parent)
40 void LeveyJenningsCoordinatePlane::init()
47 "LeveyJenningsCoordinatePlane::addDiagram",
"Only Levey Jennings "
48 "diagrams can be added to a ternary coordinate plane!");
56 return leveyJenningsGrid;
61 return d->gridAttributes;
66 d->gridAttributes = attr;
AbstractDiagram * diagram()
AbstractDiagram defines the interface for diagram classes.
Cartesian coordinate plane.
void addDiagram(AbstractDiagram *diagram) override
const QPointF translateBack(const QPointF &screenPoint) const
A chart with one or more diagrams.
~LeveyJenningsCoordinatePlane() override
void addDiagram(AbstractDiagram *diagram) override
void setGridAttributes(const LeveyJenningsGridAttributes &attr)
const QPointF translateBack(const QPointF &screenPoint) const
LeveyJenningsGridAttributes gridAttributes() const
LeveyDiagram defines a Levey Jennings chart.
A set of attributes controlling the appearance of grids.