QBarSeries Class

The QBarSeries class presents a series of data as vertical bars grouped by category. 更多...

头文件: #include <QBarSeries>
Instantiated By: BarSeries
基类: QAbstractBarSeries

公有函数

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

重新实现的公有函数

virtual QAbstractSeries::SeriesType type() const

其他继承的成员

详细描述

The QBarSeries class presents a series of data as vertical bars grouped by category.

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

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

参见 QBarSet, QPercentBarSeries, QAbstractBarSeries, and QStackedBarSeries.

成员函数

QBarSeries::QBarSeries(QObject *parent = Q_NULLPTR)

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

QBarSeries::~QBarSeries()

Removes the bar series from the chart.

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

Reimplemented from QAbstractSeries::type().

Returns the bar series.