24 #include "KDChartAbstractPieDiagram_p.h"
32 #include <KDABLibFakes>
35 using namespace KDChart;
37 AbstractPieDiagram::Private::Private()
39 , autoRotateLabels( false )
43 AbstractPieDiagram::Private::~Private() {}
56 void AbstractPieDiagram::init()
63 if ( other ==
this )
return true;
87 d->granularity = value;
92 return (
d->granularity < 0.05 ||
d->granularity > 36.0)
101 qWarning() <<
"Deprecated AbstractPieDiagram::setStartPosition() called, setting ignored.";
106 qWarning() <<
"Deprecated AbstractPieDiagram::startPosition() called.";
112 d->autoRotateLabels = autoRotate;
117 return d->autoRotateLabels;
152 if ( attrs.isValid() )
159 return d->attributesModel->data(
160 d->attributesModel->mapFromSource( index ),
197 if ( attrs.isValid() )
204 return d->attributesModel->data(
205 d->attributesModel->mapFromSource( index ),