-
background color
Hi,
Is it possible to alternate the background color based on the group not on the individual item? Thanks.
-
Re: background color
Hi,
the only solution is to write a function to do this task for you. Simply set the color by using Element.setColor(). To form the background, it is the easiest way to create a rectangle element with the same size as your band. (x = 0; y = 0; with = 100%, height=100%).
In the function you can alter the background based of this element by using
JFreeReport.getItems().getElement ("background").setColor (...) assuming that the background rectangle is named "background".
Have more fun,
said Thomas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules