BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DartRodrigo
Lapis Lazuli | Level 10

Hi mates,

 

I've made some stacked bar charts in SAS VA, and pre-defined some colors order like, red yellow green.

When some filters are applyed to this chart the color order change. 

 

Without filters:

 

Tier2.PNG

 

With some filters:

 

Tier1.PNG

 

Is there some way to always keep the color order ?

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
MichelleHomes
Meteorite | Level 14

If I've understood your requirement, it seems you want to add a display rule to a graph using color-mapped values. This is described at https://support.sas.com/documentation/cdl/en/vaug/68648/HTML/default/n1lptr5t4ek3mxn15rcft6psxr3q.ht...

 

Please report back if this helps.

 

Kind Regards,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com

View solution in original post

3 REPLIES 3
MichelleHomes
Meteorite | Level 14

If I've understood your requirement, it seems you want to add a display rule to a graph using color-mapped values. This is described at https://support.sas.com/documentation/cdl/en/vaug/68648/HTML/default/n1lptr5t4ek3mxn15rcft6psxr3q.ht...

 

Please report back if this helps.

 

Kind Regards,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com
DartRodrigo
Lapis Lazuli | Level 10

Yes it works.

 

Thanks @MichelleHomes

 

 

MichelleHomes
Meteorite | Level 14

Great to hear @DartRodrigo and thanks for marking the question solved.

 

Kind Regards,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3599 views
  • 1 like
  • 2 in conversation