The QBarDataItem class provides a container for resolved data to be added to bar graphs. More...
Header: | #include <QBarDataItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
qmake: | QT += datavisualization |
Since: | QtDataVisualization 1.0 |
QBarDataItem(const QBarDataItem &other) | |
QBarDataItem(float value, float angle) | |
QBarDataItem(float value) | |
QBarDataItem() | |
QBarDataItem & | operator=(const QBarDataItem &other) |
~QBarDataItem() | |
float | rotation() const |
void | setRotation(float angle) |
void | setValue(float val) |
float | value() const |
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.
See also QBarDataProxy and Qt Data Visualization C++ Classes.
Constructs a copy of other.
Constructs a bar data item with the value value and angle angle.
Constructs a bar data item with the value value.
Constructs a bar data item.
Assigns a copy of other to this object.
Deletes a bar data item.
Returns the rotation angle in degrees for this data item.
See also setRotation().
Sets the rotation angle angle in degrees for this data item.
See also rotation().
Sets the value val to this data item.
See also value().
Returns the value of this data item.
See also setValue().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: