summaryrefslogtreecommitdiffstats
path: root/doc/src_qt4/qml.qdoc
blob: 5199e3ee02dd8ab6d3d55473c4038093db81195b (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
/*!
    \page qml.html
    \title Qt Charts QML API
    \keyword Charts QML API

    The Qt Charts QML API is an intuitive and simple way to show charts in your QML
    applications.

    \table
        \row
            \li \br
                Use the following QML to create a simple pie chart:
                \br
                \br
                \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1
                \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
                \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3
            \li \inlineimage examples_qmlpiechart.png
    \endtable

    \note Since Qt Charts utilizes Qt Graphics View Framework for drawing, it works best
    with Qt Quick 1, which is based on the same framework.
    As of release 1.3.0, Qt Charts is also usable with Qt Quick 2, though the performance
    is slightly worse than with Qt Quick 1 due to the additional rendering step that is required.

    \note Since Qt Creator 3.0 the project created with Qt Quick Application wizard based on
    Qt Quick 2 template uses QGuiApplication by default. As Qt Charts utilizes Qt Graphics View
    Framework for drawing, QApplication must be used. The project created with the wizard is
    usable with Qt Charts after the QGuiApplication is replaced with QApplication.

    \note Qt Quick 1 is supported from Qt 4.7.4 onwards because of the missing
    Q_REVISION macro in the earlier Qt releases. Qt Quick 2 is supported with only Qt 5.

    \raw HTML
        <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
            <tr>
                <th class="titleheader" width="25%"> ChartView and it's properties </th>
            </tr>
            <tr>
                <td valign="top">
                    <ul>
                    <li><a href="qml-chartview.html">ChartView</a></li>
                    <li><a href="qml-polarchartview.html">PolarChartView</a></li>
                    <li><a href="qml-abstractaxis.html">AbstractAxis</a></li>
                    <li><a href="qml-valueaxis.html">ValueAxis</a></li>
                    <li><a href="qml-logvalueaxis.html">LogValueAxis</a></li>
                    <li><a href="qml-categoryaxis.html">CategoryAxis</a></li>
                    <li><a href="qml-categoryrange.html">CategoryRange</a></li>
                    <li><a href="qml-barcategoryaxis.html">BarCategoryAxis</a></li>
                    <li><a href="qml-datetimeaxis.html">DateTimeAxis</a></li>
                    <li><a href="qml-legend.html">Legend</a></li>
                    <li><a href="qml-abstractseries.html">AbstractSeries</a></li>
                    </ul>
                </td>
            </tr>
        </table>
        <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
            <tr>
                <th class="titleheader" width="25%"> XY chart </th>
            </tr>
            <tr>
                <td valign="top">
                    <ul>
                    <li><a href="qml-xyseries.html">XYSeries</a></li>
                    <li><a href="qml-lineseries.html">LineSeries</a></li>
                    <li><a href="qml-areaseries.html">AreaSeries</a></li>
                    <li><a href="qml-scatterseries.html">ScatterSeries</a></li>
                    <li><a href="qml-splineseries.html">SplineSeries</a></li>
                    <li><a href="qml-xypoint.html">XYPoint</a></li>
                    <li><a href="qml-hxymodelmapper.html">HXYModelMapper</a></li>
                    <li><a href="qml-vxymodelmapper.html">VXYModelMapper</a></li>
                    </ul>
                </td>
            </tr>
        </table>
        <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
            <tr>
                <th class="titleheader" width="25%"> Pie chart </th>
            <tr>
                <td valign="top">
                    <ul>
                    <li><a href="qml-pieseries.html">PieSeries</a></li>
                    <li><a href="qml-pieslice.html">PieSlice</a></li>
                    <li><a href="qml-hpiemodelmapper.html">HPieModelMapper</a></li>
                    <li><a href="qml-vpiemodelmapper.html">VPieModelMapper</a></li>
                    </ul>
                </td>
            </tr>
        </table>
        <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
            <tr>
                <th class="titleheader" width="25%"> Bar chart </th>
            <tr>
                <td valign="top">
                    <ul>
                    <li><a href="qml-barseries.html">BarSeries</a></li>
                    <li><a href="qml-stackedbarseries.html">StackedBarSeries</a></li>
                    <li><a href="qml-percentbarseries.html">PercentBarSeries</a></li>
                    <li><a href="qml-horizontalbarseries.html">HorizontalBarSeries</a></li>
                    <li><a href="qml-horizontalstackedbarseries.html">HorizontalStackedBarSeries</a></li>
                    <li><a href="qml-horizontalpercentbarseries.html">HorizontalPercentBarSeries</a></li>
                    <li><a href="qml-barset.html">BarSet</a></li>
                    <li><a href="qml-boxplotseries.html">BoxPlotSeries</a></li>
                    <li><a href="qml-boxset.html">BoxSet</a></li>
                    <li><a href="qml-hbarmodelmapper.html">HBarModelMapper</a></li>
                    <li><a href="qml-vbarmodelmapper.html">VBarModelMapper</a></li>
                    <li><a href="qml-vboxplotmodelmapper.html">VBoxPlotModelMapper</a></li>
                    </ul>
                </td>
            </tr>
        </table>
    \endraw
*/