Skip to content

lw

Input Stack:
width: Int
expr: TimeSeriesExpr
Output Stack:
StyleExpr
 

Set the line width (thickness) for drawing the time series. The width is specified in pixels and affects how prominently the line appears on the graph. This is useful for emphasizing important time series or creating visual hierarchy between different data.

Parameters

  • expr: The time series expression to apply line width styling to
  • width: Line width in pixels (positive integer)

Examples

Setting line width to make series more prominent:

BeforeAfter
name,sps,:eq,
:sum,
(,name,),:by
name,sps,:eq,
:sum,
(,name,),:by,
2,:lw
  • :line - Set line style (works with line width)
  • :color - Set line color
  • :alpha - Set line transparency
  • :area - Fill area under the line
  • :stack - Stack multiple lines as areas

See Also