Home
Analytics
How to create Pie chart with percentage instead of values
kevinkris
Hi,
I want to create a pie chart with percentage and values both but at least i want to know how to create a pie chart with percentage.
I want to know both in BIRT Designer and in Programmatic way of doing it.
Thanks for your help.
Find more posts tagged with
Comments
mwilliams
In the chart editor, you can go to the "format data" tab, then to the value series section, click on the "labels" button at the bottom, delete the "value data" option from the values window, then from the dropdown below the window, choose the percentage option and add it. This will show your pie chart labels in percentage.
As for programatically, do you mean building the chart from scratch? Or do you mean changing which option is used in script?
arunkumarb
Thanks Williams.....
Regards,
Arun
giridhar
Hi williams,
can you tell about the optional y series grouping option in birt charts.how to use that
where exactly it is used.can you please explain me with an example.
mwilliams
If you put a value in the optional y-series grouping, it creates a series for each value of that field, for your chart. Say you have x-axis field "customer" and y-axis field of "dollars spent". Then, say you have another field that is year that tells which year they spent this money. If you don't use the optional grouping, you'd have a chart that shows each customer's dollars spent for all years. If you put the year field as the optional grouping, there would be a bar for each year, for each customer. Hope this makes sense.
giridhar
Hi williams,
Thanks for clarifying my doubt.i have another small doubt,please clarify me.
I attached a image of a chart that displays three bars for every month.if number of months are less,
the bars are coming in good size.if the number of months are more,then bars are displaying without space between them.due to this values of bars are displaying with out space.
I increased chart witdth and nothing worked for me.how to increase the spaces between individual bars.
please once look into the image once.
thanks,
giridhar
mwilliams
Take a look at this post from the devShare:
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1219-add-spacing-to-stacked-bar-optional-grouped-chart/
giridhar
Hi Williams,
How can we increase the image size of a chart in the output.
Is there any option to increase the size of a bar chart size in output.iam getting output as normal.
But when i save it somewhere and try to see,it displaying like a small with no clarity.I attached that image.
please once look it.
mwilliams
Take a look at this post in the devShare. It shows how you can resize your chart based on the number of bars:
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1409-resize-bar-chart-based-on-the-number-of-bars/
Eric Davis
<p><em>"In the chart editor, you can go to the format data tab then to the value series selection, click on the labels button at the bottom, delete the value data option from the values window, then from the dropdown below the window, choose the percentage option and add it. This will show you the pie chart labels in percentages"</em></p>
<br><p> </p>
<p> </p>
<p>I just noticed that this works with xls, but not xlsx. Any suggestions?</p>