PySide6.QtGraphsWidgets.Q3DGraphsWidgetItem¶
- class Q3DGraphsWidgetItem¶
- The - Q3DGraphsWidgetItemclass provides a window and render loop for graphs.- Details- This class subclasses a QWindow and provides render loop for graphs inheriting it. - You should not need to use this class directly, but one of its subclasses instead. - Multisampling is turned off by default in - QSurfaceFormat. To enable multisampling, set a custom surface format as a default surface format. To get the custom surface format, use QQuick3D::idealSurfaceFormat().- Inherited by: - Q3DSurfaceWidgetItem,- Q3DScatterWidgetItem,- Q3DBarsWidgetItem- Synopsis¶- Properties¶- activeThemeᅟ- Active theme of the graph
- ambientLightStrengthᅟ- Ambient light strength for the whole graph
- aspectRatioᅟ- Ratio of the graph scaling between the longest axis on the horizontal plane and the y-axis
- cameraTargetPositionᅟ- Camera target position as a vector or vertex in the 3D space
- cameraXRotationᅟ- X-rotation angle of the camera around the target point in degrees
- cameraYRotationᅟ- Y-rotation angle of the camera around the target point in degrees
- cameraZoomLevelᅟ- Camera zoom level in percentage
- currentFpsᅟ- Rendering results for the last second
- gridLineTypeᅟ- Whether the grid lines type is QtGraphs3D::GridLineType::Shader or QtGraphs3D::GridLineType::Geometry
- horizontalAspectRatioᅟ- Ratio of the graph scaling between the x-axis and z-axis
- labelMarginᅟ- This property specifies the margin for the placement of the axis labels
- lightColorᅟ- Color for the ambient and specular light
- lightStrengthᅟ- Specular light strength for the whole graph
- localeᅟ- Used for formatting various numeric labels
- marginᅟ- Absolute value used for the space left between the edge of the plottable graph area and the edge of the graph background
- maxCameraXRotationᅟ- Maximum X-rotation angle of the camera around the target point in degrees. The default value is 180.0
- maxCameraYRotationᅟ- Maximum Y-rotation angle of the camera around the target point in degrees. The default value is 90.0
- maxCameraZoomLevelᅟ- Maximum allowed camera zoom level
- measureFpsᅟ- Whether rendering is done continuously instead of on demand
- minCameraXRotationᅟ- Minimum X-rotation angle of the camera around the target point in degrees. The default value is -180.0
- minCameraYRotationᅟ- Minimum Y-rotation angle of the camera around the target point in degrees. The default value is 0.0
- minCameraZoomLevelᅟ- Minimum allowed camera zoom level
- msaaSamplesᅟ- Number of used samples in MSAA
- optimizationHintᅟ- Specifies whether the default or legacy mode is used for rendering optimization
- orthoProjectionᅟ- Whether orthographic projection is used for displaying the graph
- polarᅟ- Whether horizontal axes are changed into polar axes
- queriedGraphPositionᅟ- Latest queried graph position values along each axis
- radialLabelOffsetᅟ- Normalized horizontal offset for the axis labels of the radial polar axis
- rotationEnabledᅟ- Whether this input handler allows graph rotation
- sceneᅟ- Q3DScene pointer that can be used to manipulate the scene and access the scene elements
- selectedElementᅟ- Element selected in the graph
- selectionEnabledᅟ- Whether this input handler allows selection from the graph
- selectionModeᅟ- Item selection mode
- shadowQualityᅟ- Quality of the shadow
- shadowStrengthᅟ- Shadow strength for the whole graph
- transparencyTechniqueᅟ- Specifies which transparency technique to use. The Default value is Default. When rendering transparent surface graphs, use Approximate or Accurate
- wrapCameraXRotationᅟ- Behavior of the minimum and maximum limits in the X-rotation
- wrapCameraYRotationᅟ- Behavior of the minimum and maximum limits in the Y-rotation
- zoomAtTargetEnabledᅟ- Whether zooming should change the camera target so that the zoomed point of the graph stays at the same location after the zoom
- zoomEnabledᅟ- Whether this input handler allows graph zooming
 - Methods¶- def - activeTheme()
- def - addCustomItem()
- def - addTheme()
- def - aspectRatio()
- def - cameraPreset()
- def - clearSelection()
- def - currentFps()
- def - customItems()
- def - doPicking()
- def - doRayPicking()
- def - gridLineType()
- def - hasSeries()
- def - isPolar()
- def - isZoomEnabled()
- def - labelMargin()
- def - lightColor()
- def - lightStrength()
- def - locale()
- def - margin()
- def - measureFps()
- def - msaaSamples()
- def - releaseTheme()
- def - renderToImage()
- def - scene()
- def - selectedAxis()
- def - selectionMode()
- def - setActiveTheme()
- def - setAspectRatio()
- def - setDragButton()
- def - setLabelMargin()
- def - setLightColor()
- def - setLocale()
- def - setMargin()
- def - setMeasureFps()
- def - setMsaaSamples()
- def - setPolar()
- def - setWidget()
- def - setZoomEnabled()
- def - shadowQuality()
- def - shadowStrength()
- def - themes()
- def - widget()
 - Signals¶
