Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Custom Chart Colors not showing up in reports

pkhoan
Giga Contributor

Hello,

I followed this wiki to specify custom colors for my reports: Configuring Chart Colors - ServiceNow Wiki however, the reports are still using the default report colors.

The report is pulling off of the Timecard table and I want to specify a color for each Skill, which is my Element for the Chart Color. I have tried selecting just the Color Name from the reference list with the Color field empty, I have tried entering just the hexadecimal value for the Color field leaving the Color Name field empty, and I have tried entering values for both the Color and Color Name fields but none of these changed the report colors.

Does it matter which field, Color or Color Name, I use to specify the color?

Below is the xml snippet of the Timecard form showing the field that I want to specify the color. Do I enter the display_value or the sys_id for the Value field in the Chart Color form?

<u_tgs_skill display_value="Prime Activities - Developer - Meetings">28e6cb52131b96808d7633b32244b0ca</u_tgs_skill>

Lastly, is there a system configuration I need to change to tell ServiceNow not to use the default colors?

Thanks for any input/advice!

1 ACCEPTED SOLUTION

So I set the color using the Color Name field and the Value using the sys_id. I realized that I hadn't changed my report settings to 'use chart colors (if defined)'. Once I did this, the custom colors work for my Skills Reference field


View solution in original post

6 REPLIES 6

Select the gear icon beside the Type field of your report -> in the General section under Chart Color, select 'use chart colors (if defined)' from the drop down list.


Too easy. Thanks for the update.