PySide6.QtGraphs.QAreaSeries¶
- class QAreaSeries¶
The
QAreaSeriesclass presents data in area graphs. More…Added in version 6.8.
Synopsis¶
Properties¶
borderColorᅟ- Border color of the area. The default value is Qt::transparent, meaning the border color is defined by the themeborderWidthᅟ- Width of the line that encloses the area. The default value is -1, meaning the border width is defined by the themecolorᅟ- Fill color of the area. The default value is Qt::transparent, meaning the color is defined by the themelowerSeriesᅟ- Sets the lower boundary of the area. If this is null, the graph bottom is considered the lower boundselectedᅟ- Sets this area as selected. The default value is falseselectedBorderColorᅟ- Border color of the area when selected. The default value is Qt::transparent, meaning the selected border color is defined by the themeselectedColorᅟ- Fill color of the area when selected. The default value is Qt::transparent, meaning the selected color is defined by the themeupperSeriesᅟ- Sets the upper boundary of the area. No area is drawn if this is null
Methods¶
def
__init__()def
borderColor()def
borderWidth()def
color()def
isSelected()def
lowerSeries()def
selectedColor()def
setBorderColor()def
setBorderWidth()def
setColor()def
setLowerSeries()def
setSelected()def
setUpperSeries()def
upperSeries()
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¶
An area graph is used to draw an area composed by points. The points are defined by two series:
upperSeriesandlowerSeries. The area between the series is drawn as a graph. If only theupperSeriesis defined, the area is then between the bottom of the graph and the upper series.Note
Properties can be used directly when
from __feature__ import true_propertyis used or via accessor functions otherwise.This property holds The border color of the area. The default value is
Qt::transparent, meaning the border color is defined by the theme..- Access functions:
- property borderWidthᅟ: float¶
This property holds The width of the line that encloses the area. The default value is
-1, meaning the border width is defined by the theme..- Access functions:
This property holds The fill color of the area. The default value is
Qt::transparent, meaning the color is defined by the theme..- Access functions:
Signal
colorChanged()
This property holds Sets the lower boundary of the area. If this is null, the graph bottom is considered the lower bound..
- Access functions:
- property selectedᅟ: bool¶
This property holds Sets this area as selected. The default value is
false..- Access functions:
This property holds The border color of the area when selected. The default value is
Qt::transparent, meaning the selected border color is defined by the theme..- Access functions:
This property holds The fill color of the area when selected. The default value is
Qt::transparent, meaning the selected color is defined by the theme..- Access functions:
This property holds Sets the upper boundary of the area. No area is drawn if this is null..
- Access functions:
- borderColor()¶
- Return type:
See also
Getter of property
borderColorᅟ.Notification signal of property
borderColorᅟ.- borderWidth()¶
- Return type:
float
See also
Getter of property
borderWidthᅟ.- borderWidthChanged()¶
Notification signal of property
borderWidthᅟ.- color()¶
- Return type:
See also
Getter of property
colorᅟ.Notification signal of property
colorᅟ.- isSelected()¶
- Return type:
bool
Getter of property
selectedᅟ.- lowerSeries()¶
- Return type:
See also
Getter of property
lowerSeriesᅟ.- lowerSeriesChanged()¶
Notification signal of property
lowerSeriesᅟ.- selectedBorderColor()¶
- Return type:
See also
Getter of property
selectedBorderColorᅟ.Notification signal of property
selectedBorderColorᅟ.- selectedChanged()¶
Notification signal of property
selectedᅟ.- selectedColor()¶
- Return type:
See also
Getter of property
selectedColorᅟ.Notification signal of property
selectedColorᅟ.Setter of property
borderColorᅟ.- setBorderWidth(newBorderWidth)¶
- Parameters:
newBorderWidth – float
See also
Setter of property
borderWidthᅟ.Setter of property
colorᅟ.Setter of property
lowerSeriesᅟ.- setSelected(newSelected)¶
- Parameters:
newSelected – bool
See also
Setter of property
selectedᅟ.- setSelectedBorderColor(newSelectedBorderColor)¶
- Parameters:
newSelectedBorderColor –
QColor
See also
Setter of property
selectedBorderColorᅟ.Setter of property
selectedColorᅟ.Setter of property
upperSeriesᅟ.- upperSeries()¶
- Return type:
See also
Getter of property
upperSeriesᅟ.- upperSeriesChanged()¶
Notification signal of property
upperSeriesᅟ.