I created a StiEmptyBand and added a StiChart to it. Is this the right way to put a chart on the report?
When I put the StiEmptyBand after my data band, the chart is displayed in preview mode. When I put the StiEmptyBand above my data band (so the chart is at the top of the page), the chart shows in the designer, but it is not displayed in preview mode.
What is the right way to add a chart that appears at the top of the report?
Thanks!
How to make chart appear before data band
-
- Posts: 62
- Joined: Mon Dec 11, 2006 1:43 pm
- Location: U.S.A.
How to make chart appear before data band
A StiEmptyBand is used for filling an empty space from the last rendered band on the page to the bottom of the page. It helps to draw the table borders from some band to the bottom of the page. An EmptyBand is placed as the last band or also may be placed before FooterBand or PageFooterBand. The empty band will be rendered as many times as it is possible to reach the end of the page (when an empty space ends it will end its rendering).Sandy wrote:I created a StiEmptyBand and added a StiChart to it. Is this the right way to put a chart on the report?
When I put the StiEmptyBand after my data band, the chart is displayed in preview mode. When I put the StiEmptyBand above my data band (so the chart is at the top of the page), the chart shows in the designer, but it is not displayed in preview mode.
What is the right way to add a chart that appears at the top of the report?
Thanks!
The right way to add a chart that appears at the top of the report before DataBand is the following:
The chart may be placed on the HeaderBand or on the PageHeaderBand.
Thank you.