A base type used for specialized axis types. 更多...
| import 语句: |
import QtGraphs
|
| 在 C++: | QAbstractAxis |
| 继承者: |
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.
|
gridVisible : bool |
The visibility of the grid lines. By default, the value is
true
.
|
labelDelegate : 组件 |
A custom QML Component used as a label for the axis. This component should either be a Text component or contain "property string text", so that this property will be assigned the value of the label.
|
labelsAngle : real |
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
.
|
subGridVisible : bool |
The visibility of the subgrid lines. Applies only to axes that support subgrid lines. By default, the value is
true
.
|
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
.
|
gridVisibleChanged ( bool visible ) |
This signal is emitted when the visibility of the grid lines of the axis changes to visible .
注意:
相应处理程序是
onGridVisibleChanged
.
|
labelsAngleChanged ( string angle ) |
This signal is emitted when the angle of the axis labels changes to angle .
注意:
相应处理程序是
onLabelsAngleChanged
.
|
labelsVisibleChanged ( bool visible ) |
This signal is emitted when the visibility of the labels of the axis changes to visible .
注意:
相应处理程序是
onLabelsVisibleChanged
.
|
lineVisibleChanged ( bool visible ) |
This signal is emitted when the visibility of the axis line changes to visible .
注意:
相应处理程序是
onLineVisibleChanged
.
|
minorGridVisibleChanged ( bool visible ) |
This signal is emitted when the visibility of the minor grid lines of the axis changes to visible .
注意:
相应处理程序是
onMinorGridVisibleChanged
.
This signal is emitted when the axis range changes. min and max are the min and max of the new range.
注意:
相应处理程序是
onRangeChanged
.
|
titleColorChanged ( color color ) |
This signal is emitted when the color used to draw the axis title changes to color .
注意:
相应处理程序是
onTitleColorChanged
.
|
titleFontChanged ( Font font ) |
This signal is emitted when the font of the axis title changes to font .
注意:
相应处理程序是
onTitleFontChanged
.
|
titleTextChanged ( string text ) |
This signal is emitted when the text of the axis title changes to text .
注意:
相应处理程序是
onTitleTextChanged
.
|
titleVisibleChanged ( bool visible ) |
This signal is emitted when the visibility of the title text of the axis changes to visible .
注意:
相应处理程序是
onTitleVisibleChanged
.
|
visibleChanged ( bool visible ) |
This signal is emitted when the visibility of the axis changes to visible .
注意:
相应处理程序是
onVisibleChanged
.