subsurface/stats/quartilemarker.h
Berthold Stoeger d060a3a3cb profile: rename stats/chartitem.* to stats/statsitem.*
Android uses qmake and apparently that doesn't support source files
with the same name. We already have chart/chartitem.*.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-09-12 15:17:15 +02:00

19 lines
420 B
C++

// A short line used to mark quartiles
#ifndef QUARTILE_MARKER_H
#define QUARTILE_MARKER_H
#include "statsitem.h"
class StatsAxis;
class QuartileMarker : public ChartLineItem {
public:
QuartileMarker(ChartView &view, const StatsTheme &theme, double pos, double value, StatsAxis *xAxis, StatsAxis *yAxis);
~QuartileMarker();
void updatePosition();
private:
StatsAxis *xAxis, *yAxis;
double pos, value;
};
#endif