// SPDX-License-Identifier: GPL-2.0 // The background grid of a chart #include "statshelper.h" #include #include class StatsAxis; class StatsTheme; class StatsView; class ChartLineItem; class StatsGrid { public: StatsGrid(StatsView &view, const StatsAxis &xAxis, const StatsAxis &yAxis); void updatePositions(); private: StatsView &view; const StatsTheme &theme; // Initialized once in constructor. const StatsAxis &xAxis, &yAxis; std::vector> lines; };