Reverse video in graphs

Reply
N/A
Posts: 1

Reverse video in graphs

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

Super User
Posts: 11,343

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: 982

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;
run;

foo.png

Ask a Question
Discussion stats
  • 2 replies
  • 152 views
  • 0 likes
  • 3 in conversation