Skip to Content
0
Former Member
Dec 30, 2007 at 08:14 AM

WAD: how to draw this pie chart ?

22 Views

Hello Guys,

In my WAD analysis item, it will dispaly some courses. when you click each course, I would like to draw a pie chart for this course.

For each course, it may have different number of groups, and each group has different number of people attending this course.

The I would like the pie chart to display the group distribution for each course.

For example,

Course 1

Group Name People attend from this group

Group 1 5

Group 2 3

Course 2

Group Name People attend from this group

Group 1 4

Group 2 3

Group 3 5

I define the groupname as charactoristic Group, the people attend is the key figure numberAttend.

So the number of group for each course is dynamic, and I'd like to display it.

I got two questions,

1) Should I use command to dynamicly refresh the dataset for the pie chart when I click different rows of course?

2) As there are little document on how to design a pie chart, I could not get the correct pie chart.

For example, for course 1.

I can configure the dataprovider for the pie chart,

But I don't where to configure my charactoristic group and key figure numberAttend.

And need I configure it only has one data series? how about the category count ? (group number is dynamical)

Could somebody give me a detail how to configure such parameters, or give me some document links on how to configure the pie chart, I looked some document but they are not detail and not fix my issue

Thanks a lot..