Uses of Class
org.jfree.chart.plot.Crosshair
-
Packages that use Crosshair Package Description org.jfree.chart.labels Generators and other classes used for the display of item labels and tooltips.org.jfree.chart.panel Classes related to theChartPanel
class. -
-
Uses of Crosshair in org.jfree.chart.labels
Methods in org.jfree.chart.labels with parameters of type Crosshair Modifier and Type Method Description java.lang.String
CrosshairLabelGenerator. generateLabel(Crosshair crosshair)
Returns a string that can be used as the label for a crosshair.java.lang.String
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
Fields in org.jfree.chart.panel with type parameters of type Crosshair Modifier and Type Field Description private java.util.List<Crosshair>
CrosshairOverlay. xCrosshairs
Storage for the crosshairs along the x-axis.private java.util.List<Crosshair>
CrosshairOverlay. yCrosshairs
Storage for the crosshairs along the y-axis.Methods in org.jfree.chart.panel that return types with arguments of type Crosshair Modifier and Type Method Description java.util.List<Crosshair>
CrosshairOverlay. getDomainCrosshairs()
Returns a new list containing the domain crosshairs for this overlay.java.util.List<Crosshair>
CrosshairOverlay. getRangeCrosshairs()
Returns a new list containing the range crosshairs for this overlay.Methods in org.jfree.chart.panel with parameters of type Crosshair Modifier and Type Method Description void
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(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, double y, Crosshair crosshair)
Draws a crosshair horizontally across the plot.protected void
CrosshairOverlay. drawVerticalCrosshair(java.awt.Graphics2D g2, java.awt.geom.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.
-