Chart which extends over more than 1 page

Stimulsoft Reports.WEB discussion
Post Reply
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Chart which extends over more than 1 page

Post by John »

Hallo Support,

I am trying to generate a chart in c# code which should be printed over 2 or more pages (see screenshot). What I'd like to have (if possible) is to set the width for all columns and then have the chart automatically grow downwards, extending over more than 1 page as required.

Can you please tell me how this can be achieved.

Many thanks,

John K.
Attachments
1128.S1.jpg
1128.S1.jpg (62.15 KiB) Viewed 3545 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Chart which extends over more than 1 page

Post by HighAley »

Hello, John.
jkitching wrote:I am trying to generate a chart in c# code which should be printed over 2 or more pages (see screenshot). What I'd like to have (if possible) is to set the width for all columns and then have the chart automatically grow downwards, extending over more than 1 page as required.

Can you please tell me how this can be achieved.
Please, try to set the 'Unlimited Height' property of the Page to True.

Thank you.
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Chart which extends over more than 1 page

Post by John »

Hallo support,

I set the 'Unlimited Height' property to true but it didn't produce the desired result. The texts on the y-axis are still too squashed and when I make either the chart too long or the databand it resides in then I get this: "Exception of type 'System.OutOfMemoryException' was thrown." It ends up in an endless loop.

Is there any way to exactly define how wide each bar must be in the chart?

Regards,

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

Chart which extends over more than 1 page

Post by Alex K. »

Hello,

In this case, you can set the Height property of the chart component depending on the count records in datasource.

Thank you.
Attachments
1129.SampleReport.mrt
(11.5 KiB) Downloaded 445 times
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Chart which extends over more than 1 page

Post by John »

Hallo Aleksey,

I thought it would be this way. I've now implemented it so and it works ok.

Thanks and regards,

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

Chart which extends over more than 1 page

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