Reverse video in graphs

Posts: 1

Reverse video in graphs


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,


Super User
Posts: 10,516

Re: Reverse video in graphs

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.

SAS Employee
Posts: 967

Re: Reverse video in graphs

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;


Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation