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

html5 pie slice color change in 6.2.1


shammytaj

Recommended Posts

I am creating a html 5 pie chart and changing the color using the below bucket expression. 

F{field1}=="Management"?"#4572A7":$F{field1}=="Maintenance"?"#7cb5ec":$F{field1}=="User Support"?"#8085e9":$F{field1}=="Vision/APR"?"#800000":$F{field1}=="IT Support"?"#008040":$F{field1}=="Project"?"#f7a35c":"#e4d354"

but it is applying the last color option to all slices "#e4d354". 

Please suggest any other approaches. can I use arraylist approach , if yes can you pls share an example?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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