QAbstractAxis#
The QAbstractAxis
class is a base class used for specialized axis classes. More…
Inherited by: QValueAxis, QCategoryAxis, QLogValueAxis, QDateTimeAxis, QColorAxis, QBarCategoryAxis
Synopsis#
Properties#
alignment
- Of the axiscolor
- Of the axis and tick marksgridLineColor
- Color of the grid linegridLinePen
- Pen used to draw the grid linegridVisible
- Visibility of the grid lineslabelsAngle
- Angle of the axis labels in degreeslabelsBrush
- Brush used to draw the labelslabelsColor
- Color of the axis labelslabelsFont
- Font of the axis labelslabelsTruncated
- Returns true if at least one label on the axis is truncatedlabelsVisible
- Whether axis labels are visiblelinePen
- Pen used to draw the linelineVisible
- Visibility of the axis lineminorGridLineColor
- Color of the minor grid lineminorGridLinePen
- Pen used to draw the minor grid lineminorGridVisible
- Visibility of the minor grid linesorientation
- Of the axisreverse
- Whether a reverse axis is usedshadesBorderColor
- Border (pen) color of the axis shadesshadesBrush
- Brush used to draw the axis shades (the area between the grid lines)shadesColor
- Fill (brush) color of the axis shadesshadesPen
- Pen used to draw the axis shades (the area between the grid lines)shadesVisible
- Visibility of the axis shadestitleBrush
- Brush used to draw the title texttitleFont
- Font of the title of the axistitleText
- Title of the axistitleVisible
- Visibility of the axis titletruncateLabels
- Truncation state of labelsvisible
- Visibility of the axis
Functions#
def
alignment
()def
gridLineColor
()def
gridLinePen
()def
hide
()def
isGridLineVisible
()def
isLineVisible
()def
isMinorGridLineVisible
()def
isReverse
()def
isTitleVisible
()def
isVisible
()def
labelsAngle
()def
labelsBrush
()def
labelsColor
()def
labelsEditable
()def
labelsFont
()def
labelsTruncated
()def
labelsVisible
()def
linePen
()def
linePenColor
()def
minorGridLineColor
()def
minorGridLinePen
()def
orientation
()def
setGridLineColor
(color)def
setGridLinePen
(pen)def
setGridLineVisible
([visible=true])def
setLabelsAngle
(angle)def
setLabelsBrush
(brush)def
setLabelsColor
(color)def
setLabelsEditable
([editable=true])def
setLabelsFont
(font)def
setLabelsVisible
([visible=true])def
setLinePen
(pen)def
setLinePenColor
(color)def
setLineVisible
([visible=true])def
setMax
(max)def
setMin
(min)def
setMinorGridLineColor
(color)def
setMinorGridLinePen
(pen)def
setMinorGridLineVisible
([visible=true])def
setRange
(min, max)def
setReverse
([reverse=true])def
setShadesBorderColor
(color)def
setShadesBrush
(brush)def
setShadesColor
(color)def
setShadesPen
(pen)def
setShadesVisible
([visible=true])def
setTitleBrush
(brush)def
setTitleFont
(font)def
setTitleText
(title)def
setTitleVisible
([visible=true])def
setTruncateLabels
([truncateLabels=true])def
setVisible
([visible=true])def
shadesBorderColor
()def
shadesBrush
()def
shadesColor
()def
shadesPen
()def
shadesVisible
()def
show
()def
titleBrush
()def
titleFont
()def
titleText
()def
truncateLabels
()
Virtual functions#
def
type
()
Signals#
def
colorChanged
(color)def
gridLineColorChanged
(color)def
gridLinePenChanged
(pen)def
gridVisibleChanged
(visible)def
labelsAngleChanged
(angle)def
labelsBrushChanged
(brush)def
labelsColorChanged
(color)def
labelsEditableChanged
(editable)def
labelsFontChanged
(pen)def
labelsTruncatedChanged
(labelsTruncated)def
labelsVisibleChanged
(visible)def
linePenChanged
(pen)def
lineVisibleChanged
(visible)def
minorGridLineColorChanged
(color)def
minorGridLinePenChanged
(pen)def
minorGridVisibleChanged
(visible)def
reverseChanged
(reverse)def
shadesBorderColorChanged
(color)def
shadesBrushChanged
(brush)def
shadesColorChanged
(color)def
shadesPenChanged
(pen)def
shadesVisibleChanged
(visible)def
titleBrushChanged
(brush)def
titleFontChanged
(font)def
titleTextChanged
(title)def
titleVisibleChanged
(visible)def
truncateLabelsChanged
(truncateLabels)def
visibleChanged
(visible)
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#
Each series can be bound to one or more horizontal and vertical axes, but mixing axis types that would result in different domains is not supported, such as specifying QValueAxis
and QLogValueAxis
on the same orientation.
The properties and visibility of various axis elements, such as axis line, title, labels, grid lines, and shades, can be individually controlled.
- class PySide6.QtCharts.QAbstractAxis#
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtCharts.QAbstractAxis.alignment: Combination of Qt.AlignmentFlag#
This property holds The alignment of the axis..
Can be Qt::AlignLeft, Qt::AlignRight, Qt::AlignBottom, or Qt::AlignTop.
- Access functions:
alignment
()
- property PᅟySide6.QtCharts.QAbstractAxis.color: PySide6.QtGui.QColor#
This property holds The color of the axis and tick marks..
- Access functions:
linePenColor
()setLinePenColor
(color)Signal
colorChanged
(color)
- property PᅟySide6.QtCharts.QAbstractAxis.gridLineColor: PySide6.QtGui.QColor#
This property holds The color of the grid line..
- Access functions:
setGridLineColor
(color)Signal
gridLineColorChanged
(color)
- property PᅟySide6.QtCharts.QAbstractAxis.gridLinePen: PySide6.QtGui.QPen#
This property holds The pen used to draw the grid line..
- Access functions:
gridLinePen
()setGridLinePen
(pen)Signal
gridLinePenChanged
(pen)
- property PᅟySide6.QtCharts.QAbstractAxis.gridVisible: bool#
This property holds The visibility of the grid lines..
- Access functions:
setGridLineVisible
([visible=true])Signal
gridVisibleChanged
(visible)
- property PᅟySide6.QtCharts.QAbstractAxis.labelsAngle: int#
This property holds The angle of the axis labels in degrees..
- Access functions:
labelsAngle
()setLabelsAngle
(angle)Signal
labelsAngleChanged
(angle)
- property PᅟySide6.QtCharts.QAbstractAxis.labelsBrush: PySide6.QtGui.QBrush#
This property holds The brush used to draw the labels..
Only the color of the brush is relevant.
- Access functions:
labelsBrush
()setLabelsBrush
(brush)Signal
labelsBrushChanged
(brush)
- property PᅟySide6.QtCharts.QAbstractAxis.labelsColor: PySide6.QtGui.QColor#
This property holds The color of the axis labels..
- Access functions:
labelsColor
()setLabelsColor
(color)Signal
labelsColorChanged
(color)
- property PᅟySide6.QtCharts.QAbstractAxis.labelsFont: PySide6.QtGui.QFont#
This property holds The font of the axis labels..
- Access functions:
labelsFont
()setLabelsFont
(font)Signal
labelsFontChanged
(pen)
- property PᅟySide6.QtCharts.QAbstractAxis.labelsTruncated: bool#
This property holds Returns true
if at least one label on the axis is truncated..
Returned value will not be accurate before the axis is shown.
- Access functions:
Signal
labelsTruncatedChanged
(labelsTruncated)
- property PᅟySide6.QtCharts.QAbstractAxis.labelsVisible: bool#
This property holds Whether axis labels are visible..
- Access functions:
setLabelsVisible
([visible=true])Signal
labelsVisibleChanged
(visible)
- property PᅟySide6.QtCharts.QAbstractAxis.linePen: PySide6.QtGui.QPen#
This property holds The pen used to draw the line..
- Access functions:
linePen
()setLinePen
(pen)Signal
linePenChanged
(pen)
- property PᅟySide6.QtCharts.QAbstractAxis.lineVisible: bool#
This property holds The visibility of the axis line..
- Access functions:
setLineVisible
([visible=true])Signal
lineVisibleChanged
(visible)
- property PᅟySide6.QtCharts.QAbstractAxis.minorGridLineColor: PySide6.QtGui.QColor#
This property holds The color of the minor grid line..
Applies only to axes that support minor grid lines.
- Access functions:
setMinorGridLineColor
(color)Signal
minorGridLineColorChanged
(color)
- property PᅟySide6.QtCharts.QAbstractAxis.minorGridLinePen: PySide6.QtGui.QPen#
This property holds The pen used to draw the minor grid line..
Applies only to axes that support minor grid lines.
- Access functions:
setMinorGridLinePen
(pen)Signal
minorGridLinePenChanged
(pen)
- property PᅟySide6.QtCharts.QAbstractAxis.minorGridVisible: bool#
This property holds The visibility of the minor grid lines..
Applies only to axes that support minor grid lines.
- Access functions:
setMinorGridLineVisible
([visible=true])Signal
minorGridVisibleChanged
(visible)
- property PᅟySide6.QtCharts.QAbstractAxis.orientation: Orientation#
This property holds The orientation of the axis..
Fixed to either Qt::Horizontal or Qt::Vertical when the axis is added to a chart.
- Access functions:
orientation
()
- property PᅟySide6.QtCharts.QAbstractAxis.reverse: bool#
This property holds Whether a reverse axis is used..
By default, the value is false
.
The reverse axis is supported with a line, spline, and scatter series, as well as an area series with a cartesian chart. All axes of the same orientation attached to the same series must be reversed if one is reversed or the behavior is undefined.
- Access functions:
isReverse
()setReverse
([reverse=true])Signal
reverseChanged
(reverse)
- property PᅟySide6.QtCharts.QAbstractAxis.shadesBorderColor: PySide6.QtGui.QColor#
This property holds The border (pen) color of the axis shades..
- Access functions:
setShadesBorderColor
(color)Signal
shadesBorderColorChanged
(color)
- property PᅟySide6.QtCharts.QAbstractAxis.shadesBrush: PySide6.QtGui.QBrush#
This property holds The brush used to draw the axis shades (the area between the grid lines)..
- Access functions:
shadesBrush
()setShadesBrush
(brush)Signal
shadesBrushChanged
(brush)
- property PᅟySide6.QtCharts.QAbstractAxis.shadesColor: PySide6.QtGui.QColor#
This property holds The fill (brush) color of the axis shades..
- Access functions:
shadesColor
()setShadesColor
(color)Signal
shadesColorChanged
(color)
- property PᅟySide6.QtCharts.QAbstractAxis.shadesPen: PySide6.QtGui.QPen#
This property holds The pen used to draw the axis shades (the area between the grid lines)..
- Access functions:
shadesPen
()setShadesPen
(pen)Signal
shadesPenChanged
(pen)
- property PᅟySide6.QtCharts.QAbstractAxis.shadesVisible: bool#
This property holds The visibility of the axis shades..
- Access functions:
setShadesVisible
([visible=true])Signal
shadesVisibleChanged
(visible)
- property PᅟySide6.QtCharts.QAbstractAxis.titleBrush: PySide6.QtGui.QBrush#
This property holds The brush used to draw the title text..
Only the color of the brush is relevant.
- Access functions:
titleBrush
()setTitleBrush
(brush)Signal
titleBrushChanged
(brush)
- property PᅟySide6.QtCharts.QAbstractAxis.titleFont: PySide6.QtGui.QFont#
This property holds The font of the title of the axis..
- Access functions:
titleFont
()setTitleFont
(font)Signal
titleFontChanged
(font)
- property PᅟySide6.QtCharts.QAbstractAxis.titleText: str#
This property holds The title of the axis..
Empty by default. Axis titles support HTML formatting.
- Access functions:
titleText
()setTitleText
(title)Signal
titleTextChanged
(title)
- property PᅟySide6.QtCharts.QAbstractAxis.titleVisible: bool#
This property holds The visibility of the axis title..
By default, the value is true
.
- Access functions:
setTitleVisible
([visible=true])Signal
titleVisibleChanged
(visible)
- property PᅟySide6.QtCharts.QAbstractAxis.truncateLabels: bool#
This property holds The truncation state of labels..
Indicates whether labels should be truncated if there is no enough space for full text. It is equal to true
by default.
- Access functions:
setTruncateLabels
([truncateLabels=true])Signal
truncateLabelsChanged
(truncateLabels)
- property PᅟySide6.QtCharts.QAbstractAxis.visible: bool#
This property holds The visibility of the axis..
- Access functions:
isVisible
()setVisible
([visible=true])Signal
visibleChanged
(visible)
- PySide6.QtCharts.QAbstractAxis.AxisType#
This enum type specifies the type of the axis object.
Constant
Description
QAbstractAxis.AxisTypeNoAxis
QAbstractAxis.AxisTypeValue
QAbstractAxis.AxisTypeBarCategory
QAbstractAxis.AxisTypeCategory
QAbstractAxis.AxisTypeDateTime
QAbstractAxis.AxisTypeLogValue
QAbstractAxis.AxisTypeColor
- PySide6.QtCharts.QAbstractAxis.alignment()#
- Return type:
Combination of
Qt.AlignmentFlag
Getter of property alignment
.
- PySide6.QtCharts.QAbstractAxis.colorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
This signal is emitted when the color of the axis changes to color
.
Notification signal of property color
.
- PySide6.QtCharts.QAbstractAxis.gridLineColor()#
- Return type:
See also
Getter of property gridLineColor
.
- PySide6.QtCharts.QAbstractAxis.gridLineColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
This signal is emitted when the color of the pen used to draw the grid line changes to color
.
Notification signal of property gridLineColor
.
- PySide6.QtCharts.QAbstractAxis.gridLinePen()#
- Return type:
Returns the pen used to draw the grid.
See also
Getter of property gridLinePen
.
- PySide6.QtCharts.QAbstractAxis.gridLinePenChanged(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
This signal is emitted when the pen used to draw the grid line changes to pen
.
Notification signal of property gridLinePen
.
- PySide6.QtCharts.QAbstractAxis.gridVisibleChanged(visible)#
- Parameters:
visible – bool
This signal is emitted when the visibility of the grid lines of the axis changes to visible
.
Notification signal of property gridVisible
.
- PySide6.QtCharts.QAbstractAxis.hide()#
Makes the axis, shades, labels, and grid lines invisible.
- PySide6.QtCharts.QAbstractAxis.isGridLineVisible()#
- Return type:
bool
Getter of property gridVisible
.
- PySide6.QtCharts.QAbstractAxis.isLineVisible()#
- Return type:
bool
Getter of property lineVisible
.
- PySide6.QtCharts.QAbstractAxis.isMinorGridLineVisible()#
- Return type:
bool
Getter of property minorGridVisible
.
- PySide6.QtCharts.QAbstractAxis.isReverse()#
- Return type:
bool
Getter of property reverse
.
- PySide6.QtCharts.QAbstractAxis.isTitleVisible()#
- Return type:
bool
Getter of property titleVisible
.
- PySide6.QtCharts.QAbstractAxis.isVisible()#
- Return type:
bool
Getter of property visible
.
- PySide6.QtCharts.QAbstractAxis.labelsAngle()#
- Return type:
int
See also
Getter of property labelsAngle
.
- PySide6.QtCharts.QAbstractAxis.labelsAngleChanged(angle)#
- Parameters:
angle – int
This signal is emitted when the angle of the axis labels changes to angle
.
Notification signal of property labelsAngle
.
- PySide6.QtCharts.QAbstractAxis.labelsBrush()#
- Return type:
Returns the brush used to draw labels.
See also
Getter of property labelsBrush
.
- PySide6.QtCharts.QAbstractAxis.labelsBrushChanged(brush)#
- Parameters:
brush –
PySide6.QtGui.QBrush
This signal is emitted when the brush used to draw the axis labels changes to brush
.
Notification signal of property labelsBrush
.
- PySide6.QtCharts.QAbstractAxis.labelsColor()#
- Return type:
See also
Getter of property labelsColor
.
- PySide6.QtCharts.QAbstractAxis.labelsColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
This signal is emitted when the color of the axis labels changes to color
.
Notification signal of property labelsColor
.
- PySide6.QtCharts.QAbstractAxis.labelsEditable()#
- Return type:
bool
Returns true
if axis labels are editable.
See also
- PySide6.QtCharts.QAbstractAxis.labelsEditableChanged(editable)#
- Parameters:
editable – bool
This signal is emitted when the editable
state of the label changes.
- PySide6.QtCharts.QAbstractAxis.labelsFont()#
- Return type:
Returns the font used to draw labels.
See also
Getter of property labelsFont
.
- PySide6.QtCharts.QAbstractAxis.labelsFontChanged(pen)#
- Parameters:
pen –
PySide6.QtGui.QFont
This signal is emitted when the font of the axis labels changes to font
.
Notification signal of property labelsFont
.
- PySide6.QtCharts.QAbstractAxis.labelsTruncated()#
- Return type:
bool
Getter of property labelsTruncated
.
- PySide6.QtCharts.QAbstractAxis.labelsTruncatedChanged(labelsTruncated)#
- Parameters:
labelsTruncated – bool
This signal is emitted in two cases; when the axis changes from having one or more truncated labels to having no truncated labels, and when the axis changes from having no truncated labels to having one or more truncated labels. Current state is identified by labelsTruncated
.
Notification signal of property labelsTruncated
.
- PySide6.QtCharts.QAbstractAxis.labelsVisible()#
- Return type:
bool
See also
Getter of property labelsVisible
.
- PySide6.QtCharts.QAbstractAxis.labelsVisibleChanged(visible)#
- Parameters:
visible – bool
This signal is emitted when the visibility of the labels of the axis changes to visible
.
Notification signal of property labelsVisible
.
- PySide6.QtCharts.QAbstractAxis.linePen()#
- Return type:
Returns the pen used to draw the axis line and tick marks.
See also
Getter of property linePen
.
- PySide6.QtCharts.QAbstractAxis.linePenChanged(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
This signal is emitted when the pen used to draw the line of the axis changes to pen
.
Notification signal of property linePen
.
- PySide6.QtCharts.QAbstractAxis.linePenColor()#
- Return type:
See also
Getter of property color
.
- PySide6.QtCharts.QAbstractAxis.lineVisibleChanged(visible)#
- Parameters:
visible – bool
This signal is emitted when the visibility of the axis line changes to visible
.
Notification signal of property lineVisible
.
- PySide6.QtCharts.QAbstractAxis.minorGridLineColor()#
- Return type:
See also
Getter of property minorGridLineColor
.
- PySide6.QtCharts.QAbstractAxis.minorGridLineColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
This signal is emitted when the color of the pen used to draw the minor grid line changes to color
.
Notification signal of property minorGridLineColor
.
- PySide6.QtCharts.QAbstractAxis.minorGridLinePen()#
- Return type:
See also
Getter of property minorGridLinePen
.
- PySide6.QtCharts.QAbstractAxis.minorGridLinePenChanged(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
This signal is emitted when the pen used to draw the minor grid line changes to pen
.
Notification signal of property minorGridLinePen
.
- PySide6.QtCharts.QAbstractAxis.minorGridVisibleChanged(visible)#
- Parameters:
visible – bool
This signal is emitted when the visibility of the minor grid lines of the axis changes to visible
.
Notification signal of property minorGridVisible
.
- PySide6.QtCharts.QAbstractAxis.orientation()#
- Return type:
Returns the orientation of the axis (vertical or horizontal).
Getter of property orientation
.
- PySide6.QtCharts.QAbstractAxis.reverseChanged(reverse)#
- Parameters:
reverse – bool
Notification signal of property reverse
.
- PySide6.QtCharts.QAbstractAxis.setGridLineColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
See also
Setter of property gridLineColor
.
- PySide6.QtCharts.QAbstractAxis.setGridLinePen(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
Sets the pen used to draw the grid lines to pen
.
See also
Setter of property gridLinePen
.
- PySide6.QtCharts.QAbstractAxis.setGridLineVisible([visible=true])#
- Parameters:
visible – bool
See also
Setter of property gridVisible
.
- PySide6.QtCharts.QAbstractAxis.setLabelsAngle(angle)#
- Parameters:
angle – int
See also
Setter of property labelsAngle
.
- PySide6.QtCharts.QAbstractAxis.setLabelsBrush(brush)#
- Parameters:
brush –
PySide6.QtGui.QBrush
Sets the brush used to draw labels to brush
.
See also
Setter of property labelsBrush
.
- PySide6.QtCharts.QAbstractAxis.setLabelsColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
See also
Setter of property labelsColor
.
- PySide6.QtCharts.QAbstractAxis.setLabelsEditable([editable=true])#
- Parameters:
editable – bool
Sets axis labels editability to editable
.
When the labels are editable the user will be able to change the range of the axis conveniently by editing any of the labels. This feature is only supported for the QValueAxis
and the QDateTimeAxis
.
By default, labels are not editable.
See also
- PySide6.QtCharts.QAbstractAxis.setLabelsFont(font)#
- Parameters:
font –
PySide6.QtGui.QFont
Sets the font used to draw labels to font
.
See also
Setter of property labelsFont
.
- PySide6.QtCharts.QAbstractAxis.setLabelsVisible([visible=true])#
- Parameters:
visible – bool
See also
Setter of property labelsVisible
.
- PySide6.QtCharts.QAbstractAxis.setLinePen(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
Sets the pen used to draw the axis line and tick marks to pen
.
See also
Setter of property linePen
.
- PySide6.QtCharts.QAbstractAxis.setLinePenColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
See also
Setter of property color
.
- PySide6.QtCharts.QAbstractAxis.setLineVisible([visible=true])#
- Parameters:
visible – bool
Determines whether the axis line and tick marks are visible
.
See also
Setter of property lineVisible
.
- PySide6.QtCharts.QAbstractAxis.setMax(max)#
- Parameters:
max – object
Sets the maximum value shown on the axis. Depending on the actual axis type, the max
parameter is converted to the appropriate type of value. If the conversion is impossible, the function call does nothing.
- PySide6.QtCharts.QAbstractAxis.setMin(min)#
- Parameters:
min – object
Sets the minimum value shown on the axis. Depending on the actual axis type, the min
parameter is converted to the appropriate type of value. If the conversion is impossible, the function call does nothing.
- PySide6.QtCharts.QAbstractAxis.setMinorGridLineColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
See also
Setter of property minorGridLineColor
.
- PySide6.QtCharts.QAbstractAxis.setMinorGridLinePen(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
See also
Setter of property minorGridLinePen
.
- PySide6.QtCharts.QAbstractAxis.setMinorGridLineVisible([visible=true])#
- Parameters:
visible – bool
See also
Setter of property minorGridVisible
.
- PySide6.QtCharts.QAbstractAxis.setRange(min, max)#
- Parameters:
min – object
max – object
Sets the range shown on the axis. Depending on the actual axis type, the min
and max
parameters are converted to appropriate types of values. If the conversion is impossible, the function call does nothing.
- PySide6.QtCharts.QAbstractAxis.setReverse([reverse=true])#
- Parameters:
reverse – bool
See also
Setter of property reverse
.
- PySide6.QtCharts.QAbstractAxis.setShadesBorderColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
See also
Setter of property shadesBorderColor
.
- PySide6.QtCharts.QAbstractAxis.setShadesBrush(brush)#
- Parameters:
brush –
PySide6.QtGui.QBrush
Sets the brush used to draw shades to brush
.
See also
Setter of property shadesBrush
.
- PySide6.QtCharts.QAbstractAxis.setShadesColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
See also
Setter of property shadesColor
.
- PySide6.QtCharts.QAbstractAxis.setShadesPen(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
Sets the pen used to draw shades to pen
.
See also
Setter of property shadesPen
.
- PySide6.QtCharts.QAbstractAxis.setShadesVisible([visible=true])#
- Parameters:
visible – bool
See also
Setter of property shadesVisible
.
- PySide6.QtCharts.QAbstractAxis.setTitleBrush(brush)#
- Parameters:
brush –
PySide6.QtGui.QBrush
Sets the brush used to draw titles to brush
.
See also
Setter of property titleBrush
.
- PySide6.QtCharts.QAbstractAxis.setTitleFont(font)#
- Parameters:
font –
PySide6.QtGui.QFont
Sets the font used to draw titles to font
.
See also
Setter of property titleFont
.
- PySide6.QtCharts.QAbstractAxis.setTitleText(title)#
- Parameters:
title – str
See also
Setter of property titleText
.
- PySide6.QtCharts.QAbstractAxis.setTitleVisible([visible=true])#
- Parameters:
visible – bool
See also
Setter of property titleVisible
.
- PySide6.QtCharts.QAbstractAxis.setTruncateLabels([truncateLabels=true])#
- Parameters:
truncateLabels – bool
See also
Setter of property truncateLabels
.
- PySide6.QtCharts.QAbstractAxis.setVisible([visible=true])#
- Parameters:
visible – bool
Sets the visibility of the axis, shades, labels, and grid lines to visible
.
See also
Setter of property visible
.
- PySide6.QtCharts.QAbstractAxis.shadesBorderColor()#
- Return type:
See also
Getter of property shadesBorderColor
.
- PySide6.QtCharts.QAbstractAxis.shadesBorderColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
This signal is emitted when the border color of the axis shades changes to color
.
Notification signal of property shadesBorderColor
.
- PySide6.QtCharts.QAbstractAxis.shadesBrush()#
- Return type:
Returns the brush used to draw shades.
See also
Getter of property shadesBrush
.
- PySide6.QtCharts.QAbstractAxis.shadesBrushChanged(brush)#
- Parameters:
brush –
PySide6.QtGui.QBrush
This signal is emitted when the brush used to draw the axis shades changes to brush
.
Notification signal of property shadesBrush
.
- PySide6.QtCharts.QAbstractAxis.shadesColor()#
- Return type:
See also
Getter of property shadesColor
.
- PySide6.QtCharts.QAbstractAxis.shadesColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
This signal is emitted when the color of the axis shades changes to color
.
Notification signal of property shadesColor
.
- PySide6.QtCharts.QAbstractAxis.shadesPen()#
- Return type:
Returns the pen used to draw shades.
See also
Getter of property shadesPen
.
- PySide6.QtCharts.QAbstractAxis.shadesPenChanged(pen)#
- Parameters:
pen –
PySide6.QtGui.QPen
This signal is emitted when the pen used to draw the axis shades changes to pen
.
Notification signal of property shadesPen
.
- PySide6.QtCharts.QAbstractAxis.shadesVisible()#
- Return type:
bool
See also
Getter of property shadesVisible
.
- PySide6.QtCharts.QAbstractAxis.shadesVisibleChanged(visible)#
- Parameters:
visible – bool
This signal is emitted when the visibility of the axis shades changes to visible
.
Notification signal of property shadesVisible
.
- PySide6.QtCharts.QAbstractAxis.show()#
Makes the axis, shades, labels, and grid lines visible.
- PySide6.QtCharts.QAbstractAxis.titleBrush()#
- Return type:
Returns the brush used to draw titles.
See also
Getter of property titleBrush
.
- PySide6.QtCharts.QAbstractAxis.titleBrushChanged(brush)#
- Parameters:
brush –
PySide6.QtGui.QBrush
This signal is emitted when the brush used to draw the axis title changes to brush
.
Notification signal of property titleBrush
.
- PySide6.QtCharts.QAbstractAxis.titleFont()#
- Return type:
Returns the font used to draw titles.
See also
Getter of property titleFont
.
- PySide6.QtCharts.QAbstractAxis.titleFontChanged(font)#
- Parameters:
font –
PySide6.QtGui.QFont
This signal is emitted when the font of the axis title changes to font
.
Notification signal of property titleFont
.
- PySide6.QtCharts.QAbstractAxis.titleText()#
- Return type:
str
See also
Getter of property titleText
.
- PySide6.QtCharts.QAbstractAxis.titleTextChanged(title)#
- Parameters:
title – str
This signal is emitted when the text of the axis title changes to text
.
Notification signal of property titleText
.
- PySide6.QtCharts.QAbstractAxis.titleVisibleChanged(visible)#
- Parameters:
visible – bool
This signal is emitted when the visibility of the title text of the axis changes to visible
.
Notification signal of property titleVisible
.
- PySide6.QtCharts.QAbstractAxis.truncateLabels()#
- Return type:
bool
See also
Getter of property truncateLabels
.
- PySide6.QtCharts.QAbstractAxis.truncateLabelsChanged(truncateLabels)#
- Parameters:
truncateLabels – bool
This signal is emitted when the truncation of the labels changes to truncateLabels
.
Notification signal of property truncateLabels
.
Returns the type of the axis.
- PySide6.QtCharts.QAbstractAxis.visibleChanged(visible)#
- Parameters:
visible – bool
This signal is emitted when the visibility of the axis changes to visible
.
Notification signal of property visible
.