java.lang.Object
org.rrd4j.graph.PlotElement
org.rrd4j.graph.Span
Abstract base class for span elements in RRD graphs. Represents colored regions that span across a range of values or time.
Field Summary
FieldsModifier and TypeFieldDescription(package private) final LegendTextThe legend entry describing this span.Fields inherited from class PlotElement
colorConstructor Summary
ConstructorsMethod Summary
Field Details
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 spanlegend- the legend entry describing the span