<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proc Gradar figure in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964210#M25418</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;! This was very helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It did the trick if in my proc format statement I changed the values to:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	VALUE tlf		0='A0A0A0A0'x 'No Time-loss'
					1='A0A0A0A0'x 'Time-loss';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you were right about device=svg not working. That was an artifact from copying and pasting some code when trying to troubleshoot. It still would output to rtf but it had changed to 'EMF'. I removed that as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;WARNING: Unsupported device 'SVG' for RTF destination.
         Using default device 'EMF'.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2025 12:54:26 GMT</pubDate>
    <dc:creator>sasgorilla</dc:creator>
    <dc:date>2025-04-14T12:54:26Z</dc:date>
    <item>
      <title>Proc Gradar figure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964173#M25414</link>
      <description>&lt;P&gt;Hi. I've created a proc gradar figure using the following code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^";
ods graphics / noborder;
ods  rtf file="&amp;amp;tpath\aim2spider.rtf" style=minimal device=svg;
goptions reset=all border;
axis2 order=(0 to 100 by 25) value=none;
axis3 order=(0 to 100 by 25) value=(tick=1 " " );
title;
proc GRADAR data=radar3 ;
	format var1 var1f.;
	label tl='Status';
	chart var1 / freq=pct overlayvar=tl
	staraxis = (axis3 axis2 axis2 axis2 axis2 axis2 axis2 axis2)
	starinradius=0
	cstars=(black black)
	wstar=(1)
	lstar=(1)
	noframe
	;
	run;
	quit;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The figure looks good except that the line/dotted line overlap with the text in the legend area where the overlayvar "status" is depicted. Any ideas on how to get some space there? I've tried adding space in the format values for that variable but that didn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasgorilla_0-1744495805313.png" style="width: 553px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106197i3A651FBA89608304/image-dimensions/553x115?v=v2" width="553" height="115" role="button" title="sasgorilla_0-1744495805313.png" alt="sasgorilla_0-1744495805313.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Apr 2025 22:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964173#M25414</guid>
      <dc:creator>sasgorilla</dc:creator>
      <dc:date>2025-04-12T22:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gradar figure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964176#M25415</link>
      <description>&lt;P&gt;It looks like this problem exists even in the sample SAS documentation &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/graphref/p09i3twmwy5m4fn1dxeoltqos4hr.htm" target="_self"&gt;here&lt;/A&gt;. Not sure why it is programmed that way...&amp;nbsp; unless anyone has any ideas, I ultimately may need to just remove the legend and make me own after exporting.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasgorilla_0-1744505505827.png" style="width: 594px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106198iD7745508BF26F9B3/image-dimensions/594x141?v=v2" width="594" height="141" role="button" title="sasgorilla_0-1744505505827.png" alt="sasgorilla_0-1744505505827.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 00:53:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964176#M25415</guid>
      <dc:creator>sasgorilla</dc:creator>
      <dc:date>2025-04-13T00:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gradar figure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964177#M25416</link>
      <description>Try to use PROC SGPLOT.&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2013/11/27/is-there-a-car-on-your-radar/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2013/11/27/is-there-a-car-on-your-radar/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or Calling &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt; (a.k.a Robert.Allision) who is good at SAS/GRAPH .</description>
      <pubDate>Sun, 13 Apr 2025 00:58:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964177#M25416</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-04-13T00:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gradar figure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964184#M25417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/458102"&gt;@sasgorilla&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/458102"&gt;@sasgorilla&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I've tried adding space in the format values for that variable but that didn't work.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Adding &lt;EM&gt;non-breaking&lt;/EM&gt; spaces (&lt;FONT face="courier new,courier"&gt;'A0'x&lt;/FONT&gt;, not &lt;FONT face="courier new,courier"&gt;'20'x&lt;/FONT&gt;) should be a workaround:&lt;/P&gt;
&lt;P&gt;After replacing SASHELP.FAILURE in the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/graphref/p09i3twmwy5m4fn1dxeoltqos4hr.htm" target="_blank" rel="noopener"&gt;documentation example&lt;/A&gt; with dataset WANT, created as&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
length Process $13;
set sashelp.failure;
process='A0A0A0A0'x||process;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the legend looks good:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GRADAR_legend.png" style="width: 256px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106200i64E4D8EDA3E9CB50/image-size/large?v=v2&amp;amp;px=999" role="button" title="GRADAR_legend.png" alt="GRADAR_legend.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If &lt;FONT face="courier new,courier"&gt;"No Time-loss"&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;"Time-loss"&lt;/FONT&gt; in your example are &lt;EM&gt;formatted&lt;/EM&gt; values of variable TL, the non-breaking spaces must go into the &lt;EM&gt;format definition&lt;/EM&gt;, of course:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data fmt;
retain fmtname 'pfmt' type 'C';
start='Process A'; label='A0A0A0A0'x||'No Time-loss'; output;
start='Process B'; label='A0A0A0A0'x||'Time-loss'; output;
proc format cntlin=fmt;
run;

proc gradar data=sashelp.failure;
format process $pfmt.;
...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/458102"&gt;@sasgorilla&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods  rtf file="&amp;amp;tpath\aim2spider.rtf" style=minimal device=svg;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Does &lt;FONT face="courier new,courier"&gt;device=svg&lt;/FONT&gt; work with ODS RTF? It failed with my SAS 9.4M5 ("&lt;FONT face="courier new,courier"&gt;WARNING: Unsupported device 'SVG' for RTF destination.&lt;/FONT&gt;") and this is consistent with the documentation "&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/graphref/p1vzbqx343n04pn1h0hquiiipk4b.htm" target="_blank" rel="noopener"&gt;Default Devices for ODS Destinations&lt;/A&gt;". But the 'A0'x trick did work in an embedded SVG file created with ODS HTML5. The spacing (with four non-breaking spaces as before) was just a bit different:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HTML with inline SVG" style="width: 423px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/106202i0FD6026B92327C31/image-size/large?v=v2&amp;amp;px=999" role="button" title="GRADAR_legend_SVG.png" alt="HTML with inline SVG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;HTML with inline SVG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 10:49:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964184#M25417</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2025-04-13T10:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gradar figure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964210#M25418</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;! This was very helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It did the trick if in my proc format statement I changed the values to:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	VALUE tlf		0='A0A0A0A0'x 'No Time-loss'
					1='A0A0A0A0'x 'Time-loss';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you were right about device=svg not working. That was an artifact from copying and pasting some code when trying to troubleshoot. It still would output to rtf but it had changed to 'EMF'. I removed that as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;WARNING: Unsupported device 'SVG' for RTF destination.
         Using default device 'EMF'.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 12:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964210#M25418</guid>
      <dc:creator>sasgorilla</dc:creator>
      <dc:date>2025-04-14T12:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Gradar figure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964211#M25419</link>
      <description>&lt;P&gt;Thanks for the references,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;. I will explore these further when I have some more time. I appreciate it!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 12:53:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Gradar-figure/m-p/964211#M25419</guid>
      <dc:creator>sasgorilla</dc:creator>
      <dc:date>2025-04-14T12:53:30Z</dc:date>
    </item>
  </channel>
</rss>

