Examples on creating charts with Birt -- HTML generation is OK, still some work to do on PDF

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erwan de Ferrieres
2010-08-25 07:53:56 +00:00
parent d166ab0737
commit 99eace2c07
6 changed files with 2243 additions and 0 deletions
@@ -87,4 +87,27 @@ under the License.
</widgets>
</section>
</screen>
<screen name="chartReport">
<section>
<actions>
<set field="tabButtonItem" value="chartReport"/>
</actions>
<widgets>
<decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<screenlet title="Using report tag">
<platform-specific>
<html><html-template location="component://example/webapp/birt/birt/chartReport.ftl"/></html>
</platform-specific>
</screenlet>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>
@@ -85,6 +85,9 @@ under the License.
<menu-item name="Report" title="${uiLabelMap.ExampleBirtReport}"><link target="Report"/></menu-item>
<menu-item name="Export" title="${uiLabelMap.ExampleBirtViewHandler}"><link target="ViewHandler"/></menu-item>
<menu-item name="Mail" title="${uiLabelMap.ExampleBirtMail}"><link target="Mail"/></menu-item>
<!-- Reports using charts-->
<menu-item name="chartReport" title="${uiLabelMap.ExampleBirtChartReport}"><link target="chartReport"/></menu-item>
<menu-item name="chartExport" title="${uiLabelMap.ExampleBirtChartViewHandler} (not working)"><link target="chartViewHandler"/></menu-item>
</menu>
<menu name="ExampleCharts" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">