Skip to content

vspan

Input Stack:
expr: TimeSeriesExpr
Output Stack:
StyleExpr

Change the line style to be a vertical span. In this mode, any non-zero datapoints on the line will be shown as a vertical band covering the full height of the graph. This is frequently used to visualize when conditions are met, such as when an alert would have fired or during maintenance windows.

Parameters

  • expr: A time series expression, typically a signal line with 0/1 values

Examples

Visualizing when a threshold condition is exceeded:

BeforeAfter
name,sps,:eq,
:sum,
:dup,
20e3,:gt
name,sps,:eq,
:sum,
:dup,
20e3,:gt,
:vspan
  • :line - Default line style for time series
  • :area - Fill area under the line
  • :stack - Stack multiple series as areas
  • :alpha - Control transparency of the span

See Also

See the line style examples page for more information on available line styles and their use cases.