Problem with grouping data for stacked bar chart

Stimulsoft Reports.NET discussion
Post Reply
TGoertler
Posts: 24
Joined: Wed Aug 25, 2010 9:16 am
Location: Gundelsheim/Germany

Problem with grouping data for stacked bar chart

Post by TGoertler »

Hi,

I try to create a stacked bar chart with data like that:

Master: 1
Detailvalue 1: 10
Detailvalue 2: 12
Detailvalue 3: 14

Master: 2
Detailvalue 1: 8
Detailvalue 2: 20
Detailvalue 3: 5

(...)

It worked to group the master/detail stuff and show the data
in a list form.

There're also several charts for all master/detail records.
But that's the problem as I try to create just one chart
which creates a bar for every master record and then stack
all details.

It really doesn't work. What is missing here? It would be
nice if you could give me a hint what to do here.

You can download the VB.NET 2008 project from here:
http://www.punktsoft.de/temp/ReportDemo3.zip


Thank you in advance.

Best Regards,
Thomas
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Problem with grouping data for stacked bar chart

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please check the last prerelease build.

Thank you.
Attachments
1824.Bericht.pdf
(553.93 KiB) Downloaded 348 times
TGoertler
Posts: 24
Joined: Wed Aug 25, 2010 9:16 am
Location: Gundelsheim/Germany

Problem with grouping data for stacked bar chart

Post by TGoertler »

Hello,

thank you for your reply.

There's no bug to solve. My question is:

How can I create a stacked bar chart with custom data.

Currently the chart shows single bars. But I don't want to see them like in this example
but stacked:

Not:

XX_____YY_____ZZ
XX_____YY_____ZZ
XX_____YY_____ZZ
Bar 1___Bar2___Bar 3


But like that:

ZZ
ZZ
YY
YY
XX
XX
Bar 1


Could you give me a hint how I have to assign the custom data so the bar chart looks like that?

Best Regards,
Thomas
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Problem with grouping data for stacked bar chart

Post by Alex K. »

Hello,

Please check the modified report in attachment.

Thank you.
Attachments
1826.Bericht.pdf
(183.49 KiB) Downloaded 304 times
1825.Bericht_modified.mrt
(14.79 KiB) Downloaded 224 times
TGoertler
Posts: 24
Joined: Wed Aug 25, 2010 9:16 am
Location: Gundelsheim/Germany

Problem with grouping data for stacked bar chart

Post by TGoertler »

Thank you very much for your help!

Now I understand how it works and it really looks stunning in our project!

Thanks a lot!!! Keep up the nice work.

Best Regards,
Thomas
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Problem with grouping data for stacked bar chart

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