- def - doubleTapped()
- def - dragged()
- def - localeChanged()
- def - longPressed()
- def - marginChanged()
- def - mouseMove()
- def - pinch()
- def - polarChanged()
- def - tapped()
- def - wheel()
 - 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 - Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- property activeThemeᅟ: QGraphsTheme¶
 - This property holds The active theme of the graph.. - Sets - activeThemeas the active theme to be used for the graph. Implicitly calls- addTheme()to transfer the ownership of the theme to this graph.- If - activeThemeis null, a temporary default theme is created. This temporary theme is destroyed if any theme is explicitly set later. Properties of the theme can be modified even after setting it, and the modifications take effect immediately.- Access functions:
 - property ambientLightStrengthᅟ: float¶
 - This property holds The ambient light strength for the whole graph.. - This value determines how evenly and brightly the colors are shown throughout the graph regardless of the light position. - The value must be between - 0.0fand- 1.0f.- Access functions:
 - property aspectRatioᅟ: float¶
 - This property holds The ratio of the graph scaling between the longest axis on the horizontal plane and the y-axis.. - Defaults to - 2.0.- Access functions:
 - property cameraPresetᅟ: QtGraphs3D.CameraPreset¶
 - Access functions:
 - This property holds The camera target position as a vector or vertex in the 3D space.. - Defaults to - QVector3D(0.0, 0.0, 0.0).- Valid coordinate values are between - -1.0...1.0, where the edge values indicate the edges of the corresponding axis range. Any values outside this range are clamped to the edge.- Access functions:
 - property cameraXRotationᅟ: float¶
 - This property holds The X-rotation angle of the camera around the target point in degrees.. - Access functions:
 - property cameraYRotationᅟ: float¶
 - This property holds The Y-rotation angle of the camera around the target point in degrees.. - Access functions:
 - property cameraZoomLevelᅟ: float¶
 - This property holds The camera zoom level in percentage.. - The default value of - 100.0fmeans there is no zoom in or out set in the camera. The value is limited by the- minCameraZoomLeveland- maxCameraZoomLevelproperties.- See also - Access functions:
 - property currentFpsᅟ: int¶
 - This property holds The rendering results for the last second.. - The results are stored in this read-only property when FPS measuring is enabled. It takes at least a second before this value is updated after measuring is activated. - See also - Access functions:
- Signal - currentFpsChanged()
 
 - property gridLineTypeᅟ: QtGraphs3D.GridLineType¶
 - This property holds Whether the grid lines type is - Shaderor- Geometry..- This value affects all grid lines. - See also - GridLineType- Access functions:
 - property horizontalAspectRatioᅟ: float¶
 - This property holds The ratio of the graph scaling between the x-axis and z-axis.. - The value of - 0.0indicates automatic scaling according to axis ranges. Defaults to- 0.0.- Has no effect on - Q3DBarsWidgetItem, which handles scaling on the horizontal plane via the- barThicknessand- barSpacingproperties. Polar graphs also ignore this property.- See also - Access functions:
 - property labelMarginᅟ: float¶
 - This property holds This property specifies the margin for the placement of the axis labels.. - Negative values place the labels inside the plot-area while positive values place them outside the plot-area. Label automatic rotation is disabled when the value is negative. Defaults to - 0.1- See also - Access functions:
 - This property holds The color for the ambient and specular light.. - This value affects the light specified in - Q3DScene.- Access functions:
 - property lightStrengthᅟ: float¶
 - This property holds The specular light strength for the whole graph.. - The value must be between - 0.0fand- 10.0f.- This value affects the light specified in - Q3DScene.- Access functions:
 - This property holds The locale used for formatting various numeric labels.. - Defaults to the - "C"locale.- See also - Access functions:
- Signal - localeChanged()
 
 - property marginᅟ: float¶
 - This property holds The absolute value used for the space left between the edge of the plottable graph area and the edge of the graph background.. - If the margin value is negative, the margins are determined automatically and can vary according to the size of the items in the series and the type of the graph. The value is interpreted as a fraction of the y-axis range if the graph aspect ratios have not been changed from the default values. Defaults to - -1.0.- Note - Setting a smaller margin for a scatter graph than the automatically determined margin can cause the scatter items at the edges of the graph to overlap with the graph background. - Note - On scatter and surface graphs, if the margin is small in comparison to the axis label size, the positions of the edge labels of the axes are adjusted to avoid overlap with the edge labels of the neighboring axes. - Access functions:
