06-22-2012 09:35 AM
I created a template style to make all generated graphics uniform.
It is writen in my code like this :
ODS PATH(PREPEND) work.templat(update);
define style wivisp_SASstyle;
parent = Styles.Normal;
style GraphColors /
'gborderlines' = white
'goutlines' = black
then in EG I added the template in Tools > Style manager > add
In sas enterprise guide, I can see it works : graphs are in the right colors
But when I create a stored process from my egp (right clic > "Create stored process" > next next finish), all colors are changed.
How do I apply my custom template to the results of my stored process ?
Is writing a proc template a good waprocessy to do procede ?
I use Enterprise guide 4.3 and SAS 9.2
06-22-2012 09:50 AM
adding this line seems to apply the style on tables but no graphics are shown
ods html file=_WEBOUT ENCODING='utf-8' STYLE=wivisp_SASstyle;
06-22-2012 11:26 AM
ods html style=wivisp_SASstyle;
/* no file statement for stored process !!! */
seem to apply my style to graphics of the stored process.
not to background of the page, titles and tables...
06-22-2012 11:34 AM
The style has to be specified on the _ODSSTYLE macro variable to affect all of your output. the macro variable is used by the %stpbegin() macro when initializing the ODS destination. Therefore, try this:
Let me know if this works for you.