class QAbstract3DGraph#

Inheritance diagram of PySide6.QtGraphs.QAbstract3DGraph

Inherited by: Q3DSurface, Q3DScatter, Q3DBars

Synopsis#

Properties#

Methods#

Signals#

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

Detailed Description#

class QmlIsUncreatable#
class SelectionFlag#
class ShadowQuality#
class ElementType#
class OptimizationHint#
class RenderingMode#
class CameraPreset#

New in version 6.7.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property activeInputHandlerᅟ: QAbstract3DInputHandler#
Access functions:
property activeThemeᅟ: Q3DTheme#
Access functions:
property aspectRatioᅟ: float#
Access functions:
property cameraPresetᅟ: QAbstract3DGraph.CameraPreset#
Access functions:
property cameraTargetPositionᅟ: QVector3D#
Access functions:
property cameraXRotationᅟ: float#
Access functions:
property cameraYRotationᅟ: float#
Access functions:
property cameraZoomLevelᅟ: float#
Access functions:
property currentFpsᅟ: int#
Access functions:
property horizontalAspectRatioᅟ: float#
Access functions:
property localeᅟ: QLocale#
Access functions:
property marginᅟ: float#
Access functions:
property maxCameraZoomLevelᅟ: float#
Access functions:
property measureFpsᅟ: bool#
Access functions:
property minCameraZoomLevelᅟ: float#
Access functions:
property msaaSamplesᅟ: int#
Access functions:
property optimizationHintᅟ: QAbstract3DGraph.OptimizationHint#
Access functions:
property orthoProjectionᅟ: bool#
Access functions:
property polarᅟ: bool#
Access functions:
property queriedGraphPositionᅟ: QVector3D#
Access functions:
property radialLabelOffsetᅟ: float#
Access functions:
property sceneᅟ: Q3DScene#
Access functions:
property selectedElementᅟ: QAbstract3DGraph.ElementType#
Access functions:
property selectionModeᅟ: Combination of QAbstract3DGraph.SelectionFlag#
Access functions:
property shadowQualityᅟ: QAbstract3DGraph.ShadowQuality#
Access functions:
property wrapCameraXRotationᅟ: bool#
Access functions:
property wrapCameraYRotationᅟ: bool#
Access functions:
__init__()#
activeInputHandler()#
Return type:

QAbstract3DInputHandler

Getter of property activeInputHandlerᅟ .

activeInputHandlerChanged(inputHandler)#
Parameters:

inputHandlerQAbstract3DInputHandler

Notification signal of property activeInputHandlerᅟ .

activeTheme()#
Return type:

Q3DTheme

Getter of property activeThemeᅟ .

activeThemeChanged(activeTheme)#
Parameters:

activeThemeQ3DTheme

Notification signal of property activeThemeᅟ .

addCustomItem(item)#
Parameters:

itemQCustom3DItem

Return type:

int

addInputHandler(inputHandler)#
Parameters:

inputHandlerQAbstract3DInputHandler

addTheme(theme)#
Parameters:

themeQ3DTheme

aspectRatio()#
Return type:

float

Getter of property aspectRatioᅟ .

aspectRatioChanged(ratio)#
Parameters:

ratio – float

Notification signal of property aspectRatioᅟ .

cameraPreset()#
Return type:

CameraPreset

Getter of property cameraPresetᅟ .

cameraPresetChanged(preset)#
Parameters:

presetCameraPreset

Notification signal of property cameraPresetᅟ .

cameraTargetPosition()#
Return type:

QVector3D

Getter of property cameraTargetPositionᅟ .

cameraTargetPositionChanged(target)#
Parameters:

targetQVector3D

Notification signal of property cameraTargetPositionᅟ .

cameraXRotation()#
Return type:

float

Getter of property cameraXRotationᅟ .

cameraXRotationChanged(rotation)#
Parameters:

rotation – float

Notification signal of property cameraXRotationᅟ .

cameraYRotation()#
Return type:

float

Getter of property cameraYRotationᅟ .

cameraYRotationChanged(rotation)#
Parameters:

rotation – float

Notification signal of property cameraYRotationᅟ .

cameraZoomLevel()#
Return type:

float

Getter of property cameraZoomLevelᅟ .

cameraZoomLevelChanged(zoomLevel)#
Parameters:

zoomLevel – float

Notification signal of property cameraZoomLevelᅟ .

