##// END OF EJS Templates
Adds back diagram class to docs
Michal Klocek -
r1089:15730c540d76
parent child
Show More
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,79 +1,81
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 \image class_diagram.png
7
6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However
8 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.
9 there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
8 The API supports following chart types:
10 The API supports following chart types:
9
11
10 \list
12 \list
11 \o area
13 \o area
12 \o line
14 \o line
13 \o bar
15 \o bar
14 \o percent bar
16 \o percent bar
15 \o pie
17 \o pie
16 \o scatter
18 \o scatter
17 \o spline
19 \o spline
18 \o stacked bar
20 \o stacked bar
19 \endlist
21 \endlist
20
22
21
23
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.
24 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
25 \code
24 QLineSeries* series = new QLineSeries();
26 QLineSeries* series = new QLineSeries();
25 series->add(0, 6);
27 series->add(0, 6);
26 series->add(2, 4);
28 series->add(2, 4);
27 ...
29 ...
28 chartView->addSeries(series);
30 chartView->addSeries(series);
29 \endcode
31 \endcode
30
32
31 \raw HTML
33 \raw HTML
32 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
34 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
33 <tr>
35 <tr>
34 <th class="titleheader" width="33%">
36 <th class="titleheader" width="33%">
35 List of classes
37 List of classes
36 </th>
38 </th>
37 </tr>
39 </tr>
38 <tr>
40 <tr>
39 <td valign="top">
41 <td valign="top">
40 <ul>
42 <ul>
41 <li><a href="qareaseries.html">QAreaSeries</a></li>
43 <li><a href="qareaseries.html">QAreaSeries</a></li>
42 <li><a href="qbarseries.html">QBarSeries</a></li>
44 <li><a href="qbarseries.html">QBarSeries</a></li>
43 <li><a href="qbarset.html">QBarSet</a></li>
45 <li><a href="qbarset.html">QBarSet</a></li>
44 <li><a href="qchart.html">QChart</a></li>
46 <li><a href="qchart.html">QChart</a></li>
45 <li><a href="qaxis.html">QAxis</a></li>
47 <li><a href="qaxis.html">QAxis</a></li>
46 <li><a href="qchartview.html">QChartView</a></li>
48 <li><a href="qchartview.html">QChartView</a></li>
47 <li><a href="qlineseries.html">QLineSeries</a></li>
49 <li><a href="qlineseries.html">QLineSeries</a></li>
48 <li><a href="qpercentbarseries.html">QPercentBarSeries</a></li>
50 <li><a href="qpercentbarseries.html">QPercentBarSeries</a></li>
49 <li><a href="qpieseries.html">QPieSeries</a></li>
51 <li><a href="qpieseries.html">QPieSeries</a></li>
50 <li><a href="qpieslice.html">QPieSlice</a></li>
52 <li><a href="qpieslice.html">QPieSlice</a></li>
51 <li><a href="qscatterseries.html">QScatterSeries</a></li>
53 <li><a href="qscatterseries.html">QScatterSeries</a></li>
52 <li><a href="qabstractseries.html">QAbstractSeries</a></li>
54 <li><a href="qabstractseries.html">QAbstractSeries</a></li>
53 <li><a href="qsplineseries.html">QSplineSeries</a></li>
55 <li><a href="qsplineseries.html">QSplineSeries</a></li>
54 <li><a href="qstackedbarseries.html">QStackedBarSeries</a></li>
56 <li><a href="qstackedbarseries.html">QStackedBarSeries</a></li>
55 <li><a href="qxyseries.html">QXYSeries</a></li>
57 <li><a href="qxyseries.html">QXYSeries</a></li>
56 <li><a href="qlegend.html">QLegend</a></li>
58 <li><a href="qlegend.html">QLegend</a></li>
57 </ul>
59 </ul>
58 </td>
60 </td>
59 </tr>
61 </tr>
60 </table>
62 </table>
61
63
62 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
64 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
63 <tr>
65 <tr>
64 <th class="titleheader" width="33%">
66 <th class="titleheader" width="33%">
65 Other files:
67 Other files:
66 </th>
68 </th>
67 </tr>
69 </tr>
68 <tr>
70 <tr>
69 <td valign="top">
71 <td valign="top">
70 <ul>
72 <ul>
71 <li><a href="qchartglobal.html">QChartGlobal</a></li>
73 <li><a href="qchartglobal.html">QChartGlobal</a></li>
72 </ul>
74 </ul>
73 </td>
75 </td>
74 </tr>
76 </tr>
75 </table>
77 </table>
76
78
77 \endraw
79 \endraw
78
80
79 */
81 */
General Comments 0
You need to be logged in to leave comments. Login now