All Components
Components

SeriesLine

Appearance settings for the line of the "area", "candlestick", "ohlc", and "waterfall" series.

color string

The color of the line. Accepts a valid CSS color string, including hex and rgb.

opacity number

The line opacity. By default, the line is opaque (opacity = 1).

style "normal" | "step" | "smooth"

The line drawing style.

The supported values are:

  • "normal"—The values will be connected with a straight line.
  • "step"—The values will be connected with a right-angled line.
  • "smooth"—The values will be connected with a smooth line.

The default value is "normal".

The style option is supported for "area", "polarArea", and "radarArea" series.
The step value is supported only for the "area" series.

width number

The line width in pixels.

By default, the width is set to 0 and the line is not visible.

In this article