KReport
21#include <KDChartWidget>
23#include "KReportItemBase.h"
24#include "KReportData.h"
38 explicit KReportItemChart(QDomNode *element);
41 virtual QString typeName()
const;
43 virtual int renderReportData(OROPage *page, OROSection *section,
const QPointF &offset, KReportData *data, KReportScriptHandler *script);
45 KDChart::Widget *widget() {
53 void setConnection(
const KReportData *c);
60 void setLinkData(QString, QVariant);
67 QStringList masterFields()
const;
73 virtual bool supportsSubQuery()
const {
return true; }
77 KProperty * m_chartType;
78 KProperty * m_chartSubType;
80 KProperty * m_colorScheme;
85 KProperty *m_backgroundColor;
86 KProperty *m_displayLegend;
87 KProperty *m_legendPosition;
88 KProperty *m_legendOrientation;
90 KProperty *m_linkMaster;
91 KProperty *m_linkChild;
93 KDChart::Widget *m_chartWidget;
97 void setColorScheme(
const QString &cs);
98 void setAxis(
const QString &xa,
const QString &ya);
99 void setBackgroundColor(
const QColor&);
100 void setLegend(
bool le,
const QStringList &legends = QStringList());
103 virtual void createProperties();
104 const KReportData *m_reportData;
106 friend class Scripting::Chart;
108 QMap<QString, QVariant> m_links;
Base class for items that are drawn syncronously.
Field item script interface.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:26 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.