class QtGraphs3D

The QtGraphs3D module provides enums used by QtGraphs ‘ 3D API. More

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 SelectionFlag

(inherits enum.Flag) Item selection modes. Values of this enumeration can be combined with OR operator.

  • Constant

  • Description

class ShadowQuality

Quality of shadows.

Constant

Description

QtGraphs3D.ShadowQuality.None

Shadows are disabled.

QtGraphs3D.ShadowQuality.Low

Shadows are rendered in low quality.

QtGraphs3D.ShadowQuality.Medium

Shadows are rendered in medium quality.

QtGraphs3D.ShadowQuality.High

Shadows are rendered in high quality.

QtGraphs3D.ShadowQuality.SoftLow

Shadows are rendered in low quality with softened edges.

QtGraphs3D.ShadowQuality.SoftMedium

Shadows are rendered in medium quality with softened edges.

QtGraphs3D.ShadowQuality.SoftHigh

Shadows are rendered in high quality with softened edges.

class ElementType

Type of an element in the graph.

Constant

Description

QtGraphs3D.ElementType.None

No defined element.

QtGraphs3D.ElementType.Series

An item in a series.

QtGraphs3D.ElementType.AxisXLabel

The x-axis label.

QtGraphs3D.ElementType.AxisYLabel

The y-axis label.

QtGraphs3D.ElementType.AxisZLabel

The z-axis label.

QtGraphs3D.ElementType.CustomItem

A custom item.

class OptimizationHint

(inherits enum.Flag) The optimization hint for rendering.

Constant

Description

QtGraphs3D.OptimizationHint.Default

Provides the full feature set with instancing at a good performance.

QtGraphs3D.OptimizationHint.Legacy

Provides the full feature set at a reasonable performance. To be used if OptimizationHint.Default performs poorly or does not work.

class RenderingMode
class CameraPreset

Predefined positions for camera.

Constant

Description

QtGraphs3D.CameraPreset.NoPreset

Used to indicate a preset has not been set, or the scene has been rotated freely.

QtGraphs3D.CameraPreset.FrontLow

QtGraphs3D.CameraPreset.Front

QtGraphs3D.CameraPreset.FrontHigh

QtGraphs3D.CameraPreset.LeftLow

QtGraphs3D.CameraPreset.Left

QtGraphs3D.CameraPreset.LeftHigh

QtGraphs3D.CameraPreset.RightLow

QtGraphs3D.CameraPreset.Right

QtGraphs3D.CameraPreset.RightHigh

QtGraphs3D.CameraPreset.BehindLow

QtGraphs3D.CameraPreset.Behind

QtGraphs3D.CameraPreset.BehindHigh

QtGraphs3D.CameraPreset.IsometricLeft

QtGraphs3D.CameraPreset.IsometricLeftHigh

QtGraphs3D.CameraPreset.IsometricRight

QtGraphs3D.CameraPreset.IsometricRightHigh

QtGraphs3D.CameraPreset.DirectlyAbove

QtGraphs3D.CameraPreset.DirectlyAboveCW45

QtGraphs3D.CameraPreset.DirectlyAboveCCW45

QtGraphs3D.CameraPreset.FrontBelow

In Q3DBarsWidgetItem from FrontBelow onward these only work for graphs including negative values. They act as Preset…Low for positive-only values.

QtGraphs3D.CameraPreset.LeftBelow

QtGraphs3D.CameraPreset.RightBelow

QtGraphs3D.CameraPreset.BehindBelow

QtGraphs3D.CameraPreset.DirectlyBelow

Acts as FrontLow for positive-only bars.

Added in version 6.7.

class GridLineType