# Uses of Class
org.eclipse.birt.chart.exception.ChartException

Packages that use ChartException
Package
Description
org.eclipse.birt.chart.api
org.eclipse.birt.chart.computation
This is a placeholder file for the org.eclipse.birt.chart.computation package.
org.eclipse.birt.chart.computation.withaxes
This is a placeholder file for the org.eclipse.birt.chart.computation.withaxes package.
org.eclipse.birt.chart.computation.withoutaxes
This is a placeholder file for the org.eclipse.birt.chart.computation.withoutaxes package.
org.eclipse.birt.chart.datafeed
Provides classes and interfaces that determine how a user's custom dataset needs to be interpreted.
org.eclipse.birt.chart.device
Provides interfaces and no-op adapters that define services provided by the device renderer and an associated display server.
org.eclipse.birt.chart.event
Contains classes that define a rendering notification that is interpreted by a device renderer.
org.eclipse.birt.chart.factory
Contains classes and interfaces used in the chart building and generation phase.
org.eclipse.birt.chart.model.layout
Contains a layout manager capable of arranging a set of blocks associated with the chart representation.
org.eclipse.birt.chart.model.layout.impl
Contains core class implementations for blocks associated with the chart representation.
org.eclipse.birt.chart.render
Contains classes that represent the core plot rendering framework.
org.eclipse.birt.chart.script
org.eclipse.birt.chart.util
Provides miscellaneous classes associated with data types and extension lookup services.

## Uses of ChartException in org.eclipse.birt.chart.api

Methods in org.eclipse.birt.chart.api that throw ChartException
Modifier and Type
Method
Description
`final IDataSetProcessor`
ChartEngine.`getDataSetProcessor(Class cSeries)`
Retrieves the first instance of a data set processor registered as an extension for a given series type.
`IDeviceRenderer`
ChartEngine.`getRenderer(String deviceID)`
Loads a device renderer, required by IChartGenerator to render charts

## Uses of ChartException in org.eclipse.birt.chart.computation

Methods in org.eclipse.birt.chart.computation that throw ChartException
Modifier and Type
Method
Description
`void`
BIRTChartComputation.`applyWrapping(IDisplayServer xs, Label la, double dWrapping)`
`void`
IChartComputation.`applyWrapping(IDisplayServer xs, Label la, double dWapping)`
Apply the wrapping to a label.
`boolean`
LegendBuilder.LabelItem.`checkEllipsis(double dWidthLimit)`
Checks if current label text should use ellipsis to shorten the length.
`boolean`
EllipsisHelper.`checkLabelEllipsis(String sText_, Object oPara)`
`Size`
LegendBuilder.`compute(IDisplayServer xs, Chart cm, SeriesDefinition[] seda, RunTimeContext rtc)`
Computes the size of the legend.
`abstract void`
PlotComputation.`compute(Bounds bo)`
This method computes the entire chart within the given bounds.
`BoundingBox`
BIRTChartComputation.`computeBox(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY)`
`BoundingBox`
IChartComputation.`computeBox(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY)`
Compute the bounding box ( location and size ) of a label.
`double`
BIRTChartComputation.`computeFontHeight(IDisplayServer xs, Label la)`
`double`
IChartComputation.`computeFontHeight(IDisplayServer xs, Label la)`
Convenient method to compute the font's height of a label.
`double`
BIRTChartComputation.`computeHeight(IDisplayServer xs, Label la)`
`double`
IChartComputation.`computeHeight(IDisplayServer xs, Label la)`
Compute the height of a label.
`BoundingBox`
BIRTChartComputation.`computeLabelSize(IDisplayServer xs, Label la, double dWrapping, Double fontHeight)`
`BoundingBox`
IChartComputation.`computeLabelSize(IDisplayServer xs, Label la, double dWrapping, Double fontHeight)`
Compute the size of a label.
`static final BoundingBox`
Methods.`computeLabelSize(IDisplayServer xs, Label la, double dWrapping, Double fontHeight)`
Compute the size of a label.
`RotatedRectangle`
BIRTChartComputation.`computePolygon(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY, Double fontHeight)`
`RotatedRectangle`
IChartComputation.`computePolygon(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY, Double fontHeight)`
Compute the bounding polygon of a label.
`double`
BIRTChartComputation.`computeWidth(IDisplayServer xs, Label la)`
`double`
IChartComputation.`computeWidth(IDisplayServer xs, Label la)`
Compute the width of a label.
`static EllipsisHelper.ITester`
EllipsisHelper.`createSimpleTester(IChartComputation cComp, IDisplayServer xs, Label la, Double fontHeight)`
`static String`
ValueFormatter.`format(Object oValue, FormatSpecifier formatSpecifier, com.ibm.icu.util.ULocale lcl, Object oCachedJavaFormatter)`
Returns the formatted string representation of given object.
`double`
EllipsisHelper.ITester.`getHeight()`
`double`
LegendBuilder.LabelItem.`getHeight()`
`static final double`
Methods.`getLocation(AutoScale sc, Object oValue)`
`static final double`
Methods.`getNormalizedLocation(AutoScale sc, Object oValue)`
`abstract ISeriesRenderingHints`
PlotComputation.`getSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal)`
`DataPointHints`
DataPointHints.`getVirtualCopy()`
Returns a copy of current DataPointHints object, which is virtual.
`double`
EllipsisHelper.ITester.`getWidth()`
`double`
LegendBuilder.LabelItem.`getWidth()`
`LabelLimiter`
LabelLimiter.`limitLabelSize(IChartComputation cComp, IDisplayServer xs, Label la)`
modify the text of la to fit the limit size.
`LabelLimiter`
LabelLimiter.`limitLabelSize(IChartComputation cComp, IDisplayServer xs, Label la, EnumSet<LabelLimiter.Option> options)`
modify the text of la to fit the limit size.
`static final LabelLimiter`
LabelLimiter.`limitLabelSize(IChartComputation cComp, IDisplayServer xs, Label la, LabelLimiter lbLimit, EnumSet<LabelLimiter.Option> options)`
To compute the text of the label with a limited size, the label text will be wrapped and shortened with ellipsis if required, the size of the label bound will be returned.
`void`
LegendBuilder.LabelItem.`setText(String sText)`
`static EllipsisHelper`
EllipsisHelper.`simpleInstance(IChartComputation cComp, IDisplayServer xs, Label la, Double fontHeight)`
`boolean`
EllipsisHelper.ITester.`testLabelVisible(String strNew, Object oPara)`
`boolean`
LegendBuilder.LabelItem.`testLabelVisible(String strNew, Object oPara)`
Constructors in org.eclipse.birt.chart.computation that throw ChartException
Modifier
Constructor
Description
``
`DataPointHints(Object _oBaseValue, Object _oOrthogonalValue, Object _oSeriesValue, Object _oPercentileValue, DataPoint _dp, FormatSpecifier _fsBase, FormatSpecifier _fsOrthogonal, FormatSpecifier _fsSeries, FormatSpecifier _fsPercentile, int _idx, Location _lo, double[] _dSize, RunTimeContext _rtc)`
The constructor.
``
`DataPointHints(Object _oBaseValue, Object _oOrthogonalValue, Object _oSeriesValue, Object _oPercentileValue, DataPoint _dp, FormatSpecifier _fsBase, FormatSpecifier _fsOrthogonal, FormatSpecifier _fsSeries, FormatSpecifier _fsPercentile, int _idx, Location _lo, double _dSize, RunTimeContext _rtc)`
DataPointHints constructor.
``
`DataSetIterator(com.ibm.icu.util.Calendar[] ca)`
``
`DataSetIterator(Object oContent, int iDataType)`
``
`DataSetIterator(DataSet ds)`
``
`UserDataSetHints(org.eclipse.emf.common.util.EMap<String,DataSet> allSeriesDataSets)`
The constructor.
``
`UserDataSetHints(org.eclipse.emf.common.util.EMap<String,DataSet> allSeriesDataSets, boolean bReverse)`
The constructor.

## Uses of ChartException in org.eclipse.birt.chart.computation.withaxes

Methods in org.eclipse.birt.chart.computation.withaxes that throw ChartException
Modifier and Type
Method
Description
`void`
AxesAdjuster.`adjust()`
`void`
HorizontalAxesAdjuster.`adjust()`
`void`
HorizontalAxesAdjuster.`adjust(boolean checkAxisLabel)`
Adjust the axes.
`void`
HorizontalAxisAdjuster.`adjust()`
`void`
IAxisAdjuster.`adjust()`
Adjust axis(axes) scale and location.
`void`
VerticalAxesAdjuster.`adjust()`
`void`
VerticalAxesAdjuster.`adjust(boolean checkAxisLabel)`
Adjusts the axes.
`void`
VerticalAxisAdjuster.`adjust()`
`static DataSetIterator`
PlotWithAxes.`checkDataType(Series se, int iType, RunTimeContext rtc)`
`boolean`
AutoScale.`checkFit(IDisplayServer xs, Label la, int iLabelLocation)`
Checks all labels for any overlap for a given axis' scale
`void`
PlotWith2DAxes.`compute(Bounds bo)`
This method computes the entire chart within the given bounds.
`void`
PlotWith3DAxes.`compute(Bounds bo)`
`double`
AutoScale.`computeAxisLabelThickness(IDisplayServer xs, Label la, int iOrientation)`
`double`
AutoScale.`computeStaggeredAxisLabelOffset(IDisplayServer xs, Label la, int iOrientation)`
`int`
AutoScale.`computeTicks(IDisplayServer xs, Label la, int iLabelLocation, int iOrientation, double dStart, double dEnd, boolean bConsiderStartLabel, boolean bConsiderEndLabel, AllAxes aax)`
`int`
AutoScale.`computeTicks(IDisplayServer xs, Label la, int iLabelLocation, int iOrientation, double dStart, double dEnd, boolean bConsiderStartEndLabels, AllAxes aax)`
`static StackedSeriesLookup`
StackedSeriesLookup.`create(ChartWithAxes cwa, RunTimeContext rtc)`
`DataSetIterator`
SharedScaleContext.`createDataSetIterator(int iDataType)`
Create a DataSetIterator with the min/max value, which can be used by AutoScale.
`DataSetIterator`
SharedScaleContext.`createDataSetIterator(int iDataType, boolean isBigNumber, com.ibm.icu.math.BigDecimal divisor)`
Create a DataSetIterator with the min/max value, which can be used by AutoScale.
`Rectangle`
PlotWith3DAxes.`get3DGraphicBoudingRect()`
`Bounds`
PlotWith3DAxes.`getAdjustedPlotBounds(boolean refresh)`
`Rectangle[]`
PlotWith3DAxes.`getAllAxisLabelBounds()`
`Rectangle`
PlotWith3DAxes.`getAxisLabelBoundingRectXZ(OneAxis oax)`
`Rectangle[]`
PlotWith3DAxes.`getAxisLabelBoundingRectY(OneAxis oax)`
`Rectangle`
PlotWith3DAxes.`getBoundsOfAllAxisLabels()`
`Position`
SeriesRenderingHints.`getLabelPosition(Series se)`
`Position`
SeriesRenderingHints3D.`getLabelPosition(Series se)`
`abstract String`
AxisLabelTextProvider.`getLabelText(int index)`
`double`
SeriesRenderingHints.`getLocationOnOrthogonal(Object oValue)`
`double`
SeriesRenderingHints3D.`getLocationOnOrthogonal(Object oValue)`
`final Location`
PlotWith3DAxes.`getPanningOffset()`
`ISeriesRenderingHints`
PlotWith2DAxes.`getSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal)`
`ISeriesRenderingHints`
PlotWith3DAxes.`getSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal)`
`int`
AutoScale.`getTickCount()`
Computes tick count
`void`
PlotWith2DAxes.`initDynamicPlotBounds(Bounds bo)`
Initializes the chart plot bounds for the dynamic size case.
`static void`
AutoScale.`setNumberMinMaxToScale(AutoScale sc, Object oMinimum, Object oMaximum, RunTimeContext rtc, OneAxis ax)`
Updates AutoScale by checking min or max
`static void`
AutoScale.`setStepToScale(AutoScale sc, Object oStep, Integer oStepNumber, RunTimeContext rtc)`
Updates AutoScale by checking step size and step number
Constructors in org.eclipse.birt.chart.computation.withaxes that throw ChartException
Modifier
Constructor
Description
``
`PlotWith2DAxes(IDisplayServer _ids, ChartWithAxes _cwa, RunTimeContext _rtc)`
The default constructor
``
`PlotWith3DAxes(IDisplayServer _ids, ChartWithAxes _cwa, RunTimeContext _rtc)`

## Uses of ChartException in org.eclipse.birt.chart.computation.withoutaxes

Methods in org.eclipse.birt.chart.computation.withoutaxes that throw ChartException
Modifier and Type
Method
Description
`final Double[]`
SeriesRenderingHints.`asDoubleValues()`
`final double[]`
SeriesRenderingHints.`asPrimitiveDoubleValues()`
`SeriesRenderingHints`
PlotWithoutAxes.`getSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal)`

## Uses of ChartException in org.eclipse.birt.chart.datafeed

