ValueAxis3D QML Type

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

import 語句: import QtDataVisualization 1.15
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.

該特性在 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.

該特性在 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 .