BookmarkSubscribeRSS Feed
PHRTE
Calcite | Level 5

Hi,

I need to know how to assign a specific color to a category value displayed on a Web report Studio graph.

Thanks in advance.

2 REPLIES 2
MarkBodt_NZ
Obsidian | Level 7

You can change the colours used in charts here: File->Properties->Format->Use Customized Colors.

However this only controls the colours used when displaying the first displayed bar, second displayed bar, third displayed bar etc.

You cannot control the colours used for a specific category e.g. I always want categories to display as follows:

Dogs= Blue

Cats=Green

Birds=Pink

Fish=Yellow

because how the category displays will depend on whether there are values for the category item, the values and order etc, so for example you cannot be sure that Fish will always display in yellow. When you re-run a report and say there is no data for Dogs this time, then you will probably find that Cats are displayed in blue, birds in green etc.

This has been confirmed by SAS tech support. [SAS 7611030018] How to change the color or Bar Chart for  different categories in WRS

PHRTE
Calcite | Level 5

There is no other way giving the format via Enterprise Guide for example?

Thanks a lot.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1867 views
  • 1 like
  • 2 in conversation