6.0.0-rc4Source

QHorizontalBarSeries Class

The QHorizontalBarSeries class draws its sets as horizontal bars side by side. More…

Header#include <QHorizontalBarSeries>
CMaketarget_link_libraries(app PRIVATE Nt::Charts)
ModuleNt Charts C++ Classes
InheritsQAbstractBarSeries

List of all members, including inherited members

Public Functions

Reimplemented Public Functions

Detailed Description

A horizontal bar series with three sets

The categories run from the bottom up, along the vertical axis; the values along the horizontal one.

See also QAbstractBarSeries and QBarSet.

Differences from Qt

Member Function Documentation

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

Constructs an empty series with the given parent.

[override] QHorizontalBarSeries::~QHorizontalBarSeries()

Destroys the series and its sets.

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

Reimplements QAbstractBarSeries::type().

Returns QAbstractSeries::SeriesTypeHorizontalBar.