classes.qdoc
104 lines
| 4.0 KiB
| text/plain
|
TextLexer
Michal Klocek
|
r330 | /*! | ||
\page classes.html | ||||
\title QtCommercial Charts API | ||||
\keyword All Classes | ||||
Marek Rosa
|
r1368 | Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However | ||
Michal Klocek
|
r483 | there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget. | ||
Tero Ahola
|
r979 | The API supports following chart types: | ||
Marek Rosa
|
r1368 | |||
Michal Klocek
|
r484 | \list | ||
\o area | ||||
Marek Rosa
|
r1368 | \o line | ||
\o grouped bar | ||||
\o percent bar | ||||
Michal Klocek
|
r484 | \o pie | ||
\o scatter | ||||
\o spline | ||||
\o stacked bar | ||||
\endlist | ||||
Marek Rosa
|
r1368 | |||
Michal Klocek
|
r483 | 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. | ||
\code | ||||
QLineSeries* series = new QLineSeries(); | ||||
series->add(0, 6); | ||||
series->add(2, 4); | ||||
... | ||||
Marek Rosa
|
r1368 | chartView->chart()->addSeries(series); | ||
Michal Klocek
|
r483 | \endcode | ||
Marek Rosa
|
r1368 | |||
Michal Klocek
|
r330 | \raw HTML | ||
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable"> | ||||
<tr> | ||||
Marek Rosa
|
r1368 | <th class="titleheader" width="25%"> | ||
Common | ||||
Michal Klocek
|
r330 | </th> | ||
Marek Rosa
|
r1368 | <th class="titleheader" width="25%"> | ||
XY type | ||||
</th> | ||||
<th class="titleheader" width="25%"> | ||||
Pie type | ||||
</th> | ||||
<th class="titleheader" width="25%"> | ||||
Bar type | ||||
</th> | ||||
<th class="titleheader" width="25%"> | ||||
Other files | ||||
Michal Klocek
|
r330 | </th> | ||
</tr> | ||||
<tr> | ||||
Marek Rosa
|
r1368 | <td valign="top"> | ||
<ul> | ||||
<li><a href="qchart.html">QChart</a></li> | ||||
<li><a href="qaxis.html">QAxis</a></li> | ||||
<li><a href="qaxiscategories.html">QAxisCategories</a></li> | ||||
<li><a href="qchartview.html">QChartView</a></li> | ||||
<li><a href="qlegend.html">QLegend</a></li> | ||||
<li><a href="qabstractseries.html">QAbstractSeries</a></li> | ||||
<li><a href="qchartglobal.html">QChartGlobal</a></li> | ||||
</ul> | ||||
</td> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qlineseries.html">QLineSeries</a></li> | ||||
<li><a href="qareaseries.html">QAreaSeries</a></li> | ||||
<li><a href="qscatterseries.html">QScatterSeries</a></li> | ||||
<li><a href="qsplineseries.html">QSplineSeries</a></li> | ||||
<li><a href="qxymodelmapper.html">QXYModelMapper</a></li> | ||||
<li><a href="qhxymodelmapper.html">QHXYModelMapper</a></li> | ||||
<li><a href="qvxymodelmapper.html">QVXYModelMapper</a></li> | ||||
</ul> | ||||
</td> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qpieseries.html">QPieSeries</a></li> | ||||
<li><a href="qpieslice.html">QPieSlice</a></li> | ||||
<li><a href="qpiemodelmapper.html">QPieModelMapper</a></li> | ||||
<li><a href="qhpiemodelmapper.html">QHPieModelMapper</a></li> | ||||
<li><a href="qvpiemodelmapper.html">QVPieModelMapper</a></li> | ||||
</ul> | ||||
</td> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qbarseries.html">QBarSeries</a></li> | ||||
<li><a href="qbarset.html">QBarSet</a></li> | ||||
<li><a href="qgroupedbarseries.html">QGroupedBarSeries</a></li> | ||||
<li><a href="qpercentbarseries.html">QPercentBarSeries</a></li> | ||||
<li><a href="qstackedbarseries.html">QStackedBarSeries</a></li> | ||||
<li><a href="qbarmodelmapper.html">QBarModelMapper</a></li> | ||||
<li><a href="qhbarmodelmapper.html">QHBarModelMapper</a></li> | ||||
<li><a href="qvbarmodelmapper.html">QVBarModelMapper</a></li> | ||||
</ul> | ||||
</td> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qchartglobal.html">QChartGlobal</a></li> | ||||
</ul> | ||||
</td> | ||||
Michal Klocek
|
r330 | </tr> | ||
</table> | ||||
\endraw | ||||
*/ | ||||