Skip to main content

types.RuntimeFill#

Describes a shaded region between two existing lines.

SYNTAX#

interface RuntimeFill { name: string; topLine: string; bottomLine: string; color: string; opacity?: number; }

ARGUMENTS#

  • name (string) — Display name of the fill region.
  • topLine (string) — Name of the upper boundary line.
  • bottomLine (string) — Name of the lower boundary line.
  • color (string) — Fill color as a CSS color string.
  • opacity (number) — Fill opacity from 0 (transparent) to 1 (opaque). Default 0.1.

RETURNS#

Type definition.

EXAMPLE#

{ name: 'BandFill', topLine: 'Upper', bottomLine: 'Lower', color: '#42a5f5', opacity: 0.15 }

SEE ALSO#

types.RuntimeLine, types.RuntimeOutput