24 #include "KDChartAbstractTernaryDiagram_p.h"
28 using namespace KDChart;
30 AbstractTernaryDiagram::Private::Private()
35 void AbstractTernaryDiagram::init()
41 AbstractTernaryDiagram::AbstractTernaryDiagram(
QWidget* parent,
47 AbstractTernaryDiagram::~AbstractTernaryDiagram()
49 while ( !
d->axesList.isEmpty() ) {
55 void AbstractTernaryDiagram::addAxis(
TernaryAxis* axis )
57 d->axesList.append( axis );
61 void AbstractTernaryDiagram::takeAxis(
TernaryAxis* axis )
64 int index =
d->axesList.indexOf( axis );
66 d->axesList.removeAt( index );
75 void AbstractTernaryDiagram::paint (
PaintContext *paintContext)
77 d->paint( paintContext );