- Qt 6.8
- Qt Graphs
- C++ Classes
- QtGraphs
- QAreaSeries
- Qt Graphs | Commercial or GPLv3

# QAreaSeries Class

The QAreaSeries class presents data in area graphs. More...

Header: | #include <QAreaSeries>
CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: | QT += graphs
Instantiated By: | AreaSeries
Inherits: | QAbstractSeries

- List of all members, including inherited members
- QAreaSeries is part of Qt Graphs C++ Classes for 2D.

## Public Functions

QAbstractAxis * | axisX() const
QAbstractAxis * | axisY() const
QColor | borderColor() const
qreal | borderWidth() const
QColor | color() const
QXYSeries * | lowerSeries() const
bool | selected() const
QColor | selectedBorderColor() const
QColor | selectedColor() const
void | setAxisX(QAbstractAxis *axis)
void | setAxisY(QAbstractAxis *axis)
void | setBorderColor(const QColor &newBorderColor)
void | setBorderWidth(qreal newBorderWidth)
void | setColor(const QColor &newColor)
void | setLowerSeries(QXYSeries *newLowerSeries)
void | setSelected(bool newSelected)
void | setSelectedBorderColor(const QColor &newSelectedBorderColor)
void | setSelectedColor(const QColor &newColor)
void | setUpperSeries(QXYSeries *newUpperSeries)
QXYSeries * | upperSeries() const

## Signals

void | axisXChanged()
void | axisYChanged()
void | borderColorChanged(QColor newBorderColor)
void | borderWidthChanged()
void | colorChanged(QColor newColor)
void | lowerSeriesChanged()
void | selectedBorderColorChanged(QColor newSelectedBorderColor)
void | selectedChanged()
void | selectedColorChanged(QColor newSelectedColor)
void | upperSeriesChanged()

## 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 an graph. If only the upperSeries is defined, the area is then between the bottom of the graph and the upper series.