11 #ifndef KDCHARTBARDIAGRAM_H
12 #define KDCHARTBARDIAGRAM_H
23 class ThreeDBarAttributes;
40 friend class BarDiagramType;
57 Rows Q_DECL_ENUMERATOR_DEPRECATED
60 void setType(
const BarType type);
63 void setOrientation(Qt::Orientation orientation);
64 Qt::Orientation orientation()
const;
68 void setBarAttributes(
const QModelIndex &index,
const BarAttributes &a);
76 void setThreeDBarAttributes(
const QModelIndex &index,
82 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) && defined(Q_COMPILER_MANGLES_RETURN_TYPE)
85 const int numberOfAbscissaSegments()
const;
87 const int numberOfOrdinateSegments()
const;
91 int numberOfAbscissaSegments()
const override;
93 int numberOfOrdinateSegments()
const override;
100 void resize(
const QSizeF &area)
override;
103 qreal threeDItemDepth(
const QModelIndex &index)
const override;
104 qreal threeDItemDepth(
int column)
const override;
106 const QPair<QPointF, QPointF> calculateDataBoundaries()
const override;
107 void paintEvent(QPaintEvent *)
override;
108 void resizeEvent(QResizeEvent *)
override;
111 void calculateValueAndGapWidths(
int rowCount,
int colCount,
114 qreal &spaceBetweenBars,
115 qreal &spaceBetweenGroups);
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Base class for diagrams based on a cartesian coordianate system.
Set of attributes for changing the appearance of bar charts.
BarDiagram defines a common bar diagram.
Cartesian coordinate plane.
Stores information about painting diagrams.
A set of 3D bar attributes.