##// END OF EJS Templates
Fix point label drawing for XYSeries...
Fix point label drawing for XYSeries Reverting change 810e912b2c05d5f4305b0f1e56be57e765a30479. m_points is used for the point label because that has the series point information. The points variable that is passed to the function is used for positioning the label as it has the coordinates. Change-Id: Iad48660d245c06b736c14161e5c86a4746df2b28 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2776:bc1f6aa59d42
r2779:ce2af37ac88e
Show More
qcategoryaxis_p.h
60 lines | 1.6 KiB | text/x-c | CLexer
Michal Klocek
Adds new API classes...
r1540 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Michal Klocek
Adds new API classes...
r1540 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
Michal Klocek
Adds new API classes...
r1540 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Michal Klocek
Adds new API classes...
r1540 **
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.
Michal Klocek
Adds new API classes...
r1540 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Michal Klocek
Adds new API classes...
r1540 **
****************************************************************************/
// W A R N I N G
// -------------
//
Miikka Heikkinen
Qt Commercial -> Qt Enterprise...
r2574 // This file is not part of the Qt Enterprise Chart API. It exists purely as an
Michal Klocek
Adds new API classes...
r1540 // implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
Marek Rosa
QIntervalsAxis renamed to QCategoryAxis
r1816 #ifndef QCATEGORYAXIS_P_H
#define QCATEGORYAXIS_P_H
Michal Klocek
Adds new API classes...
r1540
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QCategoryAxis>
#include <private/qvalueaxis_p.h>
Michal Klocek
Adds new API classes...
r1540
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
Adds new API classes...
r1540
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613 typedef QPair<qreal, qreal> Range;
Marek Rosa
QIntervalsAxis renamed to QCategoryAxis
r1816 class QCategoryAxisPrivate : public QValueAxisPrivate
Michal Klocek
Adds new API classes...
r1540 {
Q_OBJECT
public:
Marek Rosa
QIntervalsAxis renamed to QCategoryAxis
r1816 QCategoryAxisPrivate(QCategoryAxis *q);
~QCategoryAxisPrivate();
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613
Michal Klocek
Refactors internals...
r2273 void initializeGraphics(QGraphicsItem* parent);
Michal Klocek
Refactors setMin setMax setRange to be pure viritual on private implementation
r1544 int ticksCount() const;
Michal Klocek
Adds new API classes...
r1540 private:
Marek Rosa
QCategoryAxis renamed some methods names according to review
r1829 QMap<QString , Range> m_categoriesMap;
QStringList m_categories;
Michal Klocek
Refactor CategoriesAxis to BarCategoriesAxis part 2 of 2
r1613 qreal m_categoryMinimum;
Michal Klocek
Adds new API classes...
r1540
private:
Marek Rosa
QIntervalsAxis renamed to QCategoryAxis
r1816 Q_DECLARE_PUBLIC(QCategoryAxis)
Michal Klocek
Adds new API classes...
r1540 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Michal Klocek
Adds new API classes...
r1540
Marek Rosa
QIntervalsAxis renamed to QCategoryAxis
r1816 #endif // QCATEGORYAXIS_P_H