11 #ifndef KDCHARTPLOTTER_H
12 #define KDCHARTPLOTTER_H
34 Q_PROPERTY(
CompressionMode useDataCompression READ useDataCompression WRITE setUseDataCompression)
35 Q_PROPERTY(qreal mergeRadiusPercentage READ mergeRadiusPercentage WRITE setMergeRadiusPercentage)
48 friend class PlotterType;
58 bool compare(
const Plotter *other)
const;
66 void setType(
const PlotType type);
67 PlotType type()
const;
71 void setLineAttributes(
const QModelIndex &index,
const LineAttributes &a);
72 void resetLineAttributes(
int column);
73 void resetLineAttributes(
const QModelIndex &index);
80 void setThreeDLineAttributes(
const QModelIndex &index,
87 void setValueTrackerAttributes(
const QModelIndex &index,
91 CompressionMode useDataCompression()
const;
92 void setUseDataCompression(CompressionMode value);
94 qreal maxSlopeChange()
const;
95 void setMaxSlopeChange(qreal value);
97 qreal mergeRadiusPercentage()
const;
98 void setMergeRadiusPercentage(qreal value);
100 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) && defined(Q_COMPILER_MANGLES_RETURN_TYPE)
103 const int numberOfAbscissaSegments()
const;
105 const int numberOfOrdinateSegments()
const;
109 int numberOfAbscissaSegments()
const override;
111 int numberOfOrdinateSegments()
const override;
121 void resize(
const QSizeF &area)
override;
124 qreal threeDItemDepth(
const QModelIndex &index)
const override;
125 qreal threeDItemDepth(
int column)
const override;
127 const QPair<QPointF, QPointF> calculateDataBoundaries()
const override;
128 void paintEvent(QPaintEvent *)
override;
129 void resizeEvent(QResizeEvent *)
override;
131 void setDataBoundariesDirty();
132 void calcMergeRadius();
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Base class for diagrams based on a cartesian coordianate system.
A proxy model used for decorating data with attributes.
Cartesian coordinate plane.
Set of attributes for changing the appearance of line charts.
Stores information about painting diagrams.
Plotter defines a diagram type plotting two-dimensional data.
A set of 3D line attributes.
Cell-specific attributes regarding value tracking.