##// END OF EJS Templates
Documentation of QML ChartView, Axis and Legend
Documentation of QML ChartView, Axis and Legend

File last commit:

r1380:ae04ff07a29b
r1475:b687c49332c3
Show More
demos-qmlchart.qdoc
27 lines | 1.0 KiB | text/plain | TextLexer
/ doc / src / demos-qmlchart.qdoc
/*!
\example demos/qmlchart
\title Qml charts demo
\subtitle
This is a basic demonstration how to use the different chart types by using qml. Creating each chart type begins
with creation of a ChartView. For example to create a pie, we use the PieSeries API together with a few PieSlices:
\snippet ../demos/qmlchart/qml/qmlchart/View1.qml 1
\image demos_qmlchart1.png
To create a chart with line and spline series:
\snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1
\image demos_qmlchart2.png
Then we create a chart that illustrates the success of Russian, Swedish and Finnish ice-hockey players in the
NHL All-Star player selections by using three area series:
\snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1
\image demos_qmlchart3.png
Then couple of scatter series:
\snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1
\image demos_qmlchart4.png
And finally a bar series:
\snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1
\image demos_qmlchart5.png
*/