KChart

KChartRadarGrid.h
1/*
2 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved.
3 *
4 * This file is part of the KD Chart library.
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef KCHARTRADARGrid_H
10#define KCHARTRADARGrid_H
11
12//#include "KChartRadarCoordinatePlane.h"
13#include "KChartAbstractGrid.h"
14
15namespace KChart {
16
17 class PaintContext;
18 class RadarCoordinatePlane;
19
20 /**
21 * \internal
22 *
23 * \brief Class for the grid in a radar plane.
24 *
25 * The RadarGrid interface is used
26 * for calculating and for drawing
27 * the grid lines of a radar charts including "axis"
28 * labels.
29 */
30 class RadarGrid : public AbstractGrid
31 {
32 public:
33 RadarGrid() : AbstractGrid() {}
34 ~RadarGrid() override {}
35
36 void drawGrid( PaintContext* context ) override;
37
38 private:
39 DataDimensionsList calculateGrid(
40 const DataDimensionsList& rawDataDimensions ) const override;
41 };
42
43}
44
45#endif
Abstract base class for grid classes: cartesian, polar, ...
Stores information about painting diagrams.
Class for the grid in a radar plane.
void drawGrid(PaintContext *context) override
Doing the actual drawing.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.