public class ChartEngine
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
IDataSetProcessor |
getDataSetProcessor(java.lang.Class cSeries)
Retrieves the first instance of a data set processor registered as an
extension for a given series type.
|
IGenerator |
getGenerator()
Returns the IChartGenerator interface used to run and render charts
|
IDeviceRenderer |
getRenderer(java.lang.String deviceID)
Loads a device renderer, required by IChartGenerator to render charts
|
Serializer |
getSerializer()
Deprecated.
The Serializer instance is decoupled from the ChartEngine. To
obtain a instance of SerializerImpl use:
SerializerImpl.instance( ).
|
static ChartEngine |
instance()
Returns a singleton instance of the Chart Engine
|
static ChartEngine |
instance(org.eclipse.birt.core.framework.PlatformConfig config)
Retrieves a singleton instance of the Chart Engine
Initializes the OSGi Platform framework to load chart extension bundles
unless the STANDALONE flag was set in PlatformConfig property.
|
public static ChartEngine instance(org.eclipse.birt.core.framework.PlatformConfig config)
config
- The OSGi platform configuration. Can be null.public static ChartEngine instance()
public Serializer getSerializer()
public IGenerator getGenerator()
public IDeviceRenderer getRenderer(java.lang.String deviceID) throws ChartException
deviceID
- The type of output. Examples are dv.SWT, dv.PNG, dv.JPG,
dv.PDF, dv.SVGChartException
- If the device renderer does not exist or there is problem
loading it.public final IDataSetProcessor getDataSetProcessor(java.lang.Class cSeries) throws ChartException
cSeries
- The Class instance associated with the given series typeChartException
Copyright © 2005-2008 Actuate Corp. All rights reserved.