- Signal - marginChanged()
 
 - property maxCameraXRotationᅟ: float¶
 - This property holds The maximum X-rotation angle of the camera around the target point in degrees. The default value is - 180.0.- Access functions:
 - property maxCameraYRotationᅟ: float¶
 - This property holds The maximum Y-rotation angle of the camera around the target point in degrees. The default value is - 90.0.- Access functions:
 - property maxCameraZoomLevelᅟ: float¶
 - This property holds The maximum allowed camera zoom level.. - If the maximum level is set to a new value that is lower than the existing minimum level, the minimum level is adjusted to the new maximum as well. If the current - cameraZoomLevelis outside the new bounds, it is adjusted as well. Defaults to- 500.0f.- See also - Access functions:
 - property measureFpsᅟ: bool¶
 - This property holds Whether rendering is done continuously instead of on demand.. - If - true, rendering is continuous and the value of the- currentFpsproperty is updated. Defaults to- false.- See also - Access functions:
 - property minCameraXRotationᅟ: float¶
 - This property holds The minimum X-rotation angle of the camera around the target point in degrees. The default value is - -180.0.- Access functions:
 - property minCameraYRotationᅟ: float¶
 - This property holds The minimum Y-rotation angle of the camera around the target point in degrees. The default value is - 0.0.- Access functions:
 - property minCameraZoomLevelᅟ: float¶
 - This property holds The minimum allowed camera zoom level.. - If the minimum level is set to a new value that is higher than the existing maximum level, the maximum level is adjusted to the new minimum as well. If the current zoomLevel is outside the new bounds, it is adjusted as well. The minCameraZoomLevel cannot be set below - 1.0f. Defaults to- 10.0f.- See also - Access functions:
 - property msaaSamplesᅟ: int¶
 - This property holds The number of used samples in MSAA.. - Sets the number of used MSAA samples to - samples. The number of samples can be either 0, 2, 4, or 8.- Access functions:
 - property optimizationHintᅟ: QtGraphs3D.OptimizationHint¶
 - This property Specifies whether the default or legacy mode is used for rendering optimization.. - The default mode uses instanced rendering, and provides the full feature set at the best level of performance on most systems. The static mode optimizes graph rendering and is ideal for large non-changing data sets. It is slower with dynamic data changes and item rotations. Selection is not optimized, so using the static mode with massive data sets is not advisable. Static optimization works only on scatter graphs. Legacy mode renders all items in th graph individually, without instancing. It should be used only if default mode does not work, i.e. if the target system does not support instancing. Defaults to - Default.- Note - On some environments, large graphs using static optimization may not render, because all of the items are rendered using a single draw call, and different graphics drivers support different maximum vertice counts per call. This is mostly an issue on 32bit and OpenGL ES2 platforms. To work around this issue, choose an item mesh with a low vertex count or use the point mesh. - See also - Access functions:
 - property orthoProjectionᅟ: bool¶
 - This property holds Whether orthographic projection is used for displaying the graph.. - Defaults to - false.- Access functions:
 - property polarᅟ: bool¶
 - This property holds Whether horizontal axes are changed into polar axes.. - If - true, the x-axis becomes the angular axis and the z-axis becomes the radial axis. Polar mode is not available for bar graphs.- Defaults to - false.- See also - orthoProjection- radialLabelOffset- Access functions:
