- Qt 6.7
- Qt Graphs
- QML Types
- QtGraphs (Technical Preview)
- GraphTheme
- Qt Graphs | Commercial or GPLv3

# GraphTheme QML Type

Handles theming of the graph. More...

Import Statement: | import QtGraphs
Status: | Technical Preview

- List of all members, including inherited members
- GraphTheme is part of Qt Graphs QML Types for 2D.

## Properties

- axisXLabelsColor : color
- axisXLabelsFont : font
- axisXMajorBarWidth : real
- axisXMajorColor : color
- axisXMinorBarWidth : real
- axisXMinorColor : color
- axisXSmoothing : real
- axisYLabelsColor : color
- axisYLabelsFont : font
- axisYMajorBarWidth : real
- axisYMajorColor : color
- axisYMinorBarWidth : real
- axisYMinorColor : color
- axisYSmoothing : real
- colorTheme : ColorTheme
- gridMajorBarsColor : color
- gridMajorBarsWidth : real
- gridMinorBarsColor : color
- gridMinorBarsWidth : real
- gridSmoothing : real
- shadowBarWidth : real
- shadowColor : color
- shadowEnable : bool
- shadowSmoothing : real
- shadowXOffset : real
- shadowYOffset : real

## Detailed Description

Graph theme handles grid, axis and shadow properties.

See also SeriesTheme.

## Property Documentation

axisXLabelsColor : color

Sets the color of the label for the x axis.

axisXLabelsFont : font

Sets the font of the label for the x axis.

axisXMajorBarWidth : real

Sets the width of major ticks of the x axis.

axisXMajorColor : color

Sets the color of major ticks of the x axis.

axisXMinorBarWidth : real

Sets the width of minor ticks of the x axis.

axisXMinorColor : color

Sets the color of minor ticks of the x axis.

axisXSmoothing : real

Sets the amount of smoothing for the ticks of the x axis. Use this to antialias thin lines.

axisYLabelsColor : color

Sets the color of the label for the y axis.

axisYLabelsFont : font

Sets the font of the label for the y axis.

axisYMajorBarWidth : real

Sets the width of major ticks of the y axis.

axisYMajorColor : color

Sets the color of major ticks of the y axis.

axisYMinorBarWidth : real

Sets the width of minor ticks of the y axis.

axisYMinorColor : color

Sets the color of minor ticks of the y axis.

axisYSmoothing : real

Sets the amount of smoothing for the ticks of the y axis. Use this to antialias thin lines.

colorTheme : ColorTheme

List of premade themes that determine values for properties of this class.

gridMajorBarsColor : color

Sets the color of major bars of the grid.

gridMajorBarsWidth : real

Sets the width of major bars of the grid.

gridMinorBarsColor : color

Sets the color of minor bars of the grid.

gridMinorBarsWidth : real

Sets the width of minor bars of the grid.

gridSmoothing : real

Sets the amount of smoothing for the bars of the grid. Use this to antialias thin lines.

shadowBarWidth : real

Sets the width of shadow bars.

shadowColor : color

Sets the color of shadows.

shadowEnable : bool

Sets shadows on and off for axex and grid.

shadowSmoothing : real

Sets the amount of smoothing for the shadows. Use this to antialias thin lines.

shadowXOffset : real

Sets the offset of shadows in x axis.

shadowYOffset : real

Sets the offset of shadows in y axis.