PySide6.QtGraphs.QAbstract3DSeries¶
- class QAbstract3DSeries¶
- The - QAbstract3DSeriesclass is a base class for all 3D data series.- Details- There are inherited classes for each supported series type: - QBar3DSeries,- QScatter3DSeries, and- QSurface3DSeries.- For more information, see Qt Graphs Data Handling with 3D . - Inherited by: - QSurface3DSeries,- QScatter3DSeries,- QSpline3DSeries,- QBar3DSeries- Synopsis¶- Properties¶- baseColorᅟ- Base color of the series
- baseGradientᅟ- Base gradient of the series
- colorStyleᅟ- Color style for the series
- itemLabelᅟ- Formatted item label
- itemLabelFormatᅟ- Label format for data items in this series
- itemLabelVisibleᅟ- Visibility of item labels in the graph
- lightingModeᅟ- Lighting mode of the series
- meshᅟ- Of the items in the series
- meshRotationᅟ- Mesh rotation that is applied to all items of the series
- meshSmoothᅟ- Whether smooth versions of predefined meshes are used
- multiHighlightColorᅟ- Multiple item highlight color of the series
- multiHighlightGradientᅟ- Multiple item highlight gradient of the series
- nameᅟ- Series name
- singleHighlightColorᅟ- Single item highlight color of the series
- singleHighlightGradientᅟ- Single item highlight gradient of the series
- typeᅟ- Of the series
- userDefinedMeshᅟ- Filename for a user defined custom mesh for objects
- visibleᅟ- Visibility of the series
 - Methods¶- def - baseColor()
- def - baseGradient()
- def - colorStyle()
- def - isMeshSmooth()
- def - isVisible()
- def - itemLabel()
- def - lightingMode()
- def - mesh()
- def - meshRotation()
- def - name()
- def - setBaseColor()
- def - setColorStyle()
- def - setMesh()
- def - setMeshSmooth()
- def - setName()
- def - setVisible()
- def - type()
 - Signals¶
- def - meshChanged()
- def - nameChanged()
- def - visibleChanged()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - class SeriesType¶
- Type of the series. - Constant - Description - QAbstract3DSeries.SeriesType.SeriesType.None_ - No series type. - QAbstract3DSeries.SeriesType.SeriesType.Bar - Series type for - Q3DBarsWidgetItem.- QAbstract3DSeries.SeriesType.SeriesType.Scatter - Series type for - Q3DScatterWidgetItem.- QAbstract3DSeries.SeriesType.SeriesType.Surface - Series type for - Q3DSurfaceWidgetItem.
 - class Mesh¶
- Predefined mesh types. All styles are not usable with all graphs types. - Constant - Description - QAbstract3DSeries.Mesh.Mesh.UserDefined - User defined mesh, set via - userDefinedMeshproperty.- QAbstract3DSeries.Mesh.Mesh.Bar - Basic rectangular bar. - QAbstract3DSeries.Mesh.Mesh.Cube - Basic cube. - QAbstract3DSeries.Mesh.Mesh.Pyramid - Four-sided pyramid. - QAbstract3DSeries.Mesh.Mesh.Cone - Basic cone. - QAbstract3DSeries.Mesh.Mesh.Cylinder - Basic cylinder. - QAbstract3DSeries.Mesh.Mesh.BevelBar - Slightly beveled (rounded) rectangular bar. - QAbstract3DSeries.Mesh.Mesh.BevelCube - Slightly beveled (rounded) cube. - QAbstract3DSeries.Mesh.Mesh.Sphere - Sphere. - QAbstract3DSeries.Mesh.Mesh.Minimal - The minimal 3D mesh: a triangular pyramid. Usable only with - Q3DScatterWidgetItem.- QAbstract3DSeries.Mesh.Mesh.Arrow - Arrow pointing upwards. - QAbstract3DSeries.Mesh.Mesh.Point - 2D point. Usable only with - Q3DScatterWidgetItem. Shadows do not affect this style. Color style- ObjectGradientis not supported by this style.
 - class LightingMode¶
- Predefined lighting modes - Constant - Description - QAbstract3DSeries.LightingMode.LightingMode.Shaded - Graphs respond to real time lighting - QAbstract3DSeries.LightingMode.LightingMode.Unshaded - Graphs do not respond to real time lighting - Added in version 6.10. 
 - Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- This property holds The base color of the series.. - See also - Access functions:
 - property baseGradientᅟ: QLinearGradient¶
 - This property holds The base gradient of the series.. - See also - Access functions:
 - property colorStyleᅟ: QGraphsTheme.ColorStyle¶
 - This property holds The color style for the series.. - See also - Access functions:
 - property itemLabelᅟ: str¶
 - This property holds The formatted item label.. - If there is no selected item or the selected item is not visible, returns an empty string. - See also - Access functions:
