Package | Description |
---|---|
org.jfree.chart.axis |
Axis classes and interfaces.
|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
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.
|
org.jfree.chart.ui |
Modifier and Type | Method and Description |
---|---|
void |
AxisCollection.add(Axis axis,
RectangleEdge edge)
Adds an axis to the collection.
|
void |
AxisSpace.add(double space,
RectangleEdge edge)
Adds space to the top, bottom, left or right edge of the plot area.
|
protected float[] |
ValueAxis.calculateAnchorPoint(ValueTick tick,
double cursor,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the anchor point for a tick label.
|
protected float[] |
CyclicNumberAxis.calculateAnchorPoint(ValueTick tick,
double cursor,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the anchor point for a tick.
|
protected double |
CategoryAxis.calculateCategoryGapSize(int categoryCount,
Rectangle2D area,
RectangleEdge edge)
Calculates the size (width or height, depending on the location of the
axis) of a category gap.
|
protected double |
CategoryAxis.calculateCategorySize(int categoryCount,
Rectangle2D area,
RectangleEdge edge)
Calculates the size (width or height, depending on the location of the
axis) of a category.
|
protected void |
Axis.createAndAddEntity(double cursor,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Created an entity for the axis.
|
protected TextBlock |
ExtendedCategoryAxis.createLabel(Comparable category,
float width,
RectangleEdge edge,
Graphics2D g2)
Overrides the default behaviour by adding the sublabel to the text
block that is used for the category label.
|
protected TextBlock |
CategoryAxis.createLabel(Comparable category,
float width,
RectangleEdge edge,
Graphics2D g2)
Creates a label.
|
double |
DateAxis.dateToJava2D(Date date,
Rectangle2D area,
RectangleEdge edge)
Translates a date to Java2D coordinates, based on the range displayed by
this axis for the specified data area.
|
AxisState |
SymbolAxis.draw(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
AxisState |
SubCategoryAxis.draw(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
AxisState |
PeriodAxis.draw(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
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(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
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(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
AxisState |
DateAxis.draw(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
AxisState |
CyclicNumberAxis.draw(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis.
|
AxisState |
CategoryAxis.draw(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
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(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a
printer).
|
protected AxisState |
Axis.drawAttributedLabel(AttributedString label,
Graphics2D g2,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
AxisState state)
Draws the axis label.
|
protected void |
ValueAxis.drawAxisLine(Graphics2D g2,
double cursor,
Rectangle2D dataArea,
RectangleEdge edge)
Draws an axis line at the current cursor position and edge.
|
protected void |
Axis.drawAxisLine(Graphics2D g2,
double cursor,
Rectangle2D dataArea,
RectangleEdge edge)
Draws an axis line at the current cursor position and edge.
|
protected AxisState |
CategoryAxis.drawCategoryLabels(Graphics2D g2,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
AxisState state,
PlotRenderingInfo plotState)
Draws the category labels and returns the updated axis state.
|
protected void |
SymbolAxis.drawGridBands(Graphics2D g2,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
List ticks)
Draws the grid bands (alternate bands are colored using
SymbolAxis.getGridBandPaint() and SymbolAxis.getGridBandAlternatePaint() . |
protected AxisState |
Axis.drawLabel(String label,
Graphics2D g2,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
AxisState state)
Draws the axis label.
|
protected AxisState |
SubCategoryAxis.drawSubCategoryLabels(Graphics2D g2,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
AxisState state,
PlotRenderingInfo plotState)
Draws the category labels and returns the updated axis state.
|
protected AxisState |
PeriodAxis.drawTickLabels(int band,
Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Draws the tick labels for one "band" of time periods.
|
protected void |
PeriodAxis.drawTickMarks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Draws the tick marks for the axis.
|
void |
CategoryAxis.drawTickMarks(Graphics2D g2,
double cursor,
Rectangle2D dataArea,
RectangleEdge edge,
AxisState state)
Draws the tick marks.
|
protected AxisState |
ValueAxis.drawTickMarksAndLabels(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge)
Draws the axis line, tick marks and tick mark labels.
|
protected AxisState |
CyclicNumberAxis.drawTickMarksAndLabels(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge)
Draws the tick marks and labels.
|
protected void |
PeriodAxis.drawTickMarksHorizontal(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Draws the major and minor tick marks for an axis that lies at the top or
bottom of the plot.
|
protected void |
PeriodAxis.drawTickMarksVertical(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Draws the tick marks for a vertical axis.
|
void |
AxisSpace.ensureAtLeast(double space,
RectangleEdge edge)
Ensures there is a minimum amount of space at the edge corresponding to
the specified axis location.
|
double |
LogAxis.exponentLengthToJava2D(double length,
Rectangle2D area,
RectangleEdge edge)
Converts a length in data coordinates into the corresponding length in
Java2D coordinates.
|
double |
CategoryAxis.getCategoryEnd(int category,
int categoryCount,
Rectangle2D area,
RectangleEdge edge)
Returns the end coordinate for the specified category.
|
double |
CategoryAxis.getCategoryJava2DCoordinate(CategoryAnchor anchor,
int category,
int categoryCount,
Rectangle2D area,
RectangleEdge edge)
Returns the Java 2D coordinate for a category.
|
double |
CategoryAxis.getCategoryMiddle(Comparable category,
List categories,
Rectangle2D area,
RectangleEdge edge)
A convenience method that returns the axis coordinate for the centre of
a category.
|
double |
CategoryAxis.getCategoryMiddle(int category,
int categoryCount,
Rectangle2D area,
RectangleEdge edge)
Returns the middle coordinate for the specified category.
|
double |
CategoryAxis.getCategorySeriesMiddle(Comparable category,
Comparable seriesKey,
CategoryDataset dataset,
double itemMargin,
Rectangle2D area,
RectangleEdge edge)
Returns the middle coordinate (in Java2D space) for a series within a
category.
|
double |
CategoryAxis.getCategorySeriesMiddle(int categoryIndex,
int categoryCount,
int seriesIndex,
int seriesCount,
double itemMargin,
Rectangle2D area,
RectangleEdge edge)
Returns the middle coordinate (in Java2D space) for a series within a
category.
|
double |
CategoryAxis.getCategoryStart(int category,
int categoryCount,
Rectangle2D area,
RectangleEdge edge)
Returns the starting coordinate for the specified category.
|
protected Rectangle2D |
Axis.getLabelEnclosure(Graphics2D g2,
RectangleEdge edge)
Returns a rectangle that encloses the axis label.
|
CategoryLabelPosition |
CategoryLabelPositions.getLabelPosition(RectangleEdge edge)
Returns the category label position specification for an axis at the
given location.
|
abstract double |
ValueAxis.java2DToValue(double java2DValue,
Rectangle2D area,
RectangleEdge edge)
Converts a coordinate in Java2D space to the corresponding data value,
assuming that the axis runs along one edge of the specified dataArea.
|
double |
PeriodAxis.java2DToValue(double java2DValue,
Rectangle2D area,
RectangleEdge edge)
Converts a coordinate in Java2D space to the corresponding data value,
assuming that the axis runs along one edge of the specified dataArea.
|
double |
NumberAxis.java2DToValue(double java2DValue,
Rectangle2D area,
RectangleEdge edge)
Converts a coordinate in Java2D space to the corresponding data value,
assuming that the axis runs along one edge of the specified dataArea.
|
double |
ModuloAxis.java2DToValue(double java2DValue,
Rectangle2D area,
RectangleEdge edge)
Translates a Java2D coordinate into a data value.
|
double |
LogAxis.java2DToValue(double java2DValue,
Rectangle2D area,
RectangleEdge edge)
Converts a Java2D coordinate to an axis value, assuming that the
axis is aligned to the specified
edge of the area . |
double |
LogarithmicAxis.java2DToValue(double java2DValue,
Rectangle2D plotArea,
RectangleEdge edge)
Converts a coordinate in Java2D space to the corresponding data
value, assuming that the axis runs along one edge of the specified
plotArea.
|
double |
DateAxis.java2DToValue(double java2DValue,
Rectangle2D area,
RectangleEdge edge)
Translates a Java2D coordinate into the corresponding data value.
|
double |
CyclicNumberAxis.java2DToValue(double java2DValue,
Rectangle2D dataArea,
RectangleEdge edge)
Converts a coordinate from Java 2D space to data space.
|
double |
ValueAxis.lengthToJava2D(double length,
Rectangle2D area,
RectangleEdge edge)
Converts a length in data coordinates into the corresponding length in
Java2D coordinates.
|
double |
ModuloAxis.lengthToJava2D(double length,
Rectangle2D area,
RectangleEdge edge)
Converts a length in data coordinates into the corresponding length in
Java2D coordinates.
|
void |
AxisState.moveCursor(double units,
RectangleEdge edge)
Moves the cursor outwards by the specified number of units.
|
List |
SymbolAxis.refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
List |
PeriodAxis.refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the ticks for the axis, storing the results
in the tick list (ready for drawing).
|
List |
NumberAxis.refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
List |
LogAxis.refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
List |
DateAxis.refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
List |
CategoryAxis.refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Creates a temporary list of ticks that can be used when drawing the axis.
|
abstract List |
Axis.refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the ticks for the axis, storing the results
in the tick list (ready for drawing).
|
protected List |
SymbolAxis.refreshTicksHorizontal(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
protected List |
NumberAxis.refreshTicksHorizontal(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
protected List |
LogAxis.refreshTicksHorizontal(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Returns a list of ticks for an axis at the top or bottom of the chart.
|
protected List |
LogarithmicAxis.refreshTicksHorizontal(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
protected List |
DateAxis.refreshTicksHorizontal(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Recalculates the ticks for the date axis.
|
protected List |
CyclicNumberAxis.refreshTicksHorizontal(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Builds a list of ticks for the axis.
|
protected List |
SymbolAxis.refreshTicksVertical(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
protected List |
NumberAxis.refreshTicksVertical(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
protected List |
LogAxis.refreshTicksVertical(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Returns a list of ticks for an axis at the left or right of the chart.
|
protected List |
LogarithmicAxis.refreshTicksVertical(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Calculates the positions of the tick labels for the axis, storing the
results in the tick label list (ready for drawing).
|
protected List |
DateAxis.refreshTicksVertical(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Recalculates the ticks for the date axis.
|
protected List |
CyclicNumberAxis.refreshVerticalTicks(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Builds a list of ticks for the axis.
|
Rectangle2D |
AxisSpace.reserved(Rectangle2D area,
RectangleEdge edge)
Calculates the reserved area.
|
AxisSpace |
ValueAxis.reserveSpace(Graphics2D g2,
Plot plot,
Rectangle2D plotArea,
RectangleEdge edge,
AxisSpace space)
Returns the space required to draw the axis.
|
AxisSpace |
SubCategoryAxis.reserveSpace(Graphics2D g2,
Plot plot,
Rectangle2D plotArea,
RectangleEdge edge,
AxisSpace space)
Estimates the space required for the axis, given a specific drawing area.
|
AxisSpace |
PeriodAxis.reserveSpace(Graphics2D g2,
Plot plot,
Rectangle2D plotArea,
RectangleEdge edge,
AxisSpace space)
Estimates the space (height or width) required to draw the axis.
|
AxisSpace |
CyclicNumberAxis.reserveSpace(Graphics2D g2,
Plot plot,
Rectangle2D plotArea,
RectangleEdge edge,
AxisSpace space)
Reserve some space on each axis side because we draw a centered label at
each extremity.
|
AxisSpace |
CategoryAxis.reserveSpace(Graphics2D g2,
Plot plot,
Rectangle2D plotArea,
RectangleEdge edge,
AxisSpace space)
Estimates the space required for the axis, given a specific drawing area.
|
abstract AxisSpace |
Axis.reserveSpace(Graphics2D g2,
Plot plot,
Rectangle2D plotArea,
RectangleEdge edge,
AxisSpace space)
Estimates the space (height or width) required to draw the axis.
|
protected void |
SymbolAxis.selectAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
This operation is not supported by this axis.
|
protected void |
NumberAxis.selectAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick value for the axis.
|
protected void |
LogAxis.selectAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick value for the axis.
|
protected void |
DateAxis.selectAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick value for the axis.
|
protected void |
CyclicNumberAxis.selectHorizontalAutoTickUnit(Graphics2D g2,
Rectangle2D drawArea,
Rectangle2D dataArea,
RectangleEdge edge)
Selects a tick unit when the axis is displayed horizontally.
|
protected void |
NumberAxis.selectHorizontalAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick value for the axis.
|
protected void |
LogAxis.selectHorizontalAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick value for the axis.
|
protected void |
DateAxis.selectHorizontalAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick size for the axis.
|
protected void |
CyclicNumberAxis.selectVerticalAutoTickUnit(Graphics2D g2,
Rectangle2D drawArea,
Rectangle2D dataArea,
RectangleEdge edge)
Selects a tick unit when the axis is displayed vertically.
|
protected void |
NumberAxis.selectVerticalAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick value for the axis.
|
protected void |
LogAxis.selectVerticalAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick value for the axis.
|
protected void |
DateAxis.selectVerticalAutoTickUnit(Graphics2D g2,
Rectangle2D dataArea,
RectangleEdge edge)
Selects an appropriate tick size for the axis.
|
abstract double |
ValueAxis.valueToJava2D(double value,
Rectangle2D area,
RectangleEdge edge)
Converts a data value to a coordinate in Java2D space, assuming that the
axis runs along one edge of the specified dataArea.
|
double |
PeriodAxis.valueToJava2D(double value,
Rectangle2D area,
RectangleEdge edge)
Converts a data value to a coordinate in Java2D space, assuming that the
axis runs along one edge of the specified dataArea.
|
double |
NumberAxis.valueToJava2D(double value,
Rectangle2D area,
RectangleEdge edge)
Converts a data value to a coordinate in Java2D space, assuming that the
axis runs along one edge of the specified dataArea.
|
double |
ModuloAxis.valueToJava2D(double value,
Rectangle2D area,
RectangleEdge edge)
Translates a data value to a Java2D coordinate.
|
double |
LogAxis.valueToJava2D(double value,
Rectangle2D area,
RectangleEdge edge)
Converts a value on the axis scale to a Java2D coordinate relative to
the given
area , based on the axis running along the
specified edge . |
double |
LogarithmicAxis.valueToJava2D(double value,
Rectangle2D plotArea,
RectangleEdge edge)
Converts a data value to a coordinate in Java2D space, assuming that
the axis runs along one edge of the specified plotArea.
|
double |
DateAxis.valueToJava2D(double value,
Rectangle2D area,
RectangleEdge edge)
Translates the data value to the display coordinates (Java 2D User Space)
of the chart.
|
double |
CyclicNumberAxis.valueToJava2D(double value,
Rectangle2D dataArea,
RectangleEdge edge)
Translates a value from data space to Java 2D space.
|
Modifier and Type | Method and Description |
---|---|
RectangleEdge |
XYPlot.getDomainAxisEdge()
Returns the edge for the primary domain axis (taking into account the
plot's orientation).
|
RectangleEdge |
CategoryPlot.getDomainAxisEdge()
Returns the domain axis edge.
|
RectangleEdge |
XYPlot.getDomainAxisEdge(int index)
Returns the edge for a domain axis.
|
RectangleEdge |
CategoryPlot.getDomainAxisEdge(int index)
Returns the edge for a domain axis.
|
RectangleEdge |
XYPlot.getRangeAxisEdge()
Returns the edge for the primary range axis.
|
RectangleEdge |
CategoryPlot.getRangeAxisEdge()
Returns the edge where the primary range axis is located.
|
RectangleEdge |
XYPlot.getRangeAxisEdge(int index)
Returns the edge for a range axis.
|
RectangleEdge |
CategoryPlot.getRangeAxisEdge(int index)
Returns the edge for a range axis.
|
static RectangleEdge |
Plot.resolveDomainAxisLocation(AxisLocation location,
PlotOrientation orientation)
Resolves a domain axis location for a given plot orientation.
|
static RectangleEdge |
Plot.resolveRangeAxisLocation(AxisLocation location,
PlotOrientation orientation)
Resolves a range axis location for a given plot orientation.
|
Modifier and Type | Method and Description |
---|---|
protected double |
Plot.getRectX(double x,
double w1,
double w2,
RectangleEdge edge)
Adjusts the supplied x-value.
|
protected double |
Plot.getRectY(double y,
double h1,
double h2,
RectangleEdge edge)
Adjusts the supplied y-value.
|
Modifier and Type | Method and Description |
---|---|
double |
LevelRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
GanttRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
CategoryItemRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
AbstractCategoryItemRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
void |
StandardBarPainter.paintBar(Graphics2D g2,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base)
Paints a single bar instance.
|
void |
GradientBarPainter.paintBar(Graphics2D g2,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base)
Paints a single bar instance.
|
void |
BarPainter.paintBar(Graphics2D g2,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base)
Paints a single bar on behalf of a renderer.
|
void |
StandardBarPainter.paintBarShadow(Graphics2D g2,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base,
boolean pegShadow)
Paints a single bar instance.
|
void |
GradientBarPainter.paintBarShadow(Graphics2D g2,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base,
boolean pegShadow)
Paints a single bar instance.
|
void |
BarPainter.paintBarShadow(Graphics2D g2,
BarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base,
boolean pegShadow)
Paints the shadow for a single bar on behalf of a renderer.
|
Modifier and Type | Method and Description |
---|---|
void |
XYBarPainter.paintBar(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base)
Paints a single bar on behalf of a renderer.
|
void |
StandardXYBarPainter.paintBar(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base)
Paints a single bar instance.
|
void |
GradientXYBarPainter.paintBar(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base)
Paints a single bar instance.
|
void |
XYBarPainter.paintBarShadow(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base,
boolean pegShadow)
Paints the shadow for a single bar on behalf of a renderer.
|
void |
StandardXYBarPainter.paintBarShadow(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base,
boolean pegShadow)
Paints a single bar instance.
|
void |
GradientXYBarPainter.paintBarShadow(Graphics2D g2,
XYBarRenderer renderer,
int row,
int column,
RectangularShape bar,
RectangleEdge base,
boolean pegShadow)
Paints a single bar instance.
|
Modifier and Type | Field and Description |
---|---|
static RectangleEdge |
Title.DEFAULT_POSITION
The default title position.
|
Modifier and Type | Method and Description |
---|---|
RectangleEdge |
LegendTitle.getLegendItemGraphicEdge()
Returns the location of the shape within each legend item.
|
RectangleEdge |
Title.getPosition()
Returns the position of the title.
|
Modifier and Type | Method and Description |
---|---|
void |
LegendTitle.setLegendItemGraphicEdge(RectangleEdge edge)
Sets the location of the shape within each legend item.
|
void |
Title.setPosition(RectangleEdge position)
Sets the position for the title and sends a
TitleChangeEvent to
all registered listeners. |
Constructor and Description |
---|
DateTitle(int style,
Locale locale,
Font font,
Paint paint,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new chart title that displays the current date.
|
ImageTitle(Image image,
int height,
int width,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new image title with the given image scaled to the given
width and height in the given location.
|
ImageTitle(Image image,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment)
Creates a new image title.
|
TextTitle(String text,
Font font,
Paint paint,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new title.
|
Title(RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment)
Creates a new title, using default attributes where necessary.
|
Title(RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new title.
|
Modifier and Type | Field and Description |
---|---|
static RectangleEdge |
RectangleEdge.BOTTOM
Bottom.
|
static RectangleEdge |
RectangleEdge.LEFT
Left.
|
static RectangleEdge |
RectangleEdge.RIGHT
Right.
|
static RectangleEdge |
RectangleEdge.TOP
Top.
|
Modifier and Type | Method and Description |
---|---|
static RectangleEdge |
RectangleEdge.opposite(RectangleEdge edge)
Returns the opposite edge.
|
Modifier and Type | Method and Description |
---|---|
static double |
RectangleEdge.coordinate(Rectangle2D rectangle,
RectangleEdge edge)
Returns the x or y coordinate of the specified edge.
|
static boolean |
RectangleEdge.isLeftOrRight(RectangleEdge edge)
Returns
true if the edge is LEFT or
RIGHT , and false otherwise. |
static boolean |
RectangleEdge.isTopOrBottom(RectangleEdge edge)
Returns
true if the edge is TOP or
BOTTOM , and false otherwise. |
static RectangleEdge |
RectangleEdge.opposite(RectangleEdge edge)
Returns the opposite edge.
|
Copyright © 2001–2017 JFree.org. All rights reserved.