Qt Graphs Theme Overview

A theme is a built-in collection of style settings for all visual elements of a graph, such as colors, fonts, and visibility, and the strength of the light and ambient light.

Qt Graphs provides these predefined themes, which you can use as a basis for custom themes:

ThemeBase color
QtGreenGreen
QtGreenNeonNeon green
MixSeriesA mixture of several color series
OrangeSeriesOrange
YellowSeriesYellow
BlueSeriesBlue
PurpleSeriesPurple
GreySeriesGrey

Use UserDefined to create a custom theme.

You can also define a custom theme.

If a graph displays data from several series, you can specify some settings for each series. For example, specify different gradients for different layers of a 3D graph to make it look more realistic. For an example, see Surface Graph Gallery.

See GraphsTheme and QGraphsTheme for details.

© 2026 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.