Uses of Class
org.jfree.chart.plot.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 the
ChartPanel 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 String
CrosshairLabelGenerator. generateLabel(Crosshair crosshair)
Returns a string that can be used as the label for a crosshair.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
Methods in org.jfree.chart.panel that return types with arguments of type Crosshair Modifier and Type Method Description List<Crosshair>
CrosshairOverlay. getDomainCrosshairs()
Returns a new list containing the domain crosshairs for this overlay.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(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.