qml.qdoc
108 lines
| 5.2 KiB
| text/plain
|
TextLexer
Tero Ahola
|
r1443 | /*! | ||
\page qml.html | ||||
Miikka Heikkinen
|
r2582 | \title Qt Charts QML API | ||
Tero Ahola
|
r1443 | \keyword Charts QML API | ||
Nico Vertriest
|
r2610 | The Qt Charts QML API is an intuitive and simple way to show charts in your QML | ||
Tero Ahola
|
r1958 | applications. | ||
\table | ||||
\row | ||||
Titta Heikkala
|
r2639 | \li \br | ||
Tero Ahola
|
r1958 | Use the following QML to create a simple pie chart: | ||
\br | ||||
\br | ||||
\snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1 | ||||
\snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2 | ||||
\snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3 | ||||
Titta Heikkala
|
r2639 | \li \inlineimage examples_qmlpiechart.png | ||
Tero Ahola
|
r1958 | \endtable | ||
Tero Ahola
|
r1469 | |||
Miikka Heikkinen
|
r2582 | \note Since Qt Charts utilizes Qt Graphics View Framework for drawing, it works best | ||
with Qt Quick 1, which is based on the same framework. | ||||
As of release 1.3.0, Qt Charts is also usable with Qt Quick 2, though the performance | ||||
Nico Vertriest
|
r2610 | is slightly worse than with Qt Quick 1 due to the additional rendering step that is required. | ||
Miikka Heikkinen
|
r2488 | |||
Nico Vertriest
|
r2610 | \note Qt Quick 1 is supported from Qt 4.7.4 onwards because of the missing | ||
Miikka Heikkinen
|
r2582 | Q_REVISION macro in the earlier Qt releases. Qt Quick 2 is supported with only Qt 5. | ||
Miikka Heikkinen
|
r2571 | |||
Tero Ahola
|
r1443 | \raw HTML | ||
Tero Ahola
|
r1469 | <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> | ||
<tr> | ||||
<th class="titleheader" width="25%"> ChartView and it's properties </th> | ||||
</tr> | ||||
<tr> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qml-chartview.html">ChartView</a></li> | ||||
Miikka Heikkinen
|
r2483 | <li><a href="qml-polarchartview.html">PolarChartView</a></li> | ||
sauimone
|
r1639 | <li><a href="qml-abstractaxis.html">AbstractAxis</a></li> | ||
Tero Ahola
|
r1869 | <li><a href="qml-valueaxis.html">ValueAxis</a></li> | ||
Titta Heikkala
|
r2639 | <li><a href="qml-logvalueaxis.html">LogValueAxis</a></li> | ||
Tero Ahola
|
r1870 | <li><a href="qml-categoryaxis.html">CategoryAxis</a></li> | ||
<li><a href="qml-categoryrange.html">CategoryRange</a></li> | ||||
Tero Ahola
|
r1869 | <li><a href="qml-barcategoryaxis.html">BarCategoryAxis</a></li> | ||
Tero Ahola
|
r2029 | <li><a href="qml-datetimeaxis.html">DateTimeAxis</a></li> | ||
Tero Ahola
|
r1469 | <li><a href="qml-legend.html">Legend</a></li> | ||
Tero Ahola
|
r1521 | <li><a href="qml-abstractseries.html">AbstractSeries</a></li> | ||
Tero Ahola
|
r1469 | </ul> | ||
</td> | ||||
</tr> | ||||
</table> | ||||
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> | ||||
<tr> | ||||
<th class="titleheader" width="25%"> XY chart </th> | ||||
</tr> | ||||
<tr> | ||||
<td valign="top"> | ||||
<ul> | ||||
Tero Ahola
|
r1521 | <li><a href="qml-xyseries.html">XYSeries</a></li> | ||
Tero Ahola
|
r1469 | <li><a href="qml-lineseries.html">LineSeries</a></li> | ||
<li><a href="qml-areaseries.html">AreaSeries</a></li> | ||||
<li><a href="qml-scatterseries.html">ScatterSeries</a></li> | ||||
<li><a href="qml-splineseries.html">SplineSeries</a></li> | ||||
Tero Ahola
|
r1532 | <li><a href="qml-xypoint.html">XYPoint</a></li> | ||
Tero Ahola
|
r1492 | <li><a href="qml-hxymodelmapper.html">HXYModelMapper</a></li> | ||
<li><a href="qml-vxymodelmapper.html">VXYModelMapper</a></li> | ||||
Tero Ahola
|
r1469 | </ul> | ||
</td> | ||||
</tr> | ||||
</table> | ||||
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> | ||||
<tr> | ||||
<th class="titleheader" width="25%"> Pie chart </th> | ||||
<tr> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qml-pieseries.html">PieSeries</a></li> | ||||
<li><a href="qml-pieslice.html">PieSlice</a></li> | ||||
Tero Ahola
|
r1492 | <li><a href="qml-hpiemodelmapper.html">HPieModelMapper</a></li> | ||
<li><a href="qml-vpiemodelmapper.html">VPieModelMapper</a></li> | ||||
Tero Ahola
|
r1469 | </ul> | ||
</td> | ||||
</tr> | ||||
</table> | ||||
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable"> | ||||
<tr> | ||||
<th class="titleheader" width="25%"> Bar chart </th> | ||||
<tr> | ||||
<td valign="top"> | ||||
<ul> | ||||
<li><a href="qml-barseries.html">BarSeries</a></li> | ||||
<li><a href="qml-stackedbarseries.html">StackedBarSeries</a></li> | ||||
<li><a href="qml-percentbarseries.html">PercentBarSeries</a></li> | ||||
sauimone
|
r1901 | <li><a href="qml-horizontalbarseries.html">HorizontalBarSeries</a></li> | ||
<li><a href="qml-horizontalstackedbarseries.html">HorizontalStackedBarSeries</a></li> | ||||
<li><a href="qml-horizontalpercentbarseries.html">HorizontalPercentBarSeries</a></li> | ||||
Tero Ahola
|
r1469 | <li><a href="qml-barset.html">BarSet</a></li> | ||
Mika Salmela
|
r2548 | <li><a href="qml-boxplotseries.html">BoxPlotSeries</a></li> | ||
<li><a href="qml-boxset.html">BoxSet</a></li> | ||||
Tero Ahola
|
r1492 | <li><a href="qml-hbarmodelmapper.html">HBarModelMapper</a></li> | ||
<li><a href="qml-vbarmodelmapper.html">VBarModelMapper</a></li> | ||||
Titta Heikkala
|
r2639 | <li><a href="qml-vboxplotmodelmapper.html">VBoxPlotModelMapper</a></li> | ||
Tero Ahola
|
r1469 | </ul> | ||
</td> | ||||
</tr> | ||||
</table> | ||||
\endraw | ||||
Tero Ahola
|
r1443 | */ | ||