An array of data points for the series. For the arearange
series type, points can be given in the following ways:
- An array of arrays with 3 or 2 values. In this case, the values
correspond tox,low,high
. If the first value is a string, it is
applied as the name of the point, and thex
value is inferred. The
x
value can also be omitted, in which case the inner arrays should
be of length 2. Then thex
value is automatically calculated,
either starting at 0 and incremented by 1, or frompointStart
and
pointInterval
given in the series options.
data: [
[0, 8, 3],
[1, 1, 1],
[2, 6, 8]
]
- An array of objects with named values. The following snippet shows
only a few settings, see the complete options set below. If the
total number of data points exceeds the series’ turboThreshold, this
option is not available.
data: [{
x: 1,
low: 9,
high: 0,
name: "Point2",
color: "#00FF00"
}, {
x: 1,
low: 3,
high: 4,
name: "Point1",
color: "#FF00FF"
}]