##// END OF EJS Templates
Adds area chart...
Adds area chart * adds area chart implementation * adds QAreaSeries * adds areachart example * adds documentation * updates "about" , "classes" and "example" documentation pages

File last commit:

r372:22dd70553931
r421:fe0a0dc06876
Show More
example-linechart.qdoc
25 lines | 734 B | text/plain | TextLexer
/ doc / src / example-linechart.qdoc
/*!
\example example/linechart
\title LineChart Example
\subtitle
The example shows how to create simple line chart.
\image linechart.png
To create line charts, QLineSeries instance is needed. Here we create two line series and we set the color and width of line.
\snippet ../example/linechart/main.cpp 1
We add data to be shown to both series. We can use add() member function or use stream operator.
\snippet ../example/linechart/main.cpp 2
In the end we create QChartView instance, set title, set anti-aliasing and add both series.
\snippet ../example/linechart/main.cpp 3
Chart is ready to be shown.
\snippet ../example/linechart/main.cpp 4
*/