BookmarkSubscribeRSS Feed
deleted_user
Not applicable
If I make a chart and output in report or html format, there is always a frame around the chart that is lavender. The output in RTF format is white. I use the style 'Normal'. I have tried making a copy of the style and changing the 'Graph background' to white, but it doesn't work.

Is it possible to change this using the stylesheets? Right now I am modifying the graph manually every time, but I would like to avoid this and have it just automatically do this.

Thanks.
1 REPLY 1
ChrisHemedinger
Community Manager
Graph output in SAS Report and HTML does not honor the stylesheet settings. Instead, the graph appearance is set when the graph is generated on the SAS server.

You can influence the graph appearance by using color option on the graph (set the background color in an EG graph task, or use the GOPTIONS CBACK= option, for example). If you want to customize the style definition, you can create a custom ODS style template using PROC TEMPLATE. More information about ODS and PROC TEMPLATE is in the Base SAS Focus Area (http://support.sas.com/rnd/base/index.html), or you could post a question to the Base SAS/ODS discussion forum.

Chris
Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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