|
@@
-108,13
+108,13
QTCOMMERCIALCHART_BEGIN_NAMESPACE
|
|
108
|
|
|
108
|
|
|
109
|
/*!
|
|
109
|
/*!
|
|
110
|
\property QValueAxis::labelFormat
|
|
110
|
\property QValueAxis::labelFormat
|
|
111
|
Defines the label format for the axis.
|
|
111
|
Defines the label format of the axis.
|
|
112
|
Supported specifiers are: d, i, o, x, X, f, F, e, E, g, G, c
|
|
112
|
Supported specifiers are: d, i, o, x, X, f, F, e, E, g, G, c
|
|
113
|
See QString::sprintf() for additional details.
|
|
113
|
See QString::sprintf() for additional details.
|
|
114
|
*/
|
|
114
|
*/
|
|
115
|
/*!
|
|
115
|
/*!
|
|
116
|
\qmlproperty real ValueAxis::labelFormat
|
|
116
|
\qmlproperty real ValueAxis::labelFormat
|
|
117
|
Defines the label format for the axis.
|
|
117
|
Defines the label format of the axis.
|
|
118
|
Supported specifiers are: d, i, o, x, X, f, F, e, E, g, G, c
|
|
118
|
Supported specifiers are: d, i, o, x, X, f, F, e, E, g, G, c
|
|
119
|
See QString::sprintf() for additional details.
|
|
119
|
See QString::sprintf() for additional details.
|
|
120
|
*/
|
|
120
|
*/
|
|
@@
-139,11
+139,11
QTCOMMERCIALCHART_BEGIN_NAMESPACE
|
|
139
|
|
|
139
|
|
|
140
|
/*!
|
|
140
|
/*!
|
|
141
|
\fn void QValueAxis::tickCountChanged(int tickCount)
|
|
141
|
\fn void QValueAxis::tickCountChanged(int tickCount)
|
|
142
|
Axis emits signal when number of ticks on axis have changed.
|
|
142
|
Axis emits signal when \a tickCount number on axis have changed.
|
|
143
|
*/
|
|
143
|
*/
|
|
144
|
/*!
|
|
144
|
/*!
|
|
145
|
\qmlsignal ValueAxis::tickCountChanged(int tickCount)
|
|
145
|
\qmlsignal ValueAxis::tickCountChanged(int tickCount)
|
|
146
|
Axis emits signal when number of ticks on axis have changed.
|
|
146
|
Axis emits signal when \a tickCount number on axis have changed.
|
|
147
|
*/
|
|
147
|
*/
|
|
148
|
|
|
148
|
|
|
149
|
/*!
|
|
149
|
/*!
|
|
@@
-152,6
+152,15
QTCOMMERCIALCHART_BEGIN_NAMESPACE
|
|
152
|
*/
|
|
152
|
*/
|
|
153
|
|
|
153
|
|
|
154
|
/*!
|
|
154
|
/*!
|
|
|
|
|
155
|
\fn void QValueAxis::labelFormatChanged(const QString &format)
|
|
|
|
|
156
|
Axis emits signal when \a format of axis labels has changed.
|
|
|
|
|
157
|
*/
|
|
|
|
|
158
|
/*!
|
|
|
|
|
159
|
\qmlsignal ValueAxis::labelFormatChanged(const QString &format)
|
|
|
|
|
160
|
Axis emits signal when \a format of axis labels has changed.
|
|
|
|
|
161
|
*/
|
|
|
|
|
162
|
|
|
|
|
|
163
|
/*!
|
|
155
|
\property QValueAxis::niceNumbersEnabled
|
|
164
|
\property QValueAxis::niceNumbersEnabled
|
|
156
|
\obsolete
|
|
165
|
\obsolete
|
|
157
|
Using this function can lead to unexpected behavior. Use applyNiceNumbers() instead.
|
|
166
|
Using this function can lead to unexpected behavior. Use applyNiceNumbers() instead.
|
|
@@
-288,7
+297,7
QAbstractAxis::AxisType QValueAxis::type() const
|
|
288
|
This method modifies range and number of ticks on the axis to look "nice". Algorithm considers numbers that
|
|
297
|
This method modifies range and number of ticks on the axis to look "nice". Algorithm considers numbers that
|
|
289
|
can be expressed as form of 1*10^n, 2* 10^n or 5*10^n as a nice numbers. These numbers are used for spacing the ticks.
|
|
298
|
can be expressed as form of 1*10^n, 2* 10^n or 5*10^n as a nice numbers. These numbers are used for spacing the ticks.
|
|
290
|
This method will modify the current range and number of ticks.
|
|
299
|
This method will modify the current range and number of ticks.
|
|
291
|
\sa setRange(), setTicks()
|
|
300
|
\sa setRange(), setTickCount()
|
|
292
|
*/
|
|
301
|
*/
|
|
293
|
void QValueAxis::applyNiceNumbers()
|
|
302
|
void QValueAxis::applyNiceNumbers()
|
|
294
|
{
|
|
303
|
{
|