Nested objects and graphs

Stimulsoft Reports.NET discussion
Post Reply
kalle
Posts: 2
Joined: Tue Apr 23, 2013 6:15 am

Nested objects and graphs

Post by kalle »

Hello,

I have trouble with a pretty simple report (or so I thought). I have a list of objects, each object contains the name of the object and also a histogram (to be shown as a bar graph in the report). No matter what I try Stimulsoft always shows the histogram data for all parts' histograms in the same graph and then shows this histogram the same number of times that there are bars in the graph for each object. :?

I'm not sure if I have missed something obvious or if I have tripped on a bug in Stimulsoft, any advice would be greatly appreciated!
I have attached the C# code with test objects and also the report file.

///Kalle
Attachments
Program.cs
Test program
(2.01 KiB) Downloaded 123 times
PartsReport.mrt
Report file
(16.36 KiB) Downloaded 115 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Nested objects and graphs

Post by Alex K. »

Hello,

Please set the DataSource and DataRelation properties for Chart component.
Please see the modified report in attachment.

Thank you.
Attachments
PartsReport.mrt
(17.1 KiB) Downloaded 93 times
kalle
Posts: 2
Joined: Tue Apr 23, 2013 6:15 am

Re: Nested objects and graphs

Post by kalle »

Ah, I see! Thank you for a speedy answer!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Nested objects and graphs

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply