QHorizontalStackedBarSeries Class

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

头文件: #include <QHorizontalStackedBarSeries>
Instantiated By: HorizontalStackedBarSeries
基类: QAbstractBarSeries

公有函数

重新实现的公有函数

virtual QAbstractSeries::SeriesType type() const

其他继承的成员

详细描述

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

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

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

参见 QBarSet, QBarSeries, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries, QHorizontalPercentBarSeries, and QHorizontalBarSeries.

成员函数

QHorizontalStackedBarSeries::QHorizontalStackedBarSeries(QObject *parent = Q_NULLPTR)

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

QHorizontalStackedBarSeries::~QHorizontalStackedBarSeries()

Removes the bar series from the chart.

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

Reimplemented from QAbstractSeries::type().

Returns the horizontal stacked bar series.