Generate a char for each row

Stimulsoft Reports.WEB discussion
Post Reply
themasterkenen
Posts: 5
Joined: Tue Apr 22, 2014 6:57 pm

Generate a char for each row

Post by themasterkenen »

Hello, I have a trouble.
In report, I'm working with a Pie Chart, the results of the Datasource that I get is like:
Project ValueX ValueY
===== ===== ======
foo 0 1
bar 2 0
etc 1 1

When I get a preview, each chart has the same data: A pie with the the values 2,1,1,1.
I want a Pie Chart with this format:
1 Pie Chart: values 0 and 1
2 Pie Chart: values 2 and 0
3 Pie Chart: values 1 and 1

I hope that you can help me. Thanks!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Generate a char for each row

Post by Alex K. »

Hello,

Please check the sample report in the attachment.

Thank you.
Attachments
ChartOnDataband.mrt
(29.66 KiB) Downloaded 143 times
themasterkenen
Posts: 5
Joined: Tue Apr 22, 2014 6:57 pm

Re: Generate a char for each row

Post by themasterkenen »

Hello. Thanks for the answer. But I can't see the report. I have not the file demo.xml. (The DatasSource "demo" has a "X" icon).

Greetings!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Generate a char for each row

Post by Alex K. »

Hello,

Please check the report ChartOnDataBand in our Demo.

Thank you.
Attachments
Demo.xsd
(12.72 KiB) Downloaded 147 times
Demo.xml
(1.79 MiB) Downloaded 144 times
Post Reply