BookmarkSubscribeRSS Feed
kingCobra
Obsidian | Level 7

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.

 

1 REPLY 1
ballardw
Super User

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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 952 views
  • 0 likes
  • 2 in conversation