##// END OF EJS Templates
Doc updates
Doc updates

File last commit:

r1833:23cc8729334f
r1909:bb12647edbe2
Show More
demos-qmlchart.qdoc
39 lines | 1.5 KiB | text/plain | TextLexer
/ doc / src / demos-qmlchart.qdoc
Jani Honkonen
Added qmlchart to demo docs
r1010 /*!
\example demos/qmlchart
\title Qml charts demo
\subtitle
Tero Ahola
Documentation: QML demos, bar screens, legend detach screen
r1380 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
Tero Ahola
Fixed documentation of qmlchart demo
r1520 To create a chart with line series:
Tero Ahola
Documentation: QML demos, bar screens, legend detach screen
r1380 \snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1
\image demos_qmlchart2.png
Tero Ahola
Fixed documentation of qmlchart demo
r1520 And spline series:
Tero Ahola
Documentation: QML demos, bar screens, legend detach screen
r1380 \snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1
\image demos_qmlchart3.png
Tero Ahola
Fixed documentation of qmlchart demo
r1520 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:
Tero Ahola
Documentation: QML demos, bar screens, legend detach screen
r1380 \snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1
\image demos_qmlchart4.png
Tero Ahola
Fixed documentation of qmlchart demo
r1520 Then couple of scatter series:
Tero Ahola
Documentation: QML demos, bar screens, legend detach screen
r1380 \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1
\image demos_qmlchart5.png
Tero Ahola
Fixed documentation of qmlchart demo
r1520
Tero Ahola
Documented QML donut demo
r1833 And a few different bar series:
Tero Ahola
Fixed documentation of qmlchart demo
r1520 \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
\image demos_qmlchart6.png
Tero Ahola
Documented QML donut demo
r1833 \snippet ../demos/qmlchart/qml/qmlchart/View7.qml 1
\image demos_qmlchart7.png
\snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1
\image demos_qmlchart8.png
And finally an example how to create a donut chart with two pie series:
\snippet ../demos/qmlchart/qml/qmlchart/View12.qml 1
\image demos_qmlchart12.png
Jani Honkonen
Added qmlchart to demo docs
r1010 */