Uses of Class
org.jfree.chart.plot.Crosshair
Packages that use 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
Methods in org.jfree.chart.labels with parameters of type CrosshairModifier 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
Methods in org.jfree.chart.panel that return types with arguments of type CrosshairModifier 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.Methods in org.jfree.chart.panel with parameters of type CrosshairModifier and TypeMethodDescriptionvoidCrosshairOverlay.addDomainCrosshair(Crosshair crosshair) Adds a crosshair against the domain axis (x-axis) and sends anOverlayChangeEventto all registered listeners.voidCrosshairOverlay.addRangeCrosshair(Crosshair crosshair) Adds a crosshair against the range axis and sends anOverlayChangeEventto all registered listeners.protected voidCrosshairOverlay.drawHorizontalCrosshair(Graphics2D g2, Rectangle2D dataArea, double y, Crosshair crosshair) Draws a crosshair horizontally across the plot.protected voidCrosshairOverlay.drawVerticalCrosshair(Graphics2D g2, Rectangle2D dataArea, double x, Crosshair crosshair) Draws a crosshair vertically on the plot.voidCrosshairOverlay.removeDomainCrosshair(Crosshair crosshair) Removes a domain axis crosshair and sends anOverlayChangeEventto all registered listeners.voidCrosshairOverlay.removeRangeCrosshair(Crosshair crosshair) Removes a range axis crosshair and sends anOverlayChangeEventto all registered listeners.