This report design shows how to switch a pie chart to a bar chart when a series value is negative
When using a pie chart, if the value of a series is negative, BIRT will still display the slice in the part as if it were a positive value. To overcome this problem, one solution is to switch automatically to a bar chart when one of the values is negative.<br />
<br />
The attached example uses the visibility attribute of a pie and a bar chart based on finding a negative value. The aggregations are done in a table. The two charts are put in the table footer and reuse the data in the container.
<br />
The attached example uses the visibility attribute of a pie and a bar chart based on finding a negative value. The aggregations are done in a table. The two charts are put in the table footer and reuse the data in the container.
Warning
No formatter is installed for the format ipb
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
- 119 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management