@@ -1,27 +1,31 | |||
|
1 | 1 | /*! |
|
2 | 2 | \example demos/qmlchart |
|
3 | 3 | \title Qml charts demo |
|
4 | 4 | \subtitle |
|
5 | 5 | |
|
6 | 6 | This is a basic demonstration how to use the different chart types by using qml. Creating each chart type begins |
|
7 | 7 | with creation of a ChartView. For example to create a pie, we use the PieSeries API together with a few PieSlices: |
|
8 | 8 | \snippet ../demos/qmlchart/qml/qmlchart/View1.qml 1 |
|
9 | 9 | \image demos_qmlchart1.png |
|
10 | 10 | |
|
11 |
To create a chart with line |
|
|
11 | To create a chart with line series: | |
|
12 | 12 | \snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1 |
|
13 | 13 | \image demos_qmlchart2.png |
|
14 | 14 | |
|
15 | Then we create a chart that illustrates the success of Russian, Swedish and Finnish ice-hockey players in the | |
|
16 | NHL All-Star player selections by using three area series: | |
|
15 | And spline series: | |
|
17 | 16 | \snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1 |
|
18 | 17 | \image demos_qmlchart3.png |
|
19 | 18 | |
|
20 | Then couple of scatter series: | |
|
19 | Then we create a chart that illustrates the success of Russian, Swedish and Finnish ice-hockey players in the | |
|
20 | NHL All-Star player selections by using three area series: | |
|
21 | 21 | \snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1 |
|
22 | 22 | \image demos_qmlchart4.png |
|
23 | 23 | |
|
24 | And finally a bar series: | |
|
24 | Then couple of scatter series: | |
|
25 | 25 | \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1 |
|
26 | 26 | \image demos_qmlchart5.png |
|
27 | ||
|
28 | And finally a bar series: | |
|
29 | \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1 | |
|
30 | \image demos_qmlchart6.png | |
|
27 | 31 | */ |
General Comments 0
You need to be logged in to leave comments.
Login now