class QGraphsTheme

Inheritance diagram of PySide6.QtGraphs.QGraphsTheme

Added in version 6.8.

Synopsis

Properties

Methods

Slots

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class Theme
class ColorStyle
class ForceTheme
class ColorScheme
class GradientQMLStyle

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property axisXᅟ: QGraphsLine
Access functions:
property axisXLabelFontᅟ: QFont
Access functions:
property axisYᅟ: QGraphsLine
Access functions:
property axisYLabelFontᅟ: QFont
Access functions:
property axisZᅟ: QGraphsLine
Access functions:
property axisZLabelFontᅟ: QFont
Access functions:
property backgroundColorᅟ: QColor
Access functions:
property backgroundVisibleᅟ: bool
Access functions:
property borderColorsᅟ: list of QColor
Access functions:
property borderWidthᅟ: float
Access functions:
property colorSchemeᅟ: QGraphsTheme.ColorScheme
Access functions:
property colorStyleᅟ: QGraphsTheme.ColorStyle
Access functions:
property gridᅟ: QGraphsLine
Access functions:
property gridVisibleᅟ: bool
Access functions:
property labelBackgroundColorᅟ: QColor
Access functions:
property labelBackgroundVisibleᅟ: bool
Access functions:
property labelBorderVisibleᅟ: bool
Access functions:
property labelFontᅟ: QFont
Access functions:
property labelTextColorᅟ: QColor
Access functions:
property labelsVisibleᅟ: bool
Access functions:
property multiHighlightColorᅟ: QColor
Access functions:
property plotAreaBackgroundColorᅟ: QColor
Access functions:
property plotAreaBackgroundVisibleᅟ: bool
Access functions:
property seriesColorsᅟ: list of QColor
Access functions:
property seriesGradientsᅟ: list of QLinearGradient
Access functions:
property singleHighlightColorᅟ: QColor
Access functions:
property themeᅟ: QGraphsTheme.Theme
Access functions:
__init__([parent=None])
Parameters:

parentQObject

axisX()
Return type:

QGraphsLine

Getter of property axisXᅟ .

axisXChanged()

Notification signal of property axisXᅟ .

axisXLabelFont()
Return type:

QFont

Getter of property axisXLabelFontᅟ .

axisXLabelFontChanged()

Notification signal of property axisXLabelFontᅟ .

axisY()
Return type:

QGraphsLine

Getter of property axisYᅟ .

axisYChanged()

Notification signal of property axisYᅟ .

axisYLabelFont()
Return type:

QFont

Getter of property axisYLabelFontᅟ .

axisYLabelFontChanged()

Notification signal of property axisYLabelFontᅟ .

axisZ()
Return type:

QGraphsLine

Getter of property axisZᅟ .

axisZChanged()

Notification signal of property axisZᅟ .

axisZLabelFont()
Return type:

QFont

Getter of property axisZLabelFontᅟ .

axisZLabelFontChanged()

Notification signal of property axisZLabelFontᅟ .

backgroundColor()
Return type:

QColor

Getter of property backgroundColorᅟ .

backgroundColorChanged()

Notification signal of property backgroundColorᅟ .

backgroundVisibleChanged()

Notification signal of property backgroundVisibleᅟ .

borderColors()
Return type:

.list of QColor

Getter of property borderColorsᅟ .

borderColorsChanged()

Notification signal of property borderColorsᅟ .

borderWidth()
Return type:

float

Getter of property borderWidthᅟ .

borderWidthChanged()

Notification signal of property borderWidthᅟ .

colorScheme()
Return type:

ColorScheme

Getter of property colorSchemeᅟ .

colorSchemeChanged()

Notification signal of property colorSchemeᅟ .

colorStyle()
Return type:

ColorStyle

Getter of property colorStyleᅟ .

colorStyleChanged(type)
Parameters:

typeColorStyle

Notification signal of property colorStyleᅟ .

dirtyBits()
Return type:

QGraphsThemeDirtyBitField

grid()
Return type:

QGraphsLine

Getter of property gridᅟ .

gridChanged()

Notification signal of property gridᅟ .

gridVisibleChanged()

Notification signal of property gridVisibleᅟ .

handleBaseColorUpdate()
handleBaseGradientUpdate()
isBackgroundVisible()
Return type:

bool

Getter of property backgroundVisibleᅟ .

isGridVisible()
Return type:

bool

Getter of property gridVisibleᅟ .

isLabelBackgroundVisible()
Return type:

bool

Getter of property labelBackgroundVisibleᅟ .

isLabelBorderVisible()
Return type:

bool

Getter of property labelBorderVisibleᅟ .

isPlotAreaBackgroundVisible()
Return type:

bool

Getter of property plotAreaBackgroundVisibleᅟ .

labelBackgroundColor()
Return type:

QColor

Getter of property labelBackgroundColorᅟ .

labelBackgroundColorChanged()

Notification signal of property labelBackgroundColorᅟ .

labelBackgroundVisibleChanged()

Notification signal of property labelBackgroundVisibleᅟ .

labelBorderVisibleChanged()

Notification signal of property labelBorderVisibleᅟ .

labelFont()
Return type:

QFont

Getter of property labelFontᅟ .

labelFontChanged()

Notification signal of property labelFontᅟ .

labelTextColor()
Return type:

QColor

Getter of property labelTextColorᅟ .

labelTextColorChanged()

Notification signal of property labelTextColorᅟ .

labelsVisible()
Return type:

bool

Getter of property labelsVisibleᅟ .

labelsVisibleChanged()

Notification signal of property labelsVisibleᅟ .

multiHighlightColor()
Return type:

QColor

Getter of property multiHighlightColorᅟ .

