statistics: paint custom grid

With removal of QtCharts' axes, the grid was lost. Readd it.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-05 13:51:39 +01:00 committed by Dirk Hohndel
parent 8dfa3f6db3
commit ab324ed769
9 changed files with 81 additions and 0 deletions

View file

@ -24,6 +24,7 @@ class CategoryAxis;
class CountAxis;
class HistogramAxis;
class StatsAxis;
class StatsGrid;
class Legend;
enum class ChartSubType : int;
@ -121,6 +122,7 @@ private:
QtCharts::QChart *chart;
QFont titleFont;
std::vector<std::unique_ptr<StatsAxis>> axes;
std::unique_ptr<StatsGrid> grid;
std::vector<std::unique_ptr<StatsSeries>> series;
std::unique_ptr<Legend> legend;
std::vector<QuartileMarker> quartileMarkers;