ValueAxis QML Type
Adds values to a chart's axes. More...
|Import Statement:||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:
- tickAnchor, tickInterval, tickType
- all signals and methods
- The labelFormat property supports a limited list of specifiers.
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.
See also 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.
See also 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.
Available under certain Qt licenses.
Find out more.