clearSelection()#
currentFps()#
Return type:

int

Getter of property currentFpsᅟ .

currentFpsChanged(fps)#
Parameters:

fps – int

Notification signal of property currentFpsᅟ .

customItems()#
Return type:

.list of QCustom3DItem

hasSeries(series)#
Parameters:

seriesQAbstract3DSeries

Return type:

bool

horizontalAspectRatio()#
Return type:

float

Getter of property horizontalAspectRatioᅟ .

horizontalAspectRatioChanged(ratio)#
Parameters:

ratio – float

Notification signal of property horizontalAspectRatioᅟ .

inputHandlers()#
Return type:

.list of QAbstract3DInputHandler

isOrthoProjection()#
Return type:

bool

Getter of property orthoProjectionᅟ .

isPolar()#
Return type:

bool

Getter of property polarᅟ .

locale()#
Return type:

QLocale

Getter of property localeᅟ .

localeChanged(locale)#
Parameters:

localeQLocale

Notification signal of property localeᅟ .

margin()#
Return type:

float

Getter of property marginᅟ .

marginChanged(margin)#
Parameters:

margin – float

Notification signal of property marginᅟ .

maxCameraXRotation()#
Return type:

float

maxCameraXRotationChanged(rotation)#
Parameters:

rotation – float

maxCameraYRotation()#
Return type:

float

maxCameraYRotationChanged(rotation)#
Parameters:

rotation – float

maxCameraZoomLevel()#
Return type:

float

Getter of property maxCameraZoomLevelᅟ .

maxCameraZoomLevelChanged(zoomLevel)#
Parameters:

zoomLevel – float

Notification signal of property maxCameraZoomLevelᅟ .

measureFps()#
Return type:

bool

Getter of property measureFpsᅟ .

measureFpsChanged(enabled)#
Parameters:

enabled – bool

Notification signal of property measureFpsᅟ .

minCameraXRotation()#
Return type:

float

minCameraXRotationChanged(rotation)#
Parameters:

rotation – float

minCameraYRotation()#
Return type:

float

minCameraYRotationChanged(rotation)#
Parameters:

rotation – float

minCameraZoomLevel()#
Return type:

float

Getter of property minCameraZoomLevelᅟ .

minCameraZoomLevelChanged(zoomLevel)#
Parameters:

zoomLevel – float

Notification signal of property minCameraZoomLevelᅟ .

msaaSamples()#
Return type:

int

Getter of property msaaSamplesᅟ .

msaaSamplesChanged(samples)#
Parameters:

samples – int

Notification signal of property msaaSamplesᅟ .

optimizationHint()#
Return type:

OptimizationHint

Getter of property optimizationHintᅟ .

optimizationHintChanged(hint)#
Parameters:

hintOptimizationHint

Notification signal of property optimizationHintᅟ .

orthoProjectionChanged(enabled)#
Parameters:

enabled – bool

Notification signal of property orthoProjectionᅟ .

polarChanged(enabled)#
Parameters:

enabled – bool

Notification signal of property polarᅟ .

queriedGraphPosition()#
Return type:

QVector3D

Getter of property queriedGraphPositionᅟ .

queriedGraphPositionChanged(data)#
Parameters:

dataQVector3D

Notification signal of property queriedGraphPositionᅟ .

radialLabelOffset()#
Return type:

float

Getter of property radialLabelOffsetᅟ .

radialLabelOffsetChanged(offset)#
Parameters:

offset – float

Notification signal of property radialLabelOffsetᅟ .

releaseCustomItem(item)#
Parameters:

itemQCustom3DItem

releaseInputHandler(inputHandler)#
Parameters:

inputHandlerQAbstract3DInputHandler

releaseTheme(theme)#
Parameters:

themeQ3DTheme

removeCustomItem(item)#
Parameters:

itemQCustom3DItem

removeCustomItemAt(position)#
Parameters:

positionQVector3D

removeCustomItems()#
renderToImage([imageSize=QSize()])#
Parameters:

imageSizeQSize

Return type:

QSharedPointer

scene()#
Return type:

Q3DScene

Getter of property sceneᅟ .

selectedAxis()#
Return type:

QAbstract3DAxis

selectedCustomItem()#
Return type:

QCustom3DItem

selectedCustomItemIndex()#
Return type:

int

selectedElement()#
Return type:

ElementType

