9#ifndef KCHARTRINGDIAGRAM_H
10#define KCHARTRINGDIAGRAM_H
12#include "KChartAbstractPieDiagram.h"
37 void resize(
const QSizeF& area )
override;
41 qreal valueTotals()
const override;
43 qreal numberOfValuesPerDataset()
const override;
44 qreal numberOfDatasets()
const override;
46 qreal numberOfGridRings()
const override;
48 qreal valueTotals(
int dataset )
const;
61 void setRelativeThickness(
bool relativeThickness );
62 bool relativeThickness()
const;
64 virtual void setExpandWhenExploded(
bool expand );
65 virtual bool expandWhenExploded()
const;
69 const QPair<QPointF, QPointF> calculateDataBoundaries()
const override;
80 void drawOneSlice(
QPainter* painter, uint dataset, uint slice, qreal granularity );
89 void drawPieSurface(
QPainter* painter, uint dataset, uint slice, qreal granularity );
95 QPointF pointOnEllipse(
const QRectF& rect,
int dataset,
int slice,
bool outer, qreal angle,
96 qreal totalGapFactor, qreal totalExplodeFactor );
Base class for any diagram type.
Stores information about painting diagrams.
RingDiagram defines a common ring diagram.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:46 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.