23 #ifndef KDCHARTPLOTTER_H 24 #define KDCHARTPLOTTER_H 33 class ThreeDLineAttributes;
46 Q_PROPERTY(
CompressionMode useDataCompression READ useDataCompression WRITE setUseDataCompression )
47 Q_PROPERTY( qreal mergeRadiusPercentage READ mergeRadiusPercentage WRITE setMergeRadiusPercentage )
54 friend class PlotterType;
64 bool compare(
const Plotter* other )
const;
77 void setLineAttributes(
const QModelIndex & index,
const LineAttributes & a );
78 void resetLineAttributes(
int column );
79 void resetLineAttributes(
const QModelIndex & index );
86 void setThreeDLineAttributes(
const QModelIndex & index,
93 void setValueTrackerAttributes(
const QModelIndex & index,
100 qreal maxSlopeChange()
const;
101 void setMaxSlopeChange( qreal value );
103 qreal mergeRadiusPercentage()
const;
104 void setMergeRadiusPercentage( qreal value );
106 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE) 109 const int numberOfAbscissaSegments ()
const;
111 const int numberOfOrdinateSegments ()
const;
115 int numberOfAbscissaSegments ()
const override;
117 int numberOfOrdinateSegments ()
const override;
127 void resize (
const QSizeF& area )
override;
130 qreal threeDItemDepth(
const QModelIndex & index )
const override;
131 qreal threeDItemDepth(
int column )
const override;
134 void paintEvent ( QPaintEvent* )
override;
135 void resizeEvent ( QResizeEvent* )
override;
137 void setDataBoundariesDirty();
138 void calcMergeRadius();
143 #endif // KDCHARTLINEDIAGRAM_H
static ValueTrackerAttributes valueTrackerAttributes(AbstractDiagram *diagram, const QModelIndex &index)
Plotter defines a diagram type plotting two-dimensional data.
Set of attributes for changing the appearance of line charts.
A proxy model used for decorating data with attributes.
Cell-specific attributes regarding value tracking.
Base class for diagrams based on a cartesian coordianate system.
Stores information about painting diagrams.
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Cartesian coordinate plane.
static ThreeDLineAttributes threeDLineAttributes(AbstractDiagram *diagram, const QModelIndex &index)
A set of 3D line attributes.