1// Copyright (C) 2021 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 QSCATTERSERIES_P_H
14#define QSCATTERSERIES_P_H
15
16#include <private/qxyseries_p.h>
17#include <QtCharts/private/qchartglobal_p.h>
18
19QT_BEGIN_NAMESPACE
20
21class Q_CHARTS_PRIVATE_EXPORT QScatterSeriesPrivate: public QXYSeriesPrivate
22{
23public:
24 QScatterSeriesPrivate(QScatterSeries *q);
25 void initializeGraphics(QGraphicsItem* parent) override;
26 void initializeTheme(int index, ChartTheme* theme, bool forced = false) override;
27 void initializeAnimations(QChart::AnimationOptions options, int duration,
28 QEasingCurve &curve) override;
29
30private:
31 QScatterSeries::MarkerShape m_shape;
32 Q_DECLARE_PUBLIC(QScatterSeries)
33};
34
35QT_END_NAMESPACE
36
37#endif
38

source code of qtcharts/src/charts/scatterchart/qscatterseries_p.h