QPercentBarSeries Class
The QPercentBarSeries class draws its sets as shares of each category. More…
| Header | #include <QPercentBarSeries> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Charts) |
| Module | Nt Charts C++ Classes |
| Inherits | QAbstractBarSeries |
List of all members, including inherited members
Public Functions
| QPercentBarSeries(QObject *parent = nullptr) | |
| ~QPercentBarSeries() |
Reimplemented Public Functions
| QAbstractSeries::SeriesType | type() const |
Detailed Description

Each category is a bar from 0 to 100, divided among the sets in proportion to their values. Negative values count as zero.
See also QAbstractBarSeries and QBarSet.
Differences from Qt
See QAbstractBarSeries.
Member Function Documentation
QPercentBarSeries::QPercentBarSeries(QObject *parent = nullptr)
Constructs an empty series with the given parent.
QPercentBarSeries::~QPercentBarSeries()
Destroys the series and its sets.
QAbstractSeries::SeriesType QPercentBarSeries::type() const
Reimplements QAbstractBarSeries::type().