05-11-2012 11:51 AM
In ODS graphics, does anyone know a visual trick to make text more visible over a patterned background such as a map or a set of bars? One thing I already tried was to superimpose dark text in a normal font over the same text in white bold, but the characters didnt align properly.
05-14-2012 12:33 PM
In traditional SAS Graph the option was usually CBACK (= white) with text displays such as annotate or data label options. I haven't tried to annotate any ODS graphics yet so I'm not sure if that works.
It looks like the style element involved is GraphDataText but it seems to only have a COLOR attribute, not a background color in the online help. I'd try specifing a CONTRASTCOLOR with that element to see if that worked but just a gues.
05-14-2012 12:40 PM
If you have SAS 9.3, the DRAWTEXT statement in GTL or the SG annotation facility in the SG procedures do support background color for text. Therefore, your annotation suggestion should work fine.
05-14-2012 02:38 PM
I don't see how I could get lettering such as "Woodland Acres" on this picture :
overprinting normal and bold text doesn't work because the spacing between letters is not the same.
05-14-2012 02:58 PM
05-14-2012 09:23 PM
Well, I need two fonts with exactly the same metrics; I would write with the heavier one first and overwrite with the thinner one. I thought someone might know of such a pair. So far, came up the closest to my wish, but with all due respect, I don't feel like going bach to the '80s vector fonts.
Unless you can apply a FILL color to an outline font?