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