AbstractAxis QML Type
A base type used for specialized axis types. More...
Import Statement: | import QtCharts 2.15 |
Instantiates: | QAbstractAxis |
Inherited By: | BarCategoryAxis, CategoryAxis, DateTimeAxis, LogValueAxis, and ValueAxis |
Properties
- alignment : alignment
- color : color
- gridLineColor : color
- gridVisible : bool
- labelsAngle : int
- labelsColor : color
- labelsFont : font
- labelsVisible : bool
- lineVisible : bool
- minorGridLineColor : color
- minorGridVisible : bool
- orientation : Qt.Orientation
- reverse : alignment
- shadesBorderColor : color
- shadesColor : color
- shadesVisible : bool
- titleFont : font
- titleText : string
- titleVisible : bool
- visible : bool
Detailed Description
Each series can be bound to only one horizontal and vertical axis.
The properties and visibility of various axis elements, such as axis line, title, labels, grid lines, and shades, can be individually controlled.
Property Documentation
The alignment of the axis. Can be Qt.AlignLeft, Qt.AlignRight, Qt.AlignBottom, or Qt.AlignTop.
The color of the minor grid line.
Applies only to axes that support minor grid lines.
The visibility of the minor grid lines. Applies only to axes that support minor grid lines.
The orientation of the axis. Fixed to either Qt.Horizontal or Qt.Vertical when the axis is set to a series.
Defines whether a reverse axis is used. By default, the value is false
.
The reverse axis is supported with a line, spline, and scatter series, as well as an area series with a cartesian chart. All axes of the same orientation attached to the same series must be reversed if one is reversed or the behavior is undefined.