Class AbstractMarker

  • All Implemented Interfaces:
    Cloneable
    Direct Known Subclasses:
    Image, Marker, Text

    public abstract class AbstractMarker
    extends Object
    This class represents an "object" which can be placed on the graph but is not directly part of a series. This includes text and "markers" (represented by the Text and Marker classes). It has no public methods of its own, so please see the subclasses for more information.
    See Also:
    Series.addMarker, PieGraph.setLabel
    • Constructor Detail

      • AbstractMarker

        public AbstractMarker()
    • Method Detail

      • setName

        public void setName​(String name)
        Set the name of this marker, so it can later be found through the Output.getAreas() method. The final name for the marker will be graph.marker.name.
        Parameters:
        name - the name of the marker, or null for no name (the default).