Desktop productivity for business analysts and programmers

Chart background color

Reply
N/A
Posts: 0

Chart background color

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.
Community Manager
Posts: 2,696

Re: Chart background color

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
Ask a Question
Discussion stats
  • 1 reply
  • 89 views
  • 0 likes
  • 2 in conversation