|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.api.ChartEngine
public class ChartEngine
The Entry Point class to access the Eclipse Chart Engine (ECE) API
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.SVG
ChartException
- 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 type
ChartException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |