Jump to content

BIRT Developer Center Download


Photo
- - - - -

How to create Pie chart with percentage instead of values


  • Please log in to reply
9 replies to this topic

#1 kevinkris

kevinkris

    Junior Member

  • Members
  • PipPip
  • 19 posts

Posted 10 February 2011 - 12:48 PM

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.

#2 mwilliams

mwilliams

    BIRT Guru

  • Members
  • 14821 posts

Posted 10 February 2011 - 08:18 PM

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?

Regards,

Michael Williams

eSignLive Evangelism & Community Manager | eSignLive by VASCO
 
Find me on:
Twitter
Facebook
Blog

LinkedIn

eSignLive Developer Community
 
Email me:
Google: mwilliams.silanis@gmail.com


#3 arunkumarb

arunkumarb

    Advanced Member

  • Members
  • PipPipPip
  • 89 posts

Posted 02 January 2013 - 02:46 AM

Thanks Williams..... Regards, Arun

#4 giridhar

giridhar

    Member

  • Members
  • PipPip
  • 28 posts

Posted 05 February 2013 - 05:51 AM

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.

#5 mwilliams

mwilliams

    BIRT Guru

  • Members
  • 14821 posts

Posted 05 February 2013 - 07:13 AM

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.

Regards,

Michael Williams

eSignLive Evangelism & Community Manager | eSignLive by VASCO
 
Find me on:
Twitter
Facebook
Blog

LinkedIn

eSignLive Developer Community
 
Email me:
Google: mwilliams.silanis@gmail.com


#6 giridhar

giridhar

    Member

  • Members
  • PipPip
  • 28 posts

Posted 06 February 2013 - 06:08 AM

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

Attached Files



#7 mwilliams

mwilliams

    BIRT Guru

  • Members
  • 14821 posts

Posted 06 February 2013 - 08:01 AM

Take a look at this post from the devShare: http://www.birt-exch...-grouped-chart/

Regards,

Michael Williams

eSignLive Evangelism & Community Manager | eSignLive by VASCO
 
Find me on:
Twitter
Facebook
Blog

LinkedIn

eSignLive Developer Community
 
Email me:
Google: mwilliams.silanis@gmail.com


#8 giridhar

giridhar

    Member

  • Members
  • PipPip
  • 28 posts

Posted 07 February 2013 - 06:52 AM

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.

Attached Files

  • Attached File  g1.png   57.94KB   5 downloads


#9 mwilliams

mwilliams

    BIRT Guru

  • Members
  • 14821 posts

Posted 07 February 2013 - 07:51 AM

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-exch...number-of-bars/

Regards,

Michael Williams

eSignLive Evangelism & Community Manager | eSignLive by VASCO
 
Find me on:
Twitter
Facebook
Blog

LinkedIn

eSignLive Developer Community
 
Email me:
Google: mwilliams.silanis@gmail.com


#10 EricJDavis

EricJDavis

    Member

  • Members
  • PipPip
  • 17 posts

Posted 05 September 2017 - 07:39 AM

"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"


 

 

I just noticed that this works with xls, but not xlsx. Any suggestions?