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
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1051 views
  • 0 likes
  • 2 in conversation