##// END OF EJS Templates
minor. typo
Michal Klocek -
r485:c9a3f2a6a938
parent child
Show More
@@ -1,79 +1,79
1 /*!
1 /*!
2 \page classes.html
2 \page classes.html
3 \title QtCommercial Charts API
3 \title QtCommercial Charts API
4 \keyword All Classes
4 \keyword All Classes
5
5
6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGrsphicsWidget using QChart class. However
6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However
7 there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
7 there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
8 Currently API supports following chart types:
8 Currently API supports following chart types:
9
9
10 \list
10 \list
11 \o area
11 \o area
12 \o line
12 \o line
13 \o bar
13 \o bar
14 \o percent bar
14 \o percent bar
15 \o pie
15 \o pie
16 \o scatter
16 \o scatter
17 \o spline
17 \o spline
18 \o stacked bar
18 \o stacked bar
19 \endlist
19 \endlist
20
20
21
21
22 Each chart type is represented by QSeries 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 QSeries derived class. To create given chart type users have to use instace of releted sereis class and add it to QChart/QChartView instance.
23 \code
23 \code
24 QLineSeries* series = new QLineSeries();
24 QLineSeries* series = new QLineSeries();
25 series->add(0, 6);
25 series->add(0, 6);
26 series->add(2, 4);
26 series->add(2, 4);
27 ...
27 ...
28 chartView->addSeries(series);
28 chartView->addSeries(series);
29 \endcode
29 \endcode
30
30
31 \image class_diagram.png
31 \image class_diagram.png
32 \raw HTML
32 \raw HTML
33 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
33 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
34 <tr>
34 <tr>
35 <th class="titleheader" width="33%">
35 <th class="titleheader" width="33%">
36 List of classes
36 List of classes
37 </th>
37 </th>
38 </tr>
38 </tr>
39 <tr>
39 <tr>
40 <td valign="top">
40 <td valign="top">
41 <ul>
41 <ul>
42 <li><a href="qareaseries.html">QAreaSeries</a></li>
42 <li><a href="qareaseries.html">QAreaSeries</a></li>
43 <li><a href="qbarseries.html">QBarSeries</a></li>
43 <li><a href="qbarseries.html">QBarSeries</a></li>
44 <li><a href="qbarset.html">QBarSet</a></li>
44 <li><a href="qbarset.html">QBarSet</a></li>
45 <li><a href="qchart.html">QChart</a></li>
45 <li><a href="qchart.html">QChart</a></li>
46 <li><a href="qchartaxis.html">QChartAxis</a></li>
46 <li><a href="qchartaxis.html">QChartAxis</a></li>
47 <li><a href="qchartview.html">QChartView</a></li>
47 <li><a href="qchartview.html">QChartView</a></li>
48 <li><a href="qlineseries.html">QLineSeries</a></li>
48 <li><a href="qlineseries.html">QLineSeries</a></li>
49 <li><a href="qpercentbarseries.html">QPercentBarSeries</a></li>
49 <li><a href="qpercentbarseries.html">QPercentBarSeries</a></li>
50 <li><a href="qpieseries.html">QPieSeries</a></li>
50 <li><a href="qpieseries.html">QPieSeries</a></li>
51 <li><a href="qpieslice.html">QPieSlice</a></li>
51 <li><a href="qpieslice.html">QPieSlice</a></li>
52 <li><a href="qscatterseries.html">QScatterSeries</a></li>
52 <li><a href="qscatterseries.html">QScatterSeries</a></li>
53 <li><a href="qseries.html">QSeries</a></li>
53 <li><a href="qseries.html">QSeries</a></li>
54 <li><a href="qsplineseries.html">QSplineSeries</a></li>
54 <li><a href="qsplineseries.html">QSplineSeries</a></li>
55 <li><a href="qstackedbarseries.html">QStackedBarSeries</a></li>
55 <li><a href="qstackedbarseries.html">QStackedBarSeries</a></li>
56 <li><a href="qxyseries.html">QXYSeries</a></li>
56 <li><a href="qxyseries.html">QXYSeries</a></li>
57 </ul>
57 </ul>
58 </td>
58 </td>
59 </tr>
59 </tr>
60 </table>
60 </table>
61
61
62 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
62 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
63 <tr>
63 <tr>
64 <th class="titleheader" width="33%">
64 <th class="titleheader" width="33%">
65 Other files:
65 Other files:
66 </th>
66 </th>
67 </tr>
67 </tr>
68 <tr>
68 <tr>
69 <td valign="top">
69 <td valign="top">
70 <ul>
70 <ul>
71 <li><a href="qchartglobal.html">QChartGlobal</a></li>
71 <li><a href="qchartglobal.html">QChartGlobal</a></li>
72 </ul>
72 </ul>
73 </td>
73 </td>
74 </tr>
74 </tr>
75 </table>
75 </table>
76
76
77 \endraw
77 \endraw
78
78
79 */
79 */
General Comments 0
You need to be logged in to leave comments. Login now