ValueAxis3D QML Type

Manipulates an axis of a graph. 更多...

import 语句: import QtDataVisualization 1.2
Since: QtDataVisualization 1.0
实例化: QValue3DAxis
继承: AbstractAxis3D

特性

详细描述

This type provides an axis that can be given a range of values and segment and subsegment counts to divide the range into.

特性文档编制

formatter : ValueAxis3DFormatter

The axis formatter to be used. Any existing formatter is deleted when a new formatter is set.

This QML property was introduced in QtDataVisualization 1.1.

labelFormat : string

The label format to be used for the labels on this axis.

格式字符串支持的以下转换说明符、长度修饰符和标志的提供通过 printf() 在标准 C++ 库:d、i、o、x、X、f、F、e、E、g、G、c。

AbstractGraph3D::locale is anything else than "C" ,支持的说明符限于:d、e、E、f、g、G 和 i。另外,仅支持精度修饰符。其余格式来自默认 Locale 对于应用程序。

另请参阅 AbstractGraph3D::locale .

reversed : bool

true , the axis will be rendered in reverse. That is, the positions of the minimum and maximum values are swapped when the graph is rendered. This property does not affect the actual minimum and maximum values of the axis.

This QML property was introduced in QtDataVisualization 1.1.

segmentCount : int

The number of segments on the axis. This indicates how many labels are drawn. The number of grid lines to be drawn is calculated with the following formula: segments * subsegments + 1 . The preset default is 5 . The value cannot be below 1 .

subSegmentCount : int

The number of subsegments inside each segment on the axis. Grid lines are drawn between each subsegment, in addition to each segment. The preset default is 1 . The value cannot be below 1 .