Class ValueMarker

java.lang.Object
org.jfree.chart.plot.Marker
org.jfree.chart.plot.ValueMarker
All Implemented Interfaces:
Serializable, Cloneable

public class ValueMarker
extends Marker
A marker that represents a single fixed value.
See Also:
Serialized Form
  • Constructor Details

    • ValueMarker

      public ValueMarker​(double value)
      Creates a new marker.
      Parameters:
      value - the value.
    • ValueMarker

      public ValueMarker​(double value, Paint paint, Stroke stroke, Paint outlinePaint, Stroke outlineStroke, float alpha)
      Creates a new value marker.
      Parameters:
      value - the value.
      paint - the paint (null not permitted).
      stroke - the stroke (null not permitted).
      outlinePaint - the outline paint (null permitted).
      outlineStroke - the outline stroke (null permitted).
      alpha - the alpha transparency.
  • Method Details

    • getValue

      public double getValue()
      Returns the value.
      Returns:
      the value.