Skip to main content



      Home
Home » Archived » BIRT » Display asterisk for null values in Bar chart
Display asterisk for null values in Bar chart [message #889825] Tue, 19 June 2012 15:37 Go to next message
Eclipse UserFriend
I am using 2.6.2 and our requirement is to display asterisk in place of missing bars. I tried replacing null values with asterisk in afterDatasetFilled function, but chart does not display non-numerical characters.

Replacing the null value with zero and suffixing it with asterisk in the chart option produced a bar with height 1, which was not acceptable.

Attached is a screenshot of how the chart needs to look based on our requirement.

Thanks in advance
Re: Display asterisk for null values in Bar chart [message #890304 is a reply to message #889825] Thu, 21 June 2012 16:22 Go to previous messageGo to next message
Eclipse UserFriend
Any ideas?
Re: Display asterisk for null values in Bar chart [message #890571 is a reply to message #890304] Fri, 22 June 2012 11:28 Go to previous messageGo to next message
Eclipse UserFriend
If you can replace the null value with a value that will not show up in
your dataset then you could use a bit of script to hide the bar and
replace the label with an *. Take a look at the attached example.

If you want you could also use this feature:
http://www.eclipse.org/birt/phoenix/project/notable2.6.php#jump_8
set your null values to 0 and then use the same script in the above
example to hide the bar and change the label.

Jason


On 6/21/2012 4:22 PM, S K wrote:
> Any ideas?
Re: Display asterisk for null values in Bar chart [message #890719 is a reply to message #890571] Fri, 22 June 2012 18:47 Go to previous message
Eclipse UserFriend
Thanks. This would work for us.
Previous Topic:Suppress group headers based on condition
Next Topic:How to hide the first line in cross table
Goto Forum:
  


Current Time: Mon Jul 07 09:26:40 EDT 2025

Powered by FUDForum. Page generated in 0.07156 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top