QHorizontalBarSeries 类

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

头: #include <QHorizontalBarSeries>
实例化: HorizontalBarSeries
继承: QAbstractBarSeries

公共函数

QHorizontalBarSeries (QObject * parent = nullptr)
virtual ~QHorizontalBarSeries ()

重实现公共函数

virtual QAbstractSeries::SeriesType type () const

静态公共成员

const QMetaObject staticMetaObject

额外继承成员

详细描述

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.

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

另请参阅 QBarSet , QBarSeries , QPercentBarSeries , QAbstractBarSeries , QStackedBarSeries , QHorizontalStackedBarSeries ,和 QHorizontalPercentBarSeries .

成员函数文档编制

QHorizontalBarSeries:: QHorizontalBarSeries ( QObject * parent = nullptr)

Constructs an empty horizontal bar series that is a QObject 和子级对于 parent .

[虚拟] QHorizontalBarSeries:: ~QHorizontalBarSeries ()

从图表移除水平条形系列。

[虚拟] QAbstractSeries::SeriesType QHorizontalBarSeries:: type () const

重实现自 QAbstractSeries::type ().

返回水平条形系列。