BookmarkSubscribeRSS Feed
kmreavis
Calcite | Level 5

Hi,

I have a colleague with special vision needs. He is requesting graphs in reverse video: black background and white text. What is the easiest way to achieve this?

Thanks for your time,

Kelly

2 REPLIES 2
ballardw
Super User

For consistency a highly modified ODS Style would probably be best. The style Astronomy has a dark-blue background as an example base style to modify. I would actually try this style first without modification to see if it gets a start in the right direction.

Other styles that might work: Electronics, Magnify

These are from SAS 9.2.3. I'm not sure if they are all available in later versions by default.

GraphGuy
Meteorite | Level 14

You might be able to create an ODS Style as ballardw suggests.

But if that doesn't work out, here are some goptions and such that might be useful:

goptions cback=black ctext=white;
goptions gunit=pct ftext="albany amt/bold" htext=4 htitle=8;

pattern1 v=s c=white;

title "Bar Chart";
proc gchart data=sashelp.class;
hbar name / type=sum sumvar=height cframe=black;
run;

foo.png

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 866 views
  • 0 likes
  • 3 in conversation