Data visualization with SAS programming

Styles available in ODS Graohics Editor 9.41

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

Styles available in ODS Graohics Editor 9.41

Hi,

 

I'm looking for a solution to integrate user-defined style in the Format -> Style menu of ODS Graphics Editor (v 9.41), as the default list is rather short. I didn't find anything in the other menus (such as Preferences...) nor in the installation directory.

 

Thanks in advance

Yves Roy

Université de Poitiers


Accepted Solutions
Solution
‎04-05-2016 06:12 AM
SAS Super FREQ
Posts: 1,081

Re: Styles available in ODS Graohics Editor 9.41

The ODS Graphics Editor only know about the SAS shipped styles.  It also gets the one custom style used with the current graph.  You can change the style to one of the SAS shipped styles, or the current style.  You can also customize a style and save it as a SAS program.  Then you have to run the SAS program in your SAS session to make it available there.

 

There is no way to send multiple custom styles to the Editor.

View solution in original post


All Replies
Super Contributor
Posts: 252

Re: Styles available in ODS Graohics Editor 9.41

Hi,

 

Have you creating a new style using Proc Template? If so, If you use the following code before you create the .sge graph, then the graph will have the style that you want:

 

ods listing sge = on style = styles.newstyle;

 

If you only wanted to swap colors of your grouped variable around, then you can do this within ODS Graphics Editor using the Format -> Graph Properties -> Group Attributes menu.

 

Thanks,

 

 

New Contributor
Posts: 4

Re: Styles available in ODS Graohics Editor 9.41

Thanks djRisks,

 

but I already knew that. My only purpose is to visualy compare several style options for a given chart, including personalized styles, without having to regenerate the chart entirely, especialy in the case the chart has been manually edited. I have also tried to use the ods html5 or ods pdf style= option in a subsequent proc sgrender step, without success: the style remains the one selected in ODS Grpahics Editor just before File -> Save.

 

Yves

Solution
‎04-05-2016 06:12 AM
SAS Super FREQ
Posts: 1,081

Re: Styles available in ODS Graohics Editor 9.41

The ODS Graphics Editor only know about the SAS shipped styles.  It also gets the one custom style used with the current graph.  You can change the style to one of the SAS shipped styles, or the current style.  You can also customize a style and save it as a SAS program.  Then you have to run the SAS program in your SAS session to make it available there.

 

There is no way to send multiple custom styles to the Editor.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 306 views
  • 0 likes
  • 3 in conversation