Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
explode pie slice when??
Sandy
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
Find more posts tagged with
Comments
mwilliams
Hi Sandy,
So, you're wanting to explode the slice when it's greater than 1%? Is your valueData in percent form?
Sandy
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".
mwilliams
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.
Sandy
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
mwilliams
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.