ls

Input Stack:
String
TimeSeriesExpr
Output Stack:
StyleExpr
 

Set the line style. The value should be one of:

  • line: this is the default, draws a normal line.
  • area: fill in the space between the line value and 0 on the Y-axis.
  • stack: stack the filled area on to the previous stacked lines on the same axis.
  • vspan: non-zero datapoints will be drawn as a vertical span.

See the line style examples page for more information.

Example:

LineArea
name,sps,:eq,
:sum,
(,name,),:by,
line,:ls
name,sps,:eq,
:sum,
(,name,),:by,
area,:ls
StackVSpan
name,sps,:eq,
:sum,
(,nf.cluster,),:by,
stack,:ls
name,sps,:eq,
:sum,
(,name,),:by,
200e3,:gt,
vspan,:ls