Summary: | access to chart scripting methods and related documentation | ||||||
---|---|---|---|---|---|---|---|
Product: | z_Archived | Reporter: | Vladimir <vladperl> | ||||
Component: | BIRT | Assignee: | David Michonneau <dmichonneau> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P1 | Keywords: | plan | ||||
Version: | unspecified | ||||||
Target Milestone: | 2.2.0 RC2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Bug Depends on: | 179300, 183132, 188862 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Vladimir
2006-03-15 16:01:00 EST
I think this is a valid enhancement, this requires support in the designer, so I reassign it to designer team. Regarding the examples,there are already some in the org.eclipse.birt.chart.examples plugin. For the documentation, I believe it's under progress. David, Could you please own this bug? If you need GUI team to add support, please file another item and let this item depends on the created one. The changes planned are as follows: The chart script is the reportitem's onRender script. There is no onCreate/onPrepare for charts. The chart script events are subfunctions of the onRender function. The UI will provide a second button to help users create function bodies for charts (mockup attached) The Palette will for now hide the BIRT functions, not yet supported inside chart scripts. Auto-completion support for chart scripting is under investigation. Created attachment 61975 [details]
mockup
Implementation tasks: Implement the getMethods() function in IReportItem to return function signatures, tooltips and javadoc. Return the chart script on getProperty("onRender") instead of getProperty("script") Implement Palette provider support to hide BIRT functions (possibly show some specific chart ones) deferred to RC0 deferred to RC1 as 148405 was also deferred. fixed. Note that the dropdown does not exactly look like in the UI since SWT doesn't have such control outside menu bars. It is a standard dropdown control, but the behavior is the one intended by the mockup. |