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

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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