QBarDataItem Class▲
-
Header: QBarDataItem
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
-
qmake: QT += graphs
Detailed Description▲
A bar data item holds the data for a single rendered bar in a graph. Bar data proxies parse data into QBarDataItem instances for bar graphs.
See Also▲
See also QBarDataProxy, Qt Graphs C++ Classes
Member Function Documentation▲
[constexpr] QBarDataItem::QBarDataItem()▲
Constructs a bar data item.
[constexpr] QBarDataItem::QBarDataItem(float value)▲
Constructs a bar data item with the value value.
[constexpr] QBarDataItem::QBarDataItem(float value, float angle)▲
Constructs a bar data item with the value value and angle angle.
QBarDataItem::QBarDataItem(const QBarDataItem &other)▲
Constructs a copy of other.
QBarDataItem::~QBarDataItem()▲
Deletes a bar data item.
[constexpr] float QBarDataItem::rotation() const▲
[constexpr] void QBarDataItem::setRotation(float angle)▲
[constexpr] void QBarDataItem::setValue(float val)▲
[constexpr] float QBarDataItem::value() const▲
QBarDataItem &QBarDataItem::operator=(const QBarDataItem &other)▲
Assigns a copy of other to this object.