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
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.
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,
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
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.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.