Methods in org.eclipse.birt.chart.datafeed that throw ChartException
Modifier and Type
Method
Description
`DataSet`
DataSetAdapter.`fromString(String sDataSetRepresentation, DataSet ds)`
`DataSet`
IDataSetProcessor.`fromString(String sDataSetRepresentation, DataSet ds)`
Attempts to parse a line of text representing multiple values of a specific data element type and updates an existing data set or creates a new data set filled with these values.
`Object`
DataSetAdapter.`getMaximum(DataSet ds)`
`Object`
IDataSetProcessor.`getMaximum(DataSet ds)`
Causes implementation specific data set processor classes to compute the maximum value in a data set of a specific series type.
`Object`
DataSetAdapter.`getMinimum(DataSet ds)`
`Object`
IDataSetProcessor.`getMinimum(DataSet ds)`
Causes implementation specific data set processor classes to compute the minimum value in a data set of a specific series type.
`DataSet`
DataSetAdapter.`populate(Object oResultSetDef, DataSet ds)`
`DataSet`
IDataSetProcessor.`populate(Object oResultSetDef, DataSet ds)`
Populates a data set with data element values retrieved from a result set created as a result of query execution
`String`
DataSetAdapter.`toString(Object[] columnData)`
`String`
IDataSetProcessor.`toString(Object[] columnData)`
Attempts to format a column of data to string.

## Uses of ChartException in org.eclipse.birt.chart.device

Methods in org.eclipse.birt.chart.device that throw ChartException
Modifier and Type
Method
Description
`void`
DeviceAdapter.`after()`
`void`
IDeviceRenderer.`after()`
A notification sent to the device to cleanup after rendering is done
`void`
DeviceAdapter.`applyTransformation(TransformationEvent tev)`
`void`
IPrimitiveRenderer.`applyTransformation(TransformationEvent tev)`
This method is capable of applying a global transformation on the device specific graphics context Available transformation types are: SCALE, TRANSLATE, ROTATE
`void`
DeviceAdapter.`before()`
`void`
IDeviceRenderer.`before()`
A notification sent to the device to initialize itself before rendering begins
`void`
DeviceAdapter.`drawArc(ArcRenderEvent are)`
`void`
IPrimitiveRenderer.`drawArc(ArcRenderEvent are)`
This method is responsible for drawing an elliptical arc on the target rendering device's graphic context.
`void`
DeviceAdapter.`drawArea(AreaRenderEvent are)`
`void`
IPrimitiveRenderer.`drawArea(AreaRenderEvent are)`
This method is responsible for drawing a custom defined area on the target rendering device's graphic context.
`void`
DeviceAdapter.`drawImage(ImageRenderEvent ire)`
`void`
IPrimitiveRenderer.`drawImage(ImageRenderEvent ire)`
This method is responsible for drawing an image on the target rendering device's graphic context.
`void`
DeviceAdapter.`drawLine(LineRenderEvent lre)`
`void`
IPrimitiveRenderer.`drawLine(LineRenderEvent lre)`
This method is responsible for drawing a line on the target rendering device's graphic context.
`void`
DeviceAdapter.`drawOval(OvalRenderEvent ore)`
`void`
IPrimitiveRenderer.`drawOval(OvalRenderEvent ore)`
This method is responsible for drawing an oval area on the target rendering device's graphic context.
`void`
DeviceAdapter.`drawPolygon(PolygonRenderEvent pre)`
`void`
IPrimitiveRenderer.`drawPolygon(PolygonRenderEvent pre)`
This method is responsible for drawing a polygon on the target rendering device's graphic context.
`void`
DeviceAdapter.`drawRectangle(RectangleRenderEvent rre)`
`void`
IPrimitiveRenderer.`drawRectangle(RectangleRenderEvent rre)`
This method is responsible for drawing a rectangle on the target rendering device's graphic context.
`void`
DeviceAdapter.`drawText(TextRenderEvent tre)`
`void`
IPrimitiveRenderer.`drawText(TextRenderEvent tre)`
This method renders text on the target rendering device's graphic context using one of the three methods: 1.
`void`
DeviceAdapter.`enableInteraction(InteractionEvent ie)`
`void`
IPrimitiveRenderer.`enableInteraction(InteractionEvent ie)`
`void`
DeviceAdapter.`fillArc(ArcRenderEvent are)`
`void`
IPrimitiveRenderer.`fillArc(ArcRenderEvent are)`
This method is responsible for filling an elliptical arc on the target rendering device's graphic context.
`void`
DeviceAdapter.`fillArea(AreaRenderEvent are)`
`void`
IPrimitiveRenderer.`fillArea(AreaRenderEvent are)`
This method is responsible for filling a custom defined area on the target rendering device's graphic context.
`void`
DeviceAdapter.`fillOval(OvalRenderEvent ore)`
`void`
IPrimitiveRenderer.`fillOval(OvalRenderEvent ore)`
This method is responsible for filling an oval area on the target rendering device's graphic context.
`void`
DeviceAdapter.`fillPolygon(PolygonRenderEvent pre)`
`void`
IPrimitiveRenderer.`fillPolygon(PolygonRenderEvent pre)`
This method is responsible for filling a polygon on the target rendering device's graphic context.
`void`
DeviceAdapter.`fillRectangle(RectangleRenderEvent rre)`
`void`
IPrimitiveRenderer.`fillRectangle(RectangleRenderEvent rre)`
This method is responsible for filling a rectangle on the target rendering device's graphic context.
`Object`
DisplayAdapter.`loadImage(URL url)`
`Object`
IDisplayServer.`loadImage(URL url)`
Attempts to use device specific libraries to load an image for use with the device renderer
`void`
ITextRenderer.`renderShadowAtLocation(IPrimitiveRenderer idr, int iLabelPosition, Location lo, Label la)`
This method renders the 'shadow' at an offset from the text 'rotated rectangle' subsequently rendered.
`void`
TextRendererAdapter.`renderShadowAtLocation(IPrimitiveRenderer idr, int labelPosition, Location lo, Label la)`
`void`
ITextRenderer.`renderTextAtLocation(IPrimitiveRenderer ipr, int iLabelPosition, Location lo, Label la)`
`void`
TextRendererAdapter.`renderTextAtLocation(IPrimitiveRenderer ipr, int labelPosition, Location lo, Label la)`
`void`
ITextRenderer.`renderTextInBlock(IDeviceRenderer idr, Bounds boBlock, TextAlignment taBlock, Label la)`
`void`
TextRendererAdapter.`renderTextInBlock(IDeviceRenderer idr, Bounds boBlock, TextAlignment taBlock, Label la)`

