11 #ifndef KDCHARTLINEDIAGRAM_H
12 #define KDCHARTLINEDIAGRAM_H
25 class ThreeDLineAttributes;
42 class LineDiagramType;
43 friend class LineDiagramType;
62 void setType(
const LineType type);
63 LineType type()
const;
71 void setCenterDataPoints(
bool center);
73 bool centerDataPoints()
const;
80 void setReverseDatasetOrder(
bool reverse);
82 bool reverseDatasetOrder()
const;
86 void setLineAttributes(
const QModelIndex &index,
const LineAttributes &a);
87 void resetLineAttributes(
int column);
88 void resetLineAttributes(
const QModelIndex &index);
95 void setThreeDLineAttributes(
const QModelIndex &index,
102 void setValueTrackerAttributes(
const QModelIndex &index,
111 void setLineTension(qreal tenson);
112 qreal lineTension()
const;
114 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) && defined(Q_COMPILER_MANGLES_RETURN_TYPE)
117 const int numberOfAbscissaSegments()
const;
119 const int numberOfOrdinateSegments()
const;
123 int numberOfAbscissaSegments()
const override;
125 int numberOfOrdinateSegments()
const override;
132 void resize(
const QSizeF &area)
override;
135 qreal threeDItemDepth(
const QModelIndex &index)
const override;
136 qreal threeDItemDepth(
int column)
const override;
138 const QPair<QPointF, QPointF> calculateDataBoundaries()
const override;
139 void paintEvent(QPaintEvent *)
override;
140 void resizeEvent(QResizeEvent *)
override;
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Base class for diagrams based on a cartesian coordianate system.
Cartesian coordinate plane.
Set of attributes for changing the appearance of line charts.
LineDiagram defines a common line diagram.
Stores information about painting diagrams.
A set of 3D line attributes.
Cell-specific attributes regarding value tracking.