##// END OF EJS Templates
qml doc update
sauimone -
r1639:ef5607ba9d7f
parent child
Show More
@@ -18,7 +18,9
18 <td valign="top">
18 <td valign="top">
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-axis.html">Axis</a></li>
21 <li><a href="qml-abstractaxis.html">AbstractAxis</a></li>
22 <li><a href="qml-valuesaxis.html">ValuesAxis</a></li>
23 <li><a href="qml-barcategoriesaxis.html">BarCategoriesAxis</a></li>
22 <li><a href="qml-legend.html">Legend</a></li>
24 <li><a href="qml-legend.html">Legend</a></li>
23 <li><a href="qml-abstractseries.html">AbstractSeries</a></li>
25 <li><a href="qml-abstractseries.html">AbstractSeries</a></li>
24 </ul>
26 </ul>
@@ -165,25 +165,25 QTCOMMERCIALCHART_BEGIN_NAMESPACE
165 /*!
165 /*!
166 \qmlmethod ChartView::scrollLeft(real pixels)
166 \qmlmethod ChartView::scrollLeft(real pixels)
167 Scrolls to left by \a pixels. This is a convenience function that suits for example for key navigation.
167 Scrolls to left by \a pixels. This is a convenience function that suits for example for key navigation.
168 \sa Axis::min, Axis::max
168 \sa AbstractAxis::min, AbstractAxis::max
169 */
169 */
170
170
171 /*!
171 /*!
172 \qmlmethod ChartView::scrollRight(real pixels)
172 \qmlmethod ChartView::scrollRight(real pixels)
173 Scrolls to right by \a pixels. This is a convenience function that suits for example for key navigation.
173 Scrolls to right by \a pixels. This is a convenience function that suits for example for key navigation.
174 \sa Axis::min, Axis::max
174 \sa AbstractAxis::min, AbstractAxis::max
175 */
175 */
176
176
177 /*!
177 /*!
178 \qmlmethod ChartView::scrollUp(real pixels)
178 \qmlmethod ChartView::scrollUp(real pixels)
179 Scrolls up by \a pixels. This is a convenience function that suits for example for key navigation.
179 Scrolls up by \a pixels. This is a convenience function that suits for example for key navigation.
180 \sa Axis::min, Axis::max
180 \sa AbstractAxis::min, AbstractAxis::max
181 */
181 */
182
182
183 /*!
183 /*!
184 \qmlmethod ChartView::scrollDown(real pixels)
184 \qmlmethod ChartView::scrollDown(real pixels)
185 Scrolls down by \a pixels. This is a convenience function that suits for example for key navigation.
185 Scrolls down by \a pixels. This is a convenience function that suits for example for key navigation.
186 \sa Axis::min, Axis::max
186 \sa AbstractAxis::min, AbstractAxis::max
187 */
187 */
188
188
189 /*!
189 /*!
@@ -28,16 +28,16 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 \brief The QAbstractAxis class is used for manipulating chart's axis.
28 \brief The QAbstractAxis class is used for manipulating chart's axis.
29 \mainclass
29 \mainclass
30
30
31 There is only one x Axis, however there can be multiple y axes.
31 There is only one x Axis visible at the time, however there can be multiple y axes.
32 Each chart series can be bound to exactly one Y axis and the shared common X axis.
32 Each chart series can be bound to exactly one Y axis and the shared common X axis.
33 Axis can be setup to show axis line with tick marks, grid lines and shades.
33 Axis can be setup to show axis line with tick marks, grid lines and shades.
34 */
34 */
35
35
36 /*!
36 /*!
37 \qmlclass Axis QAbstractAxis
37 \qmlclass AbstractAxis QAbstractAxis
38 \brief The Axis element is used for manipulating chart's axes
38 \brief The Axis element is used for manipulating chart's axes
39
39
40 There is only one x Axis, however there can be multiple y axes on a ChartView.
40 There is only one x Axis visible at the time, however there can be multiple y axes on a ChartView.
41 Each chart series can be bound to exactly one Y axis and the shared common X axis.
41 Each chart series can be bound to exactly one Y axis and the shared common X axis.
42 Axis can be setup to show axis line with tick marks, grid lines and shades.
42 Axis can be setup to show axis line with tick marks, grid lines and shades.
43
43
@@ -74,7 +74,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
74 The visibility of the axis arrow
74 The visibility of the axis arrow
75 */
75 */
76 /*!
76 /*!
77 \qmlproperty bool Axis::arrrowVisible
77 \qmlproperty bool AbstractAxis::arrrowVisible
78 The visibility of the axis arrow
78 The visibility of the axis arrow
79 */
79 */
80
80
@@ -83,7 +83,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
83 Defines if axis labels are visible.
83 Defines if axis labels are visible.
84 */
84 */
85 /*!
85 /*!
86 \qmlproperty bool Axis::labelsVisible
86 \qmlproperty bool AbstractAxis::labelsVisible
87 Defines if axis labels are visible.
87 Defines if axis labels are visible.
88 */
88 */
89
89
@@ -92,7 +92,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
92 The visibility of the axis.
92 The visibility of the axis.
93 */
93 */
94 /*!
94 /*!
95 \qmlproperty bool Axis::visible
95 \qmlproperty bool AbstractAxis::visible
96 The visibility of the axis.
96 The visibility of the axis.
97 */
97 */
98
98
@@ -101,7 +101,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
101 The visibility of the grid lines.
101 The visibility of the grid lines.
102 */
102 */
103 /*!
103 /*!
104 \qmlproperty bool Axis::gridVisible
104 \qmlproperty bool AbstractAxis::gridVisible
105 The visibility of the grid lines.
105 The visibility of the grid lines.
106 */
106 */
107
107
@@ -110,7 +110,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
110 The color of the axis and ticks.
110 The color of the axis and ticks.
111 */
111 */
112 /*!
112 /*!
113 \qmlproperty color Axis::color
113 \qmlproperty color AbstractAxis::color
114 The color of the axis and ticks.
114 The color of the axis and ticks.
115 */
115 */
116
116
@@ -120,7 +120,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
120 */
120 */
121
121
122 /*!
122 /*!
123 \qmlproperty Font Axis::labelsFont
123 \qmlproperty Font AbstractAxis::labelsFont
124 The font of the axis labels.
124 The font of the axis labels.
125
125
126 See the \l {Font} {QML Font Element} for detailed documentation.
126 See the \l {Font} {QML Font Element} for detailed documentation.
@@ -131,7 +131,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
131 The color of the axis labels.
131 The color of the axis labels.
132 */
132 */
133 /*!
133 /*!
134 \qmlproperty color Axis::labelsColor
134 \qmlproperty color AbstractAxis::labelsColor
135 The color of the axis labels.
135 The color of the axis labels.
136 */
136 */
137
137
@@ -140,7 +140,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
140 The angle of the axis labels in degrees.
140 The angle of the axis labels in degrees.
141 */
141 */
142 /*!
142 /*!
143 \qmlproperty int Axis::labelsAngle
143 \qmlproperty int AbstractAxis::labelsAngle
144 The angle of the axis labels in degrees.
144 The angle of the axis labels in degrees.
145 */
145 */
146
146
@@ -149,7 +149,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
149 The visibility of the axis shades.
149 The visibility of the axis shades.
150 */
150 */
151 /*!
151 /*!
152 \qmlproperty bool Axis::shadesVisible
152 \qmlproperty bool AbstractAxis::shadesVisible
153 The visibility of the axis shades.
153 The visibility of the axis shades.
154 */
154 */
155
155
@@ -158,7 +158,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
158 The fill (brush) color of the axis shades.
158 The fill (brush) color of the axis shades.
159 */
159 */
160 /*!
160 /*!
161 \qmlproperty color Axis::shadesColor
161 \qmlproperty color AbstractAxis::shadesColor
162 The fill (brush) color of the axis shades.
162 The fill (brush) color of the axis shades.
163 */
163 */
164
164
@@ -167,7 +167,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
167 The border (pen) color of the axis shades.
167 The border (pen) color of the axis shades.
168 */
168 */
169 /*!
169 /*!
170 \qmlproperty color Axis::shadesBorderColor
170 \qmlproperty color AbstractAxis::shadesBorderColor
171 The border (pen) color of the axis shades.
171 The border (pen) color of the axis shades.
172 */
172 */
173
173
@@ -31,21 +31,25 QTCOMMERCIALCHART_BEGIN_NAMESPACE
31 \brief The QBarCategoriesAxis class is used for manipulating chart's axis.
31 \brief The QBarCategoriesAxis class is used for manipulating chart's axis.
32 \mainclass
32 \mainclass
33
33
34 Axis can be setup to show axis line with tick marks, grid lines and shades.
34 BarCategoriesAxis can be setup to show axis line with tick marks, grid lines and shades.
35 Categories are drawn between ticks.
35 */
36 */
36
37
37 /*!
38 /*!
38 \qmlclass Axis QBarCategoriesAxis
39 \qmlclass BarCategoriesAxis QBarCategoriesAxis
39 \brief The Axis element is used for manipulating chart's axes.
40 \brief The Axis element is used for manipulating chart's axes.
40
41
41 Axis can be setup to show axis line with tick marks, grid lines and shades.
42 Axis can be setup to show axis line with tick marks, grid lines and shades.
43 Categories are drawn between ticks.
42
44
43 To access Axes you can use ChartView API. For example:
45 To access BarCategoriesAxis you can use ChartView API. For example:
44 \code
46 \code
45 ChartView {
47 ChartView {
46 axisX.min: "Feb"
48 BarCategoriesAxis {
47 axisX.max: "Jun"
49 id: categoryAxis
48 // Add a few series...
50 categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ]
51 }
52 // Add a few series...
49 }
53 }
50 \endcode
54 \endcode
51 */
55 */
@@ -55,7 +59,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
55 Defines the categories of axis
59 Defines the categories of axis
56 */
60 */
57 /*!
61 /*!
58 \qmlproperty QStringList Axis::categories
62 \qmlproperty QStringList BarCategoriesAxis::categories
59 Defines the categories of axis
63 Defines the categories of axis
60 */
64 */
61
65
@@ -64,7 +68,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
64 Defines the minimum value on the axis.
68 Defines the minimum value on the axis.
65 */
69 */
66 /*!
70 /*!
67 \qmlproperty real Axis::min
71 \qmlproperty real BarCategoriesAxis::min
68 Defines the minimum value on the axis.
72 Defines the minimum value on the axis.
69 */
73 */
70
74
@@ -73,7 +77,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
73 Defines the maximum value on the axis.
77 Defines the maximum value on the axis.
74 */
78 */
75 /*!
79 /*!
76 \qmlproperty real Axis::max
80 \qmlproperty real BarCategoriesAxis::max
77 Defines the maximum value on the axis.
81 Defines the maximum value on the axis.
78 */
82 */
79
83
@@ -30,24 +30,26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
30 \brief The QValuesAxis class is used for manipulating chart's axis.
30 \brief The QValuesAxis class is used for manipulating chart's axis.
31 \mainclass
31 \mainclass
32
32
33 Axis can be setup to show axis line with tick marks, grid lines and shades.
33 ValuesAxis can be setup to show axis line with tick marks, grid lines and shades.
34 Values of axis are drawn to position of ticks
34 */
35 */
35
36
36 /*!
37 /*!
37 \qmlclass Axis QValuesAxis
38 \qmlclass ValuesAxis QValuesAxis
38 \brief The Axis element is used for manipulating chart's axes
39 \brief The ValuesAxis element is used for manipulating chart's axes
39
40
40 Axis can be setup to show axis line with tick marks, grid lines and shades.
41 ValueAxis can be setup to show axis line with tick marks, grid lines and shades.
42 Values of axis are drawn to position of ticks
41
43
42 To access Axes you can use ChartView API. For example:
44 To access Axes you can use ChartView API. For example:
43 \code
45 \code
44 ChartView {
46 ChartView {
45 axisX.min: 0
47 ValuesAxis {
46 axisX.max: 3
48 id: xAxis
47 axisX.ticksCount: 4
49 min: 0
48 axisY.min: 0
50 max: 10
49 axisY.max: 4
51 }
50 // Add a few series...
52 // Add a few series...
51 }
53 }
52 \endcode
54 \endcode
53 */
55 */
@@ -57,7 +59,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
57 Defines the minimum value on the axis.
59 Defines the minimum value on the axis.
58 */
60 */
59 /*!
61 /*!
60 \qmlproperty real Axis::min
62 \qmlproperty real ValuesAxis::min
61 Defines the minimum value on the axis.
63 Defines the minimum value on the axis.
62 */
64 */
63
65
@@ -66,7 +68,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
66 Defines the maximum value on the axis.
68 Defines the maximum value on the axis.
67 */
69 */
68 /*!
70 /*!
69 \qmlproperty real Axis::max
71 \qmlproperty real ValuesAxis::max
70 Defines the maximum value on the axis.
72 Defines the maximum value on the axis.
71 */
73 */
72
74
@@ -91,7 +93,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
91 */
93 */
92
94
93 /*!
95 /*!
94 \qmlproperty int Axis::ticksCount
96 \qmlproperty int ValuesAxis::ticksCount
95 The number of tick marks for the axis.
97 The number of tick marks for the axis.
96 */
98 */
97
99
@@ -101,7 +103,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
101 */
103 */
102
104
103 /*!
105 /*!
104 \qmlproperty bool Axis::niceNumbersEnabled
106 \qmlproperty bool ValuesAxis::niceNumbersEnabled
105 Whether the nice numbers algorithm is enabled or not for the axis.
107 Whether the nice numbers algorithm is enabled or not for the axis.
106 */
108 */
107
109
General Comments 0
You need to be logged in to leave comments. Login now