##// END OF EJS Templates
Fixed minor issues in QML axes documentation
Tero Ahola -
r1869:8a10d7ac696d
parent child
Show More
@@ -19,8 +19,8
19 <ul>
19 <ul>
20 <li><a href="qml-chartview.html">ChartView</a></li>
20 <li><a href="qml-chartview.html">ChartView</a></li>
21 <li><a href="qml-abstractaxis.html">AbstractAxis</a></li>
21 <li><a href="qml-abstractaxis.html">AbstractAxis</a></li>
22 <li><a href="qml-valuesaxis.html">ValuesAxis</a></li>
22 <li><a href="qml-valueaxis.html">ValueAxis</a></li>
23 <li><a href="qml-barcategoriesaxis.html">BarCategoriesAxis</a></li>
23 <li><a href="qml-barcategoryaxis.html">BarCategoryAxis</a></li>
24 <li><a href="qml-legend.html">Legend</a></li>
24 <li><a href="qml-legend.html">Legend</a></li>
25 <li><a href="qml-abstractseries.html">AbstractSeries</a></li>
25 <li><a href="qml-abstractseries.html">AbstractSeries</a></li>
26 </ul>
26 </ul>
@@ -173,25 +173,25 QTCOMMERCIALCHART_BEGIN_NAMESPACE
173 /*!
173 /*!
174 \qmlmethod ChartView::scrollLeft(real pixels)
174 \qmlmethod ChartView::scrollLeft(real pixels)
175 Scrolls to left by \a pixels. This is a convenience function that suits for example for key navigation.
175 Scrolls to left by \a pixels. This is a convenience function that suits for example for key navigation.
176 \sa ValueAxis::min, ValueAxis::max, BarCategoriesAxis::min, BarCategoriesAxis::max
176 \sa ValueAxis::min, ValueAxis::max, BarCategoryAxis::min, BarCategoryAxis::max
177 */
177 */
178
178
179 /*!
179 /*!
180 \qmlmethod ChartView::scrollRight(real pixels)
180 \qmlmethod ChartView::scrollRight(real pixels)
181 Scrolls to right by \a pixels. This is a convenience function that suits for example for key navigation.
181 Scrolls to right by \a pixels. This is a convenience function that suits for example for key navigation.
182 \sa ValueAxis::min, ValueAxis::max, BarCategoriesAxis::min, BarCategoriesAxis::max
182 \sa ValueAxis::min, ValueAxis::max, BarCategoryAxis::min, BarCategoryAxis::max
183 */
183 */
184
184
185 /*!
185 /*!
186 \qmlmethod ChartView::scrollUp(real pixels)
186 \qmlmethod ChartView::scrollUp(real pixels)
187 Scrolls up by \a pixels. This is a convenience function that suits for example for key navigation.
187 Scrolls up by \a pixels. This is a convenience function that suits for example for key navigation.
188 \sa ValueAxis::min, ValueAxis::max, BarCategoriesAxis::min, BarCategoriesAxis::max
188 \sa ValueAxis::min, ValueAxis::max, BarCategoryAxis::min, BarCategoryAxis::max
189 */
189 */
190
190
191 /*!
191 /*!
192 \qmlmethod ChartView::scrollDown(real pixels)
192 \qmlmethod ChartView::scrollDown(real pixels)
193 Scrolls down by \a pixels. This is a convenience function that suits for example for key navigation.
193 Scrolls down by \a pixels. This is a convenience function that suits for example for key navigation.
194 \sa ValueAxis::min, ValueAxis::max, BarCategoriesAxis::min, BarCategoriesAxis::max
194 \sa ValueAxis::min, ValueAxis::max, BarCategoryAxis::min, BarCategoryAxis::max
195 */
195 */
196
196
197 /*!
197 /*!
@@ -32,22 +32,23 QTCOMMERCIALCHART_BEGIN_NAMESPACE
32 \brief The QBarCategoryAxis class is used for manipulating chart's axis.
32 \brief The QBarCategoryAxis class is used for manipulating chart's axis.
33 \mainclass
33 \mainclass
34
34
35 BarCategoriesAxis can be setup to show axis line with tick marks, grid lines and shades.
35 BarCategoryAxis can be setup to show axis line with tick marks, grid lines and shades.
36 Categories are drawn between ticks. Note that you can use this also with lineseries too.
36 Categories are drawn between ticks. Note that you can use this also with lineseries too.
37 See the \l {Line and BarChart Example} {Line and BarChart Example} to learn how to do that.
37 See the \l {Line and BarChart Example} {Line and BarChart Example} to learn how to do that.
38 */
38 */
39
39
40 /*!
40 /*!
41 \qmlclass BarCategoriesAxis QBarCategoryAxis
41 \qmlclass BarCategoryAxis QBarCategoryAxis
42 \inherits AbstractAxis
42 \brief The Axis element is used for manipulating chart's axes.
43 \brief The Axis element is used for manipulating chart's axes.
43
44
44 Axis can be setup to show axis line with tick marks, grid lines and shades.
45 Axis can be setup to show axis line with tick marks, grid lines and shades.
45 Categories are drawn between ticks. Note that you can use this also with lineseries too.
46 Categories are drawn between ticks. Note that you can use this also with lineseries too.
46
47
47 To access BarCategoriesAxis you can use ChartView API. For example:
48 To access BarCategoryAxis you can use ChartView API. For example:
48 \code
49 \code
49 ChartView {
50 ChartView {
50 BarCategoriesAxis {
51 BarCategoryAxis {
51 id: categoryAxis
52 id: categoryAxis
52 categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ]
53 categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ]
53 }
54 }
@@ -61,7 +62,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
61 Defines the categories of axis
62 Defines the categories of axis
62 */
63 */
63 /*!
64 /*!
64 \qmlproperty QStringList BarCategoriesAxis::categories
65 \qmlproperty QStringList BarCategoryAxis::categories
65 Defines the categories of axis
66 Defines the categories of axis
66 */
67 */
67
68
@@ -70,7 +71,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
70 Defines the minimum value on the axis.
71 Defines the minimum value on the axis.
71 */
72 */
72 /*!
73 /*!
73 \qmlproperty QString BarCategoriesAxis::min
74 \qmlproperty QString BarCategoryAxis::min
74 Defines the minimum value on the axis.
75 Defines the minimum value on the axis.
75 */
76 */
76
77
@@ -79,7 +80,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
79 Defines the maximum value on the axis.
80 Defines the maximum value on the axis.
80 */
81 */
81 /*!
82 /*!
82 \qmlproperty QString BarCategoriesAxis::max
83 \qmlproperty QString BarCategoryAxis::max
83 Defines the maximum value on the axis.
84 Defines the maximum value on the axis.
84 */
85 */
85
86
@@ -93,7 +94,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
93 Axis emits signal when \a min of axis has changed.
94 Axis emits signal when \a min of axis has changed.
94 */
95 */
95 /*!
96 /*!
96 \qmlsignal BarCategoriesAxis::onMinChanged(const QString &min)
97 \qmlsignal BarCategoryAxis::onMinChanged(const QString &min)
97 Axis emits signal when \a min of axis has changed.
98 Axis emits signal when \a min of axis has changed.
98 */
99 */
99
100
@@ -102,7 +103,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
102 Axis emits signal when \a max of axis has changed.
103 Axis emits signal when \a max of axis has changed.
103 */
104 */
104 /*!
105 /*!
105 \qmlsignal BarCategoriesAxis::onMaxChanged(const QString &max)
106 \qmlsignal BarCategoryAxis::onMaxChanged(const QString &max)
106 Axis emits signal when \a max of axis has changed.
107 Axis emits signal when \a max of axis has changed.
107 */
108 */
108
109
@@ -37,6 +37,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
37
37
38 /*!
38 /*!
39 \qmlclass CategoryAxis QCategoryAxis
39 \qmlclass CategoryAxis QCategoryAxis
40 \inherits AbstractAxis
40 \brief The QCategoryAxis class allows putting a named ranges on the axis.
41 \brief The QCategoryAxis class allows putting a named ranges on the axis.
41 */
42 */
42
43
@@ -39,6 +39,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
39
39
40 /*!
40 /*!
41 \qmlclass ValueAxis QValueAxis
41 \qmlclass ValueAxis QValueAxis
42 \inherits AbstractAxis
42 \brief The ValueAxis element is used for manipulating chart's axes
43 \brief The ValueAxis element is used for manipulating chart's axes
43
44
44 ValueAxis can be setup to show axis line with tick marks, grid lines and shades.
45 ValueAxis can be setup to show axis line with tick marks, grid lines and shades.
General Comments 0
You need to be logged in to leave comments. Login now