OptionalbandRange band (error band / confidence interval) filled beneath the line in the series color;
shares the legend entry, tooltips show lower – upper, the data table adds its columns
Optionalcolor[r, g, b, a] in 0..1 or a CSS color ('#3b82f6', 'rgb(...)', 'hsl(...)', named)
Optionalcurve'linear' (default), 'step' / 'stepBefore' / 'stepAfter', or 'monotone' (smooth, no overshoot)
OptionaldashDash pattern in CSS px ([6, 3]); the pattern runs on continuously along the line
OptionaldecalArea charts: pattern fill of this series over the chart decal (false: none)
OptionallineStroke width in CSS pixels for this series (overrides LineChartOptions.lineWidth)
OptionalmarkerData point markers (true = defaults: 6 px circles in the series color, shown while points
are >= 8 px apart). Engine marks, decimated with the line.
OptionalnullsMissing samples of this series (overrides the chart's nulls)
OptionalpiecesPiecewise colors (ECharts visualMap pieces): [{ lte: 50, color: '#00e400' }, { gt: 50, lte: 100, color: '#ffde33' }, ...]. The stroke switches color exactly where it crosses a
bound (also when decimated, zoomed, streamed, dashed or curved); area fills are banded,
markers, the hover marker and the tooltip swatch follow. Outside every piece: the series color
OptionalpiecesValue the pieces test: 'y' (default) or 'x' (data x, or the sample index without x)
OptionalpointSample values; NaN / null / undefined are missing (see nulls)
Optionalxx of each sample (same length as values, finite, sorted ascending; irregular spacing is
fine). Give it for every series or none; without it samples are spaced evenly by index.
Numbers are plain values or epoch ms (axes.x.type: 'time'); Date[] implies a time axis.
Optionalyy axis of this series (2D line charts): any 'right' series opts the chart into a second y
axis with its own domain / scale / ticks (axes.y2); gridlines follow the left axis
(default: 'left'; ignored by area charts)
Optionalyy axis index of this series (2D line charts; wins over yAxis): 0 = axes.y, 1 =
axes.y2, k >= 2 = axes.extraY[k - 2] (default: from yAxis; ignored by area charts)
Optionalz
Style fields of a
LineSeriesDescriptor.