Represents a data series in a 3D bar graph. 更多...
| import 語句: | import QtDataVisualization 1.5 |
| Since: | QtDataVisualization 1.0 |
| 實例化: | QBar3DSeries |
| 繼承: | Abstract3DSeries |
This type manages the series specific visual elements, as well as the series data (via a data proxy).
For a more complete description, see QBar3DSeries .
另請參閱 Qt Data Visualization 數據處理 .
|
dataProxy : BarDataProxy |
The active data proxy. The series assumes ownership of any proxy set to it and deletes any previously set proxy when a new one is added. The proxy cannot be null or set to another series.
|
invalidSelectionPosition : point |
A constant property providing an invalid position for selection. This position is set to the selectedBar property to clear the selection from this series.
另請參閱 AbstractGraph3D.clearSelection ().
|
meshAngle : real |
A convenience property for defining the series rotation angle in degrees.
注意: When reading this property, it is calculated from the Abstract3DSeries.meshRotation value using floating point precision and always returns a value from zero to 360 degrees.
另請參閱 Abstract3DSeries.meshRotation .
|
[since 6.3] rowColors : list < ThemeColor > |
This property can be used to draw the rows of the series in different colors. The
Theme3D.colorStyle
must be set to
ColorStyleUniform
to use this property.
注意: If the property is set and the theme is changed, the rowColors list is not cleared automatically.
This property was introduced in Qt 6.3.
另請參閱 Q3DTheme::ColorStyleUniform .
|
selectedBar : point |
The bar in the series that is selected.
The position of the selected bar is specified as a row and column in the data array of the series.
Only one bar can be selected at a time.
To clear selection from this series, set invalidSelectionPosition as the position.
If this series is added to a graph, the graph can adjust the selection according to user interaction or if it becomes invalid. Selecting a bar on another added series will also clear the selection.
Removing rows from or inserting rows to the series before the row of the selected bar will adjust the selection so that the same bar will stay selected.
另請參閱 AbstractGraph3D.clearSelection ().