Package | Description |
---|---|
org.jfree.chart.annotations |
A framework for adding annotations to charts.
|
org.jfree.chart.axis |
Axis classes and interfaces.
|
org.jfree.chart.block |
Blocks and layout classes used extensively by the
LegendTitle class. |
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.plot.dial |
Classes for creating dial plots.
|
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.text |
Text-related classes formerly in the JCommon class library.
|
org.jfree.chart.title |
Classes used to display chart titles and subtitles.
|
org.jfree.chart.ui | |
org.jfree.chart.util |
Utility classes used by JFreeChart.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
XYImageAnnotation.getImageAnchor()
Returns the image anchor for the annotation.
|
RectangleAnchor |
XYTitleAnnotation.getTitleAnchor()
Returns the title anchor for the annotation.
|
Constructor and Description |
---|
XYImageAnnotation(double x,
double y,
Image image,
RectangleAnchor anchor)
Creates a new annotation to be displayed at the specified (x, y)
location.
|
XYTitleAnnotation(double x,
double y,
Title title,
RectangleAnchor anchor)
Creates a new annotation to be displayed at the specified (x, y)
location.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
CategoryLabelPosition.getCategoryAnchor()
Returns the item label anchor.
|
Constructor and Description |
---|
CategoryLabelPosition(RectangleAnchor categoryAnchor,
TextBlockAnchor labelAnchor)
Creates a new category label position record.
|
CategoryLabelPosition(RectangleAnchor categoryAnchor,
TextBlockAnchor labelAnchor,
CategoryLabelWidthType widthType,
float widthRatio)
Creates a new category label position record.
|
CategoryLabelPosition(RectangleAnchor categoryAnchor,
TextBlockAnchor labelAnchor,
TextAnchor rotationAnchor,
double angle,
CategoryLabelWidthType widthType,
float widthRatio)
Creates a new position record.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
LabelBlock.getTextAnchor()
Returns the text anchor (never
null ). |
Modifier and Type | Method and Description |
---|---|
void |
LabelBlock.setTextAnchor(RectangleAnchor anchor)
Sets the text anchor.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
Marker.getLabelAnchor()
Returns the label anchor.
|
RectangleAnchor |
Crosshair.getLabelAnchor()
Returns the label anchor point.
|
Modifier and Type | Method and Description |
---|---|
void |
Marker.setLabelAnchor(RectangleAnchor anchor)
Sets the label anchor and sends a
MarkerChangeEvent to all
registered listeners. |
void |
Crosshair.setLabelAnchor(RectangleAnchor anchor)
Sets the label anchor point and sends a property change event (with the
name 'labelAnchor') to all registered listeners.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
DialValueIndicator.getFrameAnchor()
Returns the frame anchor.
|
RectangleAnchor |
DialValueIndicator.getValueAnchor()
Returns the value anchor.
|
Modifier and Type | Method and Description |
---|---|
void |
DialValueIndicator.setFrameAnchor(RectangleAnchor anchor)
Sets the frame anchor and sends a
DialLayerChangeEvent to all
registered listeners. |
void |
DialValueIndicator.setValueAnchor(RectangleAnchor anchor)
Sets the value anchor and sends a
DialLayerChangeEvent to all
registered listeners. |
Modifier and Type | Method and Description |
---|---|
protected Point2D |
AbstractCategoryItemRenderer.calculateDomainMarkerTextAnchorPoint(Graphics2D g2,
PlotOrientation orientation,
Rectangle2D dataArea,
Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the
(x, y) coordinates for drawing the label for a
marker on the range axis. |
protected Point2D |
AbstractCategoryItemRenderer.calculateRangeMarkerTextAnchorPoint(Graphics2D g2,
PlotOrientation orientation,
Rectangle2D dataArea,
Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the (x, y) coordinates for drawing a marker label.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
XYBlockRenderer.getBlockAnchor()
Returns the anchor point used to align a block at its (x, y) location.
|
Modifier and Type | Method and Description |
---|---|
protected Point2D |
AbstractXYItemRenderer.calculateDomainMarkerTextAnchorPoint(Graphics2D g2,
PlotOrientation orientation,
Rectangle2D dataArea,
Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the
(x, y) coordinates for drawing a marker label. |
void |
XYBlockRenderer.setBlockAnchor(RectangleAnchor anchor)
Sets the anchor point used to align a block at its (x, y) location and
sends a
RendererChangeEvent to all registered listeners. |
Modifier and Type | Method and Description |
---|---|
void |
TextBox.draw(Graphics2D g2,
float x,
float y,
RectangleAnchor anchor)
Draws the text box.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
LegendTitle.getLegendItemGraphicAnchor()
Returns the legend item graphic anchor.
|
RectangleAnchor |
LegendTitle.getLegendItemGraphicLocation()
Returns the legend item graphic location.
|
RectangleAnchor |
LegendGraphic.getShapeAnchor()
Returns the shape anchor.
|
RectangleAnchor |
LegendGraphic.getShapeLocation()
Returns the shape location.
|
Modifier and Type | Method and Description |
---|---|
void |
LegendTitle.setLegendItemGraphicAnchor(RectangleAnchor anchor)
Sets the anchor point used for the graphic in each legend item.
|
void |
LegendTitle.setLegendItemGraphicLocation(RectangleAnchor anchor)
Sets the legend item graphic location.
|
void |
LegendGraphic.setShapeAnchor(RectangleAnchor anchor)
Sets the shape anchor.
|
void |
LegendGraphic.setShapeLocation(RectangleAnchor location)
Sets the shape location.
|
Modifier and Type | Method and Description |
---|---|
static RectangleAnchor |
RectangleAnchor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RectangleAnchor[] |
RectangleAnchor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle2D |
RectangleAnchor.createRectangle(Size2D dimensions,
double anchorX,
double anchorY,
RectangleAnchor anchor)
Creates a new rectangle with the specified dimensions that is aligned to
the given anchor point
(anchorX, anchorY) . |
Modifier and Type | Method and Description |
---|---|
static Shape |
ShapeUtils.createTranslatedShape(Shape shape,
RectangleAnchor anchor,
double locationX,
double locationY)
Translates a shape to a new location such that the anchor point
(relative to the rectangular bounds of the shape) aligns with the
specified (x, y) coordinate in Java2D space.
|
Copyright © 2001–2017 JFree.org. All rights reserved.