GraphTheme QML Type

Handles theming of the graph. More...

Import Statement: import QtGraphs
Instantiates: QGraphTheme
Status: Technical Preview

Properties

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.


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