##// END OF EJS Templates
Fix mouse events for QtQuick2...
Fix mouse events for QtQuick2 Change-Id: Ibb6b80765c6433a47670046ca72e156c697b1f97 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>

File last commit:

r1630:59aae3a9af82
r2495:a5499c546bff
Show More
examples-areachart.qdoc
30 lines | 950 B | text/plain | TextLexer
/ doc / src / examples-areachart.qdoc
/*!
\example examples/areachart
\title AreaChart Example
\subtitle
The example shows how to create simple area chart.
\image examples_areachart.png
To create area charts, we need two QLineSeries instances. They are going to define upper and lower boundary of the area.
\snippet ../examples/areachart/main.cpp 1
We add data to both series, we use stream operator.
\snippet ../examples/areachart/main.cpp 2
Now we create QAreaSeries instance using two line series objects. We set the custom gradient fill and width of the outline.
\snippet ../examples/areachart/main.cpp 3
In the end we create QChartView instance, set title, set anti-aliasing and add area series. We also create the default axes and specify the ranges on them.
\snippet ../examples/areachart/main.cpp 4
Chart is ready to be shown.
\snippet ../examples/areachart/main.cpp 5
*/