classes.qdoc
94 lines
| 3.2 KiB
| text/plain
|
TextLexer
|
r330 | /*! | ||
\page classes.html | ||||
\title QtCommercial Charts API | ||||
\keyword All Classes | ||||
|
r485 | Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However | ||
|
r483 | there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget. | ||
|
r979 | The API supports following chart types: | ||
|
r484 | |||
\list | ||||
\o area | ||||
\o line | ||||
\o bar | ||||
\o percent bar | ||||
\o pie | ||||
\o scatter | ||||
\o spline | ||||
\o stacked bar | ||||
\endlist | ||||
|
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); | ||||
... | ||||
|
r1362 | chart->addSeries(series); | ||
|
r483 | \endcode | ||
|
r330 | \raw HTML | ||
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable"> | ||||
<tr> | ||||
<th class="titleheader" width="33%"> | ||||
List of classes | ||||
</th> | ||||
</tr> | ||||
<tr> | ||||
<td valign="top"> | ||||
<ul> | ||||
|
r421 | <li><a href="qareaseries.html">QAreaSeries</a></li> | ||
|
r351 | <li><a href="qbarseries.html">QBarSeries</a></li> | ||
|
r330 | <li><a href="qbarset.html">QBarSet</a></li> | ||
<li><a href="qchart.html">QChart</a></li> | ||||
|
r1023 | <li><a href="qaxis.html">QAxis</a></li> | ||
|
r330 | <li><a href="qchartview.html">QChartView</a></li> | ||
|
r351 | <li><a href="qlineseries.html">QLineSeries</a></li> | ||
<li><a href="qpercentbarseries.html">QPercentBarSeries</a></li> | ||||
|
r330 | <li><a href="qpieseries.html">QPieSeries</a></li> | ||
<li><a href="qpieslice.html">QPieSlice</a></li> | ||||
<li><a href="qscatterseries.html">QScatterSeries</a></li> | ||||
|
r995 | <li><a href="qabstractseries.html">QAbstractSeries</a></li> | ||
|
r433 | <li><a href="qsplineseries.html">QSplineSeries</a></li> | ||
|
r351 | <li><a href="qstackedbarseries.html">QStackedBarSeries</a></li> | ||
|
r481 | <li><a href="qxyseries.html">QXYSeries</a></li> | ||
|
r1331 | <li><a href="qlegend.html">QLegend</a></li> | ||
|
r1340 | <li><a href="qpiemodelmapper.html">QPieModelMapper</a></li> | ||
<ul> | ||||
<li><a href="qhpiemodelmapper.html">QHPieModelMapper</a></li> | ||||
<li><a href="qvpiemodelmapper.html">QVPieModelMapper</a></li> | ||||
</ul> | ||||
<li><a href="qbarmodelmapper.html">QBarModelMapper</a></li> | ||||
<ul> | ||||
<li><a href="qhbarmodelmapper.html">QHBarModelMapper</a></li> | ||||
<li><a href="qvbarmodelmapper.html">QVBarModelMapper</a></li> | ||||
</ul> | ||||
<li><a href="qxymodelmapper.html">QXYModelMapper</a></li> | ||||
<ul> | ||||
<li><a href="qhxymodelmapper.html">QHXYModelMapper</a></li> | ||||
<li><a href="qvxymodelmapper.html">QVXYModelMapper</a></li> | ||||
</ul> | ||||
|
r330 | </ul> | ||
</td> | ||||
</tr> | ||||
</table> | ||||
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable"> | ||||
<tr> | ||||
<th class="titleheader" width="33%"> | ||||
Other files: | ||||
</th> | ||||
</tr> | ||||
<tr> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qchartglobal.html">QChartGlobal</a></li> | ||||
</ul> | ||||
</td> | ||||
</tr> | ||||
</table> | ||||
\endraw | ||||
*/ | ||||