Configuration of color in data visualization component of UI builder

Abhinandan Pati
Giga Guru

Hello experts,
Have you ever configured specific colors in data visualization component of UI builder? As shown in below snapshot, I have set color type as 'Fixed element color' in UI builder and configured the colors for that field in 'sys_report_chart_color' table but it is always picking default colors. 

 

I went through below article and it is mentioned that we can use color section of data visualization component for table data sources only. In my case the data source for data visualization component is JSON type of client state parameter.

https://developer.servicenow.com/dev.do#!/reference/next-experience/sandiego/shared-components/now-v...

Am I missing anything here? Please let me know if anyone of you configured something similar in any of the workspace.

 

AbhinandanPati_0-1669819602645.png

Thanks,

Abhinandan

2 REPLIES 2

S Goutham
Tera Guru

Hey @Abhinandan Pati :

What are you trying to achieve here do you want a common color palette for all your data visualization components which are for a particular table.?

 

I hope this solves your issue
Mark this as Helpful / Accept the Solution if this clears your issue

Thanks, Goutham for your response.

 

I would like to change the color of only one data visualization component of type semi donut chart. Please refer below snapshot. I would like to show specific color for High rating risks and Very High rating risks.

 

I configured this chart using data source of type JSON client state parameter. But in this article: https://developer.servicenow.com/dev.do#!/reference/next-experience/sandiego/shared-components/now-v...  , it is clearly mentioned that color section applies to only table data sources.

 

Thanks,

Abhinandan

 

 

 

AbhinandanPati_0-1669878680191.png