IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

ValueAxis3D QML Type

Manipulates an axis of a graph.

This type was introduced in QtDataVisualization 1.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ValueAxis3D QML Type

  • Import Statement: import QtDataVisualization 1.4

  • Since:: QtDataVisualization 1.0

  • Inherits:: AbstractAxis3D

  • Instantiates:: QValue3DAxis

  • Group: ValueAxis3D is part of datavisualization_qml

Detailed Description

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

Property Documentation

 

[since QtDataVisualization 1.1] formatter : ValueAxis3DFormatter

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

This property was introduced in QtDataVisualization 1.1.

labelFormat : string

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

The format string supports the following conversion specifiers, length modifiers, and flags provided by printf() in the standard C++ library: d, i, o, x, X, f, F, e, E, g, G, c.

If AbstractGraph3D::locale is anything else than "C", the supported specifiers are limited to: d, e, E, f, g, G, and i. Also, only the precision modifier is supported. The rest of the formatting comes from the default Locale of the application.

See Also

[since QtDataVisualization 1.1] reversed : bool

If 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 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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+