Page 1 of 1

New page after chart

Posted: Thu Dec 21, 2017 9:03 pm
by cbrydon
Hello,

I have a report where I'd like for there to be a page break after each chart that is drawn. The charts are drawn based on a Master Detail relationship.
I'd like one chart per page.

I didn't see a property for NewPageAfter on charts, and wondered if something could be set in one of the report/databand/chart events using c# code?

I am using Stimulsoft Reports.Web 2017.1.6 June 13 2017.

Unfortunately with this report, I am unable to send test data or a sample report, but am hoping you might be able to help.

Thanks,
Carl

Re: New page after chart

Posted: Fri Dec 22, 2017 8:00 am
by Alex K.
Hello,

You can try to place your Chart on the DabaBand component and set the NewPageAfter for band.

Thank you.

Re: New page after chart

Posted: Fri Dec 22, 2017 12:46 pm
by cbrydon
Thanks Alex,

The report is kind of a complex one with 3 levels of master detail relationships and panels in a databand, with those
panels containing databands. For various categories, it shows some tabular information and then a bar graph depicting
what is in the table. I played around with the NewPageAfter/Before properties and coudl quite get things to break where
I needed them to. What I may end up doing is resizing the elements in each section so everything fits on one page.

Carl

Re: New page after chart

Posted: Sat Dec 23, 2017 7:48 am
by Alex K.
Hello,

Unfortunately, the NewPageAfter is not available for Chart component, only for bands.

Thank you.