aboutsummaryrefslogtreecommitdiffstats
path: root/stats/quartilemarker.h
blob: 2e754248dac93c69d186f1d9d81eef11424a0fbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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