23 #ifndef __KDCHARTWIDGET_H__ 24 #define __KDCHARTWIDGET_H__ 35 template <
typename T1,
typename T2>
struct QPair;
41 class AbstractDiagram;
43 class AbstractCoordinatePlane;
80 void setDataset(
int column,
const QVector< qreal > & data,
const QString& title = QString() );
85 void setDataCell(
int row,
int column, qreal data );
93 void setGlobalLeading(
int left,
int top,
int right,
int bottom );
95 void setGlobalLeadingLeft(
int leading );
97 void setGlobalLeadingTop(
int leading );
99 void setGlobalLeadingRight(
int leading );
101 void setGlobalLeadingBottom(
int leading );
105 int globalLeadingLeft()
const;
107 int globalLeadingTop()
const;
109 int globalLeadingRight()
const;
111 int globalLeadingBottom()
const;
119 void addHeaderFooter(
const QString& text,
164 void addLegend(
Position position );
166 void addLegend (
Legend* legend );
168 void replaceLegend(
Legend* legend,
Legend* oldLegend = 0 );
169 void takeLegend(
Legend* legend );
214 enum SubType { Normal, Stacked, Percent, Rows };
232 void setSubType(
SubType subType );
236 void justifyModelSize(
int rows,
int columns );
238 bool checkDatasetWidth(
int width );
242 #endif // KDChartWidget_H Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane, TernaryCoordinatePlane.
Definition of global enums.
#define KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET(X)
PolarDiagram defines a common polar diagram.
BarDiagram defines a common bar diagram.
Plotter defines a diagram type plotting two-dimensional data.
AbstractDiagram defines the interface for diagram classes.
Legend defines the interface for the legend drawing class.
LineDiagram defines a common line diagram.
Defines a position, using compass terminology.
PieDiagram defines a common pie diagram.
RingDiagram defines a common ring diagram.