<?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: gchart/gplot template or other in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90801#M3370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible option is the High-Low plot.&lt;/P&gt;&lt;PRE&gt;proc sgplot data=mydata;
vbarparm category=original_order response=points/ barwidth=0.6 dataskin=sheen fillattrs=(color=cx4f81bd);
highlow x=original_order high=mean_high low=mean_low/type=bar clusterwidth=1 fillattrs=(color=red) nooutline;
highlow x=original_order high=goal_high low=goal_low/type=bar clusterwidth=1 fillattrs=(color=yellow) nooutline;
run;
&lt;/PRE&gt;&lt;P&gt;You have to add mean_high and mean_low / goal_high and goal_low to the dataset, something like this:&lt;/P&gt;&lt;PRE&gt;data mydata;
input PlayerPosition $ 1-22 PlayerName $ 24-41 Points Mean Goal;
original_order+1;
mean_high=mean+15;
mean_low=mean-15;
goal_high=goal+15;
goal_low=goal-15;
datalines;
1 - Loosehead\Prop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amit Agrawal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1187.06&amp;nbsp; 870.58&amp;nbsp; 957.638
2 - Hooker&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chalam\Madapalia&amp;nbsp;&amp;nbsp; 1105.64&amp;nbsp; 660.62&amp;nbsp; 726.682
3 - Tighthead\Prop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rob Joyner&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 539.33&amp;nbsp; 715.33&amp;nbsp; 786.863
3 - Tighthead\Prop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Robert Allison&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 627.14&amp;nbsp; 715.33&amp;nbsp; 786.863
4 - Left Lock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kyle Pippinger&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 61.04&amp;nbsp; 896.17&amp;nbsp; 985.787
4 - Left Lock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Horace\Stainback&amp;nbsp;&amp;nbsp; 1204.15&amp;nbsp; 896.17&amp;nbsp; 985.787
5 - Right Lock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Navaid Baqai&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1688.76&amp;nbsp; 916.90 1008.590
6 - Blindside\Flanker&amp;nbsp; Frank Scalia&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1342.54&amp;nbsp; 890.15&amp;nbsp; 979.165
7 - Openside\Flanker&amp;nbsp;&amp;nbsp; Sheila Douglas&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1362.77&amp;nbsp; 827.35&amp;nbsp; 910.085
8 - Number 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lolsy\Sepulveda&amp;nbsp;&amp;nbsp;&amp;nbsp; 1119.28 1020.48 1122.528
;
run;&lt;/PRE&gt;&lt;P&gt;I don't do the other fancy stuff in Rob's as that would take some time, but it's not terribly difficult in SGPLOT.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11587i2016AAA61F9F1E0E/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SGPlot13.png" title="SGPlot13.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 15:10:23 GMT</pubDate>
    <dc:creator>snoopy369</dc:creator>
    <dc:date>2013-09-24T15:10:23Z</dc:date>
    <item>
      <title>gchart/gplot template or other</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90799#M3368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been searching hi &amp;amp; low for code similar to this:&lt;A href="http://robslink.com/SAS/democd33/rugby_info.htm"&gt;http://robslink.com/SAS/democd33/rugby_info.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;mainly interesting in the pki values with a bar chart using a different format via gchart.&amp;nbsp; I've just begun understanding how to create simple charts and want to understand concepts working with more complex charts.&amp;nbsp; Currently I do this using excel and make an invisible line with a visible tick or line marker.&amp;nbsp; using the code from Robs website seems fine however I'd like to use dataskin=sheen or the other 5 options with dataskin. For the bars I'd like to make them have 2yaxis for the % (mean &amp;amp; goal bars).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've searched everywhere and this is the ONLY example I've found that fits perfectly, however not sure how to transform this into gplot or sgplot for that matter.&amp;nbsp; If anyone has similar charts I'd be very interesting in looking at the code.&amp;nbsp; Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marv &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 01:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90799#M3368</guid>
      <dc:creator>bustergomez</dc:creator>
      <dc:date>2013-09-24T01:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: gchart/gplot template or other</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90800#M3369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar to the 'dataskins', you can use ods styles in sas/graph (gchart, gplot, etc). Ods styles are not quite as fancy as skins though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the image from the above example - maybe if the ods graphics folks see it, they'll know of an easy way to do this with sgplot and such...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rugby.png" class="jive-image-thumbnail jive-image" height="496" src="https://communities.sas.com/legacyfs/online/4231_rugby.png" width="816" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 14:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90800#M3369</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2013-09-24T14:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: gchart/gplot template or other</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90801#M3370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One possible option is the High-Low plot.&lt;/P&gt;&lt;PRE&gt;proc sgplot data=mydata;
