<?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: Rotate header labels with LAYOUT DATALATTICE in GTL in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31121#M962</link>
    <description>Hey Vladimir,&lt;BR /&gt;
&lt;BR /&gt;
I'm assuming you are running a PROC SGPANEL and used COLUMNHEADERPOS to move the labels to the bottom. If so, It is not currently possible to rotate them. Please post a code snipit so I'll precisely know your situation.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Dan</description>
    <pubDate>Wed, 16 Mar 2011 16:02:04 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2011-03-16T16:02:04Z</dc:date>
    <item>
      <title>Rotate header labels with LAYOUT DATALATTICE in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31119#M960</link>
      <description>I place header labels on bottom and want to rotate it. Is it possible? &lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Vladimir</description>
      <pubDate>Wed, 16 Mar 2011 15:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31119#M960</guid>
      <dc:creator>vladem</dc:creator>
      <dc:date>2011-03-16T15:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate header labels with LAYOUT DATALATTICE in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31120#M961</link>
      <description>We'll need more details ...&lt;BR /&gt;
&lt;BR /&gt;
For example, what proc are you using?&lt;BR /&gt;
&lt;BR /&gt;
And do you want to rotate the one axis label, or the values at each tickmark along the axis?</description>
      <pubDate>Wed, 16 Mar 2011 16:01:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31120#M961</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2011-03-16T16:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate header labels with LAYOUT DATALATTICE in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31121#M962</link>
      <description>Hey Vladimir,&lt;BR /&gt;
&lt;BR /&gt;
I'm assuming you are running a PROC SGPANEL and used COLUMNHEADERPOS to move the labels to the bottom. If so, It is not currently possible to rotate them. Please post a code snipit so I'll precisely know your situation.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Dan</description>
      <pubDate>Wed, 16 Mar 2011 16:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31121#M962</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2011-03-16T16:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate header labels with LAYOUT DATALATTICE in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31122#M963</link>
      <description>Actually, I use code from "Sample 39166: Distribution of eye irritation". I modernized it for testing and put header labels on bottom. I need to increase length of label but SAS truncated it, and I want to rotate labels.&lt;BR /&gt;
Is it possible?&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
   value xvarf&lt;BR /&gt;
     1 = 'Week 1 Week 1 Week 1'&lt;BR /&gt;
     2 = 'Week 2'&lt;BR /&gt;
     3 = 'Week 4'&lt;BR /&gt;
     4 = 'Week 6'&lt;BR /&gt;
     5 = 'Week 8'&lt;BR /&gt;
     6 = 'End Point';&lt;BR /&gt;
   value groupf&lt;BR /&gt;
     1 = 'Placebo'&lt;BR /&gt;
     2 = 'Drug A'&lt;BR /&gt;
     3 = 'Drug B';&lt;BR /&gt;