- Signal - polarChanged()
 
 - This property holds The latest queried graph position values along each axis.. - This read-only property contains the results from - graphPositionQuery. The values are normalized to the range- [-1, 1]. If the queried position was outside the graph bounds, the values will not reflect the real position, but will instead indicate an undefined position outside the range- [-1, 1]. The value will be undefined until a query is made.- There is no single correct 3D coordinate to match a particular screen position, so to be consistent, the queries are always done against the inner sides of an invisible box surrounding the graph. - Note - Bar graphs only allow querying graph position at the graph floor level, so the y-value is always zero for bar graphs and the valid queries can be only made at screen positions that contain the floor of the graph. - See also - Access functions:
 - property radialLabelOffsetᅟ: float¶
 - This property holds The normalized horizontal offset for the axis labels of the radial polar axis.. - The value - 0.0indicates that the labels should be drawn next to the 0-angle angular axis grid line. The value- 1.0indicates that the labels are drawn in their usual place at the edge of the graph background. Defaults to- 1.0.- This property is ignored if the - polarproperty value is- false.- See also - polar- Access functions:
 - property rotationEnabledᅟ: bool¶
 - This property holds Whether this input handler allows graph rotation.. - Defaults to - true.- Access functions:
 - This property holds The - Q3DScenepointer that can be used to manipulate the scene and access the scene elements..- This property is read-only. - Access functions:
 - property selectedElementᅟ: QtGraphs3D.ElementType¶
 - This property holds The element selected in the graph.. - This property can be used to query the selected element type. The type is valid until a new selection is made in the graph and the - selectedElementChangedsignal is emitted.- The signal can be used for example for implementing custom input handlers, as demonstrated in the Graph Gallery example under Scatter Graph tab. - Access functions:
 - property selectionEnabledᅟ: bool¶
 - This property holds Whether this input handler allows selection from the graph.. - Defaults to - true.- Access functions:
 - property selectionModeᅟ: Combination of QtGraphs3D.SelectionFlag¶
 - This property holds Item selection mode.. - A combination of SelectionFlags. By default, - Item. Different graph types support different selection modes.- See also - SelectionFlags- Access functions:
 - property shadowQualityᅟ: QtGraphs3D.ShadowQuality¶
 - This property holds The quality of the shadow.. - One of the ShadowQuality enum values. By default, - Medium.- Note - If setting the shadow quality to a certain level fails, the level is lowered until it is successfully set. The - shadowQualityChangedsignal is emitted each time a change is made.- See also - ShadowQuality- Access functions:
 - property shadowStrengthᅟ: float¶
 - This property holds The shadow strength for the whole graph.. - The higher the number, the darker the shadows will be. The value must be between - 0.0and- 100.0.- This value affects the light specified in - Q3DScene.- Access functions:
 - property transparencyTechniqueᅟ: QtGraphs3D.TransparencyTechnique¶
 - This property Specifies which transparency technique to use. The Default value is - Default. When rendering transparent surface graphs, use- Approximateor- Accurate..- Default 
- Indicates that order-independent transparency techniques are not used. Offers the best performance. Use when graphs don’t contain transparency or when a bar or scatter graph is also using instancing, that is - optimizationHintis {- Default}.
 - Note - Accurate transparency is not yet implemented and will be enabled when the required functionality is added to QtQuick3D. - See also - TransparencyTechnique- Access functions:
 - property wrapCameraXRotationᅟ: bool¶
 - This property holds The behavior of the minimum and maximum limits in the X-rotation.. - If set to - true, the X-rotation of the camera is wrapped from minimum to maximum and from maximum to minimum. If set to- false, the X-rotation of the camera is limited to the sector determined by the minimum and maximum values. Set to- trueby default.- Access functions:
 - property wrapCameraYRotationᅟ: bool¶
 - This property holds The behavior of the minimum and maximum limits in the Y-rotation.. - If - true, the Y-rotation of the camera is wrapped from minimum to maximum and from maximum to minimum. If- false, the Y-rotation of the camera is limited to the sector determined by the minimum and maximum values. Set to- trueby default.- Access functions:
 - property zoomAtTargetEnabledᅟ: bool¶
 - This property holds Whether zooming should change the camera target so that the zoomed point of the graph stays at the same location after the zoom.. - Defaults to - true.- Access functions:
 - property zoomEnabledᅟ: bool¶
 - This property holds Whether this input handler allows graph zooming.. - Defaults to - true.- Access functions:
 - activeTheme()¶
- Return type:
 - See also 
 - Getter of property - activeThemeᅟ.- activeThemeChanged(activeTheme)¶
- Parameters:
- activeTheme – - QGraphsTheme
 
 - Notification signal of property - activeThemeᅟ.- addCustomItem(item)¶
- Parameters:
- item – - QCustom3DItem
- Return type:
- int 
 
 - Adds a - QCustom3DItem- itemto the graph. Graph takes ownership of the added item.- Returns the index to the added item if the add operation was successful, -1 if trying to add a null item, and the index of the item if trying to add an already added item. - Items are rendered in the order they have been inserted. The rendering order needs to be taken into account when having solid and transparent items. - addTheme(theme)¶
- Parameters:
- theme – - QGraphsTheme
 
 - Adds the given - themeto the graph. The themes added via addTheme are not taken in to use directly. Only the ownership of the theme is given to the graph. The- thememust not be null or already added to another graph.- See also - ambientLightStrength()¶
- Return type:
- float 
 - See also 
 - Getter of property - ambientLightStrengthᅟ.- ambientLightStrengthChanged()¶
 - Notification signal of property - ambientLightStrengthᅟ.- aspectRatio()¶
- Return type:
- float 
 - See also 
 - Getter of property - aspectRatioᅟ.- aspectRatioChanged(ratio)¶
- Parameters:
- ratio – float 
 
 - Notification signal of property - aspectRatioᅟ.- cameraPreset()¶
- Return type:
 - See also 
 - Getter of property - cameraPresetᅟ.- cameraPresetChanged(preset)¶
