24 #include "KDChartLeveyJenningsCoordinatePlane_p.h"
30 #include "KDChartPainterSaver_p.h"
34 using namespace KDChart;
38 LeveyJenningsCoordinatePlane::Private::Private()
43 LeveyJenningsCoordinatePlane::LeveyJenningsCoordinatePlane(
Chart* parent )
52 void LeveyJenningsCoordinatePlane::init()
58 Q_ASSERT_X ( dynamic_cast<LeveyJenningsDiagram*>( diagram ),
59 "LeveyJenningsCoordinatePlane::addDiagram",
"Only Levey Jennings "
60 "diagrams can be added to a ternary coordinate plane!" );
64 LeveyJenningsGrid* LeveyJenningsCoordinatePlane::grid()
const
67 Q_ASSERT( dynamic_cast<LeveyJenningsGrid*>(
d->grid ) );
68 return leveyJenningsGrid;
73 return d->gridAttributes;
78 d->gridAttributes = attr;