<?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: Custom Style Template and Chart Colors in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475738#M16434</link>
    <description>&lt;P&gt;The SGPLOT code has no effect on the NPAR1WAY run. Run the NPAR1WAY by itself, and you should get the same result. You will need to check the template(s) use by that procedures and adjust them if you need to modify the output.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jul 2018 17:22:29 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2018-07-05T17:22:29Z</dc:date>
    <item>
      <title>Custom Style Template and Chart Colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475600#M16429</link>
      <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reeza showed me to a custom style template that follows Stephen Few's visualization practices. I'm trying to use that to create a custom style template for my organization (attached). For the most part it seems to be doing what I want except for this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run this code, all my custom chart colors show up in the bars:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;html&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=Styles.My_Custom_Style;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New"&gt;'Counts by Type'&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;sgplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=sashelp.cars;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;vbar&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; type/ &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=type;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;but when I run this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;html&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=Styles.HACustom;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New"&gt;'Counts by Type'&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;sgplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=sashelp.cars;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;vbar&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; type&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;the bar fill seems to be a default light blue. How can I get it to use my custom colors?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;Brian&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 12:54:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475600#M16429</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2018-07-05T12:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Style Template and Chart Colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475647#M16431</link>
      <description>&lt;P&gt;When you do not have a GROUP on VBAR statement, the default color for the bars is retrieved from the GraphDataDefault style element, not GraphData1-N. If you want to use one of the GraphData1-N colors, the simplest way is to do the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;vbar type / fillattrs=GraphData1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 14:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475647#M16431</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-07-05T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Style Template and Chart Colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475703#M16432</link>
      <description>&lt;P&gt;Thanks again Dan!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 15:40:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475703#M16432</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2018-07-05T15:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Style Template and Chart Colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475737#M16433</link>
      <description>&lt;P&gt;Dan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe I should post this in a new thread but I was wondering why when I run the code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;html&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=Styles.My_Custom_Style;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;proc&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;sgplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=aviator.aviator_demogs &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;nocycleattrs&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;histogram&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; age_f18 / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;fillattrs&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=GraphData1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;name&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;'s'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;binstart&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;binwidth&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;transparency&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;0.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;density&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; age_f18 /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;type&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=kernel ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;histogram&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; age_T45 / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;fillattrs&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=GraphData2 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;name&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;'d'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;binstart&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;binwidth&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;transparency&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;0.5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;density&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; age_T45 /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;type&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=kernel ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;keylegend&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New"&gt;'s'&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New"&gt;'d'&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;location&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=inside &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;position&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=topright &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;across&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;noborder&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;yaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;offsetmin&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;xaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;"AGE"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;and then I run this code&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;proc&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;npar1way&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=aviator.Demog_vitals &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;wilcoxon&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;median&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;plots&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;=(wilcoxonboxplot medianplot)&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; AIRCRAFT;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; AGE;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;the wilcoxonboxplot and medianplot seem to have the same transparency setting as the SGPlot output. Is there a way to override this?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:16:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475737#M16433</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2018-07-05T17:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Style Template and Chart Colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475738#M16434</link>
      <description>&lt;P&gt;The SGPLOT code has no effect on the NPAR1WAY run. Run the NPAR1WAY by itself, and you should get the same result. You will need to check the template(s) use by that procedures and adjust them if you need to modify the output.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:22:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475738#M16434</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-07-05T17:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Style Template and Chart Colors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475748#M16435</link>
      <description>Thanks!</description>
      <pubDate>Thu, 05 Jul 2018 17:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Custom-Style-Template-and-Chart-Colors/m-p/475748#M16435</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2018-07-05T17:38:25Z</dc:date>
    </item>
  </channel>
</rss>

