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?
0 Answers:
No answers yet