1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4// W A R N I N G
5// -------------
6//
7// This file is not part of the Qt Chart API. It exists purely as an
8// implementation detail. This header file may change from version to
9// version without notice, or even be removed.
10//
11// We mean it.
12
13#ifndef BOXWHISKERSDATA_P_H
14#define BOXWHISKERSDATA_P_H
15
16#include <QtCharts/QChartGlobal>
17#include <QtCharts/private/qchartglobal_p.h>
18#include <QtCore/QSizeF>
19
20QT_BEGIN_NAMESPACE
21
22class Q_CHARTS_PRIVATE_EXPORT BoxWhiskersData
23{
24public:
25 BoxWhiskersData() :
26 m_lowerExtreme(0.0),
27 m_lowerQuartile(0.0),
28 m_median(0.0),
29 m_upperQuartile(0.0),
30 m_upperExtreme(0.0),
31 m_index(0),
32 m_boxItems(0),
33 m_maxX(0.0),
34 m_minX(0.0),
35 m_maxY(0.0),
36 m_minY(0.0),
37 m_seriesIndex(0),
38 m_seriesCount(0)
39 {
40 }
41
42 // Box related statistics
43 qreal m_lowerExtreme;
44 qreal m_lowerQuartile;
45 qreal m_median;
46 qreal m_upperQuartile;
47 qreal m_upperExtreme;
48 int m_index;
49 int m_boxItems;
50
51 // Domain boundaries, axis
52 qreal m_maxX;
53 qreal m_minX;
54 qreal m_maxY;
55 qreal m_minY;
56
57 // Serieses related data
58 int m_seriesIndex;
59 int m_seriesCount;
60};
61
62QT_END_NAMESPACE
63
64#endif // BOXWHISKERSDATA_P_H
65

source code of qtcharts/src/charts/boxplotchart/boxwhiskersdata_p.h