I want to display my data with a circular graph. I tried using the proc gchart procedure, but I find the white space around the graph very annoying and I would like to remove it.
Here is my code.
title "Salary summary by division and by team for the american league"; proc gchart data=sashelp.baseball ; where league="American"; pie division / detail=team detail_value=best detail_slice=best detail_threshold=0.0001 legend sumvar=salary noheading ; format salary dollar12.2; run; quit;
And here is below the image it creates for me. See how the white space above and below the figure is abnoxiously large for nothing ? How can I remove this white space ?
I don't know it it makes a difference, but ultimately I want to export this figure to Word using a ods rtf statement.
You might investigate the GOPTIONS settings for VSIZE or YMAX. VSIZE specifies the height of the graphics output area, YMAX is similar but may have technical differences because these are device based parameters. So the interpretation may be interchangeable for image files or not...
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.