KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
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
17namespace KDChart {
18
22class KDCHART_EXPORT TernaryPointDiagram : public AbstractTernaryDiagram
23{
24 Q_OBJECT
25 Q_DISABLE_COPY(TernaryPointDiagram)
27
28public:
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
35protected:
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 on Wed May 1 2024 00:01:10 for KD Chart API Documentation by doxygen 1.9.8