In questa pagina

QHorizontalStackedBarSeries Class

La classe QHorizontalStackedBarSeries presenta una serie di dati sotto forma di barre sovrapposte orizzontalmente, con una barra per ogni categoria. Maggiori informazioni...

Header: #include <QHorizontalStackedBarSeries>
In QML: HorizontalStackedBarSeries
Inherits: QAbstractBarSeries
Status: Deprecated

Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Funzioni pubbliche

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

Funzioni pubbliche reimplementate

virtual QAbstractSeries::SeriesType type() const override

Descrizione dettagliata

Ogni insieme di barre aggiunto alla serie contribuisce con un singolo segmento a ciascuna barra impilata.

Consulta la Galleria dei grafici con widget per scoprire come creare un grafico a barre impilate orizzontali.

Grafico a barre orizzontali sovrapposte, con cinque serie al mese da gennaio a giugno

Vedi anche QBarSet, QBarSeries, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries, QHorizontalPercentBarSeries e QHorizontalBarSeries.

Documentazione delle funzioni membro

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

Crea una serie di barre orizzontali sovrapposte vuota, che è un elemento “ QObject ” e un elemento figlio di “ parent ”.

[virtual noexcept] QHorizontalStackedBarSeries::~QHorizontalStackedBarSeries()

Rimuove la serie di barre dal grafico.

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

Reimplementa una funzione di accesso per la proprietà: QAbstractSeries::type.

Restituisce la serie di barre sovrapposte orizzontali.

© 2026 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.