BIRT Exchange Forum: How to set the Y series value as title to bars ? - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

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

How to set the Y series value as title to bars ? Rate Topic: -----

#1 User is offline   jkamaraj Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 22-March 11


Posted 18 May 2012 - 08:00 PM

I need to design a chart report for our HR that will display two Y Value Series for every month of the quarter. The two Y Value series are "INTERMITTTENT" and "CONTINUOUS" leaves. Each bar is also stacked by grouping based on the reason of the leave.

I need to display INT and CON above the bars as in the attached picture. If I enable the value data I get the number of leaves dispalyd in the stacked bars and if I select value series name then I get actual reason that is coming in the legend. I do not want either. I need to display the titel of the Y value seris which is INT and CON. How can I do that. Thank you for any inputs.

Attached File  Updated.jpg (34.72K)
Number of downloads: 1
0

#2 User is offline   mwilliams Icon

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


Posted 22 May 2012 - 11:07 AM

The difficult part is going to be figuring out which label is the top label for each bar, so you don't hide it. If I'll talk to a colleague of mine to see if he knows a way. I'll report back if I find something. Hopefully someone else has done this already and will have an answer for you. :)
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: 12971
  • Joined: 16-May 08


Posted 23 May 2012 - 07:37 AM

Take a look at this example. It was made in 3.7.2.

Attached File(s)


Regards,

Michael

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

#4 User is offline   jkamaraj Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 22-March 11


Posted 23 May 2012 - 02:35 PM

View Postmwilliams, on 23 May 2012 - 08:37 AM, said:

Take a look at this example. It was made in 3.7.2.

Thanks Williams. I will take a look at the design. In the meantime we resolved the issue by adding the title in the X-axis test as in the attached figure. Not as neat as putting on the top of the bar but the users are ok with this.

Regards,
Kamaraj

Attached File(s)

  • Attached File  Chart.jpg (35.85K)
    Number of downloads: 0

0

#5 User is offline   jkamaraj Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 10
  • Joined: 22-March 11


Posted 23 May 2012 - 03:01 PM

used the following code for the Category X-Series in Select Data tab of the Edit Chart window
if (BirtStr.left(row["MONTH_YEAR"] ,2) == "01")
"CON INT \n 01/2012";
else if (BirtStr.left(row["MONTH_YEAR"] ,2) == "02")
"CON INT \n 02/2012";
else if (BirtStr.left(row["MONTH_YEAR"] ,2) == "03")
"CON INT \n 03/2012";
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