org.eclipse.birt.chart.computation.withaxes
Class PlotWithAxes
java.lang.Object
org.eclipse.birt.chart.computation.PlotComputation
org.eclipse.birt.chart.computation.withaxes.PlotWithAxes
- All Implemented Interfaces:
- IConstants
- Direct Known Subclasses:
- PlotWith2DAxes, PlotWith3DAxes
public abstract class PlotWithAxes
- extends PlotComputation
- implements IConstants
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_GROUP_NAME, 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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlotWithAxes
public PlotWithAxes(IDisplayServer ids,
RunTimeContext rtc,
ChartWithAxes cwa)
putLabelLimiter
public void putLabelLimiter(Label la,
LabelLimiter lbLimit)
- Look up table for label limit.
- Parameters:
la
- lbLimit
-
getLabellLimiter
public LabelLimiter getLabellLimiter(Label la)
- Look up table for label limit.
- Parameters:
la
-
- Returns:
- LabelLimiter
getDimension
public final int getDimension()
getSeriesThickness
public final double getSeriesThickness()
getHorizontalSpacingInPixels
public final double getHorizontalSpacingInPixels()
getVerticalSpacingInPixels
public final double getVerticalSpacingInPixels()
getAxes
public final AllAxes getAxes()
getDisplayServer
public final IDisplayServer getDisplayServer()
getTransposedAngle
public final double getTransposedAngle(double dOriginalAngle)
throws java.lang.IllegalArgumentException
- Returns a transpose of the original angle
- Parameters:
dOriginalAngle
-
- Returns:
- angle
- Throws:
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:
- position state
- Throws:
java.lang.IllegalArgumentException
getTickSize
public double getTickSize()
getModel
public ChartWithAxes getModel()
- Overrides:
getModel
in class PlotComputation
Copyright © 2005-2008 Actuate Corp. All rights reserved.