kothamurali08719 Posted August 22, 2017 Share Posted August 22, 2017 Hi All,i have been working on this from last two days,i cound not be able to change the treemap plot colors.for other remaining charts its working but for treemap it not working.please help me.Thanks&RegardsK.Murali Link to comment Share on other sites More sharing options...
aashnanahar Posted August 22, 2017 Share Posted August 22, 2017 Try using color coding in your query based on the data example:CASE WHEN record_status_count.rcrd_stts_cd = 'ACPT' THEN '#007480'WHEN record_status_count.rcrd_stts_cd = 'RJCT' THEN '#8E1537'WHEN record_status_count.rcrd_stts_cd = 'PART' THEN '#E17D00'WHEN record_status_count.rcrd_stts_cd = 'RCVD' THEN '#8F489A'WHEN record_status_count.rcrd_stts_cd = 'EXTR' THEN '#76777B' WHEN record_status_count.rcrd_stts_cd = 'CRPT' THEN '#7BAED4' WHEN record_status_count.rcrd_stts_cd = 'WARN' THEN '#BBBBBB' WHEN record_status_count.rcrd_stts_cd = 'PDNG' THEN '#20345C' END AS color Add expression to your color pallete:example:java.util.Arrays.asList("#FFFFFF","#8E1537","#20345C","#8F489A","#E17D00","#007480","#76777B","#7BAED4","#BBBBBB","#3F3F3F","#C20430","#e1c1c0","#d6f1f3","#B4CDB4","#ff6666","#C39BD3","#12d5ff","#83B43D","#CEC6FF","#ABB2B9","#6666ff","#ff99ff","#46614b","#be2337") add the color filed to the chart data configuration. Let me know if you need more help!! Link to comment Share on other sites More sharing options...
kothamurali08719 Posted August 22, 2017 Author Share Posted August 22, 2017 this expression doesn't work. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now