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)
Customising pie chart
mrbrown
Hi,
I'm having some troubles with building a chart. I would like to hide slices which percentage are inferior to 0,1%. So I created a pie chart with the BIRT designer and in the tab "Format Chart">Series>"Categories Series", I set the minimum slice percentage to 0,1%. But It's not working, I tried to set the minimum value to 1, and it was the same result.
I've attached an image of my pie chart, you can see that the 0% slice is useless.
So how can I do to remove it (maybe by scripting, if it's not possible with the wizard)?
Thanks for help.
Regards.
--
MaT.
Find more posts tagged with
Comments
cypherdj
Did you enter "0,1" or "0.1" in the minimum slice percentage field?
mwilliams
What version of BIRT are you using? If it's not the ',' vs '.' thing that was suggested, I can do a little testing to help you out.
mrbrown
Hi!
I'm using BIRT 2.3.
I've tried "0,1" and "0.1". But "0.1" is not accepted by BIRT, when I apply the modification and open again the chart wizard, "0.1" is replaced by "0".
I also tried percentage = '1' instead of '0,1' and it's not working either.
Thanks for helping!
--
MaT.
mwilliams
MaT,
I took a look at what you're talking about... What that minimum slice thing does is takes all the slices that are less than whatever percentage/value you put in and adds them into 1 slice called whatever you put into the slice label box. So, if you only have a bunch of 0% ones they will all add up to 0% and be displayed still.
The way you'll want to get rid of these will probably be to go back to the select data tab of the chart wizard and just use a filter to include the values that are greater than 0 or whatever value that removes the data you don't want displayed.
Hope this helps.
mrbrown
you're right, I"ll use filters on my dataset.
Thanks.