The QPercentBarSeries class presents a series of categorized data as a percentage of each category. 更多...
| 頭: | #include <QPercentBarSeries> |
| 實例化: | PercentBarSeries |
| 繼承: | QAbstractBarSeries |
| QPercentBarSeries (QObject * parent = nullptr) | |
| virtual | ~QPercentBarSeries () |
| virtual QAbstractSeries::SeriesType | type () const |
| const QMetaObject | staticMetaObject |
The QPercentBarSeries class presents a series of categorized data as a percentage of each category.
This class draws data as a series of uniformly sized vertically stacked bars, with one bar per category. Each bar set added to the series contributes a single segment to each stacked bar. The segment size corresponds to the percentage of the segment value compared with the total value of all segments in the stack. Bars with zero value are not drawn.
見 percent bar chart example to learn how to create a percent bar chart.
另請參閱 QBarSet , QStackedBarSeries ,和 QAbstractBarSeries .
Constructs an empty vertical percent bar series that is a QObject 和子級對於 parent .
[虛擬]
QPercentBarSeries::
~QPercentBarSeries
()
從圖錶移除條形係列。
[虛擬]
QAbstractSeries::SeriesType
QPercentBarSeries::
type
() const
重實現自 QAbstractSeries::type ().
Returns the vertical percent bar series.