Direct Known Subclasses:
HSpan, VSpan

class Spanextends PlotElement
Abstract base class for span elements in RRD graphs. Represents colored regions that span across a range of values or time.
  • Field Details

    • legend

      final LegendText legend
      The legend entry describing this span.
  • Constructor Details

    • Span

      Span(Paint color, LegendText legend)
      Create a span drawn in the given color.
      Parameters:
      color - the fill color of the span
      legend - the legend entry describing the span