The CreatorCon Call for Content is officially open! Get started here.

Add colours to a PA time series (column chart)

MattA1
Tera Contributor

Hi,

I've got a time series displayed as follows:

MattA1_0-1677595886357.png

I want the blue bars to be coloured based on the score... so red as the worst and green (or blue) as the best.  However, there doesn't seem to be any way of doing this.

 

I also tried to create a target and base the colours on that but this didn't work either.  Apparently this is "by design" and you can only do this on a score or list.

 

There has to be a way that I can do this - I'm fine with using a static target if I can't colour them dynamically based on the best and worst values but I'm completely stuck now.

 

Thank you!

1 REPLY 1

AndersBGS
Tera Patron
Tera Patron

Hi @MattA1 ,

 

Have you looked into target color schemes: pa_target_color_schemes_list? You can find the documentation here: https://docs.servicenow.com/bundle/rome-security-management/page/use/performance-analytics/task/t_Cr...

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/