@@ -36,11 +36,15 QT_CHARTS_BEGIN_NAMESPACE | |||||
36 |
|
36 | |||
37 | \mainclass |
|
37 | \mainclass | |
38 |
|
38 | |||
39 |
An area |
|
39 | An area series is used to show quantitative data. It is based on line series, in the way that | |
40 | is emphasized with color. Since the area chart is based on line chart, QAreaSeries constructor needs QLineSeries instance, |
|
40 | the area between the boundary lines is emphasized with color. Since the area series is based on | |
41 | which defines "upper" boundary of the area. "Lower" boundary is defined by default by axis X. Instead of axis X "lower" boundary can be specified by other line. |
|
41 | line series, QAreaSeries constructor needs a QLineSeries instance, which defines "upper" | |
42 | In that case QAreaSeries should be initiated with two QLineSeries instances. Please note terms "upper" and "lower" boundary can be misleading in cases |
|
42 | boundary of the area. The area chart is drawn using the bottom of the plot area as the "lower" | |
43 | where "lower" boundary had bigger values than the "upper" one, however the main point that area between these two boundary lines will be filled. |
|
43 | boundary by default. Instead of the bottom of the plot area, the "lower" boundary can be | |
|
44 | specified by another line. In that case QAreaSeries should be initialized with two QLineSeries | |||
|
45 | instances. Please note that the terms "upper" and "lower" boundary can be misleading in cases | |||
|
46 | where the "lower" boundary has bigger values than the "upper" one. The main point is that the | |||
|
47 | area between these two boundary lines will be filled. | |||
44 |
|
48 | |||
45 | See the \l {AreaChart Example} {area chart example} to learn how to create a simple area chart. |
|
49 | See the \l {AreaChart Example} {area chart example} to learn how to create a simple area chart. | |
46 | \image examples_areachart.png |
|
50 | \image examples_areachart.png |
General Comments 0
You need to be logged in to leave comments.
Login now