org.eclipse.birt.chart.computation.withaxes
Class PlotWithAxes
java.lang.Object
org.eclipse.birt.chart.computation.Methods
org.eclipse.birt.chart.computation.withaxes.PlotWithAxes
- All Implemented Interfaces:
- IConstants
- Direct Known Subclasses:
- PlotWith2DAxes, PlotWith3DAxes
public abstract class PlotWithAxes
- extends Methods
PlotWithAxes
Fields inherited from interface org.eclipse.birt.chart.computation.IConstants |
ABOVE, ANCILLARY_AXIS, ANCILLARY_BASE, AUTO, AVERAGE, AXIS, BACKWARD, BASE, BASE_AXIS, BELOW, BOTTOM, CENTER, COLLECTION, DATE_TIME, DESIGN_TIME, EMPTY_STRING, EQUAL, FORWARD, HORIZONTAL, INSIDE, LABELS, LEFT, LEGEND_ENTRY, LEGEND_MINSLICE_ENTRY, LEGEND_SEPERATOR, LESS, LINE_EXPAND_DOUBLE_SIZE, LINE_EXPAND_SIZE, LINEAR, LOG_10, LOGARITHMIC, MAJOR, MAX, MIN, MINOR, MORE, NON_PRIMITIVE_ARRAY, NULL_STRING, NUMERICAL, ONE_SPACE, ORTHOGONAL, ORTHOGONAL_AXIS, OTHER, OUTSIDE, PERCENT, POSITION_MASK, POSITION_MOVE_ABOVE, POSITION_MOVE_BELOW, POSITION_MOVE_LEFT, POSITION_MOVE_RIGHT, PRIMITIVE_ARRAY, RIGHT, RUN_TIME, SOME_NULL, TEXT, THREE_D, TICK_ABOVE, TICK_ACROSS, TICK_BELOW, TICK_LEFT, TICK_NONE, TICK_RIGHT, TICK_SIDE1, TICK_SIDE2, TICK_SIZE, TOP, TWO_5_D, TWO_D, UNDEFINED, UNDEFINED_STRING, USER_INTERFACE, VALUE, VERTICAL |
Methods inherited from class org.eclipse.birt.chart.computation.Methods |
asDateTime, asDouble, asInteger, computeBox, computeBox, computeHeight, computePolygon, computeRotatedTopPoint, computeWidth, getLabelPosition, getLocation, getLocation, getLocation, getNormalizedLocation, getNormalizedLocation, limitDataPointLabelLocation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlotWithAxes
public PlotWithAxes()
getDimension
public final int getDimension()
- Returns:
getSeriesThickness
public final double getSeriesThickness()
- Returns:
getHorizontalSpacingInPixels
public final double getHorizontalSpacingInPixels()
- Returns:
getVerticalSpacingInPixels
public final double getVerticalSpacingInPixels()
- Returns:
compute
public abstract void compute(Bounds bo)
throws ChartException,
java.lang.IllegalArgumentException
- This method computes the entire chart within the given bounds. If the
dataset has changed but none of the axis attributes have changed, simply
re-compute without 'rebuilding axes'.
- Parameters:
bo
-
- Throws:
ChartException
java.lang.IllegalArgumentException
getSeriesRenderingHints
public abstract ISeriesRenderingHints getSeriesRenderingHints(SeriesDefinition sdOrthogonal,
Series seOrthogonal)
throws ChartException,
java.lang.IllegalArgumentException
- Parameters:
sdOrthogonal
- seOrthogonal
-
- Returns:
-
- Throws:
ChartException
java.lang.IllegalArgumentException
getAxes
public final AllAxes getAxes()
- Returns:
getRunTimeContext
public final RunTimeContext getRunTimeContext()
- Returns:
getDisplayServer
public final IDisplayServer getDisplayServer()
- Returns:
getPlotBounds
public final Bounds getPlotBounds()
- Returns:
- The plot bounds in pixels
getPlotInsets
public final Insets getPlotInsets()
- Returns:
- The plot insets in pixels
getTransposedAngle
public final double getTransposedAngle(double dOriginalAngle)
throws java.lang.IllegalArgumentException
- Returns a transpose of the original angle
- Parameters:
dOriginalAngle
-
- Returns:
-
- Throws:
UnexpectedInputException
java.lang.IllegalArgumentException
transposeLabelPosition
public final int transposeLabelPosition(int iBaseOrOrthogonal,
int iOriginalPosition)
throws java.lang.IllegalArgumentException
- Returns a transposed or the original label position as requested
depending on the plot's orientation
- Parameters:
iBaseOrOrthogonal
- iOriginalPosition
-
- Returns:
-
- Throws:
UnexpectedInputException
java.lang.IllegalArgumentException
getTickSize
public double getTickSize()
Copyright © 2005-2008 Actuate Corp. All rights reserved.