"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from typing import Optional
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import PySide6.QtCharts

bytes = str


class QBarSeries(PySide6.QtCharts.QAbstractBarSeries):
    """
    https://doc.qt.io/qt-6/qbarseries.html

    **Detailed Description**

    This class draws data as a series of vertical bars grouped by category, with
    one bar per category from each bar set added to the series.

    See the **bar chart example**  to learn how to create a grouped bar chart.

    ![](images/examples_barchart.png)

    **See also** **QBarSet** , **QPercentBarSeries** , **QAbstractBarSeries** ,
    and **QStackedBarSeries** .
    """

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None:
        """
        https://doc.qt.io/qt-6/qbarseries.html#QBarSeries

        **QBarSeries::QBarSeries(QObject * parent = nullptr)**

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

    def type(self) -> PySide6.QtCharts.QAbstractSeries.SeriesType:
        """
        https://doc.qt.io/qt-6/qbarseries.html#type

        **[override virtual] QAbstractSeries::SeriesType QBarSeries::type()
        const**

        Reimplements an access function for property: **QAbstractSeries::type**
        .

        Returns the bar series.
        """
        ...
