<?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 WARNING: Could not locate parent style element &amp;quot;Graphdata13&amp;quot; for element &amp;quot;mystyle.Graphdata13&amp;quot;. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/WARNING-Could-not-locate-parent-style-element-quot-Graphdata13/m-p/583575#M13984</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to generate a 2-panel plot with 18 lines. I would like to have a separate color for each of the lines and defined accordingly in the SAS Template. But I have been getting the following warning in the log and I was hoping that I could get some help on this:&lt;/P&gt;&lt;P&gt;WARNING: Could not locate parent style element "Graphdata13" for element "mystyle.Graphdata13".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata14" for element "mystyle.Graphdata14".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata15" for element "mystyle.Graphdata15".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata16" for element "mystyle.Graphdata16".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata17" for element "mystyle.Graphdata17".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Template:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC TEMPLATE;&lt;BR /&gt;define style mystyle;&lt;BR /&gt;parent=styles.rtf;&lt;BR /&gt;Style Header from Header / Background = white /*FONT_WEIGHT=medium*/;&lt;BR /&gt;Style RowHeader from RowHeader / Background = WHITE /*FONT_WEIGHT=medium*/;&lt;/P&gt;&lt;P&gt;style GraphFonts from graphfonts/&lt;BR /&gt;'GraphDataFont' = ("Times New Roman",10pt, bold)&lt;BR /&gt;'GraphUnicodeFont' = ("Times New Roman",10pt, bold)&lt;BR /&gt;'GraphValueFont' = ("Times New Roman",8pt, bold)&lt;BR /&gt;'GraphLabelFont' = ("Times New Roman",6pt,bold)&lt;BR /&gt;'GraphFootnoteFont' = ("Times New Roman",10pt,normal)&lt;BR /&gt;'GraphTitleFont' = ("Times New Roman",10pt,bold)&lt;BR /&gt;'GraphAnnoFont' = ("Times New Roman",10pt, bold);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CLASS GraphValueText /COLOR=BLACK;&lt;BR /&gt;CLASS GraphDataText /COLOR=BLACK;&lt;BR /&gt;CLASS GraphBorderLines/COLOR=BLACK;&lt;BR /&gt;CLASS GraphAxisLines/ContrastColor=BLACK;&lt;BR /&gt;CLASS GraphLabelText/COLOR=BLACK;&lt;BR /&gt;CLASS GraphDataDefault/COLOR=BLACK ContrastColor=BLACK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CLASS GraphAnnoLine/ContrastColor=BLACK;&lt;BR /&gt;CLASS GraphAnnoText/COLOR=BLACK;&lt;BR /&gt;CLASS GraphConnectLine/ContrastColor=BLACK;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;%do i =1 %to &amp;amp;max;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;style Graphdata&amp;amp;i from Graphdata&amp;amp;i/ contrastcolor=&amp;amp;&amp;amp;color&amp;amp;i linestyle=&amp;amp;&amp;amp;line&amp;amp;i Markersymbol="&amp;amp;&amp;amp;symbol&amp;amp;i";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;%end;&lt;/FONT&gt;&lt;BR /&gt;style GraphError /LineThickness = 1px;&lt;/P&gt;&lt;P&gt;class graphwalls /&lt;BR /&gt;frameborder=on&lt;BR /&gt;linestyle=1&lt;BR /&gt;linethickness=1px&lt;BR /&gt;backgroundcolor=GraphColors("gwalls")&lt;BR /&gt;contrastcolor= black;&lt;/P&gt;&lt;P&gt;class graphaxislines /&lt;BR /&gt;linestyle=1&lt;BR /&gt;linethickness=1px&lt;BR /&gt;contrastcolor=black;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;class table/outputwidth=100%;&lt;BR /&gt;replace Body from Document / textalign =center&lt;BR /&gt;topmargin = 0.05 in&lt;BR /&gt;bottommargin = 0.05 in&lt;BR /&gt;rightmargin = 0.05 in&lt;BR /&gt;leftmargin = 0.05 in;&lt;BR /&gt;replace fonts /&lt;BR /&gt;'TitleFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'TitleFont2' = ("Times New Roman",10pt,normal)&lt;BR /&gt;'StrongFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'EmphasisFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'FixedEmphasisFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'FixedStrongFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'FixedHeadingFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'BatchFixedFont' = ("Times New Roman, Times New Roman",10pt)&lt;BR /&gt;'FixedFont' = ("Times New Roman",10pt)&lt;BR /&gt;'headingEmphasisFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'headingFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'docFont' = ("Times New Roman",10pt);&lt;BR /&gt;class Table/&lt;BR /&gt;bordercollapse = separate&lt;BR /&gt;backgroundcolor = colors('tablebg')&lt;BR /&gt;BACKGROUND=_UNDEF_&lt;BR /&gt;textalign =center&lt;BR /&gt;rules = all&lt;BR /&gt;frame =BOX&lt;BR /&gt;borderspacing =1&lt;BR /&gt;bordercolor = colors('tableborder')&lt;BR /&gt;borderwidth =1&lt;BR /&gt;bordertopwidth=1&lt;BR /&gt;bordertopcolor=black&lt;BR /&gt;borderbottomwidth=1&lt;BR /&gt;borderbottomcolor=black ;&lt;/P&gt;&lt;P&gt;class Data /&lt;BR /&gt;color = colors('datafg')&lt;BR /&gt;backgroundcolor = colors('databg')&lt;BR /&gt;textalign =center ;&lt;/P&gt;&lt;P&gt;Style Systemfooter from Systemfooter /&lt;BR /&gt;background=white&lt;BR /&gt;borderbottomcolor=white&lt;BR /&gt;bordertopcolor=black&lt;BR /&gt;borderbottomwidth=2&lt;BR /&gt;background=_undef_&lt;BR /&gt;bordertopwidth=0&lt;BR /&gt;textalign = center&lt;BR /&gt;font =fonts('TitleFont2') ;&lt;BR /&gt;END;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2019 17:59:22 GMT</pubDate>
    <dc:creator>DinoPut</dc:creator>
    <dc:date>2019-08-23T17:59:22Z</dc:date>
    <item>
      <title>WARNING: Could not locate parent style element "Graphdata13" for element "mystyle.Graphdata13".</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WARNING-Could-not-locate-parent-style-element-quot-Graphdata13/m-p/583575#M13984</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to generate a 2-panel plot with 18 lines. I would like to have a separate color for each of the lines and defined accordingly in the SAS Template. But I have been getting the following warning in the log and I was hoping that I could get some help on this:&lt;/P&gt;&lt;P&gt;WARNING: Could not locate parent style element "Graphdata13" for element "mystyle.Graphdata13".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata14" for element "mystyle.Graphdata14".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata15" for element "mystyle.Graphdata15".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata16" for element "mystyle.Graphdata16".&lt;BR /&gt;WARNING: Could not locate parent style element "Graphdata17" for element "mystyle.Graphdata17".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Template:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC TEMPLATE;&lt;BR /&gt;define style mystyle;&lt;BR /&gt;parent=styles.rtf;&lt;BR /&gt;Style Header from Header / Background = white /*FONT_WEIGHT=medium*/;&lt;BR /&gt;Style RowHeader from RowHeader / Background = WHITE /*FONT_WEIGHT=medium*/;&lt;/P&gt;&lt;P&gt;style GraphFonts from graphfonts/&lt;BR /&gt;'GraphDataFont' = ("Times New Roman",10pt, bold)&lt;BR /&gt;'GraphUnicodeFont' = ("Times New Roman",10pt, bold)&lt;BR /&gt;'GraphValueFont' = ("Times New Roman",8pt, bold)&lt;BR /&gt;'GraphLabelFont' = ("Times New Roman",6pt,bold)&lt;BR /&gt;'GraphFootnoteFont' = ("Times New Roman",10pt,normal)&lt;BR /&gt;'GraphTitleFont' = ("Times New Roman",10pt,bold)&lt;BR /&gt;'GraphAnnoFont' = ("Times New Roman",10pt, bold);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CLASS GraphValueText /COLOR=BLACK;&lt;BR /&gt;CLASS GraphDataText /COLOR=BLACK;&lt;BR /&gt;CLASS GraphBorderLines/COLOR=BLACK;&lt;BR /&gt;CLASS GraphAxisLines/ContrastColor=BLACK;&lt;BR /&gt;CLASS GraphLabelText/COLOR=BLACK;&lt;BR /&gt;CLASS GraphDataDefault/COLOR=BLACK ContrastColor=BLACK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CLASS GraphAnnoLine/ContrastColor=BLACK;&lt;BR /&gt;CLASS GraphAnnoText/COLOR=BLACK;&lt;BR /&gt;CLASS GraphConnectLine/ContrastColor=BLACK;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;%do i =1 %to &amp;amp;max;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;style Graphdata&amp;amp;i from Graphdata&amp;amp;i/ contrastcolor=&amp;amp;&amp;amp;color&amp;amp;i linestyle=&amp;amp;&amp;amp;line&amp;amp;i Markersymbol="&amp;amp;&amp;amp;symbol&amp;amp;i";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;%end;&lt;/FONT&gt;&lt;BR /&gt;style GraphError /LineThickness = 1px;&lt;/P&gt;&lt;P&gt;class graphwalls /&lt;BR /&gt;frameborder=on&lt;BR /&gt;linestyle=1&lt;BR /&gt;linethickness=1px&lt;BR /&gt;backgroundcolor=GraphColors("gwalls")&lt;BR /&gt;contrastcolor= black;&lt;/P&gt;&lt;P&gt;class graphaxislines /&lt;BR /&gt;linestyle=1&lt;BR /&gt;linethickness=1px&lt;BR /&gt;contrastcolor=black;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;class table/outputwidth=100%;&lt;BR /&gt;replace Body from Document / textalign =center&lt;BR /&gt;topmargin = 0.05 in&lt;BR /&gt;bottommargin = 0.05 in&lt;BR /&gt;rightmargin = 0.05 in&lt;BR /&gt;leftmargin = 0.05 in;&lt;BR /&gt;replace fonts /&lt;BR /&gt;'TitleFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'TitleFont2' = ("Times New Roman",10pt,normal)&lt;BR /&gt;'StrongFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'EmphasisFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'FixedEmphasisFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'FixedStrongFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'FixedHeadingFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'BatchFixedFont' = ("Times New Roman, Times New Roman",10pt)&lt;BR /&gt;'FixedFont' = ("Times New Roman",10pt)&lt;BR /&gt;'headingEmphasisFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'headingFont' = ("Times New Roman",10pt,BOLD)&lt;BR /&gt;'docFont' = ("Times New Roman",10pt);&lt;BR /&gt;class Table/&lt;BR /&gt;bordercollapse = separate&lt;BR /&gt;backgroundcolor = colors('tablebg')&lt;BR /&gt;BACKGROUND=_UNDEF_&lt;BR /&gt;textalign =center&lt;BR /&gt;rules = all&lt;BR /&gt;frame =BOX&lt;BR /&gt;borderspacing =1&lt;BR /&gt;bordercolor = colors('tableborder')&lt;BR /&gt;borderwidth =1&lt;BR /&gt;bordertopwidth=1&lt;BR /&gt;bordertopcolor=black&lt;BR /&gt;borderbottomwidth=1&lt;BR /&gt;borderbottomcolor=black ;&lt;/P&gt;&lt;P&gt;class Data /&lt;BR /&gt;color = colors('datafg')&lt;BR /&gt;backgroundcolor = colors('databg')&lt;BR /&gt;textalign =center ;&lt;/P&gt;&lt;P&gt;Style Systemfooter from Systemfooter /&lt;BR /&gt;background=white&lt;BR /&gt;borderbottomcolor=white&lt;BR /&gt;bordertopcolor=black&lt;BR /&gt;borderbottomwidth=2&lt;BR /&gt;background=_undef_&lt;BR /&gt;bordertopwidth=0&lt;BR /&gt;textalign = center&lt;BR /&gt;font =fonts('TitleFont2') ;&lt;BR /&gt;END;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 17:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WARNING-Could-not-locate-parent-style-element-quot-Graphdata13/m-p/583575#M13984</guid>
      <dc:creator>DinoPut</dc:creator>
      <dc:date>2019-08-23T17:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: Could not locate parent style element "Graphdata13" for element "mystyle</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WARNING-Could-not-locate-parent-style-element-quot-Graphdata13/m-p/583589#M13987</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;If you look in the styles.default template, you'll see that the GraphData elements only go from 1-12. So the minute you tried to inherit with a "from GraphData13" or "from GraphData14" you would start to encounter problems.&lt;BR /&gt;&lt;BR /&gt;I am assuming that you have this in a macro program definition. My recommendation would be to use a CLASS statement (which does not need a FROM) instead of your current loop, which uses STYLE and FROM.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 20:59:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WARNING-Could-not-locate-parent-style-element-quot-Graphdata13/m-p/583589#M13987</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-08-23T20:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: Could not locate parent style element "Graphdata13" for element "mystyle</title>
      <link>https://communities.sas.com/t5/New-SAS-User/WARNING-Could-not-locate-parent-style-element-quot-Graphdata13/m-p/583615#M13992</link>
      <description>&lt;P&gt;Thank you, Cynthia! That worked!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 21:25:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/WARNING-Could-not-locate-parent-style-element-quot-Graphdata13/m-p/583615#M13992</guid>
      <dc:creator>DinoPut</dc:creator>
      <dc:date>2019-08-23T21:25:32Z</dc:date>
    </item>
  </channel>
</rss>

