Qt Graphs Theme Overview

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

Qt Graphs comes with the following predefined themes that can be used as basis for custom themes:

  • QtGreen is a theme with green as the base color.
  • QtGreenNeon is a theme with neon green as the base color.
  • MixSeries is a theme with mixture of several color series as the base color.
  • OrangeSeries is a theme with orange as the base color.
  • YellowSeries is a theme with yellow as the base color.
  • BlueSeries is a theme with blue as the base color.
  • PurpleSeries is a theme with purple as the base color.
  • GreySeries is a theme with grey as the base color.
  • User defined is the theme that is meant to be customized.

Custom themes can also be created from scratch.

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

See GraphsTheme for details.