KD Chart API Documentation
3.1
src
KDChart
Ternary
KDChartTernaryLineDiagram.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 KDCHARTTERNARYLINEDIAGRAM_H
12
#define KDCHARTTERNARYLINEDIAGRAM_H
13
14
#include "
KDChartAbstractTernaryDiagram.h
"
15
#include "
KDChartTernaryCoordinatePlane.h
"
16
17
namespace
KDChart
{
18
22
class
KDCHART_EXPORT
TernaryLineDiagram
:
public
AbstractTernaryDiagram
23
{
24
Q_OBJECT
25
Q_DISABLE_COPY(
TernaryLineDiagram
)
26
KDCHART_DECLARE_DERIVED_DIAGRAM
(
TernaryLineDiagram
,
TernaryCoordinatePlane
)
27
28
public
:
29
explicit
TernaryLineDiagram
(QWidget *parent =
nullptr
,
TernaryCoordinatePlane
*plane =
nullptr
);
30
~
TernaryLineDiagram
()
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
KDChartAbstractTernaryDiagram.h
KDCHART_DECLARE_DERIVED_DIAGRAM
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Definition:
KDChartGlobal.h:140
KDChartTernaryCoordinatePlane.h
KDChart::AbstractTernaryDiagram
Base class for diagrams based on a ternary coordinate plane.
Definition:
KDChartAbstractTernaryDiagram.h:26
KDChart::PaintContext
Stores information about painting diagrams.
Definition:
KDChartPaintContext.h:30
KDChart::TernaryCoordinatePlane
Ternary coordinate plane.
Definition:
KDChartTernaryCoordinatePlane.h:25
KDChart::TernaryLineDiagram
A TernaryLineDiagram is a line diagram with a ternary coordinate plane.
Definition:
KDChartTernaryLineDiagram.h:23
KDChart
Definition:
CartesianCoordinateTransformation.h:23
© 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