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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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