##// END OF EJS Templates
QML api documentation skeletons for all the series.
Tero Ahola -
r1468:0880d2356fa0
parent child
Show More
@@ -0,0 +1,41
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Digia Plc
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
7 ** This file is part of the Qt Commercial Charts Add-on.
8 **
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Commercial licenses may use this file in
11 ** accordance with the Qt Commercial License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
14 **
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
18 **
19 ****************************************************************************/
20
21 import QtQuick 1.0
22 import QtCommercial.Chart 1.0
23
24 Rectangle {
25 anchors.fill: parent
26
27 //![1]
28 ChartView {
29 title: "Bar series"
30 anchors.fill: parent
31 legend.alignment: Qt.AlignBottom
32 axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"]
33
34 BarSeries {
35 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6] }
36 BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] }
37 BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] }
38 }
39 }
40 //![1]
41 }
@@ -0,0 +1,41
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Digia Plc
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
7 ** This file is part of the Qt Commercial Charts Add-on.
8 **
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Commercial licenses may use this file in
11 ** accordance with the Qt Commercial License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
14 **
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
18 **
19 ****************************************************************************/
20
21 import QtQuick 1.0
22 import QtCommercial.Chart 1.0
23
24 Rectangle {
25 anchors.fill: parent
26
27 //![1]
28 ChartView {
29 title: "Grouped Bar series"
30 anchors.fill: parent
31 legend.alignment: Qt.AlignBottom
32 axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"]
33
34 GroupedBarSeries {
35 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6] }
36 BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] }
37 BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] }
38 }
39 }
40 //![1]
41 }
@@ -0,0 +1,41
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Digia Plc
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
7 ** This file is part of the Qt Commercial Charts Add-on.
8 **
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Commercial licenses may use this file in
11 ** accordance with the Qt Commercial License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
14 **
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
18 **
19 ****************************************************************************/
20
21 import QtQuick 1.0
22 import QtCommercial.Chart 1.0
23
24 Rectangle {
25 anchors.fill: parent
26
27 //![1]
28 ChartView {
29 title: "Stacked Bar series"
30 anchors.fill: parent
31 legend.alignment: Qt.AlignBottom
32 axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"]
33
34 StackedBarSeries {
35 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6] }
36 BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] }
37 BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] }
38 }
39 }
40 //![1]
41 }
@@ -0,0 +1,41
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 Digia Plc
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
7 ** This file is part of the Qt Commercial Charts Add-on.
8 **
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Commercial licenses may use this file in
11 ** accordance with the Qt Commercial License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
14 **
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
18 **
19 ****************************************************************************/
20
21 import QtQuick 1.0
22 import QtCommercial.Chart 1.0
23
24 Rectangle {
25 anchors.fill: parent
26
27 //![1]
28 ChartView {
29 title: "Percent Bar series"
30 anchors.fill: parent
31 legend.alignment: Qt.AlignBottom
32 axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"]
33
34 PercentBarSeries {
35 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6] }
36 BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] }
37 BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] }
38 }
39 }
40 //![1]
41 }
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -26,11 +26,11 Rectangle {
26
26
27 //![1]
27 //![1]
28 ChartView {
28 ChartView {
29 title: "Line&Spline"
29 title: "Line"
30 anchors.fill: parent
30 anchors.fill: parent
31
31
32 LineSeries {
32 LineSeries {
33 name: "Line"
33 name: "LineSeries"
34 XyPoint { x: 0; y: 0 }
34 XyPoint { x: 0; y: 0 }
35 XyPoint { x: 1.1; y: 2.1 }
35 XyPoint { x: 1.1; y: 2.1 }
36 XyPoint { x: 1.9; y: 3.3 }
36 XyPoint { x: 1.9; y: 3.3 }
@@ -39,17 +39,6 Rectangle {
39 XyPoint { x: 3.4; y: 3.0 }
39 XyPoint { x: 3.4; y: 3.0 }
40 XyPoint { x: 4.1; y: 3.3 }
40 XyPoint { x: 4.1; y: 3.3 }
41 }
41 }
42
43 SplineSeries {
44 name: "Spline"
45 XyPoint { x: 0; y: 0.3 }
46 XyPoint { x: 1.1; y: 3.2 }
47 XyPoint { x: 1.9; y: 2.4 }
48 XyPoint { x: 2.1; y: 2.1 }
49 XyPoint { x: 2.9; y: 2.6 }
50 XyPoint { x: 3.4; y: 2.3 }
51 XyPoint { x: 4.1; y: 3.1 }
52 }
53 }
42 }
54 //![1]
43 //![1]
55 }
44 }
@@ -26,116 +26,19 Rectangle {
26
26
27 //![1]
27 //![1]
28 ChartView {
28 ChartView {
29 title: "NHL All-Star Team Players"
29 title: "Spline"
30 anchors.fill: parent
30 anchors.fill: parent
31 axisXLabels: ["0", "2000", "1", "2001", "2", "2002", "3", "2003", "4", "2004", "5", "2005",
32 "6", "2006", "7", "2007", "8", "2008", "9", "2009", "10", "2010", "11", "2011"]
33
31
34 AreaSeries {
32 SplineSeries {
35 name: "Russian"
33 name: "SplineSeries"
36 upperSeries: LineSeries {
34 XyPoint { x: 0; y: 0.3 }
37 XyPoint { x: 0; y: 1 }
35 XyPoint { x: 1.1; y: 3.2 }
38 XyPoint { x: 1; y: 1 }
36 XyPoint { x: 1.9; y: 2.4 }
39 XyPoint { x: 2; y: 1 }
37 XyPoint { x: 2.1; y: 2.1 }
40 XyPoint { x: 3; y: 1 }
38 XyPoint { x: 2.9; y: 2.6 }
41 XyPoint { x: 4; y: 1 }
39 XyPoint { x: 3.4; y: 2.3 }
42 XyPoint { x: 5; y: 0 }
40 XyPoint { x: 4.1; y: 3.1 }
43 XyPoint { x: 6; y: 1 }
44 XyPoint { x: 7; y: 1 }
45 XyPoint { x: 8; y: 4 }
46 XyPoint { x: 9; y: 3 }
47 XyPoint { x: 10; y: 2 }
48 XyPoint { x: 11; y: 1 }
49 }
50 lowerSeries: LineSeries {
51 XyPoint { x: 0; y: 0 }
52 XyPoint { x: 1; y: 0 }
53 XyPoint { x: 2; y: 0 }
54 XyPoint { x: 3; y: 0 }
55 XyPoint { x: 4; y: 0 }
56 XyPoint { x: 5; y: 0 }
57 XyPoint { x: 6; y: 0 }
58 XyPoint { x: 7; y: 0 }
59 XyPoint { x: 8; y: 0 }
60 XyPoint { x: 9; y: 0 }
61 XyPoint { x: 10; y: 0 }
62 XyPoint { x: 11; y: 0 }
63 }
64 }
65 // ...
66 //![1]
67
68 AreaSeries {
69 id: swedish
70 name: "Swedish"
71 upperSeries: LineSeries {
72 XyPoint { x: 0; y: 1 }
73 XyPoint { x: 1; y: 1 }
74 XyPoint { x: 2; y: 3 }
75 XyPoint { x: 3; y: 3 }
76 XyPoint { x: 4; y: 2 }
77 XyPoint { x: 5; y: 0 }
78 XyPoint { x: 6; y: 2 }
79 XyPoint { x: 7; y: 1 }
80 XyPoint { x: 8; y: 2 }
81 XyPoint { x: 9; y: 1 }
82 XyPoint { x: 10; y: 3 }
83 XyPoint { x: 11; y: 3 }
84 }
85 lowerSeries: LineSeries {
86 XyPoint { x: 0; y: 0 }
87 XyPoint { x: 1; y: 0 }
88 XyPoint { x: 2; y: 0 }
89 XyPoint { x: 3; y: 0 }
90 XyPoint { x: 4; y: 0 }
91 XyPoint { x: 5; y: 0 }
92 XyPoint { x: 6; y: 0 }
93 XyPoint { x: 7; y: 0 }
94 XyPoint { x: 8; y: 0 }
95 XyPoint { x: 9; y: 0 }
96 XyPoint { x: 10; y: 0 }
97 XyPoint { x: 11; y: 0 }
98 }
99 onClicked: {
100 color = "yellow";
101 borderColor = "blue";
102 }
103 }
104
105 AreaSeries {
106 name: "Finnish"
107 upperSeries: LineSeries {
108 XyPoint { x: 0; y: 0 }
109 XyPoint { x: 1; y: 0 }
110 XyPoint { x: 2; y: 0 }
111 XyPoint { x: 3; y: 0 }
112 XyPoint { x: 4; y: 0 }
113 XyPoint { x: 5; y: 0 }
114 XyPoint { x: 6; y: 1 }
115 XyPoint { x: 7; y: 0 }
116 XyPoint { x: 8; y: 0 }
117 XyPoint { x: 9; y: 0 }
118 XyPoint { x: 10; y: 0 }
119 XyPoint { x: 11; y: 1 }
120 }
121 lowerSeries: LineSeries {
122 XyPoint { x: 0; y: 0 }
123 XyPoint { x: 1; y: 0 }
124 XyPoint { x: 2; y: 0 }
125 XyPoint { x: 3; y: 0 }
126 XyPoint { x: 4; y: 0 }
127 XyPoint { x: 5; y: 0 }
128 XyPoint { x: 6; y: 0 }
129 XyPoint { x: 7; y: 0 }
130 XyPoint { x: 8; y: 0 }
131 XyPoint { x: 9; y: 0 }
132 XyPoint { x: 10; y: 0 }
133 XyPoint { x: 11; y: 0 }
134 }
135 onClicked: {
136 color = "white";
137 borderColor = "blue";
138 }
139 }
41 }
140 }
42 }
43 //![1]
141 }
44 }
@@ -26,31 +26,116 Rectangle {
26
26
27 //![1]
27 //![1]
28 ChartView {
28 ChartView {
29 title: "Scatters"
29 title: "NHL All-Star Team Players"
30 anchors.fill: parent
30 anchors.fill: parent
31 axisXLabels: ["0", "2000", "1", "2001", "2", "2002", "3", "2003", "4", "2004", "5", "2005",
32 "6", "2006", "7", "2007", "8", "2008", "9", "2009", "10", "2010", "11", "2011"]
31
33
32 ScatterSeries {
34 AreaSeries {
33 id: scatter1
35 name: "Russian"
34 name: "Scatter1"
36 upperSeries: LineSeries {
35 XyPoint { x: 1.5; y: 1.5 }
37 XyPoint { x: 0; y: 1 }
36 XyPoint { x: 1.5; y: 1.6 }
38 XyPoint { x: 1; y: 1 }
37 XyPoint { x: 1.57; y: 1.55 }
39 XyPoint { x: 2; y: 1 }
38 XyPoint { x: 1.8; y: 1.8 }
40 XyPoint { x: 3; y: 1 }
39 XyPoint { x: 1.9; y: 1.6 }
41 XyPoint { x: 4; y: 1 }
40 XyPoint { x: 2.1; y: 1.3 }
42 XyPoint { x: 5; y: 0 }
41 XyPoint { x: 2.5; y: 2.1 }
43 XyPoint { x: 6; y: 1 }
44 XyPoint { x: 7; y: 1 }
45 XyPoint { x: 8; y: 4 }
46 XyPoint { x: 9; y: 3 }
47 XyPoint { x: 10; y: 2 }
48 XyPoint { x: 11; y: 1 }
49 }
50 lowerSeries: LineSeries {
51 XyPoint { x: 0; y: 0 }
52 XyPoint { x: 1; y: 0 }
53 XyPoint { x: 2; y: 0 }
54 XyPoint { x: 3; y: 0 }
55 XyPoint { x: 4; y: 0 }
56 XyPoint { x: 5; y: 0 }
57 XyPoint { x: 6; y: 0 }
58 XyPoint { x: 7; y: 0 }
59 XyPoint { x: 8; y: 0 }
60 XyPoint { x: 9; y: 0 }
61 XyPoint { x: 10; y: 0 }
62 XyPoint { x: 11; y: 0 }
63 }
42 }
64 }
65 // ...
66 //![1]
43
67
44 ScatterSeries {
68 AreaSeries {
45 name: "Scatter2"
69 id: swedish
46 // ...
70 name: "Swedish"
47 //![1]
71 upperSeries: LineSeries {
48 XyPoint { x: 2.0; y: 2.0 }
72 XyPoint { x: 0; y: 1 }
49 XyPoint { x: 2.0; y: 2.1 }
73 XyPoint { x: 1; y: 1 }
50 XyPoint { x: 2.07; y: 2.05 }
74 XyPoint { x: 2; y: 3 }
51 XyPoint { x: 2.2; y: 2.9 }
75 XyPoint { x: 3; y: 3 }
52 XyPoint { x: 2.4; y: 2.7 }
76 XyPoint { x: 4; y: 2 }
53 XyPoint { x: 2.67; y: 2.65 }
77 XyPoint { x: 5; y: 0 }
78 XyPoint { x: 6; y: 2 }
79 XyPoint { x: 7; y: 1 }
80 XyPoint { x: 8; y: 2 }
81 XyPoint { x: 9; y: 1 }
82 XyPoint { x: 10; y: 3 }
83 XyPoint { x: 11; y: 3 }
84 }
85 lowerSeries: LineSeries {
86 XyPoint { x: 0; y: 0 }
87 XyPoint { x: 1; y: 0 }
88 XyPoint { x: 2; y: 0 }
89 XyPoint { x: 3; y: 0 }
90 XyPoint { x: 4; y: 0 }
91 XyPoint { x: 5; y: 0 }
92 XyPoint { x: 6; y: 0 }
93 XyPoint { x: 7; y: 0 }
94 XyPoint { x: 8; y: 0 }
95 XyPoint { x: 9; y: 0 }
96 XyPoint { x: 10; y: 0 }
97 XyPoint { x: 11; y: 0 }
98 }
99 onClicked: {
100 color = "yellow";
101 borderColor = "blue";
102 }
103 }
104
105 AreaSeries {
106 name: "Finnish"
107 upperSeries: LineSeries {
108 XyPoint { x: 0; y: 0 }
109 XyPoint { x: 1; y: 0 }
110 XyPoint { x: 2; y: 0 }
111 XyPoint { x: 3; y: 0 }
112 XyPoint { x: 4; y: 0 }
113 XyPoint { x: 5; y: 0 }
114 XyPoint { x: 6; y: 1 }
115 XyPoint { x: 7; y: 0 }
116 XyPoint { x: 8; y: 0 }
117 XyPoint { x: 9; y: 0 }
118 XyPoint { x: 10; y: 0 }
119 XyPoint { x: 11; y: 1 }
120 }
121 lowerSeries: LineSeries {
122 XyPoint { x: 0; y: 0 }
123 XyPoint { x: 1; y: 0 }
124 XyPoint { x: 2; y: 0 }
125 XyPoint { x: 3; y: 0 }
126 XyPoint { x: 4; y: 0 }
127 XyPoint { x: 5; y: 0 }
128 XyPoint { x: 6; y: 0 }
129 XyPoint { x: 7; y: 0 }
130 XyPoint { x: 8; y: 0 }
131 XyPoint { x: 9; y: 0 }
132 XyPoint { x: 10; y: 0 }
133 XyPoint { x: 11; y: 0 }
134 }
135 onClicked: {
136 color = "white";
137 borderColor = "blue";
138 }
54 }
139 }
55 }
140 }
56 }
141 }
@@ -26,16 +26,31 Rectangle {
26
26
27 //![1]
27 //![1]
28 ChartView {
28 ChartView {
29 title: "Bar series"
29 title: "Scatters"
30 anchors.fill: parent
30 anchors.fill: parent
31 legend.alignment: Qt.AlignBottom
32 axisXLabels: ["0", "2007", "1", "2008", "2", "2009", "3", "2010", "4", "2011", "5", "2012"]
33
31
34 GroupedBarSeries {
32 ScatterSeries {
35 BarSet { label: "Bob"; values: [2, 2, 3, 4, 5, 6] }
33 id: scatter1
36 BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] }
34 name: "Scatter1"
37 BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] }
35 XyPoint { x: 1.5; y: 1.5 }
36 XyPoint { x: 1.5; y: 1.6 }
37 XyPoint { x: 1.57; y: 1.55 }
38 XyPoint { x: 1.8; y: 1.8 }
39 XyPoint { x: 1.9; y: 1.6 }
40 XyPoint { x: 2.1; y: 1.3 }
41 XyPoint { x: 2.5; y: 2.1 }
42 }
43
44 ScatterSeries {
45 name: "Scatter2"
46 // ...
47 //![1]
48 XyPoint { x: 2.0; y: 2.0 }
49 XyPoint { x: 2.0; y: 2.1 }
50 XyPoint { x: 2.07; y: 2.05 }
51 XyPoint { x: 2.2; y: 2.9 }
52 XyPoint { x: 2.4; y: 2.7 }
53 XyPoint { x: 2.67; y: 2.65 }
38 }
54 }
39 }
55 }
40 //![1]
41 }
56 }
@@ -38,14 +38,15 Rectangle {
38 Row {
38 Row {
39 id: buttons
39 id: buttons
40 anchors.bottom: parent.bottom
40 anchors.bottom: parent.bottom
41 anchors.bottomMargin: 5
41 anchors.bottomMargin: 15
42 anchors.horizontalCenter: parent.horizontalCenter
42 anchors.horizontalCenter: parent.horizontalCenter
43 spacing: 10
43 spacing: 5
44
44
45 Rectangle {
45 Rectangle {
46 height: 35
46 height: 35
47 width: 60
47 width: 60
48 color: "#c8955c"
48 border.color: "#c8955c"
49 border.width: 2
49 radius: 5
50 radius: 5
50 Text {
51 Text {
51 anchors.centerIn: parent
52 anchors.centerIn: parent
@@ -56,7 +57,7 Rectangle {
56 onClicked: {
57 onClicked: {
57 var i = viewNumber - 1;
58 var i = viewNumber - 1;
58 if (i <= 0)
59 if (i <= 0)
59 viewNumber = 5;
60 viewNumber = 9;
60 else
61 else
61 viewNumber = i;
62 viewNumber = i;
62 }
63 }
@@ -65,7 +66,8 Rectangle {
65 Rectangle {
66 Rectangle {
66 height: 35
67 height: 35
67 width: 60
68 width: 60
68 color: "#c8955c"
69 border.color: "#c8955c"
70 border.width: 2
69 radius: 5
71 radius: 5
70 Text {
72 Text {
71 anchors.centerIn: parent
73 anchors.centerIn: parent
@@ -75,7 +77,7 Rectangle {
75 anchors.fill: parent
77 anchors.fill: parent
76 onClicked: {
78 onClicked: {
77 var i = viewNumber + 1;
79 var i = viewNumber + 1;
78 if (i > 5)
80 if (i > 9)
79 viewNumber = 1;
81 viewNumber = 1;
80 else
82 else
81 viewNumber = i;
83 viewNumber = i;
@@ -7,5 +7,9
7 <file>qml/qmlchart/View3.qml</file>
7 <file>qml/qmlchart/View3.qml</file>
8 <file>qml/qmlchart/View4.qml</file>
8 <file>qml/qmlchart/View4.qml</file>
9 <file>qml/qmlchart/View5.qml</file>
9 <file>qml/qmlchart/View5.qml</file>
10 <file>qml/qmlchart/View6.qml</file>
11 <file>qml/qmlchart/View7.qml</file>
12 <file>qml/qmlchart/View8.qml</file>
13 <file>qml/qmlchart/View9.qml</file>
10 </qresource>
14 </qresource>
11 </RCC>
15 </RCC>
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -8,9 +8,20
8 \raw HTML
8 \raw HTML
9 <ul>
9 <ul>
10 <li><a href="qml-chartview.html">ChartView</a></li>
10 <li><a href="qml-chartview.html">ChartView</a></li>
11 <li><a href="qml-lineseries.html">LineSeries</a></li>
12 <li><a href="qml-areaseries.html">AreaSeries</a></li>
13 <li><a href="qml-scatterseries.html">ScatterSeries</a></li>
14 <li><a href="qml-splineseries.html">SplineSeries</a></li>
11 <li><a href="qml-pieseries.html">PieSeries</a></li>
15 <li><a href="qml-pieseries.html">PieSeries</a></li>
16 <li><a href="qml-pieslice.html">PieSlice</a></li>
17 <li><a href="qml-barseries.html">BarSeries</a></li>
18 <li><a href="qml-groupedbarseries.html">GroupedBarSeries</a></li>
19 <li><a href="qml-stackedbarseries.html">StackedBarSeries</a></li>
20 <li><a href="qml-percentbarseries.html">PercentBarSeries</a></li>
21 <li><a href="qml-barset.html">BarSet</a></li>
12 <li><a href="qml-axis.html">Axis</a></li>
22 <li><a href="qml-axis.html">Axis</a></li>
13 <li><a href="qml-legend.html">Legend</a></li>
23 <li><a href="qml-legend.html">Legend</a></li>
24 <li><a href="qml-xypoint.html">XyPoint</a></li>
14 </ul>
25 </ul>
15 \endraw
26 \endraw
16 */
27 */
@@ -25,6 +25,20
25
25
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27
27
28 /*!
29 \qmlclass AreaSeries QAreaSeries
30
31 \section1 Example Usage
32
33 \beginfloatleft
34 \image demos_qmlchart4.png
35 \endfloat
36 \clearfloat
37
38 The following QML shows how to create a simple area chart:
39 \snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1
40 */
41
28 DeclarativeAreaSeries::DeclarativeAreaSeries(QObject *parent) :
42 DeclarativeAreaSeries::DeclarativeAreaSeries(QObject *parent) :
29 QAreaSeries(parent)
43 QAreaSeries(parent)
30 {
44 {
@@ -26,6 +26,62
26
26
27 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28
28
29 /*!
30 \qmlclass BarSeries QBarSeries
31
32 \section1 Example Usage
33
34 \beginfloatleft
35 \image demos_qmlchart6.png
36 \endfloat
37 \clearfloat
38
39 The following QML shows how to create a simple bar chart:
40 \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
41 */
42
43 /*!
44 \qmlclass GroupedBarSeries QGroupedBarSeries
45
46 \section1 Example Usage
47
48 \beginfloatleft
49 \image demos_qmlchart7.png
50 \endfloat
51 \clearfloat
52
53 The following QML shows how to create a simple grouped bar chart:
54 \snippet ../demos/qmlchart/qml/qmlchart/View7.qml 1
55 */
56
57 /*!
58 \qmlclass StackedBarSeries QStackedBarSeries
59
60 \section1 Example Usage
61
62 \beginfloatleft
63 \image demos_qmlchart8.png
64 \endfloat
65 \clearfloat
66
67 The following QML shows how to create a simple stacked bar chart:
68 \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1
69 */
70
71 /*!
72 \qmlclass PercentBarSeries QPercentBarSeries
73
74 \section1 Example Usage
75
76 \beginfloatleft
77 \image demos_qmlchart9.png
78 \endfloat
79 \clearfloat
80
81 The following QML shows how to create a simple percent bar chart:
82 \snippet ../demos/qmlchart/qml/qmlchart/View9.qml 1
83 */
84
29 DeclarativeBarSet::DeclarativeBarSet(QObject *parent) :
85 DeclarativeBarSet::DeclarativeBarSet(QObject *parent) :
30 QBarSet("", parent)
86 QBarSet("", parent)
31 {
87 {
@@ -25,6 +25,20
25
25
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27
27
28 /*!
29 \qmlclass LineSeries QLineSeries
30
31 \section1 Example Usage
32
33 \beginfloatleft
34 \image demos_qmlchart2.png
35 \endfloat
36 \clearfloat
37
38 The following QML shows how to create a simple line chart:
39 \snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1
40 */
41
28 DeclarativeLineSeries::DeclarativeLineSeries(QObject *parent) :
42 DeclarativeLineSeries::DeclarativeLineSeries(QObject *parent) :
29 QLineSeries(parent)
43 QLineSeries(parent)
30 {
44 {
@@ -28,7 +28,7
28 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 QTCOMMERCIALCHART_BEGIN_NAMESPACE
29
29
30 /*!
30 /*!
31 \qmlclass PieSeries DeclarativePieSeries
31 \qmlclass PieSeries QPieSeries
32
32
33 \section1 Example Usage
33 \section1 Example Usage
34
34
@@ -25,6 +25,20
25
25
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27
27
28 /*!
29 \qmlclass ScatterSeries QScatterSeries
30
31 \section1 Example Usage
32
33 \beginfloatleft
34 \image demos_qmlchart5.png
35 \endfloat
36 \clearfloat
37
38 The following QML shows how to create a simple scatter chart:
39 \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1
40 */
41
28 DeclarativeScatterSeries::DeclarativeScatterSeries(QObject *parent) :
42 DeclarativeScatterSeries::DeclarativeScatterSeries(QObject *parent) :
29 QScatterSeries(parent)
43 QScatterSeries(parent)
30 {
44 {
@@ -25,6 +25,20
25
25
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27
27
28 /*!
29 \qmlclass SplineSeries QSplineSeries
30
31 \section1 Example Usage
32
33 \beginfloatleft
34 \image demos_qmlchart3.png
35 \endfloat
36 \clearfloat
37
38 The following QML shows how to create a simple spline chart:
39 \snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1
40 */
41
28 DeclarativeSplineSeries::DeclarativeSplineSeries(QObject *parent) :
42 DeclarativeSplineSeries::DeclarativeSplineSeries(QObject *parent) :
29 QSplineSeries(parent)
43 QSplineSeries(parent)
30 {
44 {
General Comments 0
You need to be logged in to leave comments. Login now