Uses of Class
org.jfree.chart.plot.Crosshair
Package
Description
Generators and other classes used for the display of item labels and tooltips.
Classes related to the
ChartPanel
class.-
Uses of Crosshair in org.jfree.chart.labels
Modifier and TypeMethodDescriptionCrosshairLabelGenerator.generateLabel
(Crosshair crosshair) Returns a string that can be used as the label for a crosshair.StandardCrosshairLabelGenerator.generateLabel
(Crosshair crosshair) Returns a string that can be used as the label for a crosshair. -
Uses of Crosshair in org.jfree.chart.panel
Modifier and TypeMethodDescriptionCrosshairOverlay.getDomainCrosshairs()
Returns a new list containing the domain crosshairs for this overlay.CrosshairOverlay.getRangeCrosshairs()
Returns a new list containing the range crosshairs for this overlay.Modifier and TypeMethodDescriptionvoid
CrosshairOverlay.addDomainCrosshair
(Crosshair crosshair) Adds a crosshair against the domain axis (x-axis) and sends anOverlayChangeEvent
to all registered listeners.void
CrosshairOverlay.addRangeCrosshair
(Crosshair crosshair) Adds a crosshair against the range axis and sends anOverlayChangeEvent
to all registered listeners.protected void
CrosshairOverlay.drawHorizontalCrosshair
(Graphics2D g2, Rectangle2D dataArea, double y, Crosshair crosshair) Draws a crosshair horizontally across the plot.protected void
CrosshairOverlay.drawVerticalCrosshair
(Graphics2D g2, Rectangle2D dataArea, double x, Crosshair crosshair) Draws a crosshair vertically on the plot.void
CrosshairOverlay.removeDomainCrosshair
(Crosshair crosshair) Removes a domain axis crosshair and sends anOverlayChangeEvent
to all registered listeners.void
CrosshairOverlay.removeRangeCrosshair
(Crosshair crosshair) Removes a range axis crosshair and sends anOverlayChangeEvent
to all registered listeners.