##// END OF EJS Templates
Fixed typos in API classes doc page
Marek Rosa -
r1404:9aeb3c7ef9de
parent child
Show More
@@ -1,100 +1,100
1 1 /*!
2 2 \page classes.html
3 3 \title QtCommercial Charts API
4 4 \keyword All Classes
5 5
6 6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However
7 7 there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
8 8 The API supports following chart types:
9 9
10 10 \list
11 11 \o line
12 12 \o area
13 13 \o scatter
14 14 \o spline
15 15 \o pie
16 16 \o grouped bar
17 17 \o percent bar
18 18 \o stacked bar
19 19 \endlist
20 20
21 21
22 Each chart type is represented by QAbstractSeries derived class. To create given chart type users have to use instace of releted sereis class and add it to QChart/QChartView instance.
22 Each chart type is represented by QAbstractSeries derived class. To create given chart type users have to use instance of related series class and add it to QChart instance.
23 23 \code
24 24 QLineSeries* series = new QLineSeries();
25 25 series->add(0, 6);
26 26 series->add(2, 4);
27 27 ...
28 28 chartView->chart()->addSeries(series);
29 29 \endcode
30 30
31 31 \raw HTML
32 32 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
33 33 <tr>
34 34 <th class="titleheader" width="25%">
35 35 Common and global
36 36 </th>
37 37 <th class="titleheader" width="25%">
38 38 XY chart
39 39 </th>
40 40 </tr>
41 41 <tr>
42 42 <td valign="top">
43 43 <ul>
44 44 <li><a href="qchart.html">QChart</a></li>
45 45 <li><a href="qaxis.html">QAxis</a></li>
46 46 <li><a href="qaxiscategories.html">QAxisCategories</a></li>
47 47 <li><a href="qchartview.html">QChartView</a></li>
48 48 <li><a href="qlegend.html">QLegend</a></li>
49 49 <li><a href="qabstractseries.html">QAbstractSeries</a></li>
50 50 <li><a href="qchartglobal.html">QChartGlobal</a></li>
51 51 </ul>
52 52 </td>
53 53 <td valign="top">
54 54 <ul>
55 55 <li><a href="qlineseries.html">QLineSeries</a></li>
56 56 <li><a href="qareaseries.html">QAreaSeries</a></li>
57 57 <li><a href="qscatterseries.html">QScatterSeries</a></li>
58 58 <li><a href="qsplineseries.html">QSplineSeries</a></li>
59 59 <li><a href="qxymodelmapper.html">QXYModelMapper</a></li>
60 60 <li><a href="qhxymodelmapper.html">QHXYModelMapper</a></li>
61 61 <li><a href="qvxymodelmapper.html">QVXYModelMapper</a></li>
62 62 </ul>
63 63 </td>
64 64 </tr>
65 65 </table>
66 66 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
67 67 <tr>
68 68 <th class="titleheader" width="25%">
69 69 Pie chart
70 70 </th>
71 71 <th class="titleheader" width="25%">
72 72 Bar chart
73 73 </th>
74 74 <tr>
75 75 <td valign="top">
76 76 <ul>
77 77 <li><a href="qpieseries.html">QPieSeries</a></li>
78 78 <li><a href="qpieslice.html">QPieSlice</a></li>
79 79 <li><a href="qpiemodelmapper.html">QPieModelMapper</a></li>
80 80 <li><a href="qhpiemodelmapper.html">QHPieModelMapper</a></li>
81 81 <li><a href="qvpiemodelmapper.html">QVPieModelMapper</a></li>
82 82 </ul>
83 83 </td>
84 84 <td valign="top">
85 85 <ul>
86 86 <li><a href="qbarseries.html">QBarSeries</a></li>
87 87 <li><a href="qbarset.html">QBarSet</a></li>
88 88 <li><a href="qgroupedbarseries.html">QGroupedBarSeries</a></li>
89 89 <li><a href="qpercentbarseries.html">QPercentBarSeries</a></li>
90 90 <li><a href="qstackedbarseries.html">QStackedBarSeries</a></li>
91 91 <li><a href="qbarmodelmapper.html">QBarModelMapper</a></li>
92 92 <li><a href="qhbarmodelmapper.html">QHBarModelMapper</a></li>
93 93 <li><a href="qvbarmodelmapper.html">QVBarModelMapper</a></li>
94 94 </ul>
95 95 </td>
96 96 </tr>
97 97 </table>
98 98 \endraw
99 99
100 100 */
General Comments 0
You need to be logged in to leave comments. Login now