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 .
返回水平条形系列。