## Uses of ChartException in org.eclipse.birt.chart.event

Methods in org.eclipse.birt.chart.event that throw ChartException
Modifier and Type
Method
Description
`PrimitiveRenderEvent`
ArcRenderEvent.`copy()`
`PrimitiveRenderEvent`
Area3DRenderEvent.`copy()`
`PrimitiveRenderEvent`
AreaRenderEvent.`copy()`
`PrimitiveRenderEvent`
ImageRenderEvent.`copy()`
`PrimitiveRenderEvent`
PrimitiveRenderEvent.`copy()`
`void`
ArcRenderEvent.`draw(IDeviceRenderer idr)`
`void`
AreaRenderEvent.`draw(IDeviceRenderer idr)`
`void`
ImageRenderEvent.`draw(IDeviceRenderer idr)`
`final void`
LineRenderEvent.`draw(IDeviceRenderer idr)`
`final void`
OvalRenderEvent.`draw(IDeviceRenderer idr)`
`final void`
PolygonRenderEvent.`draw(IDeviceRenderer idr)`
`void`
PrimitiveRenderEvent.`draw(IDeviceRenderer idr)`
Causes this instruction to 'draw' itself on the device renderer
`void`
RectangleRenderEvent.`draw(IDeviceRenderer idr)`
`final void`
TextRenderEvent.`draw(IDeviceRenderer idr)`
`void`
ArcRenderEvent.`fill(IDeviceRenderer idr)`
`void`
AreaRenderEvent.`fill(IDeviceRenderer idr)`
`void`
ImageRenderEvent.`fill(IDeviceRenderer idr)`
`void`
LineRenderEvent.`fill(IDeviceRenderer idr)`
`final void`
OvalRenderEvent.`fill(IDeviceRenderer idr)`
`final void`
PolygonRenderEvent.`fill(IDeviceRenderer idr)`
`void`
PrimitiveRenderEvent.`fill(IDeviceRenderer idr)`
Causes this instruction to 'fill' itself on the device renderer
`void`
RectangleRenderEvent.`fill(IDeviceRenderer idr)`
`void`
TextRenderEvent.`fill(IDeviceRenderer idr)`
`Bounds`
PolygonRenderEvent.`getBounds()`
`Bounds`
PrimitiveRenderEvent.`getBounds()`
Returns the mimimum bounds required to contain the rendering area for current event.
`void`
Polygon3DRenderEvent.`setPoints3D(Location3D[] loa)`
Note that setPoints3D must be called with the points in the right order: that is needed for the right orientation of the polygon.
`void`
Polygon3DRenderEvent.`setPoints3D(Location3D[] loa, boolean inverted)`
Note that setPoints3D must be called with the points in the right order: that is needed for the right orientation of the polygon.

