The QBarDataItem class provides a container for resolved data to be added to bar graphs. 更多...
| 頭: | #include <QBarDataItem> |
| qmake: | QT += datavisualization |
| Since: | QtDataVisualization 1.0 |
該類在 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.
另請參閱 QBarDataProxy and Qt Data Visualization C++ 類 .
構造副本為 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.
賦值副本為 other 到此對象。
Deletes a bar data item.
Returns the rotation angle in degrees for this data item.
另請參閱 setRotation ().
Sets the rotation angle angle in degrees for this data item.
另請參閱 rotation ().
Sets the value val to this data item.
另請參閱 value ().
Returns the value of this data item.
另請參閱 setValue ().