@@ -19,7 +19,7 | |||
|
19 | 19 | |
|
20 | 20 | \snippet ../example/areachart/main.cpp 3 |
|
21 | 21 | |
|
22 |
In the end we create QChartView instance, set title, set anti-aliasing and add area series. |
|
|
22 | In the end we create QChartView instance, set title, set anti-aliasing and add area series. We also set the specific range for axes. | |
|
23 | 23 | |
|
24 | 24 | \snippet ../example/areachart/main.cpp 4 |
|
25 | 25 |
@@ -21,8 +21,8 int main(int argc, char *argv[]) | |||
|
21 | 21 | //![1] |
|
22 | 22 | |
|
23 | 23 | //![2] |
|
24 | *series0 << QPointF(1, 5) << QPointF(3, 7) << QPointF(7, 6) << QPointF(9, 7) << QPointF(12,6)<<QPointF(16,7)<<QPointF(18,5); | |
|
25 | *series1 << QPointF(1, 3) << QPointF(3, 4) << QPointF(7, 3) << QPointF(8, 2) << QPointF(12,3)<<QPointF(16,4)<<QPointF(18,3); | |
|
24 | *series0 << QPointF(1, 5) << QPointF(3, 7) << QPointF(7, 6) << QPointF(9, 7) << QPointF(12,6) << QPointF(16,7) << QPointF(18,5); | |
|
25 | *series1 << QPointF(1, 3) << QPointF(3, 4) << QPointF(7, 3) << QPointF(8, 2) << QPointF(12,3) << QPointF(16,4) << QPointF(18,3); | |
|
26 | 26 | //![2] |
|
27 | 27 | //![3] |
|
28 | 28 |
General Comments 0
You need to be logged in to leave comments.
Login now