@@ -1,85 +1,94 | |||
|
1 | 1 | /*! |
|
2 | 2 | \page qml.html |
|
3 | 3 | \title QtCommercial Charts QML API |
|
4 | 4 | \keyword Charts QML API |
|
5 | 5 | |
|
6 | 6 | QtCommercial Charts QML API is an intuitive and simple way to show charts in your QML |
|
7 | applications. The following QML shows you to create a simple pie chart: | |
|
8 | \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1 | |
|
9 | \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2 | |
|
10 | \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3 | |
|
7 | applications. | |
|
8 | ||
|
9 | \table | |
|
10 | \row | |
|
11 | \o \br | |
|
12 | Use the following QML to create a simple pie chart: | |
|
13 | \br | |
|
14 | \br | |
|
15 | \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1 | |
|
16 | \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2 | |
|
17 | \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3 | |
|
18 | \o \inlineimage examples_qmlpiechart.png | |
|
19 | \endtable | |
|
11 | 20 | |
|
12 | 21 | \raw HTML |
|
13 | 22 | <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> |
|
14 | 23 | <tr> |
|
15 | 24 | <th class="titleheader" width="25%"> ChartView and it's properties </th> |
|
16 | 25 | </tr> |
|
17 | 26 | <tr> |
|
18 | 27 | <td valign="top"> |
|
19 | 28 | <ul> |
|
20 | 29 | <li><a href="qml-chartview.html">ChartView</a></li> |
|
21 | 30 | <li><a href="qml-abstractaxis.html">AbstractAxis</a></li> |
|
22 | 31 | <li><a href="qml-valueaxis.html">ValueAxis</a></li> |
|
23 | 32 | <li><a href="qml-categoryaxis.html">CategoryAxis</a></li> |
|
24 | 33 | <li><a href="qml-categoryrange.html">CategoryRange</a></li> |
|
25 | 34 | <li><a href="qml-barcategoryaxis.html">BarCategoryAxis</a></li> |
|
26 | 35 | <li><a href="qml-legend.html">Legend</a></li> |
|
27 | 36 | <li><a href="qml-abstractseries.html">AbstractSeries</a></li> |
|
28 | 37 | </ul> |
|
29 | 38 | </td> |
|
30 | 39 | </tr> |
|
31 | 40 | </table> |
|
32 | 41 | <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> |
|
33 | 42 | <tr> |
|
34 | 43 | <th class="titleheader" width="25%"> XY chart </th> |
|
35 | 44 | </tr> |
|
36 | 45 | <tr> |
|
37 | 46 | <td valign="top"> |
|
38 | 47 | <ul> |
|
39 | 48 | <li><a href="qml-xyseries.html">XYSeries</a></li> |
|
40 | 49 | <li><a href="qml-lineseries.html">LineSeries</a></li> |
|
41 | 50 | <li><a href="qml-areaseries.html">AreaSeries</a></li> |
|
42 | 51 | <li><a href="qml-scatterseries.html">ScatterSeries</a></li> |
|
43 | 52 | <li><a href="qml-splineseries.html">SplineSeries</a></li> |
|
44 | 53 | <li><a href="qml-xypoint.html">XYPoint</a></li> |
|
45 | 54 | <li><a href="qml-hxymodelmapper.html">HXYModelMapper</a></li> |
|
46 | 55 | <li><a href="qml-vxymodelmapper.html">VXYModelMapper</a></li> |
|
47 | 56 | </ul> |
|
48 | 57 | </td> |
|
49 | 58 | </tr> |
|
50 | 59 | </table> |
|
51 | 60 | <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> |
|
52 | 61 | <tr> |
|
53 | 62 | <th class="titleheader" width="25%"> Pie chart </th> |
|
54 | 63 | <tr> |
|
55 | 64 | <td valign="top"> |
|
56 | 65 | <ul> |
|
57 | 66 | <li><a href="qml-pieseries.html">PieSeries</a></li> |
|
58 | 67 | <li><a href="qml-pieslice.html">PieSlice</a></li> |
|
59 | 68 | <li><a href="qml-hpiemodelmapper.html">HPieModelMapper</a></li> |
|
60 | 69 | <li><a href="qml-vpiemodelmapper.html">VPieModelMapper</a></li> |
|
61 | 70 | </ul> |
|
62 | 71 | </td> |
|
63 | 72 | </tr> |
|
64 | 73 | </table> |
|
65 | 74 | <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> |
|
66 | 75 | <tr> |
|
67 | 76 | <th class="titleheader" width="25%"> Bar chart </th> |
|
68 | 77 | <tr> |
|
69 | 78 | <td valign="top"> |
|
70 | 79 | <ul> |
|
71 | 80 | <li><a href="qml-barseries.html">BarSeries</a></li> |
|
72 | 81 | <li><a href="qml-stackedbarseries.html">StackedBarSeries</a></li> |
|
73 | 82 | <li><a href="qml-percentbarseries.html">PercentBarSeries</a></li> |
|
74 | 83 | <li><a href="qml-horizontalbarseries.html">HorizontalBarSeries</a></li> |
|
75 | 84 | <li><a href="qml-horizontalstackedbarseries.html">HorizontalStackedBarSeries</a></li> |
|
76 | 85 | <li><a href="qml-horizontalpercentbarseries.html">HorizontalPercentBarSeries</a></li> |
|
77 | 86 | <li><a href="qml-barset.html">BarSet</a></li> |
|
78 | 87 | <li><a href="qml-hbarmodelmapper.html">HBarModelMapper</a></li> |
|
79 | 88 | <li><a href="qml-vbarmodelmapper.html">VBarModelMapper</a></li> |
|
80 | 89 | </ul> |
|
81 | 90 | </td> |
|
82 | 91 | </tr> |
|
83 | 92 | </table> |
|
84 | 93 | \endraw |
|
85 | 94 | */ |
General Comments 0
You need to be logged in to leave comments.
Login now