##// END OF EJS Templates
Fix area series point labels...
Fix area series point labels The point label string needs to be initialized before each point. Change-Id: I69df8b433c849324d9176ea5a20787cc938093e3 Task-number: QTRD-3637 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2776:bc1f6aa59d42
r2778:6eb2f806ec7f
Show More
chartitem.cpp
45 lines | 1.2 KiB | text/x-c | CppLexer
Michal Klocek
Refactors internals...
r2273 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Michal Klocek
Refactors internals...
r2273 ** 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
Refactors internals...
r2273 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Michal Klocek
Refactors internals...
r2273 **
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
Refactors internals...
r2273 **
** 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
Refactors internals...
r2273 **
****************************************************************************/
Titta Heikkala
Fix include syntax...
r2714 #include <private/chartitem_p.h>
#include <private/qabstractseries_p.h>
#include <private/abstractdomain_p.h>
Michal Klocek
Refactors internals...
r2273
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
Michal Klocek
Refactors internals...
r2273
ChartItem::ChartItem(QAbstractSeriesPrivate *series,QGraphicsItem* item):
ChartElement(item),
Marek Rosa
Negative values with log axis handled
r2356 m_validData(true),
Michal Klocek
Refactors internals...
r2273 m_series(series)
{
}
Michal Klocek
Domain not sharable again
r2285 AbstractDomain* ChartItem::domain() const
Michal Klocek
Refactors internals...
r2273 {
return m_series->domain();
}
void ChartItem::handleDomainUpdated()
{
qWarning() << __FUNCTION__<< "Slot not implemented";
}
#include "moc_chartitem_p.cpp"
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE