summaryrefslogtreecommitdiffstats
path: root/src/qchartview.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@digia.com>2012-02-09 16:16:19 +0200
committerMichal Klocek <michal.klocek@digia.com>2012-02-09 16:16:19 +0200
commitc19659d852a492da476bc3aa0941a90ccbeb39ca (patch)
tree1ecc3dedd33b76ae23db8a953e7a2225856ab6b3 /src/qchartview.h
parentbe42f5df02e75777ee059844dd98a349315e6b02 (diff)
Add public function for axis hadnling to qchart
Diffstat (limited to 'src/qchartview.h')
-rw-r--r--src/qchartview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qchartview.h b/src/qchartview.h
index 991a423b..24a42170 100644
--- a/src/qchartview.h
+++ b/src/qchartview.h
@@ -45,6 +45,12 @@ public:
void setChartTheme(QChart::ChartTheme theme);
QChart::ChartTheme chartTheme() const;
+ QChartAxis* axisX();
+ QChartAxis* axisY();
+ QChartAxis* addAxisX();
+ QChartAxis* addAxisY();
+ void removeAxis(QChartAxis* axis);
+
protected:
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);