Package | Description |
---|---|
org.jfree.chart | |
org.jfree.chart.annotations | |
org.jfree.chart.axis | |
org.jfree.chart.editor | |
org.jfree.chart.plot | |
org.jfree.chart.renderer.xy | |
org.jfree.chart.title |
Modifier and Type | Method and Description |
---|---|
protected void |
StandardChartTheme.applyToValueAxis(ValueAxis axis)
Applies the attributes for this theme to a
ValueAxis . |
Modifier and Type | Method and Description |
---|---|
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 | Class and Description |
---|---|
class |
LogAxis
A numerical axis that uses a logarithmic scale.
|
class |
NumberAxis
An axis for displaying numerical data.
|
class |
PeriodAxis
An axis that displays a date scale based on a
RegularTimePeriod . |
class |
SymbolAxis
A standard linear value axis that replaces integer values with symbols.
|
Constructor and Description |
---|
DefaultValueAxisEditor(ValueAxis axis)
Standard constructor: builds a property panel for the specified axis.
|
Modifier and Type | Method and Description |
---|---|
ValueAxis |
FastScatterPlot.getDomainAxis()
Returns the domain axis for the plot.
|
ValueAxis |
XYPlot.getDomainAxis()
Returns the domain axis with index 0.
|
ValueAxis |
XYPlot.getDomainAxis(int index)
Returns the domain axis with the specified index, or
null if
there is no axis with that index. |
ValueAxis |
XYPlot.getDomainAxisForDataset(int index)
Returns the domain axis for a dataset.
|
ValueAxis |
FastScatterPlot.getRangeAxis()
Returns the range axis for the plot.
|
ValueAxis |
XYPlot.getRangeAxis()
Returns the range axis for the plot.
|
ValueAxis |
XYPlot.getRangeAxis(int index)
Returns the range axis with the specified index, or
null if
there is no axis with that index. |
ValueAxis |
XYPlot.getRangeAxisForDataset(int index)
Returns the range axis for a dataset.
|
Modifier and Type | Method and Description |
---|---|
protected void |
XYPlot.drawDomainCrosshair(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
PlotOrientation orientation,
double value,
ValueAxis axis,
java.awt.Stroke stroke,
java.awt.Paint paint)
Draws a domain crosshair.
|
protected void |
XYPlot.drawRangeCrosshair(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
PlotOrientation orientation,
double value,
ValueAxis axis,
java.awt.Stroke stroke,
java.awt.Paint paint)
Draws a range crosshair.
|
Range |
FastScatterPlot.getDataRange(ValueAxis axis)
Returns the range of data values to be plotted along the axis, or
null if the specified axis isn't the domain axis or the
range axis for the plot. |
Range |
CombinedDomainXYPlot.getDataRange(ValueAxis axis)
Returns a range representing the extent of the data values in this plot
(obtained from the subplots) that will be rendered against the specified
axis.
|
Range |
CombinedRangeXYPlot.getDataRange(ValueAxis axis)
Returns a range representing the extent of the data values in this plot
(obtained from the subplots) that will be rendered against the specified
axis.
|
Range |
XYPlot.getDataRange(ValueAxis axis)
Returns the range for the specified axis.
|
Range |
ValueAxisPlot.getDataRange(ValueAxis axis)
Returns the data range that should apply for the specified axis.
|
int |
XYPlot.getDomainAxisIndex(ValueAxis axis)
Returns the index of the given domain axis.
|
int |
XYPlot.getRangeAxisIndex(ValueAxis axis)
Returns the index of the given range axis.
|
void |
XYPlot.setDomainAxes(ValueAxis[] axes)
Sets the domain axes for this plot and sends a
PlotChangeEvent
to all registered listeners. |
void |
XYPlot.setDomainAxis(int index,
ValueAxis axis)
Sets a domain axis and sends a
PlotChangeEvent to all
registered listeners. |
void |
XYPlot.setDomainAxis(int index,
ValueAxis axis,
boolean notify)
Sets a domain axis and, if requested, sends a
PlotChangeEvent to
all registered listeners. |
void |
FastScatterPlot.setDomainAxis(ValueAxis axis)
Sets the domain axis and sends a
PlotChangeEvent to all
registered listeners. |
void |
XYPlot.setDomainAxis(ValueAxis axis)
Sets the domain axis for the plot and sends a
PlotChangeEvent
to all registered listeners. |
void |
XYPlot.setRangeAxes(ValueAxis[] axes)
Sets the range axes for this plot and sends a
PlotChangeEvent
to all registered listeners. |
void |
XYPlot.setRangeAxis(int index,
ValueAxis axis)
Sets a range axis and sends a
PlotChangeEvent to all registered
listeners. |
void |
XYPlot.setRangeAxis(int index,
ValueAxis axis,
boolean notify)
Sets a range axis and, if requested, sends a
PlotChangeEvent to
all registered listeners. |
void |
FastScatterPlot.setRangeAxis(ValueAxis axis)
Sets the range axis and sends a
PlotChangeEvent to all
registered listeners. |
void |
XYPlot.setRangeAxis(ValueAxis axis)
Sets the range axis for the plot and sends a
PlotChangeEvent to
all registered listeners. |
Constructor and Description |
---|
CombinedDomainXYPlot(ValueAxis domainAxis)
Creates a new combined plot that shares a domain axis among multiple
subplots.
|
CombinedRangeXYPlot(ValueAxis rangeAxis)
Creates a new plot.
|
FastScatterPlot(float[][] data,
ValueAxis domainAxis,
ValueAxis rangeAxis)
Creates a new fast scatter plot.
|
XYPlot(XYDataset dataset,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYItemRenderer renderer)
Creates a new plot with the specified dataset, axes and renderer.
|
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.drawDomainGridLine(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double value)
Draws a grid line against the domain axis.
|
void |
AbstractXYItemRenderer.drawDomainGridLine(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double value)
Draws a grid line against the range axis.
|
void |
AbstractXYItemRenderer.drawDomainLine(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double value,
java.awt.Paint paint,
java.awt.Stroke stroke)
Draws a line perpendicular to the domain axis.
|
void |
XYItemRenderer.drawDomainMarker(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Marker marker,
java.awt.geom.Rectangle2D dataArea)
Draws the specified
marker against the domain axis. |
void |
AbstractXYItemRenderer.drawDomainMarker(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis domainAxis,
Marker marker,
java.awt.geom.Rectangle2D dataArea)
Draws a vertical line on the chart to represent a 'range marker'.
|
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.
|
protected void |
XYLineAndShapeRenderer.drawPrimaryLine(XYItemRendererState state,
java.awt.Graphics2D g2,
XYPlot plot,
XYDataset dataset,
int pass,
int series,
int item,
ValueAxis domainAxis,
ValueAxis rangeAxis,
java.awt.geom.Rectangle2D dataArea)
Draws the item (first pass).
|
protected void |
XYLineAndShapeRenderer.drawPrimaryLineAsPath(XYItemRendererState state,
java.awt.Graphics2D g2,
XYPlot plot,
XYDataset dataset,
int pass,
int series,
int item,
ValueAxis domainAxis,
ValueAxis rangeAxis,
java.awt.geom.Rectangle2D dataArea)
Draws the item (first pass).
|
void |
XYItemRenderer.drawRangeLine(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double value,
java.awt.Paint paint,
java.awt.Stroke stroke)
Draws a line perpendicular to the range axis.
|
void |
AbstractXYItemRenderer.drawRangeLine(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double value,
java.awt.Paint paint,
java.awt.Stroke stroke)
Draws a line perpendicular to the range axis.
|
void |
XYItemRenderer.drawRangeMarker(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Marker marker,
java.awt.geom.Rectangle2D dataArea)
Draws a horizontal line across the chart to represent a 'range marker'.
|
void |
AbstractXYItemRenderer.drawRangeMarker(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis rangeAxis,
Marker marker,
java.awt.geom.Rectangle2D dataArea)
Draws a horizontal line across the chart to represent a 'range marker'.
|
protected void |
XYLineAndShapeRenderer.drawSecondaryPass(java.awt.Graphics2D g2,
XYPlot plot,
XYDataset dataset,
int pass,
int series,
int item,
ValueAxis domainAxis,
java.awt.geom.Rectangle2D dataArea,
ValueAxis rangeAxis,
CrosshairState crosshairState,
EntityCollection entities)
Draws the item shapes and adds chart entities (second pass).
|
void |
XYItemRenderer.fillDomainGridBand(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double start,
double end)
Fills a band between two values on the axis.
|
void |
AbstractXYItemRenderer.fillDomainGridBand(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double start,
double end)
Fills a band between two values on the axis.
|
void |
XYItemRenderer.fillRangeGridBand(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double start,
double end)
Fills a band between two values on the range axis.
|
void |
AbstractXYItemRenderer.fillRangeGridBand(java.awt.Graphics2D g2,
XYPlot plot,
ValueAxis axis,
java.awt.geom.Rectangle2D dataArea,
double start,
double end)
Fills a band between two values on the range axis.
|
Modifier and Type | Method and Description |
---|---|
ValueAxis |
PaintScaleLegend.getAxis()
Returns the axis for the paint scale.
|
Modifier and Type | Method and Description |
---|---|
void |
PaintScaleLegend.setAxis(ValueAxis axis)
Sets the axis for the paint scale and sends a
TitleChangeEvent
to all registered listeners. |
Constructor and Description |
---|
PaintScaleLegend(PaintScale scale,
ValueAxis axis)
Creates a new instance.
|