- Parameters:
- preset – - CameraPreset
 
 - Notification signal of property - cameraPresetᅟ.- cameraTargetPosition()¶
- Return type:
 - See also 
 - Getter of property - cameraTargetPositionᅟ.- Notification signal of property - cameraTargetPositionᅟ.- cameraXRotation()¶
- Return type:
- float 
 - See also 
 - Getter of property - cameraXRotationᅟ.- cameraXRotationChanged(rotation)¶
- Parameters:
- rotation – float 
 
 - Notification signal of property - cameraXRotationᅟ.- cameraYRotation()¶
- Return type:
- float 
 - See also 
 - Getter of property - cameraYRotationᅟ.- cameraYRotationChanged(rotation)¶
- Parameters:
- rotation – float 
 
 - Notification signal of property - cameraYRotationᅟ.- cameraZoomLevel()¶
- Return type:
- float 
 - See also 
 - Getter of property - cameraZoomLevelᅟ.- cameraZoomLevelChanged(zoomLevel)¶
- Parameters:
- zoomLevel – float 
 
 - Notification signal of property - cameraZoomLevelᅟ.- clearSelection()¶
 - Clears selection from all attached series. - currentFps()¶
- Return type:
- int 
 
 - Getter of property - currentFpsᅟ.- currentFpsChanged(fps)¶
- Parameters:
- fps – int 
 
 - Notification signal of property - currentFpsᅟ.- customItems()¶
- Return type:
- .list of QCustom3DItem 
 
 - Returns the list of all added custom items. - See also - Performs picking using view coordinates from - pointon the elements of the graph, selecting the first item hit. Default input handling performs this upon receiving the onTapped event.- See also - Performs picking starting from - originand in- directionon the elements of the graph, selecting the first item hit.- See also - doubleTapped(eventPoint, button)¶
- Parameters:
- eventPoint – - QEventPoint
- button – - MouseButton
 
 
 - gridLineType()¶
- Return type:
 - See also 
 - Getter of property - gridLineTypeᅟ.- gridLineTypeChanged()¶
 - Notification signal of property - gridLineTypeᅟ.- hasSeries(series)¶
- Parameters:
- series – - QAbstract3DSeries
- Return type:
- bool 
 
 - Returns whether the - serieshas already been added to the graph.- horizontalAspectRatio()¶
- Return type:
- float 
 - See also 
 - Getter of property - horizontalAspectRatioᅟ.- horizontalAspectRatioChanged(ratio)¶
- Parameters:
- ratio – float 
 
 - Notification signal of property - horizontalAspectRatioᅟ.- isOrthoProjection()¶
- Return type:
- bool 
 
 - Getter of property - orthoProjectionᅟ.- isPolar()¶
- Return type:
- bool 
 
 - Getter of property - polarᅟ.- isRotationEnabled()¶
- Return type:
- bool 
 
 - Getter of property - rotationEnabledᅟ.- isSelectionEnabled()¶
- Return type:
- bool 
 
 - Getter of property - selectionEnabledᅟ.- isZoomAtTargetEnabled()¶
- Return type:
- bool 
 
 - Getter of property - zoomAtTargetEnabledᅟ.- isZoomEnabled()¶
- Return type:
- bool 
 
 - Getter of property - zoomEnabledᅟ.- labelMargin()¶
- Return type:
- float 
 - See also 
 - Getter of property - labelMarginᅟ.- labelMarginChanged(margin)¶
- Parameters:
- margin – float 
 
 - Notification signal of property - labelMarginᅟ.- lightColor()¶
- Return type:
 - See also 
 - Getter of property - lightColorᅟ.- lightColorChanged()¶
 - Notification signal of property - lightColorᅟ.- lightStrength()¶
- Return type:
- float 
 - See also 
 - Getter of property - lightStrengthᅟ.- lightStrengthChanged()¶
 - Notification signal of property - lightStrengthᅟ.- locale()¶
- Return type:
 - See also 
 - Getter of property - localeᅟ.- Notification signal of property - localeᅟ.- longPressed()¶
 - margin()¶
- Return type:
- float 
 - See also 
 - Getter of property - marginᅟ.- marginChanged(margin)¶
- Parameters:
- margin – float 
 
 - Notification signal of property - marginᅟ.- maxCameraXRotation()¶
- Return type:
- float 
 - See also 
 - Getter of property - maxCameraXRotationᅟ.- maxCameraXRotationChanged(rotation)¶
- Parameters:
- rotation – float 
 
 - Notification signal of property - maxCameraXRotationᅟ.- maxCameraYRotation()¶
- Return type:
- float 
 - See also 
 - Getter of property - maxCameraYRotationᅟ.- maxCameraYRotationChanged(rotation)¶
