Skip to main content



      Home
Home » Archived » BIRT » How to Repeat a Chart per Group
How to Repeat a Chart per Group [message #85557] Sun, 30 October 2005 01:22 Go to next message
Eclipse UserFriend
Originally posted by: pcasey.earthlink.net

I have a set of grouped data like this:

Species Breed Weight
Dog Mastif 100
Dog Mastif 120
Dog Chiwawa 4
Dog Chiwawa 5
Dog Shepherd 50
Dog Shepherd 40
Cat Siamese 12
Cat Siamese 8

I want to generate a report that looks like:

Dog (group header)
Chart of Breed vs Average weight of *only dogs*
Cat (group header)
Chart of Breed vs Average weight of *only cats*

So far, if I drag a chart into the group detail row and set it up
though, it includes all dogs and all cats and just repeats itself twice,
once for the cat group and once for the dog group.

What's the best approach to get the chart to render based solely on the
subset of data within its group band?
Re: How to Repeat a Chart per Group [message #85574 is a reply to message #85557] Sun, 30 October 2005 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pcasey.earthlink.net

NM, solved my own question. Subreports appear to be the way to solve this.
Re: How to Repeat a Chart per Group [message #85679 is a reply to message #85557] Mon, 31 October 2005 07:58 Go to previous message
Eclipse UserFriend
Put the chart in the group header.

Thanks,

David

"Patrick Casey" <pcasey@earthlink.net> wrote in message
news:dk1oqo$m7q$1@news.eclipse.org...
>
> I have a set of grouped data like this:
>
> Species Breed Weight
> Dog Mastif 100
> Dog Mastif 120
> Dog Chiwawa 4
> Dog Chiwawa 5
> Dog Shepherd 50
> Dog Shepherd 40
> Cat Siamese 12
> Cat Siamese 8
>
> I want to generate a report that looks like:
>
> Dog (group header)
> Chart of Breed vs Average weight of *only dogs*
> Cat (group header)
> Chart of Breed vs Average weight of *only cats*
>
> So far, if I drag a chart into the group detail row and set it up
> though, it includes all dogs and all cats and just repeats itself twice,
> once for the cat group and once for the dog group.
>
> What's the best approach to get the chart to render based solely on the
> subset of data within its group band?
>
Previous Topic:How to set colspan of a cell in table via the graphical editor?
Next Topic:Dataset with html tag (in a row of data) does not recorgnize the tag
Goto Forum:
  


Current Time: Tue Jul 22 22:12:43 EDT 2025

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

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

Back to the top