PySide6.QtGraphs.QBarSeries

class QBarSeries

The QBarSeries class presents data in bar graphs. More

Inheritance diagram of PySide6.QtGraphs.QBarSeries

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

This class draws data by default as a series of bars grouped by category, with one bar per category from each bar set added to the series. It also supports horizontal bars and grouping bars as stacked.

A bar series needs the GraphsView x-axis to be set to a BarCategoryAxis and the y-axis set to ValueAxis .

__init__([parent=None])
Parameters:

parentQObject

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