On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.
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.
Categories
- All Categories
- Cloud Editions
- 1 Thrust Services
- cat as link
- 1 Core SaaS Application development
- 10 Developer Announcements
- 15 General Questions
- 33.4K TeamSite
- 141 Application Governance & Archiving
- 15.2K Designing Analytics Reports
- 1K DevShare Downloads
- Core SaaS Applications
- nested parent
- 4.3K Developing Analytics Applications
- 8.8K Documentum Developer Forum
- Media Management developer
- 159 Transactional Content Processing (TCP)
- 1.7K Web Experience Management
- 55 Tempo Social
- 1 XM Fax