PySide6.QtGraphs.QAreaSeries

class QAreaSeries

The QAreaSeries class presents data in area graphs. More

Inheritance diagram of PySide6.QtGraphs.QAreaSeries

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 theme

  • borderWidthᅟ - Width of the line that encloses the area. The default value is -1, meaning the border width is defined by the theme

  • colorᅟ - Fill color of the area. The default value is Qt::transparent, meaning the color is defined by the theme

  • lowerSeriesᅟ - Sets the lower boundary of the area. If this is null, the graph bottom is considered the lower bound

  • selectedᅟ - Sets this area as selected. The default value is false

  • selectedBorderColorᅟ - Border color of the area when selected. The default value is Qt::transparent, meaning the selected border color is defined by the theme

  • selectedColorᅟ - Fill color of the area when selected. The default value is Qt::transparent, meaning the selected color is defined by the theme

  • upperSeriesᅟ - Sets the upper boundary of the area. No area is drawn if this is null

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 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:
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 lowerSeriesᅟ: QXYSeries

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:
property selectedBorderColorᅟ: QColor

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:
property selectedColorᅟ: QColor

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:
property upperSeriesᅟ: QXYSeries

This property holds Sets the upper boundary of the area. No area is drawn if this is null..

Access functions:
__init__([parent=None])
Parameters:

parentQObject

borderColor()
Return type:

QColor

See also

setBorderColor()

Getter of property borderColorᅟ .

borderColorChanged(newBorderColor)
Parameters:

newBorderColorQColor

Notification signal of property borderColorᅟ .

borderWidth()
Return type:

float

See also

setBorderWidth()

Getter of property borderWidthᅟ .

borderWidthChanged()

Notification signal of property borderWidthᅟ .

clicked(point)
Parameters:

pointQPoint

color()
Return type:

QColor

See also

setColor()

Getter of property colorᅟ .

colorChanged(newColor)
Parameters:

newColorQColor

Notification signal of property colorᅟ .

doubleClicked(point)
Parameters:

pointQPoint

isSelected()
Return type:

bool

Getter of property selectedᅟ .

lowerSeries()
Return type:

QXYSeries

See also

setLowerSeries()

Getter of property lowerSeriesᅟ .

lowerSeriesChanged()

Notification signal of property lowerSeriesᅟ .

pressed(point)
Parameters:

pointQPoint

released(point)
Parameters:

pointQPoint

selectedBorderColor()
Return type:

QColor

Getter of property selectedBorderColorᅟ .

selectedBorderColorChanged(newSelectedBorderColor)
Parameters:

newSelectedBorderColorQColor

Notification signal of property selectedBorderColorᅟ .

selectedChanged()

Notification signal of property selectedᅟ .

selectedColor()
Return type:

QColor

Getter of property selectedColorᅟ .

selectedColorChanged(newSelectedColor)
Parameters:

newSelectedColorQColor

Notification signal of property selectedColorᅟ .

setBorderColor(newBorderColor)
Parameters:

newBorderColorQColor

See also

borderColor()

Setter of property borderColorᅟ .

setBorderWidth(newBorderWidth)
Parameters:

newBorderWidth – float

See also

borderWidth()

Setter of property borderWidthᅟ .

setColor(newColor)
Parameters:

newColorQColor

See also

color()

Setter of property colorᅟ .

setLowerSeries(newLowerSeries)
Parameters:

newLowerSeriesQXYSeries

See also

lowerSeries()

Setter of property lowerSeriesᅟ .

setSelected(newSelected)
Parameters:

newSelected – bool

See also

isSelected()

Setter of property selectedᅟ .

setSelectedBorderColor(newSelectedBorderColor)
Parameters:

newSelectedBorderColorQColor

Setter of property selectedBorderColorᅟ .

setSelectedColor(newColor)
Parameters:

newColorQColor

See also

selectedColor()

Setter of property selectedColorᅟ .

setUpperSeries(newUpperSeries)
Parameters:

newUpperSeriesQXYSeries

See also

upperSeries()

Setter of property upperSeriesᅟ .

upperSeries()
Return type:

QXYSeries

See also

setUpperSeries()

Getter of property upperSeriesᅟ .

upperSeriesChanged()

Notification signal of property upperSeriesᅟ .