blob: 696341c0ba10b0db916d955e0285a63ffdd794e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// SPDX-License-Identifier: GPL-2.0
// The background grid of a chart
#include "statshelper.h"
#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<ChartItemPtr<ChartLineItem>> lines;
};
|