Class CrosshairOverlayFX
java.lang.Object
org.jfree.chart.panel.AbstractOverlay
org.jfree.chart.panel.CrosshairOverlay
org.jfree.chart.fx.overlay.CrosshairOverlayFX
- All Implemented Interfaces:
PropertyChangeListener,Serializable,Cloneable,EventListener,OverlayFX,org.jfree.chart.panel.Overlay,org.jfree.chart.util.PublicCloneable
An overlay for a
ChartViewer that draws crosshairs on a plot.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpaintOverlay(Graphics2D g2, ChartCanvas chartCanvas) Paints the content of the overlay onto the specified chart canvas.Methods inherited from class org.jfree.chart.panel.CrosshairOverlay
addDomainCrosshair, addRangeCrosshair, clearDomainCrosshairs, clearRangeCrosshairs, clone, drawHorizontalCrosshair, drawVerticalCrosshair, equals, getDomainCrosshairs, getRangeCrosshairs, paintOverlay, propertyChange, removeDomainCrosshair, removeRangeCrosshairMethods inherited from class org.jfree.chart.panel.AbstractOverlay
addChangeListener, fireOverlayChanged, notifyListeners, removeChangeListenerMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.chart.panel.Overlay
addChangeListener, paintOverlay, removeChangeListener
-
Constructor Details
-
CrosshairOverlayFX
public CrosshairOverlayFX()Creates a new instance.
-
-
Method Details
-
paintOverlay
Description copied from interface:OverlayFXPaints the content of the overlay onto the specified chart canvas.- Specified by:
paintOverlayin interfaceOverlayFX- Parameters:
g2- the graphics target (nullnot permitted).chartCanvas- the chart canvas (nullnot permitted).
-