Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Does anyone know how to put the total on top of each stacked bar?
rohitmali
Does anyone know how to put the total on top of each bar of chart?
Find more posts tagged with
Comments
mwilliams
Take a look at this report. It uses persistentGlobalVariables to store the totals for each category value and then change the label value to show the new value. Series labels are only turned on for the top bar. Hope this helps. This report was designed in BIRT 3.7.2.
Note: There seems to be an issue using this in the web viewer with frameset (the value is doubled), but it works with run. So, there is a little tweaking to do if you're using the viewer frameset.
mwilliams
If you just use GlobalVariables rather than PersistentGlobalVariables, it works correctly with frameset.
rohitmali
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="98301" data-time="1332909511" data-date="27 March 2012 - 09:38 PM"><p>
If you just use GlobalVariables rather than PersistentGlobalVariables, it works correctly with frameset.<br /></p></blockquote>
<br />
<br />
It works fine.<br />
<br />
Thanks.
rohitmali
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="98301" data-time="1332909511" data-date="27 March 2012 - 09:38 PM"><p>
If you just use GlobalVariables rather than PersistentGlobalVariables, it works correctly with frameset.<br /></p></blockquote>
<br />
<br />
Thanks
mwilliams
Not a problem.