Package | Description |
---|---|
org.jfree.chart | |
org.jfree.chart.annotations | |
org.jfree.chart.axis | |
org.jfree.chart.plot | |
org.jfree.chart.renderer | |
org.jfree.chart.renderer.xy |
Modifier and Type | Method and Description |
---|---|
PlotRenderingInfo |
ChartRenderingInfo.getPlotInfo()
Returns the rendering info for the chart's plot.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractXYAnnotation.addEntity(PlotRenderingInfo info,
java.awt.Shape hotspot,
int rendererIndex,
java.lang.String toolTipText,
java.lang.String urlText)
A utility method for adding an
XYAnnotationEntity to
a PlotRenderingInfo instance. |
void |
XYTextAnnotation.draw(java.awt.Graphics2D g2,
XYPlot plot,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYAnnotation.draw(java.awt.Graphics2D g2,
XYPlot plot,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
abstract void |
AbstractXYAnnotation.draw(java.awt.Graphics2D g2,
XYPlot plot,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYTitleAnnotation.draw(java.awt.Graphics2D g2,
XYPlot plot,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Axis.createAndAddEntity(double cursor,
AxisState state,
java.awt.geom.Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Created an entity for the axis.
|
AxisState |
PeriodAxis.draw(java.awt.Graphics2D g2,
double cursor,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
AxisState |
SymbolAxis.draw(java.awt.Graphics2D g2,
double cursor,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
AxisState |
NumberAxis.draw(java.awt.Graphics2D g2,
double cursor,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
AxisState |
LogAxis.draw(java.awt.Graphics2D g2,
double cursor,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
abstract AxisState |
Axis.draw(java.awt.Graphics2D g2,
double cursor,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
Modifier and Type | Method and Description |
---|---|
PlotRenderingInfo |
PlotRenderingInfo.getSubplotInfo(int index)
Returns the info for a subplot.
|
Modifier and Type | Method and Description |
---|---|
void |
PlotRenderingInfo.addSubplotInfo(PlotRenderingInfo info)
Adds the info for a subplot.
|
protected void |
Plot.createAndAddEntity(java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo plotState,
java.lang.String toolTip,
java.lang.String urlText)
Creates a plot entity that contains a reference to the plot and the
data area as shape.
|
void |
FastScatterPlot.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
PlotState parentState,
PlotRenderingInfo info)
Draws the fast scatter plot on a Java 2D graphics device (such as the
screen or a printer).
|
abstract void |
Plot.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
PlotState parentState,
PlotRenderingInfo info)
Draws the plot within the specified area.
|
void |
CombinedDomainXYPlot.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
PlotState parentState,
PlotRenderingInfo info)
Draws the plot within the specified area on a graphics device.
|
void |
CombinedRangeXYPlot.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
PlotState parentState,
PlotRenderingInfo info)
Draws the plot within the specified area on a graphics device.
|
void |
XYPlot.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
PlotState parentState,
PlotRenderingInfo info)
Draws the plot within the specified area on a graphics device.
|
void |
XYPlot.drawAnnotations(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info)
Draws the annotations for the plot.
|
protected java.util.Map<Axis,AxisState> |
XYPlot.drawAxes(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo plotState)
A utility method for drawing the axes.
|
XYPlot |
CombinedDomainXYPlot.findSubplot(PlotRenderingInfo info,
java.awt.geom.Point2D source)
Returns the subplot (if any) that contains the (x, y) point (specified
in Java2D space).
|
XYPlot |
CombinedRangeXYPlot.findSubplot(PlotRenderingInfo info,
java.awt.geom.Point2D source)
Returns the subplot (if any) that contains the (x, y) point (specified
in Java2D space).
|
void |
Plot.handleClick(int x,
int y,
PlotRenderingInfo info)
Handles a 'click' on the plot.
|
void |
CombinedDomainXYPlot.handleClick(int x,
int y,
PlotRenderingInfo info)
Handles a 'click' on the plot by updating the anchor values.
|
void |
CombinedRangeXYPlot.handleClick(int x,
int y,
PlotRenderingInfo info)
Handles a 'click' on the plot by updating the anchor values...
|
void |
XYPlot.handleClick(int x,
int y,
PlotRenderingInfo info)
Handles a 'click' on the plot by updating the anchor values.
|
void |
FastScatterPlot.panDomainAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the domain axes by the specified percentage.
|
void |
CombinedRangeXYPlot.panDomainAxes(double panRange,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans all domain axes by the specified percentage.
|
void |
Pannable.panDomainAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the domain axes by the specified percentage.
|
void |
XYPlot.panDomainAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the domain axes by the specified percentage.
|
void |
FastScatterPlot.panRangeAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the range axes by the specified percentage.
|
void |
CombinedDomainXYPlot.panRangeAxes(double panRange,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans all range axes by the specified percentage.
|
void |
Pannable.panRangeAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the range axes by the specified percentage.
|
void |
XYPlot.panRangeAxes(double percent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Pans the range axes by the specified percentage.
|
boolean |
XYPlot.render(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
int index,
PlotRenderingInfo info,
CrosshairState crosshairState)
Draws a representation of the data within the dataArea region, using the
current renderer.
|
void |
FastScatterPlot.render(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
CrosshairState crosshairState)
Draws a representation of the data within the dataArea region.
|
void |
FastScatterPlot.zoomDomainAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Zooms in on the domain axes.
|
void |
Zoomable.zoomDomainAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo state,
java.awt.geom.Point2D source)
Zooms in on the domain axes.
|
void |
CombinedRangeXYPlot.zoomDomainAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Zooms in on the domain axes.
|
void |
XYPlot.zoomDomainAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Zooms in on the domain axis/axes.
|
void |
FastScatterPlot.zoomDomainAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Multiplies the range on the domain axis by the specified factor.
|
void |
Zoomable.zoomDomainAxes(double factor,
PlotRenderingInfo state,
java.awt.geom.Point2D source)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
CombinedRangeXYPlot.zoomDomainAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
XYPlot.zoomDomainAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
FastScatterPlot.zoomDomainAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the domain axis by the specified factor.
|
void |
Zoomable.zoomDomainAxes(double factor,
PlotRenderingInfo state,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
CombinedRangeXYPlot.zoomDomainAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
XYPlot.zoomDomainAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the domain axis/axes by the specified factor.
|
void |
FastScatterPlot.zoomRangeAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Zooms in on the range axes.
|
void |
CombinedDomainXYPlot.zoomRangeAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Zooms in on the range axes.
|
void |
Zoomable.zoomRangeAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo state,
java.awt.geom.Point2D source)
Zooms in on the range axes.
|
void |
XYPlot.zoomRangeAxes(double lowerPercent,
double upperPercent,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Zooms in on the range axes.
|
void |
FastScatterPlot.zoomRangeAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Multiplies the range on the range axis/axes by the specified factor.
|
void |
CombinedDomainXYPlot.zoomRangeAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Multiplies the range on the range axis/axes by the specified factor.
|
void |
Zoomable.zoomRangeAxes(double factor,
PlotRenderingInfo state,
java.awt.geom.Point2D source)
Multiplies the range on the range axis/axes by the specified factor.
|
void |
XYPlot.zoomRangeAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source)
Multiplies the range on the range axis/axes by the specified factor.
|
void |
FastScatterPlot.zoomRangeAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the range axis by the specified factor.
|
void |
CombinedDomainXYPlot.zoomRangeAxes(double factor,
PlotRenderingInfo state,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the range axis/axes by the specified factor.
|
void |
Zoomable.zoomRangeAxes(double factor,
PlotRenderingInfo state,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the range axis/axes by the specified factor.
|
void |
XYPlot.zoomRangeAxes(double factor,
PlotRenderingInfo info,
java.awt.geom.Point2D source,
boolean useAnchor)
Multiplies the range on the range axis/axes by the specified factor.
|
Modifier and Type | Method and Description |
---|---|
PlotRenderingInfo |
RendererState.getInfo()
Returns the plot rendering info.
|
Constructor and Description |
---|
RendererState(PlotRenderingInfo info)
Creates a new state object.
|
Modifier and Type | Method and Description |
---|---|
void |
XYItemRenderer.drawAnnotations(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
Layer layer,
PlotRenderingInfo info)
Draws all the annotations for the specified layer.
|
void |
AbstractXYItemRenderer.drawAnnotations(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
Layer layer,
PlotRenderingInfo info)
Draws all the annotations for the specified layer.
|
void |
XYItemRenderer.drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairState crosshairState,
int pass)
Called for each item to be plotted.
|
void |
XYLineAndShapeRenderer.drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairState crosshairState,
int pass)
Draws the visual representation of a single data item.
|
void |
XYBlockRenderer.drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairState crosshairState,
int pass)
Draws the block representing the specified item.
|
void |
StandardXYItemRenderer.drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairState crosshairState,
int pass)
Draws the visual representation of a single data item.
|
XYItemRendererState |
XYItemRenderer.initialise(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
XYPlot plot,
XYDataset dataset,
PlotRenderingInfo info)
Initialises the renderer then returns the number of 'passes' through the
data that the renderer will require (usually just one).
|
XYItemRendererState |
XYLineAndShapeRenderer.initialise(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
XYPlot plot,
XYDataset data,
PlotRenderingInfo info)
Initialises the renderer.
|
XYItemRendererState |
AbstractXYItemRenderer.initialise(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
XYPlot plot,
XYDataset data,
PlotRenderingInfo info)
Initialises the renderer and returns a state object that should be
passed to all subsequent calls to the drawItem() method.
|
XYItemRendererState |
StandardXYItemRenderer.initialise(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
XYPlot plot,
XYDataset data,
PlotRenderingInfo info)
Initialises the renderer.
|
Constructor and Description |
---|
State(PlotRenderingInfo info)
Creates a new state instance.
|
State(PlotRenderingInfo info)
Creates a new state instance.
|
XYItemRendererState(PlotRenderingInfo info)
Creates a new state.
|