<?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: WARNING: DISCRETELEGEND statement with DISPLAYCLIPPED=FALSE is getting clipped. The legend will in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/WARNING-DISCRETELEGEND-statement-with-DISPLAYCLIPPED-FALSE-is/m-p/895381#M353758</link>
    <description>&lt;P&gt;I finally know why. This is caused by insufficient width&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2023 06:26:22 GMT</pubDate>
    <dc:creator>Stephen_Q</dc:creator>
    <dc:date>2023-09-22T06:26:22Z</dc:date>
    <item>
      <title>WARNING: DISCRETELEGEND statement with DISPLAYCLIPPED=FALSE is getting clipped. The legend will not</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WARNING-DISCRETELEGEND-statement-with-DISPLAYCLIPPED-FALSE-is/m-p/895226#M353673</link>
      <description>&lt;P&gt;My code is&amp;nbsp;DISPLAYCLIPPED=true, but why&amp;nbsp;WARNING display it? My code as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MPRINT(FIGURE): proc template;&lt;BR /&gt;MPRINT(FIGURE): define statgraph linechart;&lt;BR /&gt;MPRINT(FIGURE): begingraph/ border=false;&lt;BR /&gt;MPRINT(FIGURE): discreteattrmap name="l" / ignorecase=true ;&lt;BR /&gt;MPRINT(FIGURE): value "xx1" / lineattrs=(color=green pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx2" / lineattrs=(color=blue pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx3" / lineattrs=(color=red pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx4" / lineattrs=(color=green pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx5" / lineattrs=(color=blue pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx6" / lineattrs=(color=red pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx7" / lineattrs=(color=yellow pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx8" / lineattrs=(color=BROWN pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): value "xx9" / lineattrs=(color=MAGENTA pattern=solid );&lt;BR /&gt;MPRINT(FIGURE): enddiscreteattrmap ;&lt;BR /&gt;MPRINT(FIGURE): discreteattrvar attrvar=visit2 var=visit attrmap="l" ;&lt;BR /&gt;MPRINT(FIGURE): discreteattrmap name="s" / ignorecase=true ;&lt;BR /&gt;MPRINT(FIGURE): value "A" / markerattrs=(color=black symbol=Circle);&lt;BR /&gt;MPRINT(FIGURE): value "B" / markerattrs=(color=black symbol=CircleFilled);&lt;BR /&gt;MPRINT(FIGURE): enddiscreteattrmap ;&lt;BR /&gt;MPRINT(FIGURE): discreteattrvar attrvar=abpmfl2 var=abpmfl attrmap="s" ;&lt;BR /&gt;MPRINT(FIGURE): legendItem type=line name="xx1" / lineattrs=(color=green pattern=solid thickness=2) label="xx1";&lt;BR /&gt;MPRINT(FIGURE): legendItem type=line name="xx2" / lineattrs=(color=blue pattern=solid thickness=2) label="xx2";&lt;BR /&gt;MPRINT(FIGURE): legendItem type=line name="xx3" / lineattrs=(color=red pattern=solid thickness=2) label="xx3";&lt;BR /&gt;MPRINT(FIGURE): legendItem type=marker name="A" / markerattrs=(color=black symbol=Circle) label="Awake hours(9:00 AM - 9:00&lt;BR /&gt;PM)";&lt;BR /&gt;MPRINT(FIGURE): legendItem type=marker name="B" / markerattrs=(color=black symbol=CircleFilled) label="Sleep hours(1:00 AM -&lt;BR /&gt;6:00 AM)";&lt;BR /&gt;MPRINT(FIGURE): layout globallegend / border=true;&lt;BR /&gt;MPRINT(FIGURE): discretelegend "xx1" "xx2" "xx3" "xx4" "xx5" "xx6" "xx7" "xx8" "xx9" "A" "B" /autoitemsize=false DISPLAYCLIPPED=true across=2;&lt;BR /&gt;MPRINT(FIGURE): endlayout;&lt;BR /&gt;MPRINT(FIGURE): entrytitle "aaaa";&lt;BR /&gt;MPRINT(FIGURE): layout lattice/ columns = 1 rows = 3 rowweights=uniform rowdatarange=union columndatarange=union&lt;BR /&gt;rowgutter=0.5 columngutter=0.5 skipemptycells=true pad=(left=40);&lt;BR /&gt;MPRINT(FIGURE): rowaxes;&lt;BR /&gt;MPRINT(FIGURE): rowaxis/type=linear display=(line ticks tickvalues) linearopts=(tickvaluesequence=(start=50 end=200&lt;BR /&gt;increment=50) viewmin=50 viewmax=200);&lt;BR /&gt;MPRINT(FIGURE): rowaxis/type=linear display=(line ticks tickvalues) linearopts=(tickvaluesequence=(start=50 end=200&lt;BR /&gt;increment=50) viewmin=50 viewmax=200);&lt;BR /&gt;MPRINT(FIGURE): rowaxis/type=linear display=(line ticks tickvalues) linearopts=(tickvaluesequence=(start=50 end=200&lt;BR /&gt;increment=50) viewmin=50 viewmax=200);&lt;BR /&gt;MPRINT(FIGURE): endrowaxes;&lt;BR /&gt;MPRINT(FIGURE): columnaxes;&lt;BR /&gt;MPRINT(FIGURE): columnaxis/type=linear display=(line ticks tickvalues) linearopts=(tickvaluelist=(0 6 12 18 24) viewmin=-1&lt;BR /&gt;viewmax=25);&lt;BR /&gt;MPRINT(FIGURE): endcolumnaxes;&lt;BR /&gt;MPRINT(FIGURE): drawtext textattrs=(color=black size=10pt weight=bold) "ABPM"/&lt;BR /&gt;anchor=BOTTOM width=80 widthunit=percent ROTATE=90 x=5 y=50 justify=center ;&lt;BR /&gt;MPRINT(FIGURE): cell;&lt;BR /&gt;MPRINT(FIGURE): layout overlay;&lt;BR /&gt;MPRINT(FIGURE): drawtext textattrs=(color=black size=10pt weight=bold) "PL0010001"/ anchor=topright width=25&lt;BR /&gt;widthunit=percent xspace=wallpercent yspace=wallpercent x=80 y=80 justify=center ;&lt;BR /&gt;MPRINT(FIGURE): seriesplot x=x1 y=y1 / name="linechart" display=(markers) group=visit2 lineattrs=(thickness=2 pattern=Solid);&lt;BR /&gt;MPRINT(FIGURE): scatterplot x=x1 y=y1 / name="scatter" group=abpmfl2;&lt;BR /&gt;MPRINT(FIGURE): endlayout;&lt;BR /&gt;MPRINT(FIGURE): endcell;&lt;BR /&gt;MPRINT(FIGURE): cell;&lt;BR /&gt;MPRINT(FIGURE): layout overlay;&lt;BR /&gt;MPRINT(FIGURE): drawtext textattrs=(color=black size=10pt weight=bold) "PL0010002"/ anchor=topright width=25&lt;BR /&gt;widthunit=percent xspace=wallpercent yspace=wallpercent x=80 y=80 justify=center ;&lt;BR /&gt;MPRINT(FIGURE): seriesplot x=x2 y=y2 / name="linechart" display=(markers) group=visit2 lineattrs=(thickness=2 pattern=Solid);&lt;BR /&gt;MPRINT(FIGURE): scatterplot x=x2 y=y2 / name="scatter" group=abpmfl2;&lt;BR /&gt;MPRINT(FIGURE): endlayout;&lt;BR /&gt;MPRINT(FIGURE): endcell;&lt;BR /&gt;MPRINT(FIGURE): cell;&lt;BR /&gt;MPRINT(FIGURE): layout overlay;&lt;BR /&gt;MPRINT(FIGURE): drawtext textattrs=(color=black size=10pt weight=bold) "PL0040003"/ anchor=topright width=25&lt;BR /&gt;widthunit=percent xspace=wallpercent yspace=wallpercent x=80 y=80 justify=center ;&lt;BR /&gt;MPRINT(FIGURE): seriesplot x=x3 y=y3 / name="linechart" display=(markers) group=visit2 lineattrs=(thickness=2 pattern=Solid);&lt;BR /&gt;MPRINT(FIGURE): scatterplot x=x3 y=y3 / name="scatter" group=abpmfl2;&lt;BR /&gt;MPRINT(FIGURE): endlayout;&lt;BR /&gt;MPRINT(FIGURE): endcell;&lt;BR /&gt;MPRINT(FIGURE): SIDEBAR / ALIGN=bottom;&lt;BR /&gt;MPRINT(FIGURE): ENTRY "Hours" ;&lt;BR /&gt;MPRINT(FIGURE): ENDSIDEBAR;&lt;BR /&gt;MPRINT(FIGURE): endlayout;&lt;BR /&gt;MPRINT(FIGURE): endgraph;&lt;BR /&gt;MPRINT(FIGURE): end;&lt;BR /&gt;NOTE: STATGRAPH 'Linechart' has been saved to: WORK.TEMPLAT&lt;BR /&gt;NOTE: PROCEDURE TEMPLATE used (Total process time):&lt;BR /&gt;real time 0.04 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;MPRINT(FIGURE): run;&lt;BR /&gt;MPRINT(FIGURE): proc sgrender data=b template=linechart;&lt;BR /&gt;MPRINT(FIGURE): run;&lt;/P&gt;&lt;P&gt;NOTE: Compressing data set WORK._DOCTMP000000000000000000000 decreased size by 57.14 percent.&lt;BR /&gt;Compressed is 3 pages; un-compressed would require 7 pages.&lt;BR /&gt;WARNING: DISCRETELEGEND statement with DISPLAYCLIPPED=FALSE is getting clipped. The legend will not be drawn.&lt;BR /&gt;NOTE: There were 305 observations read from the data set WORK.B.&lt;BR /&gt;NOTE: PROCEDURE SGRENDER used (Total process time):&lt;BR /&gt;real time 2.34 seconds&lt;BR /&gt;cpu time 0.71 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 11:24:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WARNING-DISCRETELEGEND-statement-with-DISPLAYCLIPPED-FALSE-is/m-p/895226#M353673</guid>
      <dc:creator>Stephen_Q</dc:creator>
      <dc:date>2023-09-21T11:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: DISCRETELEGEND statement with DISPLAYCLIPPED=FALSE is getting clipped. The legend will</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WARNING-DISCRETELEGEND-statement-with-DISPLAYCLIPPED-FALSE-is/m-p/895381#M353758</link>
      <description>&lt;P&gt;I finally know why. This is caused by insufficient width&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 06:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WARNING-DISCRETELEGEND-statement-with-DISPLAYCLIPPED-FALSE-is/m-p/895381#M353758</guid>
      <dc:creator>Stephen_Q</dc:creator>
      <dc:date>2023-09-22T06:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: DISCRETELEGEND statement with DISPLAYCLIPPED=FALSE is getting clipped. The legend will</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WARNING-DISCRETELEGEND-statement-with-DISPLAYCLIPPED-FALSE-is/m-p/895518#M353823</link>
      <description>&lt;P&gt;proc sgrender data=b template=linechart;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%figure;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Sep 2023 02:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WARNING-DISCRETELEGEND-statement-with-DISPLAYCLIPPED-FALSE-is/m-p/895518#M353823</guid>
      <dc:creator>Stephen_Q</dc:creator>
      <dc:date>2023-09-23T02:00:59Z</dc:date>
    </item>
  </channel>
</rss>

