11#ifndef __KDCHARTWIDGET_H__
12#define __KDCHARTWIDGET_H__
17#include <QtContainerFwd>
27class AbstractCoordinatePlane;
69 void setDataCell(
int row,
int column, qreal data);
77 void setGlobalLeading(
int left,
int top,
int right,
int bottom);
79 void setGlobalLeadingLeft(
int leading);
81 void setGlobalLeadingTop(
int leading);
83 void setGlobalLeadingRight(
int leading);
85 void setGlobalLeadingBottom(
int leading);
89 int globalLeadingLeft()
const;
91 int globalLeadingTop()
const;
93 int globalLeadingRight()
const;
95 int globalLeadingBottom()
const;
103 void addHeaderFooter(
const QString &text,
150 void addLegend(
Legend *legend);
152 void replaceLegend(
Legend *legend,
Legend *oldLegend =
nullptr);
153 void takeLegend(
Legend *legend);
202 ChartType type()
const;
214 SubType subType()
const;
218 void setType(ChartType chartType, SubType subType = Normal);
229 void setSubType(SubType subType);
233 void justifyModelSize(
int rows,
int columns);
235 bool checkDatasetWidth(
int width);
Definition of global enums.
#define KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET(X)
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane,...
AbstractDiagram defines the interface for diagram classes.
BarDiagram defines a common bar diagram.
Legend defines the interface for the legend drawing class.
LineDiagram defines a common line diagram.
PieDiagram defines a common pie diagram.
Plotter defines a diagram type plotting two-dimensional data.
PolarDiagram defines a common polar diagram.
Defines a position, using compass terminology.
RingDiagram defines a common ring diagram.