QStackedBarSeries Class

The QStackedBarSeries class presents a series of data as vertically stacked bars, with one bar per category. 更多...

头文件: #include <QStackedBarSeries>
Instantiated By: StackedBarSeries
基类: QAbstractBarSeries

公有函数

QStackedBarSeries(QObject *parent = Q_NULLPTR)
~QStackedBarSeries()

重新实现的公有函数

virtual QAbstractSeries::SeriesType type() const

其他继承的成员

详细描述

The QStackedBarSeries class presents a series of data as vertically stacked bars, with one bar per category.

Each bar set added to the series contributes a single segment to each stacked bar.

See the stacked bar chart example to learn how to create a stacked bar chart.

参见 QBarSet, QPercentBarSeries, and QAbstractBarSeries.

成员函数

QStackedBarSeries::QStackedBarSeries(QObject *parent = Q_NULLPTR)

Constructs an empty bar series that is a QObject and a child of parent.

QStackedBarSeries::~QStackedBarSeries()

Removes the bar series from the chart.

[virtual] QAbstractSeries::SeriesType QStackedBarSeries::type() const

Reimplemented from QAbstractSeries::type().

Returns the stacked bar series.