AbstractAxis QML Type

A base type used for specialized axis types. 更多...

import 语句: import QtGraphs
实例化: QAbstractAxis
继承者:

BarCategoryAxis and ValueAxis

状态: 技术预览

特性

详细描述

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, and grid lines, can be individually controlled.

特性文档编制

alignment : alignment [read-only]

The alignment of the axis. Can be Qt.AlignLeft , Qt.AlignRight , Qt.AlignBottom ,或 Qt.AlignTop .

gridVisible : bool

The visibility of the grid lines. By default, the value is true .

labelsAngle : qreal

The angle of the axis labels in degrees.

labelsVisible : bool

The visibility of axis labels. By default, the value is true .

lineVisible : bool

The visibility of the axis line. By default, the value is true .

minorGridVisible : bool

The visibility of the minor grid lines. Applies only to axes that support minor grid lines. By default, the value is true .

orientation : Qt . Orientation [read-only]

The orientation of the axis. Fixed to either Qt.Horizontal or Qt.Vertical when the axis is set to a series.

titleColor : color

The color used to draw the title text.

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 true .

visible : bool

The visibility of the axis. By default, the value is true .