multiHighlightColorChanged(color)
Parameters:

colorQColor

Notification signal of property multiHighlightColorᅟ .

multiHighlightGradient()
Return type:

QLinearGradient

multiHighlightGradientChanged(gradient)
Parameters:

gradientQLinearGradient

multiHighlightGradientQMLChanged()
plotAreaBackgroundColor()
Return type:

QColor

Getter of property plotAreaBackgroundColorᅟ .

plotAreaBackgroundColorChanged()

Notification signal of property plotAreaBackgroundColorᅟ .

plotAreaBackgroundVisibleChanged()

Notification signal of property plotAreaBackgroundVisibleᅟ .

resetColorTheme()
resetDirtyBits()
resetThemeDirty()
seriesColors()
Return type:

.list of QColor

Getter of property seriesColorsᅟ .

seriesColorsChanged(list)
Parameters:

list – .list of QColor

Notification signal of property seriesColorsᅟ .

seriesGradients()
Return type:

.list of QLinearGradient

Getter of property seriesGradientsᅟ .

seriesGradientsChanged(list)
Parameters:

list – .list of QLinearGradient

Notification signal of property seriesGradientsᅟ .

setAxisX(newAxisX)
Parameters:

newAxisXQGraphsLine

Setter of property axisXᅟ .

setAxisXLabelFont(newAxisXLabelFont)
Parameters:

newAxisXLabelFontQFont

Setter of property axisXLabelFontᅟ .

setAxisY(newAxisY)
Parameters:

newAxisYQGraphsLine

Setter of property axisYᅟ .

setAxisYLabelFont(newAxisYLabelFont)
Parameters:

newAxisYLabelFontQFont

Setter of property axisYLabelFontᅟ .

setAxisZ(newAxisZ)
Parameters:

newAxisZQGraphsLine

Setter of property axisZᅟ .

setAxisZLabelFont(newAxisZLabelFont)
Parameters:

newAxisZLabelFontQFont

Setter of property axisZLabelFontᅟ .

setBackgroundColor(newBackgroundColor)
Parameters:

newBackgroundColorQColor

Setter of property backgroundColorᅟ .

setBackgroundVisible(newBackgroundVisible)
Parameters:

newBackgroundVisible – bool

Setter of property backgroundVisibleᅟ .

setBorderColors(newBorderColors)
Parameters:

newBorderColors – .list of QColor

Setter of property borderColorsᅟ .

setBorderWidth(newBorderWidth)
Parameters:

newBorderWidth – float

Setter of property borderWidthᅟ .

setColorScheme(newColorScheme)
Parameters:

newColorSchemeColorScheme

Setter of property colorSchemeᅟ .

setColorStyle(newColorStyle)
Parameters:

newColorStyleColorStyle

Setter of property colorStyleᅟ .

setGrid(newGrid)
Parameters:

newGridQGraphsLine

Setter of property gridᅟ .

setGridVisible(newGridVisibility)
Parameters:

newGridVisibility – bool

Setter of property gridVisibleᅟ .

setLabelBackgroundColor(newLabelBackgroundColor)
Parameters:

newLabelBackgroundColorQColor

Setter of property labelBackgroundColorᅟ .

setLabelBackgroundVisible(newLabelBackgroundVisibility)
Parameters:

newLabelBackgroundVisibility – bool

Setter of property labelBackgroundVisibleᅟ .

setLabelBorderVisible(newLabelBorderVisibility)
Parameters:

newLabelBorderVisibility – bool

Setter of property labelBorderVisibleᅟ .

setLabelFont(newFont)
Parameters:

newFontQFont

Setter of property labelFontᅟ .

setLabelTextColor(newLabelTextColor)
Parameters:

newLabelTextColorQColor

Setter of property labelTextColorᅟ .

setLabelsVisible(newLabelsVisibility)
Parameters:

newLabelsVisibility – bool

Setter of property labelsVisibleᅟ .

setMultiHighlightColor(newMultiHighlightColor)
Parameters:

newMultiHighlightColorQColor

Setter of property multiHighlightColorᅟ .

setMultiHighlightGradient(gradient)
Parameters:

gradientQLinearGradient

setPlotAreaBackgroundColor(newBackgroundColor)
Parameters:

newBackgroundColorQColor

Setter of property plotAreaBackgroundColorᅟ .

setPlotAreaBackgroundVisible(newBackgroundVisibility)
Parameters:

newBackgroundVisibility – bool

Setter of property plotAreaBackgroundVisibleᅟ .

setSeriesColors(newSeriesColors)
Parameters:

newSeriesColors – .list of QColor

Setter of property seriesColorsᅟ .

setSeriesGradients(newSeriesGradients)
Parameters:

newSeriesGradients – .list of QLinearGradient

Setter of property seriesGradientsᅟ .

setSingleHighlightColor(newSingleHighlightColor)
Parameters:

newSingleHighlightColorQColor

Setter of property singleHighlightColorᅟ .

setSingleHighlightGradient(gradient)
Parameters:

gradientQLinearGradient

setTheme(newTheme[, force=QGraphsTheme.ForceTheme.No])
Parameters:
singleHighlightColor()
Return type:

QColor

Getter of property singleHighlightColorᅟ .

singleHighlightColorChanged(color)
Parameters:

colorQColor

Notification signal of property singleHighlightColorᅟ .

singleHighlightGradient()
Return type:

QLinearGradient

singleHighlightGradientChanged(gradient)
Parameters:

gradientQLinearGradient

singleHighlightGradientQMLChanged()
theme()
Return type:

Theme

Getter of property themeᅟ .

themeChanged(theme)
Parameters:

themeTheme

Notification signal of property themeᅟ .

themeDirty()
Return type:

bool

update()