Skip to contents

Configuration for a line chart series.

Usage

LineSeries(
  name = NULL,
  data = NULL,
  x_axis_index = NULL,
  y_axis_index = NULL,
  stack = NULL,
  silent = NULL,
  legend_hover_link = NULL,
  color = NULL,
  z_level = NULL,
  z = NULL,
  smooth = NULL,
  step = NULL,
  connect_nulls = NULL,
  clip = NULL,
  show_symbol = NULL,
  symbol = NULL,
  symbol_size = NULL,
  line_style = NULL,
  area_style = NULL,
  item_style = NULL,
  label = NULL,
  mark_area = NULL
)

Arguments

name

Optional Character: Series name for legend display.

data

Optional Numeric or list: Data values.

x_axis_index

Optional Numeric [0, Inf): X-axis index.

y_axis_index

Optional Numeric [0, Inf): Y-axis index.

stack

Optional Character: Stack group name.

silent

Optional Logical: Whether the series is silent.

Optional Logical: Whether to highlight related legends on hover.

color

Optional Character: Series color override.

z_level

Optional Numeric: Canvas layer index.

z

Optional Numeric: Front-back order within the same layer.

smooth

Optional Logical or Numeric [0, 1]: Line smoothing.

step

Optional Logical or Character {"start", "end", "middle"}: Step line mode.

connect_nulls

Optional Logical: Whether to connect across NULL points.

clip

Optional Logical: Whether to clip overflow.

show_symbol

Optional Logical: Whether to show data-point symbols.

symbol

Optional Character {"circle", "rect", "roundRect", "triangle", "diamond", "pin", "arrow", "none"}: Symbol type. "diamond", "pin", "arrow", "none", or custom SVG path.

symbol_size

Optional Numeric: Symbol size in pixels.

line_style

Optional LineStyle: Line styling.

area_style

Optional AreaStyle: Area fill styling.

item_style

Optional ItemStyle: Data-point marker styling.

label

Optional LabelOption: Data-label configuration.

mark_area

Optional MarkArea: Shaded bands (e.g. vertical highlight regions across x-ranges).

Details

Corresponds to LineSeriesOption in src/chart/line/LineSeries.ts (line 74). ECharts docs: https://echarts.apache.org/en/option.html#series-line