Package org.eclipse.birt.chart.script
Class ChartScriptContext
java.lang.Object
org.eclipse.birt.chart.script.AbstractScriptContext
org.eclipse.birt.chart.script.ChartScriptContext
- All Implemented Interfaces:
Serializable,IChartScriptContext,IScriptContext
An internal implementation for IChartScriptContext
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidBinding the script context with the chart instanceMethods inherited from class org.eclipse.birt.chart.script.AbstractScriptContext
getExternalContext, getLocale, getLogger, getProperty, getULocale, setExternalContext, setLogger, setProperty, setULocaleMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.birt.chart.script.IScriptContext
getExternalContext, getLocale, getLogger, getProperty, getULocale, setProperty
-
Constructor Details
-
ChartScriptContext
public ChartScriptContext()The constructor.
-
-
Method Details
-
getChartInstance
- Specified by:
getChartInstancein interfaceIChartScriptContext- Returns:
- Returns a runtime instance of the chart,or null if not available yet.
-
setChartInstance
Binding the script context with the chart instance- Parameters:
cm- Chart
-