Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Obsolete Members for AbstractGraph3D

The following members of QML type AbstractGraph3D are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.


Property Documentation

renderingMode : AbstractGraph3D.RenderingMode

This property is deprecated. We strongly advise against using it in new code.

How the graph will be rendered. Defaults to RenderIndirect.

Constant Description
RenderDirectToBackground Indicates that the graph will be rendered directly on the window background and QML items are rendered on top of it. Using non-transparent QML item as a background will hide the graph. Clears the whole window before rendering the graph, including the areas outside the graph. If the surface format of the window supports antialiasing, it will be used (see QtDataVisualization::qDefaultSurfaceFormat()). This rendering mode offers the best performance at the expense of non-standard QML behavior. For example, the graphs do not obey the z ordering of QML items and the opacity value has no effect on them.

Note: This will work exactly the same way as RenderDirectToBackground does in Qt 6 as not clearing the window is not supported anymore.

RenderIndirect Indicates the graph will be first rendered to an offscreen surface that is then drawn during normal QML item rendering. The rendered image is antialiased using the multisampling method if it is supported in the current environment and the msaaSamples property value is greater than zero. This rendering mode offers good quality and normal QML item behavior at the expense of performance.

Note: Antialiasing is not supported in OpenGL ES2 environments in any rendering mode.

Note: Setting the antialiasing property of the graph does not do anything. However, it is set by the graph itself if the current rendering mode uses antialiasing.

See also msaaSamples.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded