summaryrefslogtreecommitdiffstats
path: root/doc/src/demos-qmlchart.qdoc
blob: 77c6635efb692382773164ccc891c3ae98196752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*!
    \example demos/qmlchart
    \title Qml charts demo
    \subtitle

    This basic demonstration shows how to use the different chart types by using qml. Creating each chart type begins
    with the creation of a ChartView.

    \table
        \row
            \li \br
                To create a pie, we use the PieSeries API together with a few PieSlices:
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View1.qml 1
            \li \inlineimage demos_qmlchart1.png
    \endtable

    \table
        \row
            \li \br
                To create a chart with a line series:
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1
            \li \inlineimage demos_qmlchart2.png
    \endtable

    \table
        \row
            \li \br
                And spline series:
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1
            \li \inlineimage demos_qmlchart3.png
    \endtable

    \table
        \row
            \li \br
                Then we create a chart that illustrates the NHL All-Star player selections by using three area series:
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1
            \li \inlineimage demos_qmlchart4.png
    \endtable

    \table
        \row
            \li \br
                Then a couple of scatter series:
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1
            \li \inlineimage demos_qmlchart5.png
    \endtable

    And a few different bar series:
    \table
        \row
            \li \br
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
            \li \inlineimage demos_qmlchart6.png
    \endtable
    \table
        \row
            \li \br
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View7.qml 1
            \li \inlineimage demos_qmlchart7.png
    \endtable
    \table
        \row
            \li \br
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1
            \li \inlineimage demos_qmlchart8.png
    \endtable
    \table
        \row
            \li \br
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View9.qml 1
            \li \inlineimage demos_qmlchart9.png
    \endtable
    \table
        \row
            \li \br
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View10.qml 1
            \li \inlineimage demos_qmlchart10.png
    \endtable
    \table
        \row
            \li \br
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View11.qml 1
            \li \inlineimage demos_qmlchart11.png
    \endtable

    \table
        \row
            \li \br
                And finally an example demonstrating how to create a donut chart with two pie series:
                \br
                \br
                \snippet ../demos/qmlchart/qml/qmlchart/View12.qml 1
            \li \inlineimage demos_qmlchart12.png
    \endtable
*/