KD Chart API Documentation  3.1
KDChartTernaryPointDiagram.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Chart library.
4 **
5 ** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #ifndef KDCHARTTERNARYPOINTDIAGRAM_H
12 #define KDCHARTTERNARYPOINTDIAGRAM_H
13 
16 
17 namespace KDChart {
18 
22 class KDCHART_EXPORT TernaryPointDiagram : public AbstractTernaryDiagram
23 {
24  Q_OBJECT
25  Q_DISABLE_COPY(TernaryPointDiagram)
27 
28 public:
29  explicit TernaryPointDiagram(QWidget *parent = nullptr, TernaryCoordinatePlane *plane = nullptr);
30  ~TernaryPointDiagram() override;
31 
32  void resize(const QSizeF &area) override;
33  void paint(PaintContext *paintContext) override;
34 
35 protected:
36  const QPair<QPointF, QPointF> calculateDataBoundaries() const override;
37 };
38 }
39 
40 #endif
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Base class for diagrams based on a ternary coordinate plane.
Stores information about painting diagrams.
A TernaryPointDiagram is a point diagram within a ternary coordinate plane.

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated by doxygen 1.9.1