Data visualization with SAS programming

Setting GraphData Styles in Proc Template

Reply
Contributor
Posts: 33

Setting GraphData Styles in Proc Template

Hi,

 

May be a very basic question.

 

How many Style GraphData statements are allowed in a Proc template?

 And could you send me a link to the documentation for Template procedure - creating style template for ODS Graphics. The new look of the SAS documentation make it so difficult to find the right documentations.

 

Thanks you.

 

Super User
Posts: 13,941

Re: Setting GraphData Styles in Proc Template

Posted in reply to kingCobra

AS far as I know you could add as many graphdata elements to a style template as you want though most of the SAS supplied ones define or inherit 12 or fewer.

 

I think that you might have a bit more luck listing out a base style and examining the syntax for likely changes than wading from whole cloth through Proc Template documentation.

 

proc template;
   source styles.normal;
   source styles.meadow;
run;

will send the proc template source for the two styles listed to the log.

 

I included Meadow as it inherits from Normal and you can see how to override or use inheritance.

Then you would have specific syntax to search for instead of wandering through the documentation at random.

Ask a Question
Discussion stats
  • 1 reply
  • 142 views
  • 0 likes
  • 2 in conversation