- Summary: Chart scripting support in v2
-Description:
Chart scripting is supported both in Java and _javascript_ in v2.0.
1. Add IChartScriptContext interface & corresponding implementation to
allow the script to get access to common chart variables and communication with
external context.
2. For _javascript_ API, rewrite the script functions.
3. For Java API, add IChartItemScriptHandler interface and an adapter
implementation to make the interface easier for the user.
4. For Chart Engine Preparation API, add Generator.prepare()
- Regression (Yes / No): No
- Tests: Yes
- Test Automated: No
- Notes to Developers: N/A
- Notes to QA: The feature only could be tested via API, not supported in UI.
- Notes to Documentation: Chart Scripting Functional Specification
- Notes to Configuration Management: N/A
- Notes to Support: Please check out the Chart Scripting Functional Specification
- Notes to Product Marketing: N/A
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Bar.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Line.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/PieRenderer.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Scatter.java
/org.eclipse.birt.chart.engine.extension/src/org/eclipse/birt/chart/render/Stock.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/device/IStructureDefinitionListener.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/RunTimeContext.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/factory/DataProcessor.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/script/ChartScriptContext.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/log/impl/DefaultLoggerImpl.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/ScriptHandler.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/AxesRenderer.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ChartItemScriptHandlerAdapter.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/IChartItemScriptHandler.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/IChartScriptContext.java