##// END OF EJS Templates
Spline chart example added
Spline chart example added

File last commit:

r334:d6ea428dc600
r434:52aa7c3abf86
Show More
tutorials.qdoc
26 lines | 952 B | text/plain | TextLexer
Michal Klocek
Refactor documentation...
r330 /*!
\page tutorials.html
\title Tutorials
\keyword Tutorials
For example, to create a chart with line series using a widget based application:
\snippet ../example/chartview/main.cpp 1
\image chartview_example.jpg
Tero Ahola
Example on main qdoc page.
r334 To replace the line series with a pie series you use the dedicated QPieSeries class:
Michal Klocek
Refactor documentation...
r330 \snippet ../example/chartview/main.cpp 3
\image chartview_example_pie.jpg
Tero Ahola
Example on main qdoc page.
r334
To use a scatter series you use QScatterSeries class:
Michal Klocek
Refactor documentation...
r330 \snippet ../example/chartview/main.cpp 4
\image chartview_example_scatter.jpg
Tero Ahola
Example on main qdoc page.
r334
And to show a bar series you use one of the bar series classes, for example QBarChartSeries:
Michal Klocek
Refactor documentation...
r330 \snippet ../example/chartview/main.cpp 5
\image chartview_example_bar.jpg
Tero Ahola
Example on main qdoc page.
r334 If you need to give a more professional touch to your chart you can switch from the default
theme to one of the other themes:
Michal Klocek
Refactor documentation...
r330 \snippet ../example/chartview/main.cpp 2
\image chartview_example_theme.jpg
*/