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