Standalone Chart Engine and Builder Examples
The Chart Builder and Chart Engine can be used outside reports to create and render and charts. There are three applications in the attached examples:<br />
<br />
- Render a Chart in a web application. It also demonstrates the usage of style you can apply to the chart, and gives you an idea how to easily integrates charts into your web application.<br />
<br />
- Render a Chart natively in Swing or SWT. It also shows some custom interactivity examples you can achieve in Swing or SWT: how to explode a pie chart's slice by clicking on it or how to drill-down data in a bar chart.<br />
<br />
- Use the Chart Builder in standalone mode. This demonstrates the use of the Chart Builder to build a chart design, that you can then load with the Swing/SWT viewer example above. It is generally a good idea to proceed this way instead of building the whole chart from scratch with the API. Then you can load the model and tweak a few properties at runtime, saving a lot of time of trial and error, since the chart builder creates a valid model, with a live preview (you can even hook your own data for the live preview).<br />
<br />
Those examples have been built and tested with BIRT 2.2M6.
<br />
- Render a Chart in a web application. It also demonstrates the usage of style you can apply to the chart, and gives you an idea how to easily integrates charts into your web application.<br />
<br />
- Render a Chart natively in Swing or SWT. It also shows some custom interactivity examples you can achieve in Swing or SWT: how to explode a pie chart's slice by clicking on it or how to drill-down data in a bar chart.<br />
<br />
- Use the Chart Builder in standalone mode. This demonstrates the use of the Chart Builder to build a chart design, that you can then load with the Swing/SWT viewer example above. It is generally a good idea to proceed this way instead of building the whole chart from scratch with the API. Then you can load the model and tweak a few properties at runtime, saving a lot of time of trial and error, since the chart builder creates a valid model, with a live preview (you can even hook your own data for the live preview).<br />
<br />
Those examples have been built and tested with BIRT 2.2M6.
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management