vbarparm category=original_order response=points/ barwidth=0.6 dataskin=sheen fillattrs=(color=cx4f81bd);
highlow x=original_order high=mean_high low=mean_low/type=bar clusterwidth=1 fillattrs=(color=red) nooutline;
highlow x=original_order high=goal_high low=goal_low/type=bar clusterwidth=1 fillattrs=(color=yellow) nooutline;
run;
&lt;/PRE&gt;&lt;P&gt;You have to add mean_high and mean_low / goal_high and goal_low to the dataset, something like this:&lt;/P&gt;&lt;PRE&gt;data mydata;
input PlayerPosition $ 1-22 PlayerName $ 24-41 Points Mean Goal;
original_order+1;
mean_high=mean+15;
mean_low=mean-15;
goal_high=goal+15;
goal_low=goal-15;
datalines;
1 - Loosehead\Prop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amit Agrawal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1187.06&amp;nbsp; 870.58&amp;nbsp; 957.638
2 - Hooker&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chalam\Madapalia&amp;nbsp;&amp;nbsp; 1105.64&amp;nbsp; 660.62&amp;nbsp; 726.682
3 - Tighthead\Prop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rob Joyner&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 539.33&amp;nbsp; 715.33&amp;nbsp; 786.863
3 - Tighthead\Prop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Robert Allison&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 627.14&amp;nbsp; 715.33&amp;nbsp; 786.863
4 - Left Lock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kyle Pippinger&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 61.04&amp;nbsp; 896.17&amp;nbsp; 985.787
4 - Left Lock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Horace\Stainback&amp;nbsp;&amp;nbsp; 1204.15&amp;nbsp; 896.17&amp;nbsp; 985.787
5 - Right Lock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Navaid Baqai&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1688.76&amp;nbsp; 916.90 1008.590
6 - Blindside\Flanker&amp;nbsp; Frank Scalia&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1342.54&amp;nbsp; 890.15&amp;nbsp; 979.165
7 - Openside\Flanker&amp;nbsp;&amp;nbsp; Sheila Douglas&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1362.77&amp;nbsp; 827.35&amp;nbsp; 910.085
8 - Number 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lolsy\Sepulveda&amp;nbsp;&amp;nbsp;&amp;nbsp; 1119.28 1020.48 1122.528
;
run;&lt;/PRE&gt;&lt;P&gt;I don't do the other fancy stuff in Rob's as that would take some time, but it's not terribly difficult in SGPLOT.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11587i2016AAA61F9F1E0E/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SGPlot13.png" title="SGPlot13.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 15:10:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90801#M3370</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-09-24T15:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: gchart/gplot template or other</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90802#M3371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Snoopy,&lt;/P&gt;&lt;P&gt;Thank you so much!&amp;nbsp; This is exactly what I was looking for.&amp;nbsp; The type=bar is the key!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;Thanks for your input and by the way excellent site you have, I can't seem to find a site on SAS anywhere like yours and it's the BEST! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 23:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gchart-gplot-template-or-other/m-p/90802#M3371</guid>
      <dc:creator>bustergomez</dc:creator>
      <dc:date>2013-09-24T23:20:18Z</dc:date>
    </item>
  </channel>
</rss>

