Obsolete Members for QChart

The following members of class QChart are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) bool acceptsHoverEvents() const
(obsolete) QAbstractAxis *axisX(QAbstractSeries *series = nullptr) const
(obsolete) QAbstractAxis *axisY(QAbstractSeries *series = nullptr) const
(obsolete) QList<QGraphicsItem *> children() const
(obsolete) void dumpObjectInfo()
(obsolete) void dumpObjectTree()
(obsolete) QList<T> findChildren(const QRegExp &regExp, Qt::FindChildOptions options) const
(obsolete) bool handlesChildEvents() const
(obsolete) QMatrix matrix() const
(obsolete) void resetMatrix()
(obsolete) void rotate(qreal angle)
(obsolete) void scale(qreal sx, qreal sy)
(obsolete) QMatrix sceneMatrix() const
(obsolete) void setAcceptsHoverEvents(bool enabled)
(obsolete) void setAxisX(QAbstractAxis *axis, QAbstractSeries *series = nullptr)
(obsolete) void setAxisY(QAbstractAxis *axis, QAbstractSeries *series = nullptr)
(obsolete) void setHandlesChildEvents(bool enabled)
(obsolete) void setMatrix(const QMatrix &matrix, bool combine)
(obsolete) void shear(qreal sh, qreal sv)
(obsolete) void translate(qreal dx, qreal dy)

Related Non-Members

(obsolete) T qFindChild(const QObject *obj, const QString &name)
(obsolete) QList<T> qFindChildren(const QObject *obj, const QString &name)

Macros

(obsolete) Q_ENUMS(...)
(obsolete) Q_FLAGS(...)

Member Function Documentation

QAbstractAxis *QChart::axisX(QAbstractSeries *series = nullptr) const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use axes() instead.

Returns a pointer to the horizontal axis attached to the specified series. If no series is specified, the first horizontal axis added to the chart is returned.

See also setAxisX(), addAxis(), and QAbstractSeries::attachAxis().

QAbstractAxis *QChart::axisY(QAbstractSeries *series = nullptr) const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use axes() instead.

Returns a pointer to the vertical axis attached to the specified series. If no series is specified, the first vertical axis added to the chart is returned.

See also setAxisY(), addAxis(), and QAbstractSeries::attachAxis().

void QChart::setAxisX(QAbstractAxis *axis, QAbstractSeries *series = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use addAxis() instead.

Adds the axis axis to the chart and attaches it to the series series as a bottom-aligned horizontal axis. The chart takes ownership of both the axis and the series. Any horizontal axes previously attached to the series are deleted.

See also axisX(), axisY(), setAxisY(), createDefaultAxes(), and QAbstractSeries::attachAxis().

void QChart::setAxisY(QAbstractAxis *axis, QAbstractSeries *series = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Use addAxis() instead.

Adds the axis axis to the chart and attaches it to the series series as a left-aligned vertical axis. The chart takes ownership of both the axis and the series. Any vertical axes previously attached to the series are deleted.

See also axisX(), axisY(), setAxisX(), createDefaultAxes(), and QAbstractSeries::attachAxis().

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.