AbstractAxis QML Type
A base type used for specialized axis types. More...
|Import Statement:||import QtCharts 2.2|
- alignment : alignment
- color : color
- gridLineColor : color
- gridVisible : bool
- labelsAngle : int
- labelsColor : color
- labelsFont : font
- labelsTruncated : int
- 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
- truncateLabels : int
- visible : bool
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.
alignment : alignment
color : color
The color of the axis and tick marks.
gridLineColor : color
The color of the grid line.
gridVisible : bool
The visibility of the grid lines.
labelsAngle : int
The angle of the axis labels in degrees.
labelsColor : color
The color of the axis labels.
[read-only] labelsTruncated : int
true if at least one label on the axis is truncated.
Returned value will not be accurate before the axis is shown.
labelsVisible : bool
The visibility of axis labels.
lineVisible : bool
The visibility of the axis line.
minorGridLineColor : color
The color of the minor grid line.
Applies only to axes that support minor grid lines.
minorGridVisible : bool
The visibility of the minor grid lines. Applies only to axes that support minor grid lines.
orientation : Qt.Orientation
reverse : alignment
Defines whether a reverse axis is used. By default, the value is
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.
shadesBorderColor : color
The border (pen) color of the axis shades.
shadesColor : color
The fill (brush) color of the axis shades.
shadesVisible : bool
The visibility of the axis shades.
titleFont : font
The font of the title of the axis.
titleText : string
The title of the axis. Empty by default. Axis titles support HTML formatting.
titleVisible : bool
The visibility of the axis title. By default, the value is
truncateLabels : int
The truncation state of labels.
Indicates whether labels should be truncated if there is no enough space for full text. It is equal to
true by default.
visible : bool
The visibility of the axis.
© 2023 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.