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 themecolorᅟ- Fill color of the area. The default value is Qt::transparent, meaning the color is defined by the theme
Methods¶
def
__init__()def
borderColor()def
brush()def
color()def
pen()def
pointsVisible()def
setBorderColor()def
setBrush()def
setColor()def
setPen()
Signals¶
def
clicked()def
colorChanged()def
doubleClicked()def
hovered()def
pressed()def
released()def
selected()
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:
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()
- property pointLabelsClippingᅟ: bool¶
- Access functions:
- Access functions:
- Access functions:
- property pointLabelsFormatᅟ: str¶
- Access functions:
- property pointLabelsVisibleᅟ: bool¶
- Access functions:
- borderColor()¶
- Return type:
See also
Getter of property
borderColorᅟ.Notification signal of property
borderColorᅟ.- color()¶
- Return type:
See also
Getter of property
colorᅟ.Notification signal of property
colorᅟ.- pointLabelsClipping()¶
- Return type:
bool
Getter of property
pointLabelsClippingᅟ.- pointLabelsClippingChanged(clipping)¶
- Parameters:
clipping – bool
Notification signal of property
pointLabelsClippingᅟ.Getter of property
pointLabelsColorᅟ.Notification signal of property
pointLabelsColorᅟ.Getter of property
pointLabelsFontᅟ.Notification signal of property
pointLabelsFontᅟ.- pointLabelsFormat()¶
- Return type:
str
Getter of property
pointLabelsFormatᅟ.- pointLabelsFormatChanged(format)¶
- Parameters:
format – str
Notification signal of property
pointLabelsFormatᅟ.- pointLabelsVisibilityChanged(visible)¶
- Parameters:
visible – bool
Notification signal of property
pointLabelsVisibleᅟ.- pointLabelsVisible()¶
- Return type:
bool
Getter of property
pointLabelsVisibleᅟ.- pointsVisible()¶
- Return type:
bool
- selected()¶
Setter of property
borderColorᅟ.Setter of property
colorᅟ.- setPointLabelsClipping([enabled=true])¶
- Parameters:
enabled – bool
Setter of property
pointLabelsClippingᅟ.Setter of property
pointLabelsColorᅟ.Setter of property
pointLabelsFontᅟ.- setPointLabelsFormat(format)¶
- Parameters:
format – str
Setter of property
pointLabelsFormatᅟ.- setPointLabelsVisible([visible=true])¶
- Parameters:
visible – bool
Setter of property
pointLabelsVisibleᅟ.- setPointsVisible([visible=true])¶
- Parameters:
visible – bool