## Uses of ChartException in org.eclipse.birt.chart.factory

Methods in org.eclipse.birt.chart.factory that throw ChartException
Modifier and Type
Method
Description
`void`
Generator.`bindData(ResultSet resultSet, Chart chart, RunTimeContext rtc)`
Binds a sql Resuset to a chart model.
`void`
Generator.`bindData(IDataRowExpressionEvaluator expressionEvaluator, IActionEvaluator iae, Chart chart, RunTimeContext rtc)`
Binds data to the chart model using a row expression evaluator.
`void`
Generator.`bindData(IDataRowExpressionEvaluator expressionEvaluator, Chart chart, RunTimeContext rtc)`
Binds data to the chart model using a row expression evaluator.
`void`
IGenerator.`bindData(ResultSet resultSet, Chart chart, RunTimeContext rtc)`
Binds a sql Resuset to a chart model.
`void`
IGenerator.`bindData(IDataRowExpressionEvaluator expressionEvaluator, IActionEvaluator iae, Chart chart, RunTimeContext rtc)`
Binds data to the chart model using a row expression evaluator.
`void`
IGenerator.`bindData(IDataRowExpressionEvaluator expressionEvaluator, Chart chart, RunTimeContext rtc)`
Binds data to the chart model using a row expression evaluator.
`GeneratedChartState`
Generator.`build(IDisplayServer ids, Chart cmRunTime, Bounds bo, RunTimeContext rtc)`
Builds and computes preferred sizes of various chart components offscreen using the provided display server.
`GeneratedChartState`
Generator.`build(IDisplayServer ids, Chart cmRunTime, Bounds bo, IExternalContext externalContext, RunTimeContext rtc)`
Builds and computes preferred sizes of various chart components offscreen using the provided display server.
`GeneratedChartState`
Generator.`build(IDisplayServer ids, Chart cmRunTime, Bounds bo, IExternalContext externalContext, RunTimeContext rtc, org.eclipse.birt.chart.style.IStyleProcessor externalProcessor)`
Builds and computes preferred sizes of various chart components offscreen using the provided display server.
`GeneratedChartState`
Generator.`build(IDisplayServer ids, Chart cmRunTime, org.mozilla.javascript.Scriptable scParent, Bounds bo, RunTimeContext rtc)`
Deprecated.
use `Generator.build(IDisplayServer, Chart, Bounds, IExternalContext, RunTimeContext)` instead.
`GeneratedChartState`
Generator.`build(IDisplayServer ids, Chart cmRunTime, org.mozilla.javascript.Scriptable scParent, Bounds bo, RunTimeContext rtc, org.eclipse.birt.chart.style.IStyleProcessor externalProcessor)`
Deprecated.
use `Generator.build(IDisplayServer, Chart, Bounds, IExternalContext, RunTimeContext, IStyleProcessor)` instead.
`GeneratedChartState`
IGenerator.`build(IDisplayServer ids, Chart cmDesignTime, Bounds bo, IExternalContext externalContext, RunTimeContext rtc)`
Builds and computes preferred sizes of various chart components offscreen using the provided display server.
`GeneratedChartState`
IGenerator.`build(IDisplayServer ids, Chart cmDesignTime, Bounds bo, IExternalContext externalContext, RunTimeContext rtc, org.eclipse.birt.chart.style.IStyleProcessor externalProcessor)`
Builds and computes preferred sizes of various chart components offscreen using the provided display server.
`List<String>`
Generator.`getRowExpressions(Chart cm)`
This retrieves all the data row related expressions stored in the chart model.
`List<String>`
Generator.`getRowExpressions(Chart cm, IActionEvaluator iae)`
This retrieves all the row expressions stored in the chart model.
`List<String>`
Generator.`getRowExpressions(Chart cm, IActionEvaluator iae, boolean needChangeValueExpr)`
This retrieves all the row expressions stored in the chart model.
`RunTimeContext`
Generator.`prepare(Chart model, IExternalContext externalContext, IScriptClassLoader iscl, com.ibm.icu.util.ULocale locale)`
Since v2, it must be called before build( ), and should only be called once per design model.
`RunTimeContext`
Generator.`prepare(Chart model, IExternalContext externalContext, IScriptClassLoader iscl, Locale locale)`
Deprecated.
use `Generator.prepare(Chart, IExternalContext, IScriptClassLoader, ULocale)` instead.
`RunTimeContext`
IGenerator.`prepare(Chart model, IExternalContext externalContext, IScriptClassLoader iscl, com.ibm.icu.util.ULocale locale)`
Since v2, it must be called before build( ), and should only be called once per design model.
`void`
Generator.`refresh(GeneratedChartState gcs)`
Performs a minimal rebuild of the chart if non-sizing attributes are altered or the dataset for any series has changed.
`void`
IGenerator.`refresh(GeneratedChartState gcs)`
Performs a minimal rebuild of the chart if non-sizing attributes are altered or the dataset for any series has changed.
`void`
Generator.`render(IDeviceRenderer idr, GeneratedChartState gcs)`
Draws a previously built chart using the specified device renderer into a target output device.
`void`
IGenerator.`render(IDeviceRenderer idr, GeneratedChartState gcs)`
Draws a previously built chart using the specified device renderer into a target output device.

