LogValueAxis QML Type

The LogValueAxis element is used for manipulating chart's axes. More...

Import Statement: import QtCharts 2.1
Instantiates: QLogValueAxis
Inherits:

AbstractAxis

Properties

Signals

Detailed Description

Note: If a LogValueAxis is attached to a series with one or more points with negative or zero values on the associated dimension, the series will not be plotted at all. This is particularly relevant when XYModelMappers are used, since empty cells in models typically contain zero values.

Property Documentation

base : real

Defines the maximum value on the axis. Defines the base of the logarithm. Value has to be greater than 0 and not equal 1


labelFormat : real

Defines the label format of the axis. Supported specifiers are: d, i, o, x, X, f, F, e, E, g, G, c See QString::sprintf() for additional details.


max : real

Defines the maximum value on the axis. When setting this property the min is adjusted if necessary, to ensure that the range remains valid. Value has to be greater than 0.


min : real

Defines the minimum value on the axis. When setting this property the max is adjusted if necessary, to ensure that the range remains valid. Value has to be greater than 0.


Signal Documentation

baseChanged(qreal base)

Axis emits signal when base of logarithm of the axis has changed.


labelFormatChanged(const QString &format)

Axis emits signal when format of axis labels has changed.


onMaxChanged(qreal max)

Axis emits signal when max of axis has changed.


onMinChanged(qreal min)

Axis emits signal when min of axis has changed.


© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.