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. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StandardCrosshairLabelGenerator.generateLabel(Crosshair crosshair)
Returns a string that can be used as the label for a crosshair.
|
java.lang.String |
CrosshairLabelGenerator.generateLabel(Crosshair crosshair)
Returns a string that can be used as the label for a crosshair.
|
Modifier and Type | Method and Description |
---|---|
void |
CrosshairOverlay.addDomainCrosshair(Crosshair crosshair)
Adds a crosshair against the domain axis and sends an
OverlayChangeEvent to all registered listeners. |
void |
CrosshairOverlay.addRangeCrosshair(Crosshair crosshair)
Adds a crosshair against the range axis and sends an
OverlayChangeEvent 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 an
OverlayChangeEvent
to all registered listeners. |
void |
CrosshairOverlay.removeRangeCrosshair(Crosshair crosshair)
Removes a range axis crosshair and sends an
OverlayChangeEvent
to all registered listeners. |