New page after chart

Stimulsoft Reports.WEB discussion
Post Reply
cbrydon
Posts: 176
Joined: Fri May 30, 2014 4:37 pm

New page after chart

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: New page after chart

Post by Alex K. »

Hello,

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

Thank you.
cbrydon
Posts: 176
Joined: Fri May 30, 2014 4:37 pm

Re: New page after chart

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: New page after chart

Post by Alex K. »

Hello,

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

Thank you.
Post Reply