##// END OF EJS Templates
Chart title font color
Chart title font color

File last commit:

r471:b6db000cfc58
r495:5c5df42e5e34
Show More
example-scatterchart.qdoc
25 lines | 788 B | text/plain | TextLexer
/ doc / src / example-scatterchart.qdoc
/*!
\example example/scatterchart
\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.
\snippet ../example/scatterchart/main.cpp 1
We add data to be shown. We can use add() member function or use stream operator.
\snippet ../example/scatterchart/main.cpp 2
In the end we create QChartView instance, set title, set anti-aliasing and add scatter series.
\snippet ../example/scatterchart/main.cpp 3
Chart is ready to be shown.
\snippet ../example/scatterchart/main.cpp 4
*/