run;&lt;BR /&gt;
%macro test;&lt;BR /&gt;
proc template;&lt;BR /&gt;
  define statgraph EyeIrritation;&lt;BR /&gt;
    begingraph;&lt;BR /&gt;
	mvar %do j=1 %to 6; tck1&amp;amp;j tck2&amp;amp;j %end; ;&lt;BR /&gt;
    entrytitle halign=center 'Distribution of Eye Irritation (Redness)'{sup "1"} &lt;BR /&gt;
               / textattrs=GraphTitleText(FAMILY="arial"&lt;BR /&gt;
	                                      SIZE=12pt&lt;BR /&gt;
					                      WEIGHT=bold&lt;BR /&gt;
                                          COLOR=cx3f4896); &lt;BR /&gt;
    layout gridded / border=false;&lt;BR /&gt;
      layout datalattice columnvar=time / shrinkfonts=false&lt;BR /&gt;
                                          COLUMNHEADERS=bottom&lt;BR /&gt;
	                                      HEADERBACKGROUNDCOLOR=GraphAltBlock:color&lt;BR /&gt;
	                                      HEADEROPAQUE=FALSE &lt;BR /&gt;
                                          HEADERLABELDISPLAY=VALUE&lt;BR /&gt;
	                                      HEADERLABELLOCATION=OUTSIDE&lt;BR /&gt;
                                          HEADERLABELATTRS=GRAPHVALUETEXT(SIZE=6pt &lt;BR /&gt;
                                                                          WEIGHT=normal &lt;BR /&gt;
                                                                          COLOR=black&lt;BR /&gt;
                                                                          FAMILY="arial")&lt;BR /&gt;
                                          cellwidthmin=50                                         &lt;BR /&gt;
                                          border=false &lt;BR /&gt;
                                          columndatarange=union&lt;BR /&gt;
                                          columnaxisopts=(display=(line))&lt;BR /&gt;
                                          rowaxisopts=(offsetmin=0 &lt;BR /&gt;
                                                       linearopts=(viewmax=100 tickvaluepriority=true) &lt;BR /&gt;
                                                       LABEL='Number of Patients, %' &lt;BR /&gt;
													   LABELATTRS=GraphLabelText(SIZE=10pt &lt;BR /&gt;
                                                                                 WEIGHT=bold &lt;BR /&gt;
                                                                                 COLOR=cx3f4896&lt;BR /&gt;
                                                                                 FAMILY="arial") &lt;BR /&gt;
									                   TICKVALUEATTRS=GraphValueText(SIZE=6pt &lt;BR /&gt;
                                                                                     WEIGHT=bold &lt;BR /&gt;
                                                                                     COLOR=black&lt;BR /&gt;
                                                                                     FAMILY="arial") &lt;BR /&gt;
                                                       griddisplay=off);&lt;BR /&gt;
        layout prototype / walldisplay=none;&lt;BR /&gt;
          barchart x=n y=percent / group=chartvar &lt;BR /&gt;
                                   name='a' &lt;BR /&gt;
                                   BARLABEL=TRUE  &lt;BR /&gt;
                                   BARLABELFORMAT=pctfmt.&lt;BR /&gt;
                                   BARLABELATTRS=GraphDataText(SIZE=6pt &lt;BR /&gt;
                                                               WEIGHT=bold &lt;BR /&gt;
                                                               COLOR=black&lt;BR /&gt;
                                                               FAMILY="arial")&lt;BR /&gt;
                                   skin=modern&lt;BR /&gt;
                                   outlineattrs=(color=black) &lt;BR /&gt;
                                   barwidth=1;&lt;BR /&gt;
        endlayout;&lt;BR /&gt;
&lt;BR /&gt;
      endlayout;&lt;BR /&gt;
      entry ' ';&lt;BR /&gt;
     &lt;BR /&gt;
      discretelegend 'a' / LOCATION=OUTSIDE &lt;BR /&gt;
                           HALIGN=CENTER&lt;BR /&gt;
                           VALIGN=CENTER&lt;BR /&gt;
                           BORDER=FALSE &lt;BR /&gt;
                           TITLE=''  &lt;BR /&gt;
                           TITLEATTRS=GraphValueText(SIZE=8pt &lt;BR /&gt;
                                                     WEIGHT=bold &lt;BR /&gt;
                                                     COLOR=red&lt;BR /&gt;
                                                     FAMILY="arial")&lt;BR /&gt;
                           VALUEATTRS=GraphValueText(SIZE=8pt &lt;BR /&gt;
                                                     WEIGHT=bold &lt;BR /&gt;
                                                     COLOR=black&lt;BR /&gt;
                                                     FAMILY="arial");&lt;BR /&gt;
    endlayout;&lt;BR /&gt;
  endgraph;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
%mend;&lt;BR /&gt;
%test;</description>
      <pubDate>Wed, 16 Mar 2011 16:35:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31122#M963</guid>
      <dc:creator>vladem</dc:creator>
      <dc:date>2011-03-16T16:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate header labels with LAYOUT DATALATTICE in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31123#M964</link>
      <description>Hey Vladimir,&lt;BR /&gt;
&lt;BR /&gt;
The LAYOUT DATALATTICE has the same limitation as PROC SGPANEL in that the headers currently cannot be rotated.&lt;BR /&gt;
&lt;BR /&gt;
Dan</description>
      <pubDate>Thu, 17 Mar 2011 14:57:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/31123#M964</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2011-03-17T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate header labels with LAYOUT DATALATTICE in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/327250#M11498</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution when column header is truncated when using LAYOUT DATALATTICE?&lt;/P&gt;&lt;P&gt;I am using SAS9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ting&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 05:03:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/327250#M11498</guid>
      <dc:creator>tma</dc:creator>
      <dc:date>2017-01-25T05:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate header labels with LAYOUT DATALATTICE in GTL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/327451#M11499</link>
      <description>&lt;P&gt;There is not a direct option to prevent truncation, such as wrapping, so that data alignment across cells is maintained. Looking at your template, you are already doing the other things I would have sugested (displaying on ly the values and shrinking the header font). A couple of other thoughts would be to either increase the graph size, or use a format to create a smaller form of your header text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 17:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Rotate-header-labels-with-LAYOUT-DATALATTICE-in-GTL/m-p/327451#M11499</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-01-25T17:03:18Z</dc:date>
    </item>
  </channel>
</rss>

