<?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: control of graphics color in ods powerpoint in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385677#M13221</link>
    <description>&lt;P&gt;First post errors.&amp;nbsp; The issue is not the data; it's the template (or something) that's controlling the colors for the slide.&amp;nbsp;&amp;nbsp;The group dose (which only has 1 value in this graphic) is the variable that's getting the color assigned; lanes are created for each subjn of length tos.&amp;nbsp; I'm attaching the slide with the incorrect colors,and&amp;nbsp;have pasted in&amp;nbsp;the proc template that produced the correct color for the pdf file but not for the pptx file.&amp;nbsp; I have attached a zip file with the correct and incorrect colors in pdf and pptx files, respectively.&amp;nbsp;&amp;nbsp;And the color I want is #840028, not #FAE85C.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;template&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; styles.arial;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; graphwalls / &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;frameborder&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=off;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; GraphData1 /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ContrastColor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=#&lt;/FONT&gt;840028&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=#&lt;/FONT&gt;840028&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;MarkerSymbol&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"SquareFilled"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Linestyle&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2017 15:00:58 GMT</pubDate>
    <dc:creator>swannie</dc:creator>
    <dc:date>2017-08-04T15:00:58Z</dc:date>
    <item>
      <title>control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385650#M13217</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm setting up the code to produce a powerpoint slide of a swim lane plot in SAS 9.4, and it's perfect except that the lanes are not the correct color.&amp;nbsp;The sgplot code for&amp;nbsp;it is below.&amp;nbsp; I've been trolling online for any hint about how to change the color (which I think may be from the PowerPointLight template) to what I want it to be.&amp;nbsp; My latest shot at it is to change the template thusly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;template&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; styles.swimplot; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;parent&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= styles.powerpointlight; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; GraphDataDefault /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;endcolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = GraphColors(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'gramp3cend'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;neutralcolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = GraphColors(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'gramp3cneutral'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;startcolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = GraphColors(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'gramp3cstart'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;markersize&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;7&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;px&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;markersymbol&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"circle"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;linethickness&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;px&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;linestyle&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;contrastcolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = GraphColors(&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'gcdata'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = cxFAE85C;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;*style GraphColors / 'gdata' = cxFAE85C;&lt;/FONT&gt; &lt;FONT color="#008000" face="Courier New" size="2"&gt;*#FAE85C;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;This does not work.&amp;nbsp; I want the lanes to be #&lt;FONT face="Courier New" size="2"&gt;FAE85C, a dark red, and they are blue blue blue.&amp;nbsp; Any help vastly appreciated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;BR /&gt;Swannie&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;graphics&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;reset&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;all&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;border&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;off&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;HEIGHT&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;170&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mm&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;WIDTH&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;250&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;mm&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;powerpoint&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"S:\Swim_Lane_Plot_&amp;amp;today..PPTX"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=styles.swimplot;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;sgplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=data.tos &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;sganno&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=data.anno &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noautolegend&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; dosen &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;fdosen.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;hbarparm&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;category&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=subjn &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;response&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=tos/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=dosen &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;name&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"chrt"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;barwidth&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1.0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;dataskin&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=sheen;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;scatter&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;X&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=ttrc &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Y&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=subjn /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;markerattrs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(symbol=circlefilled &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;size&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=black);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;scatter&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;X&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=ttrc &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Y&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=subjn /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;markerattrs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(symbol=circlefilled &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;size&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=white);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;yaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;type&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=discrete &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(novalues noticks) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;labelattrs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;size&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;18&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=bold) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"Treated Subjects"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;xaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;type&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=linear &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;labelattrs&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;size&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;14&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=bold) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;VALUEATTRS&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= (&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=Bold) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;label&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"Weeks"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;values&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; to &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;78&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; by &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;6&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 13:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385650#M13217</guid>
      <dc:creator>swannie</dc:creator>
      <dc:date>2017-08-04T13:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385661#M13219</link>
      <description>&lt;P&gt;You say "the lanes are not the correct color" but it isn't obvious 1) what color anything should be as 2) there is no data and 3) no example output. So we have no idea what colors are displayed for what variable. We cannot even tell which variable is a "lane".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should provide some example data in the form of a data step. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385661#M13219</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-04T14:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385664#M13220</link>
      <description>&lt;P&gt;Not sure what your goal is, but it seems you want to change the colors of the hbars. &amp;nbsp;However, you are using a group variable, so the colors will come from the GraphData1-12 elements. &amp;nbsp;If you are using SAS 9.4, you need not change the style, just set the colors you want for each group in the STYLEATTRS statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many examples in &lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;Graphically Speaking blog&lt;/A&gt;. &amp;nbsp;Here is one recent one: &amp;nbsp;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2017/07/30/clinical-graphs-waterfall-plot/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2017/07/30/clinical-graphs-waterfall-plot/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 14:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385664#M13220</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-08-04T14:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385677#M13221</link>
      <description>&lt;P&gt;First post errors.&amp;nbsp; The issue is not the data; it's the template (or something) that's controlling the colors for the slide.&amp;nbsp;&amp;nbsp;The group dose (which only has 1 value in this graphic) is the variable that's getting the color assigned; lanes are created for each subjn of length tos.&amp;nbsp; I'm attaching the slide with the incorrect colors,and&amp;nbsp;have pasted in&amp;nbsp;the proc template that produced the correct color for the pdf file but not for the pptx file.&amp;nbsp; I have attached a zip file with the correct and incorrect colors in pdf and pptx files, respectively.&amp;nbsp;&amp;nbsp;And the color I want is #840028, not #FAE85C.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;template&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; styles.arial;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; graphwalls / &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;frameborder&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=off;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; GraphData1 /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ContrastColor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=#&lt;/FONT&gt;840028&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=#&lt;/FONT&gt;840028&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;MarkerSymbol&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"SquareFilled"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;Linestyle&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 15:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385677#M13221</guid>
      <dc:creator>swannie</dc:creator>
      <dc:date>2017-08-04T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385680#M13222</link>
      <description>&lt;P&gt;Thank you for your reply and the links, but there is nothing there that leads me to believe that the ods powerpoint template won't override the styleattrs code in proc sgplot.&amp;nbsp; If it can, what's the purpose of the template?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 15:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385680#M13222</guid>
      <dc:creator>swannie</dc:creator>
      <dc:date>2017-08-04T15:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385717#M13224</link>
      <description>&lt;P&gt;You will know only if you try it. &amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &amp;nbsp;The template provides the default settings for colors etc. &amp;nbsp;These can be overridden by custom settings in the syntax. &amp;nbsp;Many users prefer to do this in the syntax instead of deriving a new Style.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 17:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385717#M13224</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-08-04T17:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385727#M13225</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/157397"&gt;@swannie&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your reply and the links, but there is nothing there that leads me to believe that the ods powerpoint template won't override the styleattrs code in proc sgplot.&amp;nbsp; If it can, what's the purpose of the template?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Post data and&amp;nbsp; plot code where the settings in the plot code do not work.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 17:26:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385727#M13225</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-04T17:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385734#M13226</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods powerpoint file='Test.pptx';
proc sgplot data=sashelp.class;
  styleattrs datacolors=(cyan pink);
  hbar name / group=sex ;
run;
ods powerpoint close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;See output with different colors in attached zip file.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 17:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385734#M13226</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2017-08-04T17:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: control of graphics color in ods powerpoint</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385745#M13227</link>
      <description>&lt;P&gt;Worked like a charm--thanks!&amp;nbsp; I'm ditching the proc template and going with this in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;swannie&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 18:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/control-of-graphics-color-in-ods-powerpoint/m-p/385745#M13227</guid>
      <dc:creator>swannie</dc:creator>
      <dc:date>2017-08-04T18:41:59Z</dc:date>
    </item>
  </channel>
</rss>

