Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to rescale pie chart according to the number of groups
How to rescale pie chart according to the number of groups [message #534446] Wed, 19 May 2010 08:55 Go to next message
Yassir Bouizi is currently offline Yassir BouiziFriend
Messages: 14
Registered: April 2010
Junior Member
hi,
I use a pie chart with optional grouping, and I want to rescale it according to the number of groups. I think i should use the function below. But I dont know how to get number of groups in the chart
function beforeGeneration( chart, icsc )
{
chart.getBlock().getBounds().setHeight(????*100);
}

Regards,
yassir.
Re: How to rescale pie chart according to the number of groups [message #534628 is a reply to message #534446] Wed, 19 May 2010 16:30 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Take a look at this example:
http://www.birt-exchange.org/devshare/designing-birt-reports /1217-resize-pie-chart-based-on-optional-grouping-count/#des cription

Jason


On 5/19/2010 4:55 AM, Yassir Bouizi wrote:
> hi,
> I use a pie chart with optional grouping, and I want to rescale it
> according to the number of groups. I think i should use the function
> below. But I dont know how to get number of groups in the chart function
> beforeGeneration( chart, icsc )
> {
> chart.getBlock().getBounds().setHeight(????*100);
> }
> Regards,
> yassir.
>
Re: How to rescale pie chart according to the number of groups [message #534735 is a reply to message #534628] Thu, 20 May 2010 08:07 Go to previous message
Yassir Bouizi is currently offline Yassir BouiziFriend
Messages: 14
Registered: April 2010
Junior Member
Thanks Jason for your help.

Regards,
yassir.
Previous Topic:Manipulating Flat File Query
Next Topic:Fixed Height of Bar Item
Goto Forum:
  


Current Time: Thu Apr 18 20:59:12 GMT 2024

Powered by FUDForum. Page generated in 0.03571 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top