File indexing completed on 2024-06-16 04:09:15
0001 /* 0002 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved. 0003 * 0004 * This file is part of the KD Chart library. 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KCHARTRADARGrid_H 0010 #define KCHARTRADARGrid_H 0011 0012 //#include "KChartRadarCoordinatePlane.h" 0013 #include "KChartAbstractGrid.h" 0014 0015 namespace KChart { 0016 0017 class PaintContext; 0018 class RadarCoordinatePlane; 0019 0020 /** 0021 * \internal 0022 * 0023 * \brief Class for the grid in a radar plane. 0024 * 0025 * The RadarGrid interface is used 0026 * for calculating and for drawing 0027 * the grid lines of a radar charts including "axis" 0028 * labels. 0029 */ 0030 class RadarGrid : public AbstractGrid 0031 { 0032 public: 0033 RadarGrid() : AbstractGrid() {} 0034 ~RadarGrid() override {} 0035 0036 void drawGrid( PaintContext* context ) override; 0037 0038 private: 0039 DataDimensionsList calculateGrid( 0040 const DataDimensionsList& rawDataDimensions ) const override; 0041 }; 0042 0043 } 0044 0045 #endif