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 open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.