- Parameters:
- rotation – float 
 
 - Notification signal of property - maxCameraYRotationᅟ.- maxCameraZoomLevel()¶
- Return type:
- float 
 - See also 
 - Getter of property - maxCameraZoomLevelᅟ.- maxCameraZoomLevelChanged(zoomLevel)¶
- Parameters:
- zoomLevel – float 
 
 - Notification signal of property - maxCameraZoomLevelᅟ.- measureFps()¶
- Return type:
- bool 
 - See also 
 - Getter of property - measureFpsᅟ.- measureFpsChanged(enabled)¶
- Parameters:
- enabled – bool 
 
 - Notification signal of property - measureFpsᅟ.- minCameraXRotation()¶
- Return type:
- float 
 - See also 
 - Getter of property - minCameraXRotationᅟ.- minCameraXRotationChanged(rotation)¶
- Parameters:
- rotation – float 
 
 - Notification signal of property - minCameraXRotationᅟ.- minCameraYRotation()¶
- Return type:
- float 
 - See also 
 - Getter of property - minCameraYRotationᅟ.- minCameraYRotationChanged(rotation)¶
- Parameters:
- rotation – float 
 
 - Notification signal of property - minCameraYRotationᅟ.- minCameraZoomLevel()¶
- Return type:
- float 
 - See also 
 - Getter of property - minCameraZoomLevelᅟ.- minCameraZoomLevelChanged(zoomLevel)¶
- Parameters:
- zoomLevel – float 
 
 - Notification signal of property - minCameraZoomLevelᅟ.- msaaSamples()¶
- Return type:
- int 
 - See also 
 - Getter of property - msaaSamplesᅟ.- msaaSamplesChanged(samples)¶
- Parameters:
- samples – int 
 
 - Notification signal of property - msaaSamplesᅟ.- optimizationHint()¶
- Return type:
 - See also 
 - Getter of property - optimizationHintᅟ.- optimizationHintChanged(hint)¶
- Parameters:
- hint – - OptimizationHint
 
 - Notification signal of property - optimizationHintᅟ.- orthoProjectionChanged(enabled)¶
- Parameters:
- enabled – bool 
 
 - Notification signal of property - orthoProjectionᅟ.- pinch(delta)¶
- Parameters:
- delta – float 
 
 - polarChanged(enabled)¶
- Parameters:
- enabled – bool 
 
 - Notification signal of property - polarᅟ.- Getter of property - queriedGraphPositionᅟ.- Notification signal of property - queriedGraphPositionᅟ.- radialLabelOffset()¶
- Return type:
- float 
 - See also 
 - Getter of property - radialLabelOffsetᅟ.- radialLabelOffsetChanged(offset)¶
- Parameters:
- offset – float 
 
 - Notification signal of property - radialLabelOffsetᅟ.- releaseCustomItem(item)¶
- Parameters:
- item – - QCustom3DItem
 
 - Gets ownership of given - itemback and removes the- itemfrom the graph.- Note - If the same item is added back to the graph, the texture or the texture file needs to be re-set. - See also - releaseTheme(theme)¶
- Parameters:
- theme – - QGraphsTheme
 
 - Releases the ownership of the - themeback to the caller, if it was added to this graph. If the released- themeis in use, a new default theme will be created and set active.- If the default theme is released and added back later, it behaves as any other theme would. - See also - removeCustomItem(item)¶
- Parameters:
- item – - QCustom3DItem
 
 - Removes the custom - item. Deletes the resources allocated to it.- Removes all custom items at - position. Deletes the resources allocated to them.- removeCustomItems()¶
 - Removes all custom items. Deletes the resources allocated to them. - Renders current frame to an image of - imageSize. Returns a shared pointer to grab result which can be used to access the rendered image when it’s ready. Image is rendered with the current antialiasing settings.- See also - rotationEnabledChanged(enable)¶
- Parameters:
- enable – bool 
 
 - Notification signal of property - rotationEnabledᅟ.- Getter of property - sceneᅟ.- selectedAxis()¶
- Return type:
 
 - Can be used to get the selected axis after receiving - selectedElementChangedsignal with any label type. Selection is valid until the next- selectedElementChangedsignal.- Returns the pointer to the selected axis, or null. - See also - selectedCustomItem()¶
- Return type:
 
 - Can be used to get the selected custom item after receiving - selectedElementChangedsignal with Q3DGraphsWidgetItem::ElementType::CustomItem type. Ownership of the item remains with the graph. Selection is valid until the next- selectedElementChangedsignal.- Returns the pointer to the selected custom item, or null. - See also - selectedCustomItemIndex()¶
- Return type:
- int 
 
 - Can be used to query the index of the selected custom item after receiving - selectedElementChangedsignal with Q3DGraphsWidgetItem::ElementType::CustomItem type. Selection is valid until the next- selectedElementChangedsignal.- Returns the index of the selected custom item, or -1. - See also - selectedElement()¶
