Jump to content
Changes to the Jaspersoft community edition download ×

Coloured backgrounds

Recommended Posts

By: Andy Deighton - andyxr

Coloured backgrounds

2003-11-27 11:28


I'm trying to achieve the following in my detail band: I need to paint the background of some columns a certain colour depending on another field's value. I'm thinking that I can use a rectangle whose fill colour is different depending on my desired value. However, I'm trying to figure out a way of dynamically changing the rectangle. Should I display a different rectangle for each condition, or can I somehow dynamically change the backcolor with some report variable? Any pointers anyone?









By: Andy Deighton - andyxr

RE: Coloured backgrounds

2003-11-27 14:01

Fixed it! I decided to use a print expression to display one of three coloured rectangles (each representing the state I was interested in for that row).



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...