- Signal - itemLabelChanged()
 
 - property itemLabelFormatᅟ: str¶
 - This property holds The label format for data items in this series.. - This format is used for single item labels, for example, when an item is selected. How the format is interpreted depends on series type. - See also - Access functions:
 - property itemLabelVisibleᅟ: bool¶
 - This property holds The visibility of item labels in the graph.. - If - true, item labels are drawn as floating labels in the graph. Otherwise, item labels are not drawn. To show the item label in an external control, this property is set to- false. Defaults to- true.- See also - Access functions:
 - property lightingModeᅟ: QAbstract3DSeries.LightingMode¶
 - This property holds The lighting mode of the series. - See also - Access functions:
 - property meshᅟ: QAbstract3DSeries.Mesh¶
 - This property holds The mesh of the items in the series.. - For - QSurface3DSeries, this property holds the selection pointer.- If the mesh is MeshUserDefined, then the - userDefinedMeshproperty must also be set for items to render properly. The default value depends on the graph type.- Access functions:
- Signal - meshChanged()
 
 - property meshRotationᅟ: QQuaternion¶
 - This property holds The mesh rotation that is applied to all items of the series.. - The rotation should be a normalized QQuaternion. For those series types that support item specific rotation, the rotations are multiplied together. - QBar3DSeriesignores any rotation that is not around the y-axis.- QSurface3DSeriesapplies the rotation only to the selection pointer. Defaults to no rotation.- Access functions:
 - property meshSmoothᅟ: bool¶
 - This property holds Whether smooth versions of predefined meshes are used.. - If - true, smooth versions set via the- meshproperty are used. This property does not affect custom meshes used when the mesh is set to MeshUserDefined. Defaults to- false.- Access functions:
 - This property holds The multiple item highlight color of the series.. - See also - Access functions:
 - property multiHighlightGradientᅟ: QLinearGradient¶
 - This property holds The multiple item highlight gradient of the series.. - See also - Access functions:
 - property nameᅟ: str¶
 - This property holds The series name.. - The series name can be used in item label format with the tag - @seriesName.- See also - Access functions:
- Signal - nameChanged()
 
 - This property holds The single item highlight color of the series.. - See also - Access functions:
 - property singleHighlightGradientᅟ: QLinearGradient¶
 - This property holds The single item highlight gradient of the series.. - See also - Access functions:
 - property typeᅟ: QAbstract3DSeries.SeriesType¶
 - This property holds The type of the series.. - Access functions:
 - property userDefinedMeshᅟ: str¶
 - This property holds The filename for a user defined custom mesh for objects.. - The custom mesh is used when - meshis MeshUserDefined.- Note - The file needs to be in the QtQuick3D mesh format. Use the - balsamconversion tool to create a mesh from other 3D model formats.- Access functions:
 - property visibleᅟ: bool¶
 - This property holds The visibility of the series.. - If this property is - false, the series is not rendered. Defaults to- true.- Access functions:
 - baseColor()¶
- Return type:
 - See also 
 - Getter of property - baseColorᅟ.- Notification signal of property - baseColorᅟ.- baseGradient()¶
- Return type:
 - See also 
 - Getter of property - baseGradientᅟ.- baseGradientChanged(gradient)¶
- Parameters:
- gradient – - QLinearGradient
 
 - Notification signal of property - baseGradientᅟ.- colorStyle()¶
- Return type:
 - See also 
 - Getter of property - colorStyleᅟ.- colorStyleChanged(style)¶
- Parameters:
- style – - ColorStyle
 
 - Notification signal of property - colorStyleᅟ.- isItemLabelVisible()¶
- Return type:
- bool 
 
 - Getter of property - itemLabelVisibleᅟ.- isMeshSmooth()¶
- Return type:
- bool 
 
 - Getter of property - meshSmoothᅟ.- isVisible()¶
- Return type:
- bool 
 
 - Getter of property - visibleᅟ.- itemLabel()¶
- Return type:
- str 
 
 - Getter of property - itemLabelᅟ.- itemLabelChanged(label)¶
- Parameters:
- label – str 
 
 - Notification signal of property - itemLabelᅟ.- itemLabelFormat()¶
- Return type:
- str 
 - See also 
 - Getter of property - itemLabelFormatᅟ.- itemLabelFormatChanged(format)¶
