Class PlotWithoutAxes
- java.lang.Object
-
- org.eclipse.birt.chart.computation.PlotComputation
-
- org.eclipse.birt.chart.computation.withoutaxes.PlotWithoutAxes
-
public final class PlotWithoutAxes extends PlotComputation
This class is capable of computing the content of a chart (without axes) based on preferred sizes, text rotation, fit ability, scaling, etc and prepares it for rendering. WARNING: This is an internal class and subject to change
-
-
Constructor Summary
Constructors Constructor Description PlotWithoutAxes(IDisplayServer xs, ChartWithoutAxes cwoa, RunTimeContext rtc)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(Bounds bo)This method computes the entire chart within the given bounds.CoordinatesgetCellCoordinates(int iCell)SizegetCellSize()intgetColumnCount()ChartWithoutAxesgetModel()intgetRowCount()SeriesRenderingHintsgetSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal)-
Methods inherited from class org.eclipse.birt.chart.computation.PlotComputation
getChartComputation, getPlotBounds, getPlotInsets, getPointToPixel, getRunTimeContext
-
-
-
-
Constructor Detail
-
PlotWithoutAxes
public PlotWithoutAxes(IDisplayServer xs, ChartWithoutAxes cwoa, RunTimeContext rtc)
The constructor.- Parameters:
xs-cwoa-rtc-
-
-
Method Detail
-
compute
public void compute(Bounds bo)
Description copied from class:PlotComputationThis 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'.- Specified by:
computein classPlotComputation
-
getCellSize
public Size getCellSize()
-
getCellCoordinates
public Coordinates getCellCoordinates(int iCell)
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getModel
public ChartWithoutAxes getModel()
- Overrides:
getModelin classPlotComputation
-
getSeriesRenderingHints
public SeriesRenderingHints getSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal) throws ChartException, java.lang.IllegalArgumentException
- Specified by:
getSeriesRenderingHintsin classPlotComputation- Returns:
- ISeriesRenderingHints
- Throws:
ChartExceptionjava.lang.IllegalArgumentException
-
-