Bar3DSeries QML Type

Represents a data series in a 3D bar graph. More...

Import Statement: import QtGraphs
Instantiates: QBar3DSeries
Inherits:

Abstract3DSeries

Properties

Detailed Description

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.

See also Qt Graphs Data Handling with 3D.

Property Documentation

columnLabels : list

The optional column labels for the array. Indexes in this array match column indexes in rows. If the list is shorter than the longest row, all columns will not get labels.


dataArray : BarDataArray

Holds the reference of the data array.

dataArrayChanged signal is emitted when data array is set, unless newDataArray is identical to the previous one.

Note: Before doing anything regarding the dataArray, a series must be created for the relevant proxy.


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.

See also AbstractGraph3D.clearSelection().


meshAngle : real

A convenience property for defining the series rotation angle in degrees.

Note: 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.

See also Abstract3DSeries.meshRotation.


rowColors : list<Color>

This property can be used to draw the rows of the series in different colors. The Theme3D.colorStyle must be set to Uniform to use this property.

Note: If the property is set and the theme is changed, the rowColors list is not cleared automatically.

See also Q3DTheme::ColorStyle::Uniform.


rowLabels : list

The optional row labels for the array. Indexes in this array match the row indexes in the data array. If the list is shorter than the number of rows, all rows will not get labels.


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 the 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 into the series before the row of the selected bar will adjust the selection so that the same bar will stay selected.

See also AbstractGraph3D.clearSelection().


© 2024 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.