##// END OF EJS Templates
Adds supported chart types to docs
Adds supported chart types to docs

File last commit:

r484:4035b6e7db8b
r484:4035b6e7db8b
Show More
classes.qdoc
79 lines | 2.6 KiB | text/plain | TextLexer
Michal Klocek
Refactor documentation...
r330 /*!
\page classes.html
\title QtCommercial Charts API
\keyword All Classes
Michal Klocek
Adds more bla bla bla to classes doc page
r483 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGrsphicsWidget using QChart class. However
there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
Michal Klocek
Adds supported chart types to docs
r484 Currently API supports following chart types:
\list
\o area
\o line
\o bar
\o percent bar
\o pie
\o scatter
\o spline
\o stacked bar
\endlist
Michal Klocek
Adds more bla bla bla to classes doc page
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);
...
chartView->addSeries(series);
\endcode
Michal Klocek
Adds class diagram image
r472 \image class_diagram.png
Michal Klocek
Refactor documentation...
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>
Michal Klocek
Adds area chart...
r421 <li><a href="qareaseries.html">QAreaSeries</a></li>
Michal Klocek
Fix doc class names
r351 <li><a href="qbarseries.html">QBarSeries</a></li>
Michal Klocek
Refactor documentation...
r330 <li><a href="qbarset.html">QBarSet</a></li>
<li><a href="qchart.html">QChart</a></li>
<li><a href="qchartaxis.html">QChartAxis</a></li>
<li><a href="qchartview.html">QChartView</a></li>
Michal Klocek
Fix doc class names
r351 <li><a href="qlineseries.html">QLineSeries</a></li>
<li><a href="qpercentbarseries.html">QPercentBarSeries</a></li>
Michal Klocek
Refactor documentation...
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>
Michal Klocek
minor. fix doc links
r362 <li><a href="qseries.html">QSeries</a></li>
Marek Rosa
QSplineSeries documentation added
r433 <li><a href="qsplineseries.html">QSplineSeries</a></li>
Michal Klocek
Fix doc class names
r351 <li><a href="qstackedbarseries.html">QStackedBarSeries</a></li>
Michal Klocek
Fixes for docs , adds xyseries docs
r481 <li><a href="qxyseries.html">QXYSeries</a></li>
Michal Klocek
Refactor documentation...
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
*/