Getter of property selectedElementᅟ .

selectedElementChanged(type)#
Parameters:

typeElementType

Notification signal of property selectedElementᅟ .

selectedLabelIndex()#
Return type:

int

selectionMode()#
Return type:

Combination of SelectionFlag

Getter of property selectionModeᅟ .

selectionModeChanged(selectionMode)#
Parameters:

selectionMode – Combination of SelectionFlag

Notification signal of property selectionModeᅟ .

setActiveInputHandler(inputHandler)#
Parameters:

inputHandlerQAbstract3DInputHandler

Setter of property activeInputHandlerᅟ .

setActiveTheme(activeTheme)#
Parameters:

activeThemeQ3DTheme

Setter of property activeThemeᅟ .

setAspectRatio(ratio)#
Parameters:

ratio – float

Setter of property aspectRatioᅟ .

setCameraPosition(horizontal, vertical[, zoom=100.0f])#
Parameters:
  • horizontal – float

  • vertical – float

  • zoom – float

setCameraPreset(preset)#
Parameters:

presetCameraPreset

Setter of property cameraPresetᅟ .

setCameraTargetPosition(target)#
Parameters:

targetQVector3D

Setter of property cameraTargetPositionᅟ .

setCameraXRotation(rotation)#
Parameters:

rotation – float

Setter of property cameraXRotationᅟ .

setCameraYRotation(rotation)#
Parameters:

rotation – float

Setter of property cameraYRotationᅟ .

setCameraZoomLevel(level)#
Parameters:

level – float

Setter of property cameraZoomLevelᅟ .

setHorizontalAspectRatio(ratio)#
Parameters:

ratio – float

Setter of property horizontalAspectRatioᅟ .

setLocale(locale)#
Parameters:

localeQLocale

Setter of property localeᅟ .

setMargin(margin)#
Parameters:

margin – float

Setter of property marginᅟ .

setMaxCameraXRotation(rotation)#
Parameters:

rotation – float

setMaxCameraYRotation(rotation)#
Parameters:

rotation – float

setMaxCameraZoomLevel(level)#
Parameters:

level – float

Setter of property maxCameraZoomLevelᅟ .

setMeasureFps(enable)#
Parameters:

enable – bool

Setter of property measureFpsᅟ .

setMinCameraXRotation(rotation)#
Parameters:

rotation – float

setMinCameraYRotation(rotation)#
Parameters:

rotation – float

setMinCameraZoomLevel(level)#
Parameters:

level – float

Setter of property minCameraZoomLevelᅟ .

setMsaaSamples(samples)#
Parameters:

samples – int

Setter of property msaaSamplesᅟ .

setOptimizationHint(hint)#
Parameters:

hintOptimizationHint

Setter of property optimizationHintᅟ .

setOrthoProjection(enable)#
Parameters:

enable – bool

Setter of property orthoProjectionᅟ .

setPolar(enable)#
Parameters:

enable – bool

Setter of property polarᅟ .

setRadialLabelOffset(offset)#
Parameters:

offset – float

Setter of property radialLabelOffsetᅟ .

setSelectionMode(selectionMode)#
Parameters:

selectionMode – Combination of SelectionFlag

Setter of property selectionModeᅟ .

setShadowQuality(shadowQuality)#
Parameters:

shadowQualityShadowQuality

Setter of property shadowQualityᅟ .

setWrapCameraXRotation(wrap)#
Parameters:

wrap – bool

Setter of property wrapCameraXRotationᅟ .

setWrapCameraYRotation(wrap)#
Parameters:

wrap – bool

Setter of property wrapCameraYRotationᅟ .

shadowQuality()#
Return type:

ShadowQuality

Getter of property shadowQualityᅟ .

shadowQualityChanged(quality)#
Parameters:

qualityShadowQuality

Notification signal of property shadowQualityᅟ .

themes()#
Return type:

.list of Q3DTheme

wrapCameraXRotation()#
Return type:

bool

Getter of property wrapCameraXRotationᅟ .

wrapCameraXRotationChanged(wrap)#
Parameters:

wrap – bool

Notification signal of property wrapCameraXRotationᅟ .

wrapCameraYRotation()#
Return type:

bool

Getter of property wrapCameraYRotationᅟ .

wrapCameraYRotationChanged(wrap)#
Parameters:

wrap – bool

Notification signal of property wrapCameraYRotationᅟ .