- Parameters:
- format – str 
 
 - Notification signal of property - itemLabelFormatᅟ.- itemLabelVisibleChanged(visible)¶
- Parameters:
- visible – bool 
 
 - Notification signal of property - itemLabelVisibleᅟ.- lightingMode()¶
- Return type:
 - See also 
 - Getter of property - lightingModeᅟ.- lightingModeChanged(lightingMode)¶
- Parameters:
- lightingMode – - LightingMode
 
 - Notification signal of property - lightingModeᅟ.- Getter of property - meshᅟ.- Notification signal of property - meshᅟ.- meshRotation()¶
- Return type:
 - See also 
 - Getter of property - meshRotationᅟ.- meshRotationChanged(rotation)¶
- Parameters:
- rotation – - QQuaternion
 
 - Notification signal of property - meshRotationᅟ.- meshSmoothChanged(enabled)¶
- Parameters:
- enabled – bool 
 
 - Notification signal of property - meshSmoothᅟ.- multiHighlightColor()¶
- Return type:
 - See also 
 - Getter of property - multiHighlightColorᅟ.- Notification signal of property - multiHighlightColorᅟ.- multiHighlightGradient()¶
- Return type:
 - See also 
 - Getter of property - multiHighlightGradientᅟ.- multiHighlightGradientChanged(gradient)¶
- Parameters:
- gradient – - QLinearGradient
 
 - Notification signal of property - multiHighlightGradientᅟ.- Getter of property - nameᅟ.- nameChanged(name)¶
- Parameters:
- name – str 
 
 - Notification signal of property - nameᅟ.- Setter of property - baseColorᅟ.- setBaseGradient(gradient)¶
- Parameters:
- gradient – - QLinearGradient
 - See also 
 - Setter of property - baseGradientᅟ.- setColorStyle(style)¶
- Parameters:
- style – - ColorStyle
 - See also 
 - Setter of property - colorStyleᅟ.- setItemLabelFormat(format)¶
- Parameters:
- format – str 
 - See also 
 - Setter of property - itemLabelFormatᅟ.- setItemLabelVisible(visible)¶
- Parameters:
- visible – bool 
 - See also 
 - Setter of property - itemLabelVisibleᅟ.- setLightingMode(lightingMode)¶
- Parameters:
- lightingMode – - LightingMode
 - See also 
 - Setter of property - lightingModeᅟ.- Setter of property - meshᅟ.- A convenience function to construct a mesh rotation quaternion from - axisand- angle.- See also - setMeshRotation(rotation)¶
- Parameters:
- rotation – - QQuaternion
 - See also 
 - Setter of property - meshRotationᅟ.- setMeshSmooth(enable)¶
- Parameters:
- enable – bool 
 - See also 
 - Setter of property - meshSmoothᅟ.- Setter of property - multiHighlightColorᅟ.- setMultiHighlightGradient(gradient)¶
- Parameters:
- gradient – - QLinearGradient
 - See also 
 - Setter of property - multiHighlightGradientᅟ.- Setter of property - nameᅟ.- Setter of property - singleHighlightColorᅟ.- setSingleHighlightGradient(gradient)¶
- Parameters:
- gradient – - QLinearGradient
 - See also 
 - Setter of property - singleHighlightGradientᅟ.- setUserDefinedMesh(fileName)¶
- Parameters:
- fileName – str 
 - See also 
 - Setter of property - userDefinedMeshᅟ.- setVisible(visible)¶
- Parameters:
- visible – bool 
 - See also 
 - Setter of property - visibleᅟ.- singleHighlightColor()¶
- Return type:
 - See also 
 - Getter of property - singleHighlightColorᅟ.- Notification signal of property - singleHighlightColorᅟ.- singleHighlightGradient()¶
- Return type:
 - See also 
 - Getter of property - singleHighlightGradientᅟ.- singleHighlightGradientChanged(gradient)¶
- Parameters:
- gradient – - QLinearGradient
 
 - Notification signal of property - singleHighlightGradientᅟ.- type()¶
- Return type:
 
 - Getter of property - typeᅟ.- userDefinedMesh()¶
- Return type:
- str 
 - See also 
 - Getter of property - userDefinedMeshᅟ.- userDefinedMeshChanged(fileName)¶
- Parameters:
- fileName – str 
 
 - Notification signal of property - userDefinedMeshᅟ.- visibleChanged(visible)¶
- Parameters:
- visible – bool 
 
 - Notification signal of property - visibleᅟ.