net.sf.jasperreports.charts
Interface JRChartAxis

All Superinterfaces:
java.lang.Cloneable, JRCloneable
All Known Implementing Classes:
JRBaseChartAxis, JRDesignChartAxis, JRFillChartAxis

public interface JRChartAxis
extends JRCloneable

Describes an axis that can be added to a multiple axis chart. The name "axis" is a bit of a misnomer, as it really contains information about a new dataset to plot, the axis to plot it against, and how to render that dataset.

Version:
$Id: JRChartAxis.java 3032 2009-08-27 11:32:28Z teodord $
Author:
Barry Klawans (barry@users.sourceforge.net)

Field Summary
static byte POSITION_LEFT_OR_TOP
          Position the axis to the left of a VERTICAL chart or on the top of a HORIZONTAL chart.
static byte POSITION_RIGHT_OR_BOTTOM
          Position the axis to the right of a VERTICAL chart or on the bottom of a HORIZONTAL chart.
 
Method Summary
 JRChart getChart()
          Returns the chart that contains the dataset and plot to use for this axis.
 byte getPosition()
          Deprecated. Replaced by getPositionByte()
 java.lang.Byte getPositionByte()
          Returns the position of this axis.
 
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
 

Field Detail

POSITION_LEFT_OR_TOP

static final byte POSITION_LEFT_OR_TOP
Position the axis to the left of a VERTICAL chart or on the top of a HORIZONTAL chart.

See Also:
Constant Field Values

POSITION_RIGHT_OR_BOTTOM

static final byte POSITION_RIGHT_OR_BOTTOM
Position the axis to the right of a VERTICAL chart or on the bottom of a HORIZONTAL chart.

See Also:
Constant Field Values
Method Detail

getPosition

byte getPosition()
Deprecated. Replaced by getPositionByte()


getPositionByte

java.lang.Byte getPositionByte()
Returns the position of this axis.

Returns:
the position of this axis

getChart

JRChart getChart()
Returns the chart that contains the dataset and plot to use for this axis. The plot is used to figure out how to render the dataset when adding to the multiple axis chart.

Returns:
the chart that contains the dataset and plot for this axis


© 2001-2009 Jaspersoft Corporation www.jaspersoft.com