blob: ab1b0a5134e8be4fe1898bea40486758900f55f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// SPDX-License-Identifier: GPL-2.0
// The background grid of a chart
#include <memory>
#include <vector>
class StatsAxis;
class StatsView;
class ChartLineItem;
class StatsGrid {
public:
StatsGrid(StatsView &view, const StatsAxis &xAxis, const StatsAxis &yAxis);
void updatePositions();
private:
StatsView &view;
const StatsAxis &xAxis, &yAxis;
std::vector<std::unique_ptr<ChartLineItem>> lines;
};
|