Assign color to stacked bar series
Comments
-
Hi Terry,<br />
<br />
Since you want to change the colors based on values, then you should look at scripting for the chart.<br />
<br />
First, look at this example where the bar colors are changed based on values:<br />
<a class='bbc_url' href='http://www.birt-exchange.com/modules/wfdownloads/singlefile.php?cid=2&lid=276'>http://www.birt-exchange.com/modules/wfdownloads/singlefile.php?cid=2&lid=276</a><br />
This example uses the chart inside a BIRT report design but makes it easy to test this way.<br />
<br />
Once you have a handle on how that works with the BIRT Designer, then you can use the setScript method on your chart with a similar script to have it work only with the Chart Engine API.Warning No formatter is installed for the format ipb0 -
Thanks Virgil, I have gotten it working with adding a script. I also have another question. I am using SWT and I have a table with a list of items. These items are presented in two pie charts and a bar chart. Is there a way where I can highlight the part of each chart that contains the item that is selected on the table?
Thanks!
Terry0
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