public final class PlotWith2DAxes extends PlotWithAxes
ABOVE, ANCILLARY_AXIS, ANCILLARY_BASE, ARRAY, AUTO, AVERAGE, AXIS, BACKWARD, BASE, BASE_AXIS, BELOW, BIG_NUMBER_PRIMITIVE_ARRAY, BOOLEAN, 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, NUMBER_PRIMITIVE_ARRAY, 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
Constructor and Description |
---|
PlotWith2DAxes(IDisplayServer _ids,
ChartWithAxes _cwa,
RunTimeContext _rtc)
The default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addMargin(int percent) |
void |
compute(Bounds bo)
This method computes the entire chart within the given bounds.
|
Bounds |
getPlotBoundsWithMargin()
Returns the plot bounds with margin area.
|
ISeriesRenderingHints |
getSeriesRenderingHints(SeriesDefinition sdOrthogonal,
Series seOrthogonal) |
StackedSeriesLookup |
getStackedSeriesLookup() |
void |
initDynamicPlotBounds(Bounds bo)
Initializes the chart plot bounds for the dynamic size case.
|
checkDataType, getAxes, getAxisType, getDimension, getDisplayServer, getHorizontalSpacingInPixels, getLabellLimiter, getModel, getSeriesThickness, getTickSize, getTransposedAngle, getVerticalSpacingInPixels, putLabelLimiter, transposeLabelPosition
getChartComputation, getPlotBounds, getPlotInsets, getPointToPixel, getRunTimeContext
public PlotWith2DAxes(IDisplayServer _ids, ChartWithAxes _cwa, RunTimeContext _rtc) throws java.lang.IllegalArgumentException, ChartException
_ids
- The display server using which the chart is computed_cwa
- An instance of the model (ChartWithAxes)java.lang.IllegalArgumentException
ChartException
public final void compute(Bounds bo) throws ChartException, java.lang.IllegalArgumentException
compute
in class PlotComputation
bo
- ChartException
java.lang.IllegalArgumentException
public final Bounds getPlotBoundsWithMargin()
public final ISeriesRenderingHints getSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal) throws ChartException, java.lang.IllegalArgumentException
getSeriesRenderingHints
in class PlotComputation
ChartException
java.lang.IllegalArgumentException
public final StackedSeriesLookup getStackedSeriesLookup()
public void addMargin(int percent)
public final void initDynamicPlotBounds(Bounds bo) throws ChartException
bo
- bounds with dynamic size, such as 0 or negative valueChartException
Copyright © 2005-2008 Actuate Corp. All rights reserved.