org.rrd4j.graph

## Class PlotElement

- java.lang.Object
- - org.rrd4j.graph.PlotElement

- Direct Known Subclasses:
    Rule, SourcedPlotElement, Span

      class PlotElement
      extends Object

  Abstract base class for plot elements in RRD graphs. Provides common functionality for all visual elements that can be plotted on a graph. All plot elements have a color and serve as the foundation for specific graph elements.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(package private) Paint` | `color` The color used for rendering this plot element

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlotElement(Paint color)` Creates a new plot element with the specified color.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### color

          final Paint color

      The color used for rendering this plot element

  - ### Constructor Detail

    - #### PlotElement

          PlotElement(Paint color)

      Creates a new plot element with the specified color.
      Parameters:
        `color` - the color for this plot element