## Uses of ChartException in org.eclipse.birt.chart.model.layout

Methods in org.eclipse.birt.chart.model.layout that throw ChartException
Modifier and Type
Method
Description
`Size`
Block.`getPreferredSize(IDisplayServer xs, Chart cm, RunTimeContext rtc)`
Computes and returns the size of the title block based on the text content and its attributes

## Uses of ChartException in org.eclipse.birt.chart.model.layout.impl

Methods in org.eclipse.birt.chart.model.layout.impl that throw ChartException
Modifier and Type
Method
Description
`Size`
BlockImpl.`getPreferredSize(IDisplayServer xs, Chart cm, RunTimeContext rtc)`
`final Size`
LabelBlockImpl.`getPreferredSize(IDisplayServer xs, Chart cm, RunTimeContext rtc)`
`final Size`
LegendImpl.`getPreferredSize(IDisplayServer xs, Chart cm, RunTimeContext rtc)`

## Uses of ChartException in org.eclipse.birt.chart.render

Methods in org.eclipse.birt.chart.render that throw ChartException
Modifier and Type
Method
Description
`void`
EmptyWithAxes.`compute(Bounds bo, Plot p, ISeriesRenderingHints isrh)`
`void`
EmptyWithoutAxes.`compute(Bounds bo, Plot p, ISeriesRenderingHints isrh)`
`void`
ISeriesRenderer.`compute(Bounds bo, Plot p, ISeriesRenderingHints isrh)`
Sends out a first pass notification to the series renderer implementation to perform any necessary pre-computations prior to a second pass rendering.
`double[]`
IAxesDecorator.`computeDecorationThickness(IDisplayServer xs, OneAxis ax)`
Returns the thickness for use with decoration.
`void`
IAxesDecorator.`decorateAxes(IPrimitiveRenderer ipr, ISeriesRenderingHints isrh, OneAxis ax)`
Perform decoration.
`void`
CurveRenderer.`draw(IPrimitiveRenderer ipr)`
`void`
MarkerRenderer.`draw(IPrimitiveRenderer ipr)`
Render the marker with given renderer.
`void`
DeferredCache.`flush()`
Flush the cache, perform all pending rendering tasks.
`void`
DeferredCacheManager.`flushAll()`
Flush all `DeferredCache` in the manager.
`void`
DeferredCache.`flushOptions(int options)`
Flush the cache of specified types.
`void`
DeferredCacheManager.`flushOptions(int options)`
Flush specified blocks.
`static final BaseRenderer[]`
BaseRenderer.`instances(Chart cm, RunTimeContext rtc, PlotComputation oComputations)`
This method returns appropriate renders for the given chart model.
`final void`
AxesRenderer.`render(Map<Series,LegendItemRenderingHints> htRenderers, Bounds bo)`
Overridden behavior for graphic element series that are plotted along axes
`void`
BaseRenderer.`render(Map<Series,LegendItemRenderingHints> htRenderers, Bounds bo)`
Renders all blocks using the appropriate block z-order and the containment hierarchy.
`final void`
AxesRenderer.`renderEachAxis(IPrimitiveRenderer ipr, Plot pl, OneAxis ax, int iWhatToDraw)`
Renders the axis.
`void`
AxesRenderHelper.`renderEachAxis()`
Renders the axis.
`final void`
BaseRenderer.`renderLabel(Object oSource, int iTextRenderType, Label laDataPoint, Position lp, Location lo, Bounds bo)`
This convenience method renders the data point label along with the shadow If there's a need to render the data point label and the shadow separately, each call should be made separately by calling into the primitive rendering interface directly.
`final void`
BaseRenderer.`renderLabel(Object oSource, int iTextRenderType, Label laDataPoint, Position lp, Location lo, Bounds bo, DeferredCache _dc)`
Renderer label with specified `DeferredCache`.
`void`
BaseRenderer.`renderLabel(IPrimitiveRenderer ipr, Block b, Object oSource)`
Renders label of a LabelBlock.
`void`
BaseRenderer.`renderLegend(IPrimitiveRenderer ipr, Legend lg, Map<Series,LegendItemRenderingHints> htRenderers)`
Renders the legend block based on the legend rendering rules.
`void`
EmptyWithAxes.`renderLegendGraphic(IPrimitiveRenderer ipr, Legend lg, Fill fPaletteEntry, Bounds bo)`
`void`
EmptyWithoutAxes.`renderLegendGraphic(IPrimitiveRenderer ipr, Legend lg, Fill fPaletteEntry, Bounds bo)`
`void`
ISeriesRenderer.`renderLegendGraphic(IPrimitiveRenderer ipr, Legend lg, Fill fPaletteEntry, Bounds bo)`
Notifies the series renderer to render a legend graphic element in the legend content that represents the series associated with the renderer.
`void`
AxesRenderer.`renderPlot(IPrimitiveRenderer ipr, Plot p)`
This method renders the bar graphic elements superimposed over the plot background and any previously rendered series' graphic elements.
`void`
BaseRenderer.`renderPlot(IPrimitiveRenderer ipr, Plot p)`
Renders the Plot
`void`
EmptyWithAxes.`renderSeries(IPrimitiveRenderer ipr, Plot p, ISeriesRenderingHints isrh)`
`void`
EmptyWithoutAxes.`renderSeries(IPrimitiveRenderer ipr, Plot p, ISeriesRenderingHints isrh)`
`void`
ISeriesRenderer.`renderSeries(IPrimitiveRenderer ipr, Plot p, ISeriesRenderingHints isrh)`
Notifies the series renderer to render itself in the provided plot area.
`void`
BaseRenderer.`renderTitle(IPrimitiveRenderer ipr, TitleBlock b)`
Renders the Chart Title Block

