Jump to content
We've recently updated our Privacy Statement, available here ×

How to select proper band for chart


alauddinctgbd

Recommended Posts

hi,

My Query returns some 1000 different rows using group by for different 1000 customer company about 99 pdf pages.

 

I want to show the pie chart for that distinct 1000 companies in one pages( first page) and the legend(color) for those 1000 companies in another pages

(2 to 3) ............then the datas in table format in another pages(4 to 99)

My chart showing in summary band :

 

 

which band i should select or How can i solve it.

 

alauddin

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

The chart image cannot be split in two pages.

You'll probably have to remove the legend from the chart itself and simulate it using a subreport.

This means you have to use scriptlets to gather the chart data and maybe even force the colors of the chart or find some way to retrieve the legend data from within the JFreeChart component using a custom JRAbstractChartCustomizer implementation.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...