23 #ifndef KDCHARTLINEDIAGRAM_H 24 #define KDCHARTLINEDIAGRAM_H 37 class ThreeDLineAttributes;
55 class LineDiagramType;
56 friend class LineDiagramType;
84 void setCenterDataPoints(
bool center );
86 bool centerDataPoints()
const;
93 void setReverseDatasetOrder(
bool reverse );
95 bool reverseDatasetOrder()
const;
99 void setLineAttributes(
const QModelIndex & index,
const LineAttributes & a );
100 void resetLineAttributes(
int column );
101 void resetLineAttributes(
const QModelIndex & index );
108 void setThreeDLineAttributes(
const QModelIndex & index,
115 void setValueTrackerAttributes(
const QModelIndex & index,
119 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE) 122 const int numberOfAbscissaSegments ()
const;
124 const int numberOfOrdinateSegments ()
const;
128 int numberOfAbscissaSegments ()
const;
130 int numberOfOrdinateSegments ()
const;
137 void resize (
const QSizeF& area );
141 virtual qreal threeDItemDepth(
const QModelIndex & index )
const;
142 virtual qreal threeDItemDepth(
int column )
const;
145 void paintEvent ( QPaintEvent* );
146 void resizeEvent ( QResizeEvent* );
151 #endif // KDCHARTLINEDIAGRAM_H
static ValueTrackerAttributes valueTrackerAttributes(AbstractDiagram *diagram, const QModelIndex &index)
Set of attributes for changing the appearance of line charts.
LineDiagram defines a common line diagram.
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.