## Uses of ChartException in org.eclipse.birt.chart.script

Methods in org.eclipse.birt.chart.script that throw ChartException
Modifier and Type
Method
Description
`static final Object`
AbstractScriptHandler.`callFunction(AbstractScriptHandler<?> sh, String sFunction, Object oArg1)`
Call JavaScript functions with one argument.
`static final Object`
AbstractScriptHandler.`callFunction(AbstractScriptHandler<?> sh, String sFunction, Object oArg1, Object oArg2)`
Call JavaScript functions with two arguments.
`static final Object`
AbstractScriptHandler.`callFunction(AbstractScriptHandler<?> sh, String sFunction, Object oArg1, Object oArg2, Object oArg3)`
Call JavaScript functions with three arguments.
`final Object`
AbstractScriptHandler.`evaluate(String sScriptContent)`
Evaluates the given expression and returns the value.
`final void`
AbstractScriptHandler.`init(org.mozilla.javascript.Scriptable scPrototype)`
Initialize the JavaScript context using given parent scope.
`final void`
AbstractScriptHandler.`register(String sScriptName, String sScriptContent)`
Register the script content for current script handler.
`final void`
AbstractScriptHandler.`registerExistingScriptableObject(org.mozilla.javascript.ScriptableObject so, String sVarName)`
Registers an existing scriptable object into current JavaScript context.
`final void`
AbstractScriptHandler.`registerNewScriptableObject(Class<? extends org.mozilla.javascript.Scriptable> clsScriptable, String sVarName)`
Registers a new scriptable object into current JavaScript context.
`final void`
AbstractScriptHandler.`registerVariable(String sVarName, Object var)`
Registers a new variable to current JavaScript context.
`final void`
AbstractScriptHandler.`unregisterVariable(String sVarName)`
Unregister a variable from current JavaScript context.

## Uses of ChartException in org.eclipse.birt.chart.util

Methods in org.eclipse.birt.chart.util that throw ChartException
Modifier and Type
Method
Description
`static final int`
CDateTime.`computeUnit(CDateTime[] cdta)`
Walks through all values in a datetime array and computes the least significant unit for which a difference was noted.