class QAreaSeries

The QAreaSeries class presents data in area graphs. More

Inheritance diagram of PySide6.QtGraphs.QAreaSeries

Added in version 6.8.

Synopsis

Properties

Methods

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: upperSeries and lowerSeries . The area between the series is drawn as a graph. If only the upperSeries is 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_property is used or via accessor functions otherwise.

property borderColorᅟ: QColor

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 colorᅟ: QColor

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:
property pointLabelsClippingᅟ: bool
Access functions:
property pointLabelsColorᅟ: QColor
Access functions:
property pointLabelsFontᅟ: QFont
Access functions:
property pointLabelsFormatᅟ: str
Access functions:
property pointLabelsVisibleᅟ: bool
Access functions:
__init__([parent=None])
Parameters:

parentQObject

borderColor()
Return type:

QColor

See also

setBorderColor()

Getter of property borderColorᅟ .

borderColorChanged(color)
Parameters:

colorQColor

Notification signal of property borderColorᅟ .

brush()
Return type:

QBrush

clicked(point)
Parameters:

pointQPointF

color()
Return type:

QColor

See also

setColor()

Getter of property colorᅟ .

colorChanged(color)
Parameters:

colorQColor

Notification signal of property colorᅟ .

doubleClicked(point)
Parameters:

pointQPointF

hovered(point, state)
Parameters:
pen()
Return type:

QPen

pointLabelsClipping()
Return type:

bool

Getter of property pointLabelsClippingᅟ .

pointLabelsClippingChanged(clipping)
Parameters:

clipping – bool

Notification signal of property pointLabelsClippingᅟ .

pointLabelsColor()
Return type:

QColor

Getter of property pointLabelsColorᅟ .

pointLabelsColorChanged(color)
Parameters:

colorQColor

Notification signal of property pointLabelsColorᅟ .

pointLabelsFont()
Return type:

QFont

Getter of property pointLabelsFontᅟ .

pointLabelsFontChanged(font)
Parameters:

fontQFont

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

pressed(point)
Parameters:

pointQPointF

released(point)
Parameters:

pointQPointF

selected()
setBorderColor(color)
Parameters:

colorQColor

See also

borderColor()

Setter of property borderColorᅟ .

setBrush(brush)
Parameters:

brushQBrush

setColor(color)
Parameters:

colorQColor

See also

color()

Setter of property colorᅟ .

setPen(pen)
Parameters:

penQPen

setPointLabelsClipping([enabled=true])
Parameters:

enabled – bool

Setter of property pointLabelsClippingᅟ .

setPointLabelsColor(color)
Parameters:

colorQColor

Setter of property pointLabelsColorᅟ .

setPointLabelsFont(font)
Parameters:

fontQFont

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