summaryrefslogtreecommitdiffstats
path: root/stats/quartilemarker.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/quartilemarker.h')
-rw-r--r--stats/quartilemarker.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/stats/quartilemarker.h b/stats/quartilemarker.h
new file mode 100644
index 000000000..2e754248d
--- /dev/null
+++ b/stats/quartilemarker.h
@@ -0,0 +1,20 @@
+// A short line used to mark quartiles
+#ifndef QUARTILE_MARKER_H
+#define QUARTILE_MARKER_H
+
+#include "chartitem.h"
+
+class StatsAxis;
+class StatsView;
+
+class QuartileMarker : public ChartLineItem {
+public:
+ QuartileMarker(StatsView &view, double pos, double value, StatsAxis *xAxis, StatsAxis *yAxis);
+ ~QuartileMarker();
+ void updatePosition();
+private:
+ StatsAxis *xAxis, *yAxis;
+ double pos, value;
+};
+
+#endif