QHorizontalBarSeries 类

QHorizontalBarSeries 类以按类别分组的水平条形方式呈现一系列数据。 更多...

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

公共函数

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

重实现公共函数

virtual QAbstractSeries::SeriesType type () const override

详细描述

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.

Charts with Widgets Gallery to learn how to create a horizontal bar chart.

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

成员函数文档编制

[explicit] QHorizontalBarSeries:: QHorizontalBarSeries ( QObject * parent = nullptr)

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

[virtual noexcept] QHorizontalBarSeries:: ~QHorizontalBarSeries ()

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

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

重实现访问函数为特性: QAbstractSeries::type .

返回水平条形系列。