1// Copyright (C) 2016 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 POLARCHARTVALUEAXISRADIAL_P_H
14#define POLARCHARTVALUEAXISRADIAL_P_H
15
16#include <private/polarchartaxisradial_p.h>
17#include <QtCharts/private/qchartglobal_p.h>
18
19QT_BEGIN_NAMESPACE
20
21class QValueAxis;
22
23class Q_CHARTS_PRIVATE_EXPORT PolarChartValueAxisRadial : public PolarChartAxisRadial
24{
25 Q_OBJECT
26public:
27 PolarChartValueAxisRadial(QValueAxis *axis, QGraphicsItem *item);
28 ~PolarChartValueAxisRadial();
29
30 QList<qreal> calculateLayout() const override;
31 void createAxisLabels(const QList<qreal> &layout) override;
32
33private Q_SLOTS:
34 void handleTickCountChanged(int tick);
35 void handleMinorTickCountChanged(int tick);
36 void handleLabelFormatChanged(const QString &format);
37};
38
39QT_END_NAMESPACE
40
41#endif // POLARCHARTVALUEAXISRADIAL_P_H
42

source code of qtcharts/src/charts/axis/valueaxis/polarchartvalueaxisradial_p.h