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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1663 views
  • 1 like
  • 2 in conversation