Skip to main content



      Home
Home » Archived » BIRT » Getting Started with Pie Chart
Getting Started with Pie Chart [message #248978] Thu, 19 July 2007 16:31 Go to next message
Eclipse UserFriend
I have my own type of data set with data similar to the following:

product | colour
prod1 red
prod2 green
prod3 red
prod4 blue
prod5 red

I would like to create a pie chart that shows that in this data set
there are three things with a colour of red, one green thing etc. There
could be a variable number of colours in the data set.

I have tried various aggregations but none of them seem to do anything.
Is it possible to produce the type of pie chart I want with BIRT 2.2? If
so, how do I do it?

John Colgrave
Re: Getting Started with Pie Chart [message #249114 is a reply to message #248978] Fri, 20 July 2007 08:25 Go to previous messageGo to next message
Eclipse UserFriend
Use the colour column for categories, set grouping on it (text, interval 0),
use the "count" aggregation as the value.

Thanks,

David

"John Colgrave" <colgrave@uk.ibm.com> wrote in message
news:f7ohn8$alo$1@build.eclipse.org...
>I have my own type of data set with data similar to the following:
>
> product | colour
> prod1 red
> prod2 green
> prod3 red
> prod4 blue
> prod5 red
>
> I would like to create a pie chart that shows that in this data set there
> are three things with a colour of red, one green thing etc. There could be
> a variable number of colours in the data set.
>
> I have tried various aggregations but none of them seem to do anything. Is
> it possible to produce the type of pie chart I want with BIRT 2.2? If so,
> how do I do it?
>
> John Colgrave
Re: Getting Started with Pie Chart [message #249331 is a reply to message #249114] Sun, 22 July 2007 05:53 Go to previous messageGo to next message
Eclipse UserFriend
David Michonneau wrote:
> Use the colour column for categories, set grouping on it (text, interval 0),
> use the "count" aggregation as the value.

David,

Thanks, I now have the chart I wanted. When I create the count
aggregation, I do not see any values in the preview area, but when I
associate it with the value series I do get the right figures showing
up. Is that what you would expect? The lack of values in the preview
area was one of the things that made me think I was not on the right track.

John Colgrave
Re: Getting Started with Pie Chart [message #249940 is a reply to message #249331] Thu, 26 July 2007 05:31 Go to previous message
Eclipse UserFriend
Yes, that's something we should fix in the UI, since if you choose "count"
you don't really need to bind it to any column. Any value would work, it
will be ignored anyway, and the count will be used.

Thanks,

David

"John Colgrave" <colgrave@uk.ibm.com> wrote in message
news:f7v9ee$l2a$1@build.eclipse.org...
> David Michonneau wrote:
>> Use the colour column for categories, set grouping on it (text, interval
>> 0), use the "count" aggregation as the value.
>
> David,
>
> Thanks, I now have the chart I wanted. When I create the count
> aggregation, I do not see any values in the preview area, but when I
> associate it with the value series I do get the right figures showing up.
> Is that what you would expect? The lack of values in the preview area was
> one of the things that made me think I was not on the right track.
>
> John Colgrave
Previous Topic:NullPointerException Encountered When Loading A Report Design File
Next Topic:How to Check Database Connection and displyaing erro msg
Goto Forum:
  


Current Time: Sat Jul 19 12:00:06 EDT 2025

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

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

Back to the top