##// END OF EJS Templates
Fixes header guard style issues
Fixes header guard style issues

File last commit:

r500:4d73e3f9e3b6
r969:db6eae90aaea
Show More
examples-scatterchart.qdoc
25 lines | 793 B | text/plain | TextLexer
/ doc / src / examples-scatterchart.qdoc
Michal Klocek
Update scatter example and docs
r471 /*!
Tero Ahola
Fixing example documentation
r500 \example examples/scatterchart
Michal Klocek
Update scatter example and docs
r471 \title ScatterChart Example
\subtitle
The example shows how to create simple scatter chart.
\image scatterchart.png
To create scatter charts, QScatterSeries instance is needed. Here we create scatter series instance and we set the type, color and width of outline for scatter points.
sauimone
fixed example paths in doc
r496 \snippet ../examples/scatterchart/main.cpp 1
Michal Klocek
Update scatter example and docs
r471
We add data to be shown. We can use add() member function or use stream operator.
sauimone
fixed example paths in doc
r496 \snippet ../examples/scatterchart/main.cpp 2
Michal Klocek
Update scatter example and docs
r471
In the end we create QChartView instance, set title, set anti-aliasing and add scatter series.
sauimone
fixed example paths in doc
r496 \snippet ../examples/scatterchart/main.cpp 3
Michal Klocek
Update scatter example and docs
r471
Chart is ready to be shown.
sauimone
fixed example paths in doc
r496 \snippet ../examples/scatterchart/main.cpp 4
Michal Klocek
Update scatter example and docs
r471
*/