Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.annotations |
A framework for adding annotations to charts.
|
org.jfree.chart.axis |
Axis classes and interfaces.
|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.renderer |
Core support for the plug-in renderers used by the
CategoryPlot and XYPlot classes. |
org.jfree.chart.renderer.category |
Plug-in renderers for the
CategoryPlot class. |
org.jfree.chart.renderer.xy |
Plug-in renderers for the
XYPlot class. |
org.jfree.chart.title |
Classes used to display chart titles and subtitles.
|
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 |
CategoryTextAnnotation.draw(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation.
|
void |
CategoryPointerAnnotation.draw(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation.
|
void |
CategoryLineAnnotation.draw(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation.
|
void |
CategoryAnnotation.draw(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation.
|
void |
XYTitleAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYTextAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYShapeAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYPolygonAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYPointerAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYLineAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYImageAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYDrawableAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYDataImageAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYBoxAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
void |
XYAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
abstract void |
AbstractXYAnnotation.draw(Graphics2D g2,
XYPlot plot,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
int rendererIndex,
PlotRenderingInfo info)
Draws the annotation.
|
Modifier and Type | Class and Description |
---|---|
class |
CyclicNumberAxis
This class extends NumberAxis and handles cycling.
|
class |
DateAxis
The base class for axes that display dates.
|
class |
LogarithmicAxis
A numerical axis that uses a logarithmic scale.
|
class |
LogAxis
A numerical axis that uses a logarithmic scale.
|
class |
ModuloAxis
An axis that displays numerical values within a fixed range using a modulo
calculation.
|
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.
|
Modifier and Type | Method and Description |
---|---|
ValueAxis |
PolarPlot.getAxis()
Returns the primary axis for the plot.
|
ValueAxis |
PolarPlot.getAxis(int index)
Returns an axis for the plot.
|
ValueAxis |
PolarPlot.getAxisForDataset(int index)
Returns the axis for a dataset.
|
ValueAxis |
XYPlot.getDomainAxis()
Returns the domain axis with index 0.
|
ValueAxis |
FastScatterPlot.getDomainAxis()
Returns the domain axis for the plot.
|
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 |
XYPlot.getRangeAxis()
Returns the range axis for the plot.
|
ValueAxis |
ThermometerPlot.getRangeAxis()
Returns the range axis.
|
ValueAxis |
FastScatterPlot.getRangeAxis()
Returns the range axis for the plot.
|
ValueAxis |
CategoryPlot.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 |
CategoryPlot.getRangeAxis(int index)
Returns a range axis.
|
ValueAxis |
XYPlot.getRangeAxisForDataset(int index)
Returns the range axis for a dataset.
|
ValueAxis |
CategoryPlot.getRangeAxisForDataset(int index)
Returns the range axis for a dataset.
|
Modifier and Type | Method and Description |
---|---|
protected AxisState |
PolarPlot.drawAxis(ValueAxis axis,
PolarAxisLocation location,
Graphics2D g2,
Rectangle2D plotArea)
Draws the axis with the specified index.
|
protected void |
XYPlot.drawDomainCrosshair(Graphics2D g2,
Rectangle2D dataArea,
PlotOrientation orientation,
double value,
ValueAxis axis,
Stroke stroke,
Paint paint)
Draws a domain crosshair.
|
protected void |
XYPlot.drawRangeCrosshair(Graphics2D g2,
Rectangle2D dataArea,
PlotOrientation orientation,
double value,
ValueAxis axis,
Stroke stroke,
Paint paint)
Draws a range crosshair.
|
protected void |
CategoryPlot.drawRangeCrosshair(Graphics2D g2,
Rectangle2D dataArea,
PlotOrientation orientation,
double value,
ValueAxis axis,
Stroke stroke,
Paint paint)
Draws a range crosshair.
|
int |
PolarPlot.getAxisIndex(ValueAxis axis)
Returns the index of the given 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.
|
Range |
ThermometerPlot.getDataRange(ValueAxis axis)
Returns the data range.
|
Range |
PolarPlot.getDataRange(ValueAxis axis)
Returns the range for the specified axis.
|
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 |
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 |
CombinedRangeCategoryPlot.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 |
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 |
CombinedDomainCategoryPlot.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 |
CategoryPlot.getDataRange(ValueAxis axis)
Returns the range of data values that will be plotted against the range
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.
|
int |
CategoryPlot.getRangeAxisIndex(ValueAxis axis)
Returns the index of the specified axis, or
-1 if the axis
is not assigned to the plot. |
void |
PolarPlot.setAxis(int index,
ValueAxis axis)
Sets an axis for the plot and sends a
PlotChangeEvent to all
registered listeners. |
void |
PolarPlot.setAxis(int index,
ValueAxis axis,
boolean notify)
Sets an axis for the plot and, if requested, sends a
PlotChangeEvent to all registered listeners. |
void |
PolarPlot.setAxis(ValueAxis axis)
Sets the primary axis for the plot and sends a
PlotChangeEvent
to all registered listeners. |
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 |
XYPlot.setDomainAxis(ValueAxis axis)
Sets the domain axis for the plot and 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.setRangeAxes(ValueAxis[] axes)
Sets the range axes for this plot and sends a
PlotChangeEvent
to all registered listeners. |
void |
CategoryPlot.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 |
CategoryPlot.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 |
CategoryPlot.setRangeAxis(int index,
ValueAxis axis,
boolean notify)
Sets a range axis and, if requested, 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. |
void |
ThermometerPlot.setRangeAxis(ValueAxis axis)
Sets the range axis for the plot and 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 |
CategoryPlot.setRangeAxis(ValueAxis axis)
Sets the range axis for the plot and sends a
PlotChangeEvent to
all registered listeners. |
Point |
PolarPlot.translateToJava2D(double angleDegrees,
double radius,
ValueAxis axis,
Rectangle2D dataArea)
Translates a (theta, radius) pair into Java2D coordinates.
|
Constructor and Description |
---|
CategoryPlot(CategoryDataset dataset,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryItemRenderer renderer)
Creates a new plot.
|
CombinedDomainXYPlot(ValueAxis domainAxis)
Creates a new combined plot that shares a domain axis among multiple
subplots.
|
CombinedRangeCategoryPlot(ValueAxis rangeAxis)
Creates a new plot.
|
CombinedRangeXYPlot(ValueAxis rangeAxis)
Creates a new plot.
|
FastScatterPlot(float[][] data,
ValueAxis domainAxis,
ValueAxis rangeAxis)
Creates a new fast scatter plot.
|
PolarPlot(XYDataset dataset,
ValueAxis radiusAxis,
PolarItemRenderer renderer)
Creates a new 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 |
PolarItemRenderer.drawRadialGridLines(Graphics2D g2,
PolarPlot plot,
ValueAxis radialAxis,
List ticks,
Rectangle2D dataArea)
Draw the radial gridlines - the rings.
|
void |
DefaultPolarItemRenderer.drawRadialGridLines(Graphics2D g2,
PolarPlot plot,
ValueAxis radialAxis,
List ticks,
Rectangle2D dataArea)
Draw the radial gridlines - the rings.
|
Modifier and Type | Method and Description |
---|---|
protected ValueAxis |
AbstractCategoryItemRenderer.getRangeAxis(CategoryPlot plot,
int index)
Returns a range axis for a plot.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LayeredBarRenderer.drawHorizontalItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the bar for a single (series, category) data item.
|
void |
BoxAndWhiskerRenderer.drawHorizontalItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the visual representation of a single data item when the plot has
a horizontal orientation.
|
protected void |
StatisticalBarRenderer.drawHorizontalItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
StatisticalCategoryDataset dataset,
int visibleRow,
int row,
int column)
Draws an item for a plot with a horizontal orientation.
|
protected void |
IntervalBarRenderer.drawInterval(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
IntervalCategoryDataset dataset,
int row,
int column)
Draws a single interval.
|
void |
WaterfallBarRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item.
|
void |
StatisticalLineAndShapeRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
StatisticalBarRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset data,
int row,
int column,
int pass)
Draws the bar with its standard deviation line range for a single
(series, category) data item.
|
void |
StackedBarRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a stacked bar for a specific item.
|
void |
StackedAreaRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
ScatterRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
MinMaxCategoryRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
LineAndShapeRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
LevelRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item.
|
void |
LayeredBarRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset data,
int row,
int column,
int pass)
Draws the bar for one item in the dataset.
|
void |
IntervalBarRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item.
|
void |
GroupedStackedBarRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a stacked bar for a specific item.
|
void |
GanttRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item.
|
void |
CategoryStepRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
CategoryItemRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a single data item.
|
void |
BoxAndWhiskerRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
BarRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the bar for a single (series, category) data item.
|
void |
AreaRenderer.drawItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
CategoryItemRenderer.drawRangeLine(Graphics2D g2,
CategoryPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double value,
Paint paint,
Stroke stroke)
Draws a grid line against the range axis.
|
void |
AbstractCategoryItemRenderer.drawRangeLine(Graphics2D g2,
CategoryPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double value,
Paint paint,
Stroke stroke)
Draws a line perpendicular to the range axis.
|
void |
CategoryItemRenderer.drawRangeMarker(Graphics2D g2,
CategoryPlot plot,
ValueAxis axis,
Marker marker,
Rectangle2D dataArea)
Draws a line (or some other marker) to indicate a particular value on
the range axis.
|
void |
AbstractCategoryItemRenderer.drawRangeMarker(Graphics2D g2,
CategoryPlot plot,
ValueAxis axis,
Marker marker,
Rectangle2D dataArea)
Draws a marker for the range axis.
|
protected void |
GanttRenderer.drawTask(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
GanttCategoryDataset dataset,
int row,
int column)
Draws a single task.
|
protected void |
GanttRenderer.drawTasks(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
GanttCategoryDataset dataset,
int row,
int column)
Draws the tasks/subtasks for one item.
|
protected void |
LayeredBarRenderer.drawVerticalItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the bar for a single (series, category) data item.
|
void |
BoxAndWhiskerRenderer.drawVerticalItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column)
Draws the visual representation of a single data item when the plot has
a vertical orientation.
|
protected void |
StatisticalBarRenderer.drawVerticalItem(Graphics2D g2,
CategoryItemRendererState state,
Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
StatisticalCategoryDataset dataset,
int visibleRow,
int row,
int column)
Draws an item for a plot with a vertical orientation.
|
Modifier and Type | Method and Description |
---|---|
void |
XYItemRenderer.drawAnnotations(Graphics2D g2,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
Layer layer,
PlotRenderingInfo info)
Draws all the annotations for the specified layer.
|
void |
AbstractXYItemRenderer.drawAnnotations(Graphics2D g2,
Rectangle2D dataArea,
ValueAxis domainAxis,
ValueAxis rangeAxis,
Layer layer,
PlotRenderingInfo info)
Draws all the annotations for the specified layer.
|
void |
XYItemRenderer.drawDomainLine(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double value,
Paint paint,
Stroke stroke)
Draws a grid line against the domain axis.
|
void |
AbstractXYItemRenderer.drawDomainLine(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double value,
Paint paint,
Stroke stroke)
Draws a line perpendicular to the domain axis.
|
void |
XYItemRenderer.drawDomainMarker(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Marker marker,
Rectangle2D dataArea)
Draws the specified
marker against the domain axis. |
void |
AbstractXYItemRenderer.drawDomainMarker(Graphics2D g2,
XYPlot plot,
ValueAxis domainAxis,
Marker marker,
Rectangle2D dataArea)
Draws a line on the chart perpendicular to the x-axis to mark
a value or range of values.
|
void |
XYBoxAndWhiskerRenderer.drawHorizontalItem(Graphics2D g2,
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 |
YIntervalRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYStepRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYStepAreaRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYShapeRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYLineAndShapeRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYItemRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYErrorRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairState crosshairState,
int pass)
Draws the visual representation for one data item.
|
void |
XYDotRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYDifferenceRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYBubbleRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYBoxAndWhiskerRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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(Graphics2D g2,
XYItemRendererState state,
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 |
XYBarRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYAreaRenderer2.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYAreaRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
WindItemRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
Rectangle2D plotArea,
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 |
VectorRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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(Graphics2D g2,
XYItemRendererState state,
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 |
StackedXYBarRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
StackedXYAreaRenderer2.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
StackedXYAreaRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
SamplingXYLineRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
HighLowRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
DeviationRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
CyclicXYItemRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
ClusteredXYBarRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
CandlestickRenderer.drawItem(Graphics2D g2,
XYItemRendererState state,
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 |
XYDifferenceRenderer.drawItemPass0(Graphics2D x_graphics,
Rectangle2D x_dataArea,
PlotRenderingInfo x_info,
XYPlot x_plot,
ValueAxis x_domainAxis,
ValueAxis x_rangeAxis,
XYDataset x_dataset,
int x_series,
int x_item,
CrosshairState x_crosshairState)
Draws the visual representation of a single data item, first pass.
|
protected void |
XYDifferenceRenderer.drawItemPass1(Graphics2D x_graphics,
Rectangle2D x_dataArea,
PlotRenderingInfo x_info,
XYPlot x_plot,
ValueAxis x_domainAxis,
ValueAxis x_rangeAxis,
XYDataset x_dataset,
int x_series,
int x_item,
CrosshairState x_crosshairState)
Draws the visual representation of a single data item, second pass.
|
protected void |
XYLineAndShapeRenderer.drawPrimaryLine(XYItemRendererState state,
Graphics2D g2,
XYPlot plot,
XYDataset dataset,
int pass,
int series,
int item,
ValueAxis domainAxis,
ValueAxis rangeAxis,
Rectangle2D dataArea)
Draws the item (first pass).
|
protected void |
XYSplineRenderer.drawPrimaryLineAsPath(XYItemRendererState state,
Graphics2D g2,
XYPlot plot,
XYDataset dataset,
int pass,
int series,
int item,
ValueAxis xAxis,
ValueAxis yAxis,
Rectangle2D dataArea)
Draws the item (first pass).
|
protected void |
XYLineAndShapeRenderer.drawPrimaryLineAsPath(XYItemRendererState state,
Graphics2D g2,
XYPlot plot,
XYDataset dataset,
int pass,
int series,
int item,
ValueAxis domainAxis,
ValueAxis rangeAxis,
Rectangle2D dataArea)
Draws the item (first pass).
|
void |
XYItemRenderer.drawRangeLine(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double value,
Paint paint,
Stroke stroke)
Draws a line perpendicular to the range axis.
|
void |
AbstractXYItemRenderer.drawRangeLine(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double value,
Paint paint,
Stroke stroke)
Draws a line perpendicular to the range axis.
|
void |
XYItemRenderer.drawRangeMarker(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Marker marker,
Rectangle2D dataArea)
Draws a horizontal line across the chart to represent a 'range marker'.
|
void |
AbstractXYItemRenderer.drawRangeMarker(Graphics2D g2,
XYPlot plot,
ValueAxis rangeAxis,
Marker marker,
Rectangle2D dataArea)
Draws a line on the chart perpendicular to the y-axis to mark a value
or range of values.
|
protected void |
XYLineAndShapeRenderer.drawSecondaryPass(Graphics2D g2,
XYPlot plot,
XYDataset dataset,
int pass,
int series,
int item,
ValueAxis domainAxis,
Rectangle2D dataArea,
ValueAxis rangeAxis,
CrosshairState crosshairState,
EntityCollection entities)
Draws the item shapes and adds chart entities (second pass).
|
void |
XYBoxAndWhiskerRenderer.drawVerticalItem(Graphics2D g2,
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 |
XYItemRenderer.fillDomainGridBand(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double start,
double end)
Fills a band between two values on the axis.
|
void |
AbstractXYItemRenderer.fillDomainGridBand(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double start,
double end)
Fills a band between two values on the axis.
|
void |
XYItemRenderer.fillRangeGridBand(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
Rectangle2D dataArea,
double start,
double end)
Fills a band between two values on the range axis.
|
void |
AbstractXYItemRenderer.fillRangeGridBand(Graphics2D g2,
XYPlot plot,
ValueAxis axis,
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.
|
Copyright © 2001–2017 JFree.org. All rights reserved.