org.eclipse.birt.chart.script
Interface IChartScriptContext
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ChartScriptContext
- public interface IChartScriptContext
- extends java.io.Serializable
This interface allows the script to get access to common chart varialbes and
communicate with an external context. It is available in version 2, both in
Java and JavaScript. It deprecates the JavaScript global functions.
getChartInstance
public Chart getChartInstance()
- Returns:
- Returns a runtime instance of the chart,or null if not available
yet.
getLocale
public java.util.Locale getLocale()
- Deprecated. Use
getULocale()
instead.
- Returns:
- Returns the locale of current context.
getULocale
public com.ibm.icu.util.ULocale getULocale()
- Returns:
- Returns the locale of current context.
- Since:
- 2.1
getExternalContext
public IExternalContext getExternalContext()
- Returns:
- Returns the external context.
getLogger
public ILogger getLogger()
- Returns:
- Returns an ILogger instance, to allow logging from script.
- See Also:
ILogger
Copyright © 2005-2007 Actuate Corp. All rights reserved.