QBarDataItem Class

QBarDataItem クラスは、棒グラフに追加する解決済みデータのコンテナを提供します。詳細...

ヘッダー #include <QBarDataItem>
CMake: find_package(Qt6 REQUIRED COMPONENTS DataVisualization)
target_link_libraries(mytarget PRIVATE Qt6::DataVisualization)
qmake: QT += datavisualization
以来:QtDataVisualization 1.0

パブリック関数

QBarDataItem()
QBarDataItem(float value)
QBarDataItem(float value, float angle)
QBarDataItem(const QBarDataItem &other)
~QBarDataItem()
float rotation() const
void setRotation(float angle)
void setValue(float val)
float value() const
QBarDataItem &operator=(const QBarDataItem &other)

詳細説明

バーデータアイテムは、グラフ内の単一のレンダリングバーのデータを保持します。棒データのプロキシは、データを QBarDataItem インスタンスに解析して視覚化します。

QBarDataProxy および Qt Data Visualization C++ Classes.

メンバ関数のドキュメント

QBarDataItem::QBarDataItem()

バー・データ項目を構築します。

QBarDataItem::QBarDataItem(float value)

value を持つバー・データ・アイテムを構築する。

QBarDataItem::QBarDataItem(float value, float angle)

value 、角度angle

QBarDataItem::QBarDataItem(const QBarDataItem &other)

other のコピーを作成する。

[noexcept] QBarDataItem::~QBarDataItem()

バーデータを削除する。

float QBarDataItem::rotation() const

このデータ項目の回転角度を度単位で返します。

setRotation()も参照してください

void QBarDataItem::setRotation(float angle)

このデータ項目の回転角度angle を度単位で設定する。

rotation()も参照

void QBarDataItem::setValue(float val)

このデータ項目に値val を設定する。

value()も参照

float QBarDataItem::value() const

このデータ項目の値を返します。

setValue()も参照

QBarDataItem &QBarDataItem::operator=(const QBarDataItem &other)

other のコピーをこのオブジェクトに割り当てます。

© 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.