- Return type:
 
 - Getter of property - selectedElementᅟ.- selectedElementChanged(type)¶
- Parameters:
- type – - ElementType
 
 - Notification signal of property - selectedElementᅟ.- selectedLabelIndex()¶
- Return type:
- int 
 
 - Can be used to query the index of the selected label after receiving - selectedElementChangedsignal with any label type. Selection is valid until the next- selectedElementChangedsignal.- Returns the index of the selected label, or -1. - See also - selectionEnabledChanged(enable)¶
- Parameters:
- enable – bool 
 
 - Notification signal of property - selectionEnabledᅟ.- selectionMode()¶
- Return type:
- Combination of - SelectionFlag
 - See also 
 - Getter of property - selectionModeᅟ.- selectionModeChanged(selectionMode)¶
- Parameters:
- selectionMode – Combination of - SelectionFlag
 
 - Notification signal of property - selectionModeᅟ.- setActiveTheme(activeTheme)¶
- Parameters:
- activeTheme – - QGraphsTheme
 - See also 
 - Setter of property - activeThemeᅟ.- setAmbientLightStrength(newAmbientLightStrength)¶
- Parameters:
- newAmbientLightStrength – float 
 - See also 
 - Setter of property - ambientLightStrengthᅟ.- setAspectRatio(ratio)¶
- Parameters:
- ratio – float 
 - See also 
 - Setter of property - aspectRatioᅟ.- setCameraPosition(horizontal, vertical[, zoom=100.0f])¶
- Parameters:
- horizontal – float 
- vertical – float 
- zoom – float 
 
 
 - Utility function that sets the camera rotations and distance.``horizontal`` and - verticaldefine the camera rotations to be used. Optional- zoomparameter can be given to set the zoom percentage of the camera within the bounds defined by- minCameraZoomLeveland- maxCameraZoomLevelproperties.- setCameraPreset(preset)¶
- Parameters:
- preset – - CameraPreset
 - See also 
 - Setter of property - cameraPresetᅟ.- Setter of property - cameraTargetPositionᅟ.- setCameraXRotation(rotation)¶
- Parameters:
- rotation – float 
 - See also 
 - Setter of property - cameraXRotationᅟ.- setCameraYRotation(rotation)¶
- Parameters:
- rotation – float 
 - See also 
 - Setter of property - cameraYRotationᅟ.- setCameraZoomLevel(level)¶
- Parameters:
- level – float 
 - See also 
 - Setter of property - cameraZoomLevelᅟ.- setDefaultInputHandler()¶
 - setDragButton(button)¶
- Parameters:
- button – Combination of - MouseButton
 
 - setGridLineType(gridLineType)¶
- Parameters:
- gridLineType – - GridLineType
 - See also 
 - Setter of property - gridLineTypeᅟ.- setHorizontalAspectRatio(ratio)¶
- Parameters:
- ratio – float 
 - See also 
 - Setter of property - horizontalAspectRatioᅟ.- setLabelMargin(margin)¶
- Parameters:
- margin – float 
 - See also 
 - Setter of property - labelMarginᅟ.- Setter of property - lightColorᅟ.- setLightStrength(newLightStrength)¶
- Parameters:
- newLightStrength – float 
 - See also 
 - Setter of property - lightStrengthᅟ.- Setter of property - localeᅟ.- Setter of property - marginᅟ.- setMaxCameraXRotation(rotation)¶
- Parameters:
- rotation – float 
 - See also 
 - Setter of property - maxCameraXRotationᅟ.- setMaxCameraYRotation(rotation)¶
- Parameters:
- rotation – float 
 - See also 
 - Setter of property - maxCameraYRotationᅟ.- setMaxCameraZoomLevel(level)¶
- Parameters:
- level – float 
 - See also 
 - Setter of property - maxCameraZoomLevelᅟ.- setMeasureFps(enable)¶
- Parameters:
- enable – bool 
 - See also 
 - Setter of property - measureFpsᅟ.- setMinCameraXRotation(rotation)¶
- Parameters:
- rotation – float 
 - See also 
 - Setter of property - minCameraXRotationᅟ.- setMinCameraYRotation(rotation)¶
- Parameters:
- rotation – float 
 - See also 
 - Setter of property - minCameraYRotationᅟ.- setMinCameraZoomLevel(level)¶
- Parameters:
- level – float 
 - See also 
 - Setter of property - minCameraZoomLevelᅟ.- setMsaaSamples(samples)¶
- Parameters:
- samples – int 
 - See also 
 - Setter of property - msaaSamplesᅟ.- setOptimizationHint(hint)¶
