##// END OF EJS Templates
Clarified box-and-whiskers chart documentation...
Clarified box-and-whiskers chart documentation The documentation now explains that the label is the category of QBarCategoryAxis that is used for slots in box-and-whiskers chart. Change-Id: I6a16a0f02f49790ab923c1a4432dc308d8246fc2 Task-number: QTRD-3697 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>

File last commit:

r2807:a9a78a1d08bc
r2812:2c2bde37df65
Show More
boxwhiskersdata_p.h
78 lines | 1.9 KiB | text/x-c | CLexer
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 **
Titta Heikkala
Updated license headers...
r2740 ** Licensees holding valid commercial license for Qt may use this file in
** accordance with the Qt License Agreement provided with the Software
** or, alternatively, in accordance with the terms contained in a written
Titta Heikkala
Copyright header changes...
r2776 ** agreement between you and The Qt Company.
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 **
****************************************************************************/
// W A R N I N G
// -------------
//
Titta Heikkala
Updated private header warning...
r2807 // This file is not part of the Qt Chart API. It exists purely as an
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548 // implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
#ifndef BOXWHISKERSDATA_P_H
#define BOXWHISKERSDATA_P_H
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QChartGlobal>
#include <QtCore/QSizeF>
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548
class BoxWhiskersData
{
public:
BoxWhiskersData() :
m_lowerExtreme(0.0),
m_lowerQuartile(0.0),
m_median(0.0),
m_upperQuartile(0.0),
m_upperExtreme(0.0),
m_index(0),
m_boxItems(0),
m_maxX(0.0),
m_minX(0.0),
m_maxY(0.0),
m_minY(0.0),
m_seriesIndex(0),
m_seriesCount(0)
{
}
// Box related statistics
qreal m_lowerExtreme;
qreal m_lowerQuartile;
qreal m_median;
qreal m_upperQuartile;
qreal m_upperExtreme;
int m_index;
int m_boxItems;
// Domain boundaries, axis
qreal m_maxX;
qreal m_minX;
qreal m_maxY;
qreal m_minY;
// Serieses related data
int m_seriesIndex;
int m_seriesCount;
};
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Mika Salmela
A new box-and-whiskers series type added to charts....
r2548
#endif // BOXWHISKERSDATA_P_H