QBarDataItem¶
The QBarDataItem
class provides a container for resolved data to be added to bar graphs. More…
Synopsis¶
Functions¶
def
createExtraData
()def
rotation
()def
setRotation
(angle)def
setValue
(val)def
value
()
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 visualization.
- class PySide6.QtDataVisualization.QBarDataItem¶
PySide6.QtDataVisualization.QBarDataItem(other)
PySide6.QtDataVisualization.QBarDataItem(value)
PySide6.QtDataVisualization.QBarDataItem(value, angle)
- Parameters
value – float
angle – float
Constructs a bar data item.
Constructs a copy of other
.
Constructs a bar data item with the value value
.
Constructs a bar data item with the value value
and angle angle
.
- PySide6.QtDataVisualization.QBarDataItem.createExtraData()¶
- PySide6.QtDataVisualization.QBarDataItem.rotation()¶
- Return type
float
Returns the rotation angle in degrees for this data item.
See also
- PySide6.QtDataVisualization.QBarDataItem.setRotation(angle)¶
- Parameters
angle – float
Sets the rotation angle angle
in degrees for this data item.
See also
- PySide6.QtDataVisualization.QBarDataItem.setValue(val)¶
- Parameters
val – float
Sets the value val
to this data item.
See also
- PySide6.QtDataVisualization.QBarDataItem.value()¶
- Return type
float
Returns the value of this data item.
See also
© 2022 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.