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

Stimulsoft Reports.WEB discussion
Post Reply
Jair RC
Posts: 21
Joined: Wed Jun 10, 2009 6:57 am
Location: Joinville, Brazil

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

Post 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
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

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

Post 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.
Jair RC
Posts: 21
Joined: Wed Jun 10, 2009 6:57 am
Location: Joinville, Brazil

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

Post by Jair RC »

Hi, Jan.

Thanks for your help. Now is working correctly.

Best Regards

Jair RC :biggrin:
Post Reply