Adds values to a chart's axes. 更多...
|导入语句：||import QtCharts .|
|Since:||Qt Quick Ultralite 1.1|
The ValueAxis type can be set up to show an axis line with tick marks, grid lines, and shades. The values on the axis are drawn at the positions of tick marks.
The ValueAxis type is based on QtCharts .ValueAxis. The following members are not supported yet:
labelFormat : string
The format string to use for the tick labels.
The following conversion format specifiers are supported:
d, i, f, e
The floating-point specifiers support a precision.
max : real
The maximum value on the axis.
When setting this property, the minimum value is adjusted if necessary, to ensure that the range remains valid.
另请参阅 min .
min : real
The minimum value on the axis.
When setting this property, the maximum value is adjusted if necessary, to ensure that the range remains valid.
另请参阅 max .
tickCount : int
The number of tick marks on the axis. This indicates how many grid lines are drawn on the chart. The default value is 5, and the number cannot be less than 2.