File indexing completed on 2024-12-15 04:02:26
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 KCHARTNORMALBARDIAGRAM_P_H 0010 #define KCHARTNORMALBARDIAGRAM_P_H 0011 0012 // 0013 // W A R N I N G 0014 // ------------- 0015 // 0016 // This file is not part of the KD Chart API. It exists purely as an 0017 // implementation detail. This header file may change from version to 0018 // version without notice, or even be removed. 0019 // 0020 // We mean it. 0021 // 0022 #include "KChartBarDiagram_p.h" 0023 0024 namespace KChart { 0025 0026 class NormalBarDiagram : public BarDiagram::BarDiagramType 0027 { 0028 public: 0029 explicit NormalBarDiagram( BarDiagram* ); 0030 ~NormalBarDiagram() override {} 0031 BarDiagram::BarType type() const override; 0032 const QPair<QPointF, QPointF> calculateDataBoundaries() const override; 0033 void paint( PaintContext* ctx ) override; 0034 }; 0035 0036 } 0037 0038 #endif