Page 1 of 1

Chart which extends over more than 1 page

Posted: Mon Jul 04, 2011 8:59 am
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.

Chart which extends over more than 1 page

Posted: Tue Jul 05, 2011 1:05 am
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.

Chart which extends over more than 1 page

Posted: Tue Jul 05, 2011 4:43 am
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.

Chart which extends over more than 1 page

Posted: Wed Jul 06, 2011 5:11 am
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.

Chart which extends over more than 1 page

Posted: Wed Jul 06, 2011 7:18 am
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.

Chart which extends over more than 1 page

Posted: Wed Jul 06, 2011 8:07 am
by Alex K.
Hello,

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

Thank you.