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,
124 void setLineTension( qreal tenson );
125 qreal lineTension()
const;
127 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE) 130 const int numberOfAbscissaSegments ()
const;
132 const int numberOfOrdinateSegments ()
const;
136 int numberOfAbscissaSegments ()
const override;
138 int numberOfOrdinateSegments ()
const override;
145 void resize (
const QSizeF& area )
override;
149 qreal threeDItemDepth(
const QModelIndex & index )
const override;
150 qreal threeDItemDepth(
int column )
const override;
153 void paintEvent ( QPaintEvent* )
override;
154 void resizeEvent ( QResizeEvent* )
override;
159 #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.