@@ -32,8 +32,8 | |||||
32 | <li><a href="qchart.html">QChart</a></li> |
|
32 | <li><a href="qchart.html">QChart</a></li> | |
33 | <li><a href="qchartview.html">QChartView</a></li> |
|
33 | <li><a href="qchartview.html">QChartView</a></li> | |
34 | <li><a href="qabstractaxis.html">QAbstractAxis</a></li> |
|
34 | <li><a href="qabstractaxis.html">QAbstractAxis</a></li> | |
35 |
<li><a href="qvalue |
|
35 | <li><a href="qvalueaxis.html">QValueAxis</a></li> | |
36 |
<li><a href="qbarcategor |
|
36 | <li><a href="qbarcategoryaxis.html">QBarCategoryAxis</a></li> | |
37 | <li><a href="qintervalsaxis.html">QIntervalsAxis</a></li> |
|
37 | <li><a href="qintervalsaxis.html">QIntervalsAxis</a></li> | |
38 | <li><a href="qlegend.html">QLegend</a></li> |
|
38 | <li><a href="qlegend.html">QLegend</a></li> | |
39 | <li><a href="qabstractseries.html">QAbstractSeries</a></li> |
|
39 | <li><a href="qabstractseries.html">QAbstractSeries</a></li> |
@@ -92,12 +92,12 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
92 | */ |
|
92 | */ | |
93 |
|
93 | |||
94 | /*! |
|
94 | /*! | |
95 |
\property QDateTimeAxis::tick |
|
95 | \property QDateTimeAxis::tickCount | |
96 | The number of tick marks for the axis. |
|
96 | The number of tick marks for the axis. | |
97 | */ |
|
97 | */ | |
98 |
|
98 | |||
99 | /*! |
|
99 | /*! | |
100 |
\qmlproperty int ValuesAxis::tick |
|
100 | \qmlproperty int ValuesAxis::tickCount | |
101 | The number of tick marks for the axis. |
|
101 | The number of tick marks for the axis. | |
102 | */ |
|
102 | */ | |
103 |
|
103 | |||
@@ -186,7 +186,7 void QDateTimeAxis::setRange(QDateTime min, QDateTime max) | |||||
186 | /*! |
|
186 | /*! | |
187 | Sets \a format string that is used when creating label for the axis out of the QDateTime object. |
|
187 | Sets \a format string that is used when creating label for the axis out of the QDateTime object. | |
188 | Check QDateTime documentation for information on how the string should be defined. |
|
188 | Check QDateTime documentation for information on how the string should be defined. | |
189 |
\sa format |
|
189 | \sa format() | |
190 | */ |
|
190 | */ | |
191 | void QDateTimeAxis::setFormat(QString format) |
|
191 | void QDateTimeAxis::setFormat(QString format) | |
192 | { |
|
192 | { | |
@@ -197,7 +197,7 void QDateTimeAxis::setFormat(QString format) | |||||
197 | /*! |
|
197 | /*! | |
198 | Returns the format string that is used when creating label for the axis out of the QDateTime object. |
|
198 | Returns the format string that is used when creating label for the axis out of the QDateTime object. | |
199 | Check QDateTime documentation for information on how the string should be defined. |
|
199 | Check QDateTime documentation for information on how the string should be defined. | |
200 |
\sa setFormat |
|
200 | \sa setFormat() | |
201 | */ |
|
201 | */ | |
202 | QString QDateTimeAxis::format() const |
|
202 | QString QDateTimeAxis::format() const | |
203 | { |
|
203 | { | |
@@ -218,7 +218,7 void QDateTimeAxis::setTickCount(int count) | |||||
218 | } |
|
218 | } | |
219 |
|
219 | |||
220 | /*! |
|
220 | /*! | |
221 |
\fn int QDateTimeAxis::tick |
|
221 | \fn int QDateTimeAxis::tickCount() const | |
222 | Return number of ticks on the axis |
|
222 | Return number of ticks on the axis | |
223 | */ |
|
223 | */ | |
224 | int QDateTimeAxis::tickCount() const |
|
224 | int QDateTimeAxis::tickCount() const |
@@ -33,13 +33,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
33 | \brief The QValueAxis class is used for manipulating chart's axis. |
|
33 | \brief The QValueAxis class is used for manipulating chart's axis. | |
34 | \mainclass |
|
34 | \mainclass | |
35 |
|
35 | |||
36 |
Value |
|
36 | ValueAxis can be setup to show axis line with tick marks, grid lines and shades. | |
37 | Values of axis are drawn to position of ticks |
|
37 | Values of axis are drawn to position of ticks | |
38 | */ |
|
38 | */ | |
39 |
|
39 | |||
40 | /*! |
|
40 | /*! | |
41 |
\qmlclass Value |
|
41 | \qmlclass ValueAxis QValueAxis | |
42 |
\brief The Value |
|
42 | \brief The ValueAxis element is used for manipulating chart's axes | |
43 |
|
43 | |||
44 | ValueAxis can be setup to show axis line with tick marks, grid lines and shades. |
|
44 | ValueAxis can be setup to show axis line with tick marks, grid lines and shades. | |
45 | Values of axis are drawn to position of ticks |
|
45 | Values of axis are drawn to position of ticks | |
@@ -47,7 +47,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
47 | To access Axes you can use ChartView API. For example: |
|
47 | To access Axes you can use ChartView API. For example: | |
48 | \code |
|
48 | \code | |
49 | ChartView { |
|
49 | ChartView { | |
50 |
Value |
|
50 | ValueAxis { | |
51 | id: xAxis |
|
51 | id: xAxis | |
52 | min: 0 |
|
52 | min: 0 | |
53 | max: 10 |
|
53 | max: 10 | |
@@ -63,7 +63,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
63 | When setting this property the max is adjusted if necessary, to ensure that the range remains valid. |
|
63 | When setting this property the max is adjusted if necessary, to ensure that the range remains valid. | |
64 | */ |
|
64 | */ | |
65 | /*! |
|
65 | /*! | |
66 |
\qmlproperty real Value |
|
66 | \qmlproperty real ValueAxis::min | |
67 | Defines the minimum value on the axis. |
|
67 | Defines the minimum value on the axis. | |
68 | When setting this property the max is adjusted if necessary, to ensure that the range remains valid. |
|
68 | When setting this property the max is adjusted if necessary, to ensure that the range remains valid. | |
69 | */ |
|
69 | */ | |
@@ -74,7 +74,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
74 | When setting this property the min is adjusted if necessary, to ensure that the range remains valid. |
|
74 | When setting this property the min is adjusted if necessary, to ensure that the range remains valid. | |
75 | */ |
|
75 | */ | |
76 | /*! |
|
76 | /*! | |
77 |
\qmlproperty real Value |
|
77 | \qmlproperty real ValueAxis::max | |
78 | Defines the maximum value on the axis. |
|
78 | Defines the maximum value on the axis. | |
79 | When setting this property the min is adjusted if necessary, to ensure that the range remains valid. |
|
79 | When setting this property the min is adjusted if necessary, to ensure that the range remains valid. | |
80 | */ |
|
80 | */ | |
@@ -84,7 +84,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
84 | Axis emits signal when \a min of axis has changed. |
|
84 | Axis emits signal when \a min of axis has changed. | |
85 | */ |
|
85 | */ | |
86 | /*! |
|
86 | /*! | |
87 |
\qmlsignal Value |
|
87 | \qmlsignal ValueAxis::onMinChanged(real min) | |
88 | Axis emits signal when \a min of axis has changed. |
|
88 | Axis emits signal when \a min of axis has changed. | |
89 | */ |
|
89 | */ | |
90 |
|
90 | |||
@@ -93,7 +93,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
93 | Axis emits signal when \a max of axis has changed. |
|
93 | Axis emits signal when \a max of axis has changed. | |
94 | */ |
|
94 | */ | |
95 | /*! |
|
95 | /*! | |
96 |
\qmlsignal Value |
|
96 | \qmlsignal ValueAxis::onMaxChanged(real max) | |
97 | Axis emits signal when \a max of axis has changed. |
|
97 | Axis emits signal when \a max of axis has changed. | |
98 | */ |
|
98 | */ | |
99 |
|
99 | |||
@@ -103,12 +103,12 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
103 | */ |
|
103 | */ | |
104 |
|
104 | |||
105 | /*! |
|
105 | /*! | |
106 |
\property QValueAxis::tick |
|
106 | \property QValueAxis::tickCount | |
107 | The number of tick marks for the axis. |
|
107 | The number of tick marks for the axis. | |
108 | */ |
|
108 | */ | |
109 |
|
109 | |||
110 | /*! |
|
110 | /*! | |
111 |
\qmlproperty int Value |
|
111 | \qmlproperty int ValueAxis::tickCount | |
112 | The number of tick marks for the axis. |
|
112 | The number of tick marks for the axis. | |
113 | */ |
|
113 | */ | |
114 |
|
114 | |||
@@ -118,7 +118,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
118 | */ |
|
118 | */ | |
119 |
|
119 | |||
120 | /*! |
|
120 | /*! | |
121 |
\qmlproperty bool Value |
|
121 | \qmlproperty bool ValueAxis::niceNumbersEnabled | |
122 | Whether the nice numbers algorithm is enabled or not for the axis. |
|
122 | Whether the nice numbers algorithm is enabled or not for the axis. | |
123 | */ |
|
123 | */ | |
124 |
|
124 | |||
@@ -222,7 +222,7 void QValueAxis::setTickCount(int count) | |||||
222 | } |
|
222 | } | |
223 |
|
223 | |||
224 | /*! |
|
224 | /*! | |
225 |
\fn int QValueAxis::tick |
|
225 | \fn int QValueAxis::tickCount() const | |
226 | Return number of ticks on the axis |
|
226 | Return number of ticks on the axis | |
227 | */ |
|
227 | */ | |
228 | int QValueAxis::tickCount() const |
|
228 | int QValueAxis::tickCount() const |
General Comments 0
You need to be logged in to leave comments.
Login now