<?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: Label Vertices of Radar Chart in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937521#M24861</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/465151"&gt;@NeilH&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you change the FREQ=RATING1 to SUMVAR=RATING1 and add the SPOKESCALE=VERTEX option to the CHART statement in PROC GRADAR, each spoke will display 3 tick marks. The first is the minimum value and the third tick mark is the maximum value for that spoke.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is a modification of your program with these changes and the sample output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data rc_temp5;
length var $19 source $9 section $11;
input var $ rating1 survey $ source $ section $;
cards;
f_pr_inst_mean  68.1 Faculty Institute Program
f_pr_national_mean 79.7 Faculty National Program
f_fa_inst_mean  78.6 Faculty Institute Faculty
f_fa_national_mean 86.3 Faculty National Faculty
f_in_inst_mean  76.0 Faculty Institute Institution
f_in_national_mean 67.3 Faculty National Institution
f_le_inst_mean  88.9 Faculty Institute Leadership
f_le_national_mean 76.8 Faculty National Leadership
f_ed_inst_mean  75.2   Faculty Institute Education
f_ed_national_mean 84.0 Faculty National Education
;
run;
proc gradar data=rc_temp5;
where survey = 'Faculty';
chart section / 
sumvar=rating1 
overlay=source
cstarfill=(CX7C95CA CXDE7E6F)
starfill=(empty empty)
cframe= beige
spokescale=vertex
;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarciaS_0-1722282427861.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98801i9111F69659EA5C5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarciaS_0-1722282427861.png" alt="MarciaS_0-1722282427861.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2024 19:48:26 GMT</pubDate>
    <dc:creator>MarciaS</dc:creator>
    <dc:date>2024-07-29T19:48:26Z</dc:date>
    <item>
      <title>Label Vertices of Radar Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937510#M24856</link>
      <description>&lt;P&gt;Hello, is it possible to label the values of the vertices of a radar chart similar to how the bars of a bar chart can be labeled with their values? In this example, the values 68.1 and 79.7 would be labeled along the Program dimension (section variable). I understand it's not quite the same, but wanted to check if it was possible. Thanks.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data rc_temp5;
input var $ rating1 survey $ source $ section $;
cards;
f_pr_inst_mean  68.1 Faculty Institute Program
f_pr_national_mean 79.7 Faculty National Program
f_fa_inst_mean  78.6 Faculty Institute Faculty
f_fa_national_mean 86.3 Faculty National Faculty
f_in_inst_mean  76.0 Faculty Institute Institution
f_in_national_mean 67.3 Faculty National Institution
f_le_inst_mean  88.9 Faculty Institute Leadership
f_le_national_mean 76.8 Faculty National Leadership
f_ed_inst_mean  75.2   Faculty Institute Education
f_ed_national_mean 84.0 Faculty National Education
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gradar data=rc_temp5;
where survey = 'Faculty';
chart section / 
freq=rating1 
overlay=source
cstarfill=(CX7C95CA CXDE7E6F)
starfill=(empty empty)
cframe= beige
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NeilH_2-1722277791616.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98799iA1B0965A674A6E27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NeilH_2-1722277791616.png" alt="NeilH_2-1722277791616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 18:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937510#M24856</guid>
      <dc:creator>NeilH</dc:creator>
      <dc:date>2024-07-29T18:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Label Vertices of Radar Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937521#M24861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/465151"&gt;@NeilH&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you change the FREQ=RATING1 to SUMVAR=RATING1 and add the SPOKESCALE=VERTEX option to the CHART statement in PROC GRADAR, each spoke will display 3 tick marks. The first is the minimum value and the third tick mark is the maximum value for that spoke.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is a modification of your program with these changes and the sample output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data rc_temp5;
length var $19 source $9 section $11;
input var $ rating1 survey $ source $ section $;
cards;
f_pr_inst_mean  68.1 Faculty Institute Program
f_pr_national_mean 79.7 Faculty National Program
f_fa_inst_mean  78.6 Faculty Institute Faculty
f_fa_national_mean 86.3 Faculty National Faculty
f_in_inst_mean  76.0 Faculty Institute Institution
f_in_national_mean 67.3 Faculty National Institution
f_le_inst_mean  88.9 Faculty Institute Leadership
f_le_national_mean 76.8 Faculty National Leadership
f_ed_inst_mean  75.2   Faculty Institute Education
f_ed_national_mean 84.0 Faculty National Education
;
run;
proc gradar data=rc_temp5;
where survey = 'Faculty';
chart section / 
sumvar=rating1 
overlay=source
cstarfill=(CX7C95CA CXDE7E6F)
starfill=(empty empty)
cframe= beige
spokescale=vertex
;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarciaS_0-1722282427861.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98801i9111F69659EA5C5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarciaS_0-1722282427861.png" alt="MarciaS_0-1722282427861.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 19:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937521#M24861</guid>
      <dc:creator>MarciaS</dc:creator>
      <dc:date>2024-07-29T19:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Label Vertices of Radar Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937525#M24862</link>
      <description>&lt;P&gt;It is possible but can be tedious.&lt;/P&gt;
&lt;P&gt;First you need a separate AXIS statement for each set of labels you want. Then you use the STARAXIS statement to use the axis statements in the desired order.&lt;/P&gt;
&lt;P&gt;Key to remember the the default vertical axis that gets labeled is in position 1. So in your example counting clockwise from that the 'Program' axis is number 5 of 5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example Axis statements. Axis1 has the labels requested, Axis2 is basically the default ticks and such with no labels.&lt;/P&gt;
&lt;P&gt;Then the staraxis = () uses one of the defined Axis statements for each of the 5 positions.&lt;/P&gt;
&lt;PRE&gt;axis1 order=(68.1, 79.7) ;
axis2 value=none;

proc gradar data=rc_temp5;
   where survey = 'Faculty';
   chart section / 
   freq=rating1 
   overlay=source
   cstarfill=(CX7C95CA CXDE7E6F)
   starfill=(empty empty)
   cframe= beige
   staraxis= (axis2, axis2, axis2, axis2, axis1 )
;
run;&lt;/PRE&gt;
&lt;P&gt;Caution: this approach can create different scales for each axis if just specifying one or two points in the ORDER list.&lt;/P&gt;
&lt;P&gt;If you are thinking of multiple different labels you want to fix first and last values so the scales stay the same. For example.&lt;/P&gt;
&lt;PRE&gt;axis1 order=(0, 68.1, 79.7,100) ;
axis2 order=(0 ,50, 100);
axis3 order=(0 ,78.6, 86.3,100);
axis4 order=(0 ,  67.3, 76.0,100);
axis5 order=(0 ,  76.8, 88.9,100);

proc gradar data=rc_temp5;
   where survey = 'Faculty';
   chart section / 
   freq=rating1 
   overlay=source
   cstarfill=(CX7C95CA CXDE7E6F)
   starfill=(empty empty)
   cframe= beige
   staraxis= (axis2, axis3, axis4, axis5, axis1 )
;
run;&lt;/PRE&gt;
&lt;P&gt;Notice that values get rounded.&lt;/P&gt;
&lt;P&gt;Getting past my vaguely remembered syntax for Gradar from SAS 6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 20:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937525#M24862</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-07-29T20:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Label Vertices of Radar Chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937527#M24863</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 20:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Label-Vertices-of-Radar-Chart/m-p/937527#M24863</guid>
      <dc:creator>NeilH</dc:creator>
      <dc:date>2024-07-29T20:21:06Z</dc:date>
    </item>
  </channel>
</rss>

