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 [deprecated]

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

How the graph will be rendered. Defaults to RenderIndirect.

RenderDirectToBackgroundIndicates 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.

RenderIndirectIndicates 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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.