Obsolete Members for QChart
クラスQChart の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
パブリック関数
(deprecated) QAbstractAxis * | axisX(QAbstractSeries *series = nullptr) const |
(deprecated) QAbstractAxis * | axisY(QAbstractSeries *series = nullptr) const |
(deprecated) void | setAxisX(QAbstractAxis *axis, QAbstractSeries *series = nullptr) |
(deprecated) void | setAxisY(QAbstractAxis *axis, QAbstractSeries *series = nullptr) |
メンバ関数ドキュメント
[deprecated]
QAbstractAxis *QChart::axisX(QAbstractSeries *series = nullptr) const
この関数は非推奨である。新しいコードでは使用しないことを強く推奨する。
代わりにaxes() を使用してください。
指定されたseries に接続された水平軸へのポインタを返します。系列が指定されていない場合は、チャートに追加された最初の横軸が返されます。
setAxisX()、addAxis() およびQAbstractSeries::attachAxis()も参照 。
[deprecated]
QAbstractAxis *QChart::axisY(QAbstractSeries *series = nullptr) const
この関数は非推奨である。新しいコードでは使用しないことを強く推奨する。
代わりにaxes() を使用してください。
指定されたseries に付属する縦軸へのポインタを返す。系列が指定されていない場合は、チャートに追加された最初の縦軸が返されます。
setAxisY()、addAxis() およびQAbstractSeries::attachAxis()も参照 。
[deprecated]
void QChart::setAxisX(QAbstractAxis *axis, QAbstractSeries *series = nullptr)
この関数は非推奨である。新しいコードでは使用しないことを強く推奨する。
代わりにaddAxis()を使用してください。
軸axis をチャートに追加し、それを下揃えの水平軸として系列series に取り付けます。チャートは軸と系列の両方の所有権を持つ。以前に系列に付けられていた水平軸はすべて削除される。
axisX()、axisY()、setAxisY()、createDefaultAxes()、およびQAbstractSeries::attachAxis()も参照して ください。
[deprecated]
void QChart::setAxisY(QAbstractAxis *axis, QAbstractSeries *series = nullptr)
この関数は非推奨である。新しいコードでは使用しないことを強く推奨する。
代わりにaddAxis()を使用してください。
軸axis をチャートに追加し、それを左揃えの縦軸として系列series に取り付けます。チャートは軸と系列の両方の所有権を持つ。以前に系列に付加されていた縦軸はすべて削除される。
axisX()、axisY()、setAxisX()、createDefaultAxes()、QAbstractSeries::attachAxis()も参照 。
© 2025 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.