QHorizontalBarSeries Class

The QHorizontalBarSeries class presents a series of data as horizontal bars grouped by category. 更多...

头文件: #include <QHorizontalBarSeries>
Instantiated By: HorizontalBarSeries
基类: QAbstractBarSeries

公有函数

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

重新实现的公有函数

virtual QAbstractSeries::SeriesType type() const

其他继承的成员

详细描述

The QHorizontalBarSeries class presents a series of data as horizontal bars grouped by category.

This class draws data as a series of horizontal bars grouped by category, with one bar per category from each bar set added to the series.

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

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

成员函数

QHorizontalBarSeries::QHorizontalBarSeries(QObject *parent = Q_NULLPTR)

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

QHorizontalBarSeries::~QHorizontalBarSeries()

Removes the horizontal bar series from the chart.

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

Reimplemented from QAbstractSeries::type().

Returns the horizontal bar series.