##// END OF EJS Templates
API review changes for pie
API review changes for pie

File last commit:

r979:6c4321224538
r1009:983f422506c5
Show More
examples-scatterchart.qdoc
26 lines | 803 B | text/plain | TextLexer
/ doc / src / examples-scatterchart.qdoc
/*!
\example examples/scatterchart
\title ScatterChart Example
\subtitle
The example shows how to create simple scatter chart.
\image examples_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.
\snippet ../examples/scatterchart/main.cpp 1
We add data to be shown. We can use add() member function or use stream operator.
\snippet ../examples/scatterchart/main.cpp 2
In the end we create QChartView instance, set title, set anti-aliasing and add scatter series.
\snippet ../examples/scatterchart/main.cpp 3
Chart is ready to be shown.
\snippet ../examples/scatterchart/main.cpp 4
*/