11 #ifndef KDCHARTPOLARDIAGRAM_H
12 #define KDCHARTPOLARDIAGRAM_H
45 void resize(
const QSizeF &area)
override;
49 qreal valueTotals()
const override;
51 qreal numberOfValuesPerDataset()
const override;
53 qreal numberOfGridRings()
const override;
58 Q_DECL_DEPRECATED
void setZeroDegreePosition(
int degrees);
60 Q_DECL_DEPRECATED
int zeroDegreePosition()
const;
62 void setRotateCircularLabels(
bool rotateCircularLabels);
63 bool rotateCircularLabels()
const;
68 void setCloseDatasets(
bool closeDatasets);
69 bool closeDatasets()
const;
71 void setShowDelimitersAtPosition(
Position position,
73 void setShowLabelsAtPosition(
Position position,
76 bool showDelimitersAtPosition(
Position position)
const;
78 bool showLabelsAtPosition(
Position position)
const;
81 bool calculateListAndReturnScale,
82 qreal &newZoomX, qreal &newZoomY);
86 const QPair<QPointF, QPointF> calculateDataBoundaries()
const override;
87 void paintEvent(QPaintEvent *)
override;
88 void resizeEvent(QResizeEvent *)
override;
89 virtual void paintPolarMarkers(
PaintContext *ctx,
const QPolygonF &polygon);
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Base class for diagrams based on a polar coordinate system.
Stores information about painting diagrams.
PolarDiagram defines a common polar diagram.
Defines a position, using compass terminology.