BIRT Exchange Forum: Does anyone know how to put the total on top of each stacked bar? - BIRT Exchange Forum

Jump to content


 

BIRT Poll: To best make a table fill a pdf page before breaking (PL=page layout, PBI=page break interval) set:

PL: auto, PBI: 0PL: fixed, PBI: 0PL: auto, PBI: 1000000PL: fixed, PBI: 1000000
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Does anyone know how to put the total on top of each stacked bar? Rate Topic: -----

#1 User is offline   rohitmali Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: 06-December 11


Posted 26 March 2012 - 05:05 AM

Does anyone know how to put the total on top of each bar of chart?
0

#2 User is offline   mwilliams Icon

  • BIRT Guru
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 12937
  • Joined: 16-May 08


Posted 27 March 2012 - 08:34 PM

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.

Attached File(s)


Regards,

Michael

Twitter
Facebook
Blog
Yahoo: mwilliams_actuate@yahoo.com
Google: mwilliams.actuate@gmail.com
0

#3 User is offline   mwilliams Icon

  • BIRT Guru
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 12937
  • Joined: 16-May 08


Posted 27 March 2012 - 08:38 PM

If you just use GlobalVariables rather than PersistentGlobalVariables, it works correctly with frameset.

Attached File(s)


Regards,

Michael

Twitter
Facebook
Blog
Yahoo: mwilliams_actuate@yahoo.com
Google: mwilliams.actuate@gmail.com
0

#4 User is offline   rohitmali Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: 06-December 11


Posted 27 March 2012 - 09:44 PM

View Postmwilliams, on 27 March 2012 - 08:38 PM, said:

If you just use GlobalVariables rather than PersistentGlobalVariables, it works correctly with frameset.



It works fine.

Thanks.
0

#5 User is offline   rohitmali Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: 06-December 11


Posted 27 March 2012 - 09:47 PM

View Postmwilliams, on 27 March 2012 - 08:38 PM, said:

If you just use GlobalVariables rather than PersistentGlobalVariables, it works correctly with frameset.



Thanks
0

#6 User is offline   mwilliams Icon

  • BIRT Guru
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 12937
  • Joined: 16-May 08


Posted 02 April 2012 - 11:29 AM

Not a problem.
Regards,

Michael

Twitter
Facebook
Blog
Yahoo: mwilliams_actuate@yahoo.com
Google: mwilliams.actuate@gmail.com
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users