1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#include <private/chartitem_p.h>
5#include <private/qabstractseries_p.h>
6#include <private/abstractdomain_p.h>
7#include <QtGui/QPainter>
8
9QT_BEGIN_NAMESPACE
10
11ChartItem::ChartItem(QAbstractSeriesPrivate *series,QGraphicsItem* item):
12 ChartElement(item),
13 m_validData(true),
14 m_series(series)
15{
16
17}
18
19AbstractDomain* ChartItem::domain() const
20{
21 return m_series->domain();
22}
23
24void ChartItem::cleanup()
25{
26 disconnect();
27}
28
29void ChartItem::handleDomainUpdated()
30{
31 qWarning() << __FUNCTION__<< "Slot not implemented";
32}
33
34QT_END_NAMESPACE
35
36#include "moc_chartitem_p.cpp"
37

source code of qtcharts/src/charts/chartitem.cpp