AbstractBarSeries QML Type
A base type for all bar series types. More...
|Import Statement:||import QtQuick.Charts .|
|Since:||Qt Quick Ultralite 1.1|
In bar charts, bars are defined as bar sets that contain one data value for each category. The position of a bar is specified by the category and its height by the data value. With multiple bar sets, the bars that belong to the same category are grouped together. The way the bars are displayed is determined by the type chosen to create the bar chart: Currently only BarSeries is available.
The AbstractBarSeries type is based on QtCharts.AbstractBarSeries. The following members are not supported yet:
- axisXTop, axisYRight
- labelsVisible, labelsFormat, labelsPosition
- labelsAngle, labelsPrecision
- all signals and methods
axisX : AbstractAxis
axisY : AbstractAxis
barWidth : real
The unit of width is the unit of the x-axis. The minimum width for bars is zero, and negative values are treated as zero. Setting the width to zero means that the width of the bar on the screen is one pixel regardless of the scale of the x-axis. Bars wider than zero are scaled using the x-axis scale.
Note: When used with the BarSeries type, this value specifies the width of a group of bars instead of a single bar.
Note: When using a BarCategoryAxis the full width of a category is
1.0 and barWidth is
0.5 by default.
Available under certain Qt licenses.
Find out more.