系列。lineString|Object
The chart line configuration options.
The
line
option is supported when the系列。typeoption is set to "area", "candlestick", "ohlc" or "waterfall".
Example - configure the chart line options
系列。line.colorString
The line color. Accepts a valid CSS color string, including hex and rgb.
Example - set the chart line color
系列。line.opacityNumber
(default: 1)
The line opacity. By default the line is opaque.
Example - set the chart line opacity
系列。line.widthNumber
(default: 4)
The line width in pixels.
Example - set the chart line width
系列。line.styleString
(default: "normal")
The supported values are:
- "normal" - The values will be connected with straight line.
- "step" - The values will be connected with a line with right angle.
- "smooth" - The values will be connected with a smooth line.
The default value is "normal".
The
style
option is supported when系列。typeis set to "area", "rangeArea", "polarArea" or "radarArea".The
step
value is supported only when系列。typeis set to "area" or "rangeArea".For line series, use系列。style.
Example - set the chart line width