Page 1 of 1

How to create a Pie chart for each line of a dataset result??

Posted: Wed Jun 10, 2009 7:56 am
by Jair RC
Hi.

I have a Stored Proc that return the records bellow and I need to representate it on a Pie chart, but I need one chart for each line. How to do it?? Any idea??

Code: Select all

ITEMS                     Class1    Class2      Class3
------------------------------------------------------
PESSIMO	                5            2          6
RUIM	                   1            5          3
PREOCUPANTE                3            4          1
ACEITAVEL                  2            7          2
BOM                       11            4          5
EXCELENTE                158            5         15
Excuse my poor English.

Thanks
Jair RC
Joinville/Brazil

How to create a Pie chart for each line of a dataset result??

Posted: Wed Jun 10, 2009 9:09 am
by Jan
Hello,

Place on page DataBand. Assign your DataSource to DataBand. Place Chart on DataBand. Type in Value property of Pie series following expression:

Code: Select all

{MyDataSource.Class1};{MyDataSource.Class2};{MyDataSource.Class3}
Thank you.

How to create a Pie chart for each line of a dataset result??

Posted: Fri Jun 19, 2009 3:31 pm
by Jair RC
Hi, Jan.

Thanks for your help. Now is working correctly.

Best Regards

Jair RC :biggrin: