QHorizontalBarSeries Class

Die Klasse QHorizontalBarSeries stellt eine Reihe von Daten als horizontale Balken dar, die nach Kategorien gruppiert sind. Mehr...

Header: #include <QHorizontalBarSeries>
In QML: HorizontalBarSeries
Inherits: QAbstractBarSeries

Öffentliche Funktionen

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

Reimplementierte öffentliche Funktionen

virtual QAbstractSeries::SeriesType type() const override

Detaillierte Beschreibung

Diese Klasse zeichnet Daten als eine Reihe von horizontalen Balken, die nach Kategorien gruppiert sind, wobei ein Balken pro Kategorie aus jedem Balkensatz zu der Reihe hinzugefügt wird.

In der Galerie Diagramme mit Widgets erfahren Sie, wie Sie ein horizontales Balkendiagramm erstellen können.

Siehe auch QBarSet, QBarSeries, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries, QHorizontalStackedBarSeries, und QHorizontalPercentBarSeries.

Dokumentation der Mitgliederfunktionen

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

Konstruiert eine leere horizontale Balkenreihe, die eine QObject und ein Kind von parent ist.

[virtual noexcept] QHorizontalBarSeries::~QHorizontalBarSeries()

Entfernt die horizontale Balkenreihe aus dem Diagramm.

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

Reimplantiert eine Zugriffsfunktion für die Eigenschaft: QAbstractSeries::type.

Gibt die horizontale Balkenreihe zurück.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.