Package | Description |
---|---|
org.jfree.chart | |
org.jfree.chart.plot | |
org.jfree.chart.renderer | |
org.jfree.chart.renderer.xy |
Modifier and Type | Method and Description |
---|---|
static JFreeChart |
ChartFactory.createScatterPlot(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a scatter plot with default settings.
|
static JFreeChart |
ChartFactory.createXYLineChart(java.lang.String title,
java.lang.String xAxisLabel,
java.lang.String yAxisLabel,
XYDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart (based on an
XYDataset ) with default
settings. |
Modifier and Type | Field and Description |
---|---|
static PlotOrientation |
PlotOrientation.HORIZONTAL
For a plot where the range axis is horizontal.
|
static PlotOrientation |
PlotOrientation.VERTICAL
For a plot where the range axis is vertical.
|
Modifier and Type | Method and Description |
---|---|
PlotOrientation |
FastScatterPlot.getOrientation()
Returns the orientation of the plot.
|
PlotOrientation |
Zoomable.getOrientation()
Returns the orientation of the plot.
|
PlotOrientation |
Pannable.getOrientation()
Returns the orientation of the plot.
|
PlotOrientation |
XYPlot.getOrientation()
Returns the orientation of the plot.
|
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.
|
protected void |
Plot.fillBackground(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
PlotOrientation orientation)
Fills the specified area with the background paint.
|
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.
|
void |
CombinedDomainXYPlot.setOrientation(PlotOrientation orientation)
Sets the orientation for the plot (also changes the orientation for all
the subplots to match).
|
void |
CombinedRangeXYPlot.setOrientation(PlotOrientation orientation)
Sets the orientation for the plot (and all its subplots).
|
void |
XYPlot.setOrientation(PlotOrientation orientation)
Sets the orientation for the plot and sends a
PlotChangeEvent to
all registered listeners. |
void |
CrosshairState.updateCrosshairPoint(double x,
double y,
double transX,
double transY,
PlotOrientation orientation)
Deprecated.
Use
CrosshairState.updateCrosshairPoint(double, double, int, int,
double, double, PlotOrientation) . See bug report 1086307. |
void |
CrosshairState.updateCrosshairPoint(double x,
double y,
int domainAxisIndex,
int rangeAxisIndex,
double transX,
double transY,
PlotOrientation orientation)
Evaluates a data point and if it is the closest to the anchor point it
becomes the new crosshair point.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.geom.Point2D |
AbstractRenderer.calculateLabelAnchorPoint(ItemLabelAnchor anchor,
double x,
double y,
PlotOrientation orientation)
Calculates the item label anchor point.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.geom.Point2D |
AbstractXYItemRenderer.calculateDomainMarkerTextAnchorPoint(java.awt.Graphics2D g2,
PlotOrientation orientation,
java.awt.geom.Rectangle2D dataArea,
java.awt.geom.Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the (x, y) coordinates for drawing a marker label.
|
protected void |
AbstractXYItemRenderer.drawItemLabel(java.awt.Graphics2D g2,
PlotOrientation orientation,
XYDataset dataset,
int series,
int item,
double x,
double y,
boolean negative)
Draws an item label.
|
protected void |
AbstractXYItemRenderer.updateCrosshairValues(CrosshairState crosshairState,
double x,
double y,
double transX,
double transY,
PlotOrientation orientation)
Deprecated.
Use
AbstractXYItemRenderer.updateCrosshairValues(CrosshairState, double,
double, int, int, double, double, PlotOrientation) -- see bug
report 1086307. |
protected void |
AbstractXYItemRenderer.updateCrosshairValues(CrosshairState crosshairState,
double x,
double y,
int domainAxisIndex,
int rangeAxisIndex,
double transX,
double transY,
PlotOrientation orientation)
Considers the current (x, y) coordinate and updates the crosshair point
if it meets the criteria (usually means the (x, y) coordinate is the
closest to the anchor point so far).
|