summaryrefslogtreecommitdiffstats
path: root/stats/statsaxis.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsaxis.h')
-rw-r--r--stats/statsaxis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stats/statsaxis.h b/stats/statsaxis.h
index c25ffe692..150deb087 100644
--- a/stats/statsaxis.h
+++ b/stats/statsaxis.h
@@ -30,6 +30,8 @@ public:
// Map x (horizontal) or y (vertical) coordinate to or from screen coordinate
double toScreen(double) const;
double toValue(double) const;
+
+ std::vector<double> ticksPositions() const; // Positions in screen coordinates
protected:
StatsAxis(QtCharts::QChart *chart, const QString &title, bool horizontal, bool labelsBetweenTicks);
QtCharts::QChart *chart;