Skip to content

[span-basic] Basic Span Plot (Highlighted Region) #980

@MarkusNeusinger

Description

@MarkusNeusinger

Description

A span plot highlights a specific region of interest on a chart using a shaded rectangular area that spans the full height or width of the plot. Common for marking events, periods, or thresholds.

Key Features

  • Vertical or horizontal shaded region
  • Full-height spans for time periods/events
  • Full-width spans for value thresholds
  • Semi-transparent to show underlying data

Applications

  • Marking recession periods in economic charts
  • Highlighting significant events in time series
  • Showing acceptable/unacceptable value ranges
  • Indicating maintenance windows or downtime

Data Requirements

  • start (numeric) - Start position of span
  • end (numeric) - End position of span
  • Direction: vertical (x-axis span) or horizontal (y-axis span)
  • Can overlay on any existing plot type

Visual Elements

  • Rectangle spanning full chart dimension
  • Semi-transparent fill (alpha 0.2-0.3)
  • Optional: border lines at span edges
  • Optional: text label within span region

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions