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

How can I change the serie color with the condition


garcialiang

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi Jennifer,

I think you are doing something wrong,check the process below

STYLE SETUP
 1. Report Inspector
 2. RightClick "Styles", "Add Style"
      ** Name = countryName
 3. RightClick "countryName", "Add Conditional Style"
      ** Conditional Expression
           **  make sure the expression returns the boolean value
                $F{SHIPCOUNTRY}..equals("USA")
      ** Opaque = checked (for the condition)
      ** Backcolor = GREEN (for the condition)
 
STYLE USING
 1. click field you want to add condition to
 2. Properties Window
      ** Opaque = checked
      ** Style = countryName

 

I have used the sample database to depict the same.I am attaching the files.(PDF as well as JRXML).In the sample I have assigned different colors to different countries..To check on your end please run the sample database from top menu help-->sample-->run sample database

 

hope that this explains you

Thanks,

Ankur Gupta

Link to comment
Share on other sites

Hi,

Are you trying to apply the style on the scatter chart??
If not then you should not face any problem in applying the style.

If you want to change the color or the default pattern in the scatter chart thrn it would be possible using custom charts

Hope that it helps

Thanks,

Ankur Gupta

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