AbstractAxis QML Type

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

导入语句: import QtCharts .
Since: Qt Quick Ultralite 1.1
继承者:

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

The AbstractAxis type is based on QtCharts.AbstractAxis . The following properties are not supported yet:

  • minorGridVisible, minorGridLineColor
  • labelsAngle
  • shadesVisible, shadesColor, shadesBorderColor
  • titleVisible, titleText, titleFont
  • orientation
  • alignment
  • reverse

Other differences:

特性文档编制

color : color

The color of the axis line.


gridLineColor : color

The color of the grid line.


gridVisible : bool

The visibility of the grid lines.


labelsColor : color

The color of the axis labels.


labelsFont : font

The font of the axis labels.


labelsVisible : bool

The visibility of axis labels.


lineVisible : bool

The visibility of the axis line.


visible : bool

The visibility of the axis, including labels and grid.