- Parameters:
- hint – - OptimizationHint
 - See also 
 - Setter of property - optimizationHintᅟ.- setOrthoProjection(enable)¶
- Parameters:
- enable – bool 
 - See also 
 - Setter of property - orthoProjectionᅟ.- Setter of property - polarᅟ.- setRadialLabelOffset(offset)¶
- Parameters:
- offset – float 
 - See also 
 - Setter of property - radialLabelOffsetᅟ.- setRotationEnabled(enable)¶
- Parameters:
- enable – bool 
 - See also 
 - Setter of property - rotationEnabledᅟ.- setSelectionEnabled(enable)¶
- Parameters:
- enable – bool 
 - See also 
 - Setter of property - selectionEnabledᅟ.- setSelectionMode(selectionMode)¶
- Parameters:
- selectionMode – Combination of - SelectionFlag
 - See also 
 - Setter of property - selectionModeᅟ.- setShadowQuality(shadowQuality)¶
- Parameters:
- shadowQuality – - ShadowQuality
 - See also 
 - Setter of property - shadowQualityᅟ.- setShadowStrength(newShadowStrength)¶
- Parameters:
- newShadowStrength – float 
 - See also 
 - Setter of property - shadowStrengthᅟ.- setTransparencyTechnique(technique)¶
- Parameters:
- technique – - TransparencyTechnique
 - See also 
 - Setter of property - transparencyTechniqueᅟ.- setWidget(widget)¶
- Parameters:
- widget – - QQuickWidget
 
 - Sets the given - widgetinstance to be used as the QQuickWidget for the widget item. The graph is set as the content of the QQuickWidget.- Graphs can only be rendered in widget applications using QQuickWidgets. - Usage example: - QQuickWidget quickwidget; Q3DBarsWidgetItem graph; graph.setWidget(&quickwidget); - See also - setWrapCameraXRotation(wrap)¶
- Parameters:
- wrap – bool 
 - See also 
 - Setter of property - wrapCameraXRotationᅟ.- setWrapCameraYRotation(wrap)¶
- Parameters:
- wrap – bool 
 - See also 
 - Setter of property - wrapCameraYRotationᅟ.- setZoomAtTargetEnabled(enable)¶
- Parameters:
- enable – bool 
 - See also 
 - Setter of property - zoomAtTargetEnabledᅟ.- setZoomEnabled(enable)¶
- Parameters:
- enable – bool 
 - See also 
 - Setter of property - zoomEnabledᅟ.- shadowQuality()¶
- Return type:
 - See also 
 - Getter of property - shadowQualityᅟ.- shadowQualityChanged(quality)¶
- Parameters:
- quality – - ShadowQuality
 
 - Notification signal of property - shadowQualityᅟ.- shadowStrength()¶
- Return type:
- float 
 - See also 
 - Getter of property - shadowStrengthᅟ.- shadowStrengthChanged()¶
 - Notification signal of property - shadowStrengthᅟ.- tapped(eventPoint, button)¶
- Parameters:
- eventPoint – - QEventPoint
- button – - MouseButton
 
 
 - themes()¶
- Return type:
- .list of QGraphsTheme 
 
 - Returns the list of all added themes. - See also - transparencyTechnique()¶
- Return type:
 - See also 
 - Getter of property - transparencyTechniqueᅟ.- transparencyTechniqueChanged(technique)¶
- Parameters:
- technique – - TransparencyTechnique
 
 - Notification signal of property - transparencyTechniqueᅟ.- unsetDefaultDragHandler()¶
 - unsetDefaultInputHandler()¶
 - unsetDefaultPinchHandler()¶
 - unsetDefaultTapHandler()¶
 - unsetDefaultWheelHandler()¶
 - wheel(event)¶
- Parameters:
- event – - QWheelEvent
 
 - widget()¶
- Return type:
 
 - Returns a pointer to the QQuickWidget instance that has been set for the widget item. - See also - wrapCameraXRotation()¶
- Return type:
- bool 
 - See also 
 - Getter of property - wrapCameraXRotationᅟ.- wrapCameraXRotationChanged(wrap)¶
- Parameters:
- wrap – bool 
 
 - Notification signal of property - wrapCameraXRotationᅟ.- wrapCameraYRotation()¶
- Return type:
- bool 
 - See also 
 - Getter of property - wrapCameraYRotationᅟ.- wrapCameraYRotationChanged(wrap)¶
- Parameters:
- wrap – bool 
 
 - Notification signal of property - wrapCameraYRotationᅟ.- zoomAtTargetEnabledChanged(enable)¶
- Parameters:
- enable – bool 
 
 - Notification signal of property - zoomAtTargetEnabledᅟ.- zoomEnabledChanged(enable)¶
- Parameters:
- enable – bool 
 
 - Notification signal of property - zoomEnabledᅟ.