QBarSeries Class▲
-
Header: QBarSeries
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
-
qmake: QT += graphs
-
Inherited By:
-
Instantiated By: qml-qtgraphs-barseries.xml
-
Inherits: QAbstractBarSeries
-
Group: QBarSeries is part of Qt Graphs C++ Classes for 2D
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 Also▲
See also QBarSet, QAbstractBarSeries
Property Documentation▲
axisX : QAbstractAxis*▲
X-axis of the series.
The x-axis used for the series. This should be QBarCategoryAxis.
Access functions:
-
*axisX()
-
void setAxisX( *axis)
Notifier signal:
-
void axisXChanged( *axis)
axisY : QAbstractAxis*▲
Y-axis of the series.
The y-axis used for the series. This should be QValueAxis.
Access functions:
-
*axisY()
-
void setAxisY( *axis)
Notifier signal:
-
void axisYChanged( *axis)
Member Function Documentation▲
[explicit] QBarSeries::QBarSeries(QObject *parent = nullptr)▲
Constructs an empty bar series that is a QObject and a child of parent.
[virtual] QBarSeries::~QBarSeries()▲
Removes the bar series from the graph.
[override virtual] QAbstractSeries::SeriesType QBarSeries::type() const▲
Reimplements an access function for property: QAbstractSeries::type.
Returns the bar series.