Go Back   Forum - BIRT Exchange > Designing BIRT Reports Forums > Designing BIRT Reports
FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-21-2008, 10:45 AM
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default explode pie slice when??

Hi..

I didn't find much documentation/examples, of exploding pie slices.

My use case is to avoid the pie slices which are below 1%.

I tried to use the "Explode slice when" , but not able to figure out,what expression should I write. I tried by giving "valuedata>1". but it didn't work out.

any suggestions?

Thank you
Reply With Quote
  #2 (permalink)  
Old 11-21-2008, 01:00 PM
Senior Member
 
Join Date: May 2008
Posts: 1,058
Send a message via Yahoo to mwilliams
Default

Hi Sandy,

So, you're wanting to explode the slice when it's greater than 1%? Is your valueData in percent form?
__________________
Regards,

Michael
Reply With Quote
  #3 (permalink)  
Old 11-21-2008, 01:39 PM
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default

Actually, my valueData is an Integer, but the label shows a percentage form.Becoz in the values series, I modified the label value to display "Percentile Value Data".
Reply With Quote
  #4 (permalink)  
Old 11-21-2008, 02:00 PM
Senior Member
 
Join Date: May 2008
Posts: 1,058
Send a message via Yahoo to mwilliams
Default

Sandy,

I have not found a way to use the percentage in the expression nor how to figure out the percentage on my own in the expression. Since you're just displaying the percentage anyways and not the actual integer value, as a workaround, you could create a new column in your dataSet that figures the percent of total and just graph that in a pie chart. It would look just the same as your chart made from the integer values, but you'd be able to access the percentages then for sure. It won't work for you if you're showing the actual value as a tooltip or something. I'll let you know if I figure out a way to figure the percent another way.
__________________
Regards,

Michael
Reply With Quote
  #5 (permalink)  
Old 11-24-2008, 01:14 PM
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default

Hi Micheal,

I already have a column that figures the percent of total in the report item( table), but not in the dataset. I tried to use that report item, instead of dataset. When I tried that, I am not able to display the piechart,instead this was shown in my eclipse console:

org.eclipse.birt.report.engine.presentation.LocalizedContentVisitor processExtendedContent
WARNING: unsupported image type:[Ljava.lang.Object;@b83c00
Reply With Quote
  #6 (permalink)  
Old 11-24-2008, 01:28 PM
Senior Member
 
Join Date: May 2008
Posts: 1,058
Send a message via Yahoo to mwilliams
Default

Sandy,

I don't believe you can use aggregations from a report item, in your chart. You would need to use a data element in your report or figure the percent in the dataSet.
__________________
Regards,

Michael
Reply With Quote
Reply


Thread Tools
Display Modes




All times are GMT -7. The time now is 07:37 PM.


Content Relevant URLs by vBSEO 3.1.0