BIRT Exchange Forum: Y axis in CHart - 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

Y axis in CHart Rate Topic: -----

#1 User is offline   sirim Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 41
  • Joined: 29-February 12


Posted 18 April 2012 - 09:15 AM

Hello,

The Y axis and values of the bar in the chart do not match. The chart shows 3 bars and the values are completly different.

The Y axis Values are 0,2,4,6.... Now the value of the bar may exceed 20 but still the largest value on the y axis is 12. Can it be changed so that the user can understand the value of the bar just by looking at the y axis(I mean can the y axis value match the bar value.)

Regards
0

#2 User is offline   mwilliams Icon

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


Posted 18 April 2012 - 01:34 PM

It should automatically expand to fit the axis values, unless you've set a min and/or max value for the axis. In this case, the bars that didn't fit in the scale wouldn't be shown. Can you reproduce your issue with the sample database? Or at least attach your report?
Regards,

Michael

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

#3 User is offline   sirim Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 41
  • Joined: 29-February 12


Posted 19 April 2012 - 04:23 AM

I have attached my report.

I have another question regarding this report...I am trying to pass the project parameter to the sub report, however it is a string value and need to pass multi select values. WHenever I try to dot this throught the drill down it does not work and gives an error. It seems like it is an issue with BIRT, could you please suggest me a solution for it.

Thank you

Attached File(s)


0

#4 User is offline   mwilliams Icon

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


Posted 20 April 2012 - 08:02 AM

Can you take a screenshot of the output? I don't see a reason why your chart would not scale correctly. It would be best if you could create a sample report that also scaled incorrectly.

For the parameter, if you select to allow multiple values, the parameter object is an array of strings. If you need to pass it through to another report, you should run a join(",") on the parameter value to make it a comma separated string. Then, it should pass just fine.
Regards,

Michael

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

#5 User is offline   sirim Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 41
  • Joined: 29-February 12


Posted 20 April 2012 - 10:28 AM

Thank you Michael!!

I am now able to figure out both the issue. The join("''") worked for the drill down.
For the Y axis in charts I was assigning a value to the Standard --- Suffix. That was the reason it was behaving weird.

I have a different question for you. When getting drill down from the charts is there a way to get the details of a single bar instead of all the bars in the chart. For example-- In the same report(attached) I have like 3 bar charts and the interval for x axis is by month.Suppose for some value passed by the parameters the chart gives 4 green bars for four months(Jan, Feb, Mar, Apr). Now if I click on any of the green bars it gives the sub report but with the data for all four months. Is there a way that if I click on the green bar for Jan month the sub report give the details for just Jan Month and similarly the green bar for Feb month gives details for Feb month.

Thank you.
0

#6 User is offline   mwilliams Icon

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


Posted 20 April 2012 - 01:43 PM

Are you adding the interactivity for the "chart area" or for an individual series?
Regards,

Michael

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

#7 User is offline   sirim Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 41
  • Joined: 29-February 12


Posted 21 April 2012 - 05:03 AM

I am adding interactivity for indiviual series. And would different results for each of the bar for same series. The drill down should be taking the month in from the X- ais of the chart.
0

#8 User is offline   mwilliams Icon

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


Posted 23 April 2012 - 08:35 AM

So, what you've done is in the report you attached above? If not, can you attach the report that shows what you've done with this?
Regards,

Michael

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

#9 User is offline   sirim Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 41
  • Joined: 29-February 12


Posted 24 April 2012 - 06:15 AM

I got the solution for my question Michael.

Thank you so much for all your help.

Regards
0

#10 User is offline   mwilliams Icon

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


Posted 24 April 2012 - 12:41 PM

You're very welcome! Let us know whenever you have questions! :)
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