<?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: SAS Graph- HBar for many variables in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43160#M1402</link>
    <description>Sorry, because your code got truncated, I did not see the DEV=ACTIVEX later in the program. I have looked at all your code and this is what I think you are trying to do:&lt;BR /&gt;
1) use ODS HTMLPANEL destination&lt;BR /&gt;
2) operating system with SAS is z/OS&lt;BR /&gt;
3) you want to move ODS HTMLPANEL output file from z/OS to a Windows machine so you can open the HTML file (with ACTIVEX output) into Excel&lt;BR /&gt;
 &lt;BR /&gt;
Is that correct???&lt;BR /&gt;
 &lt;BR /&gt;
If we move away from your somewhat lengthy code to a simpler example, as shown below, I believe that even if you get your output over to the Windows platform, you will not be happy with the look of the HTMLPANEL output when you open the HTML file into Excel. When I submit the code below on Windows and create the output, then Excel does not respect any XPIXEL or YPIXEL setting I have -- the images are very tiny.&lt;BR /&gt;
&lt;BR /&gt;
Also, when you use ACTIVEX as the device value, you must be sure that the proper ACTIVEX controls are loaded on the Windows system...if you do not have the ActiveX controls loaded on your Windows system, this may be another reason you are not seeing the images. (see the trouble-shooting items here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a002184516.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a002184516.htm&lt;/A&gt; )&lt;BR /&gt;
&lt;BR /&gt;
I still think you might want to work with Tech Support on this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
 &lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.htmlpanel file="graph_panel3.html" style=analysis&lt;BR /&gt;
    options(doc='help' panelcolumns='1' panelborder='0');&lt;BR /&gt;
                  &lt;BR /&gt;
  proc report data=sashelp.class(obs=4) nowd;&lt;BR /&gt;
  run;&lt;BR /&gt;
                &lt;BR /&gt;
goptions  reset=all cback='white' device= ACTIVEX;&lt;BR /&gt;
               &lt;BR /&gt;
ods tagsets.htmlpanel options(panelcolumns='2');&lt;BR /&gt;
                 &lt;BR /&gt;
  ods tagsets.htmlpanel event=panel(start);&lt;BR /&gt;
   proc gchart data=sashelp.class;&lt;BR /&gt;
     pie3d age / sumvar=height type=mean; &lt;BR /&gt;
   run;&lt;BR /&gt;
   quit;&lt;BR /&gt;
&lt;BR /&gt;
                    &lt;BR /&gt;
   proc gchart data=sashelp.shoes;&lt;BR /&gt;
    where product contains 'Dress' or product contains 'Casual';&lt;BR /&gt;
    vbar product / sumvar=sales type=mean; &lt;BR /&gt;
   run;&lt;BR /&gt;
   quit;&lt;BR /&gt;
                        &lt;BR /&gt;
  ods tagsets.htmlpanel event = panel(finish);&lt;BR /&gt;
ods tagsets.htmlpanel close;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
    <pubDate>Tue, 07 Dec 2010 22:58:27 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-12-07T22:58:27Z</dc:date>
    <item>
      <title>SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43152#M1394</link>
      <description>hi,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I need help to obtain this kind of graph.&lt;BR /&gt;
&lt;BR /&gt;
 I have a column, ACTES_TYPE, which has 10 values.&lt;BR /&gt;
Each ACTES_TYPE is associated with 4 different kinds of expenses incurred.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
So the HBAR graph should contain ACTES_TYPE values on Y Axis, and the X Axis should contain various expenses, placed (stacked) on the same bar with different colors. &lt;BR /&gt;
I.e. X Axis contains a single bar for each ACTES_TYPE, this single bar reflects the various expensesvalues with different colours, and lengths obviously.&lt;BR /&gt;
&lt;BR /&gt;
i.e one bar for one ACTES_TYPE.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I am very much new to this task. Can anyone help me in this??</description>
      <pubDate>Thu, 02 Dec 2010 07:09:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43152#M1394</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-02T07:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43153#M1395</link>
      <description>Hi:&lt;BR /&gt;
  You basically have 2 choices:&lt;BR /&gt;
1) device-based SAS/GRAPH "G" procedures, such as PROC GCHART to create a VBAR chart; or&lt;BR /&gt;
2) template-based ODS GRAPHICS Statistical Graphics "SG" procedures&lt;BR /&gt;
 &lt;BR /&gt;
There actually is a 3rd choice -- using the GTL (graph template language) but that is probably overkill for a stacked bar chart...unless you needed to do some heavy customization.&lt;BR /&gt;
 &lt;BR /&gt;
  The syntax for each of the above choices is slightly different, but clearly documented.&lt;BR /&gt;
PROC GCHART:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gchart-stmt.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#gchart-stmt.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
PROC SGPLOT/VBAR:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#vbar-stmt.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#vbar-stmt.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And there are many other examples that you can find in the Tech Support notes or user group papers. The program below should serve to get you started. The program shows both methods and takes all the defaults so you can compare how the output looks in the various destinations.&lt;BR /&gt;
 &lt;BR /&gt;
You will need at least SAS 9.2 in order to run the SGPLOT code. If you do not have SAS 9.2, then you will have to use PROC GCHART to produce your stacked bar chart. Other differences between the two methods are outlined in the documentation topic shown below:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a003275276.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a003275276.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc sort data=sashelp.shoes out=shoes;&lt;BR /&gt;
  where region in ('Africa', 'Canada', 'Pacific') and&lt;BR /&gt;
        (product contains 'Dress' or product contains 'Casual');&lt;BR /&gt;
by region product;&lt;BR /&gt;
run;&lt;BR /&gt;
                           &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods rtf file='c:\temp\compare_methods.rtf';&lt;BR /&gt;
ods pdf file='c:\temp\compare_methods.pdf';&lt;BR /&gt;
ods html path='c:\temp' (url=none)&lt;BR /&gt;
         file='compare_methods.html' style=analysis;&lt;BR /&gt;
** traditional device-based graphics;&lt;BR /&gt;
proc gchart data=shoes;&lt;BR /&gt;
  title 'PROC GCHART - VBAR';&lt;BR /&gt;
  vbar region/subgroup=product sumvar=sales;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
                        &lt;BR /&gt;
** new with SAS 9.2 template-based ODS graphics;&lt;BR /&gt;
proc sgplot data=shoes;&lt;BR /&gt;
  title 'PROC SGPLOT - VBAR';&lt;BR /&gt;
  vbar region/ response=sales stat=sum group=product;&lt;BR /&gt;
run;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 02 Dec 2010 15:43:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43153#M1395</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-02T15:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43154#M1396</link>
      <description>I'll give you two options &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
If you have SAS 9.2, this one should work for you:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc sgplot data=yourdata;&lt;BR /&gt;
hbar ACTES_TYPE / response=EXPENSES group=EXPENSE_TYPE;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
If you are using any version of SAS, you can use this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc gchart data=yourdata;&lt;BR /&gt;
hbar ACTES_TYPE / sumvar=EXPENSES subgroup=EXPENSE_TYPE;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps!&lt;BR /&gt;
Dan</description>
      <pubDate>Thu, 02 Dec 2010 15:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43154#M1396</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-12-02T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43155#M1397</link>
      <description>Good catch! Somehow, I got VBAR stuck in my brain!&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 02 Dec 2010 15:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43155#M1397</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-02T15:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43156#M1398</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I think I didnt get, or I am not clear in my problem explaination.&lt;BR /&gt;
&lt;BR /&gt;
My data looks like this.&lt;BR /&gt;
&lt;BR /&gt;
ACTES TYPE                                              E1         E2           E3          E4&lt;BR /&gt;
-------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
AUXILIAIRES MEDICAUX                               24,715  14,702 	9,811 	201 &lt;BR /&gt;
BIOLOGIE, RADIOLOGIE                               39,879   25,046 	14,617 	60 &lt;BR /&gt;
CONSULTATIONS ET VISITES   	75,488 	42,094	31,861 	199 &lt;BR /&gt;
CURES - MATERNITE - FRAIS D'OBSEQUES  0	0              6,655 	0 &lt;BR /&gt;
HOSPITALISATION                                    45,488 	28,492 	16,628 	0 &lt;BR /&gt;
PETITE CHIRURGIE   		8,176 	4,859 	3,198 	11 &lt;BR /&gt;
PHARMACIE              		71,596	42,267 	29,339 	28 &lt;BR /&gt;
PRESTATIONS DIVERSES 		12,575	6,043	4,648 	16 &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I need the ACTES TYTPE Colmn on Yaxis and the expenses, E1, E2, E3, E4  continously o nthe same bar (like series).&lt;BR /&gt;
&lt;BR /&gt;
EX:  &lt;BR /&gt;
 &lt;BR /&gt;
AUXILIAIRES MEDICAUX bar should contain all these E1, E2, E3 and E4 expenses, each with different colours. &lt;BR /&gt;
&lt;BR /&gt;
Same for the remai ing....ACTES_TYPES...&lt;BR /&gt;
&lt;BR /&gt;
Can you pls let me know??</description>
      <pubDate>Thu, 02 Dec 2010 16:12:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43156#M1398</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-02T16:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43157#M1399</link>
      <description>Hi:&lt;BR /&gt;
  You may need to consider restructuring your data, so it looks something like the example shown below. This would allow you to create the graph image you want. You could either use a DATA step program to restructure the data or you could use PROC TRANSPOSE.&lt;BR /&gt;
 &lt;BR /&gt;
  Once restructured, then the syntax shown previously would work for you.  Basically, you need a second category variable in order to subdivide the bar.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
actes_type                              e_type    expenses&lt;BR /&gt;
                      &lt;BR /&gt;
AUXILIAIRES MEDICAUX                      E1        24715&lt;BR /&gt;
AUXILIAIRES MEDICAUX                      E2        14702&lt;BR /&gt;
AUXILIAIRES MEDICAUX                      E3         9811&lt;BR /&gt;
AUXILIAIRES MEDICAUX                      E4          201&lt;BR /&gt;
BIOLOGIE RADIOLOGIE                       E1        39879&lt;BR /&gt;
BIOLOGIE RADIOLOGIE                       E2        25046&lt;BR /&gt;
BIOLOGIE RADIOLOGIE                       E3        14617&lt;BR /&gt;
BIOLOGIE RADIOLOGIE                       E4           60&lt;BR /&gt;
CONSULTATIONS ET VISITES                  E1        75488&lt;BR /&gt;
CONSULTATIONS ET VISITES                  E2        42094&lt;BR /&gt;
CONSULTATIONS ET VISITES                  E3        31861&lt;BR /&gt;
CONSULTATIONS ET VISITES                  E4          199&lt;BR /&gt;
CURES - MATERNITE - FRAIS D'OBSEQUES      E1            0&lt;BR /&gt;
CURES - MATERNITE - FRAIS D'OBSEQUES      E2            0&lt;BR /&gt;
CURES - MATERNITE - FRAIS D'OBSEQUES      E3         6655&lt;BR /&gt;
CURES - MATERNITE - FRAIS D'OBSEQUES      E4            0&lt;BR /&gt;
HOSPITALISATION                           E1        45488&lt;BR /&gt;
HOSPITALISATION                           E2        28492&lt;BR /&gt;
HOSPITALISATION                           E3        16628&lt;BR /&gt;
HOSPITALISATION                           E4            0&lt;BR /&gt;
PETITE CHIRURGIE                          E1         8176&lt;BR /&gt;
PETITE CHIRURGIE                          E2         4859&lt;BR /&gt;
PETITE CHIRURGIE                          E3         3198&lt;BR /&gt;
PETITE CHIRURGIE                          E4           11&lt;BR /&gt;
PHARMACIE                                 E1        71596&lt;BR /&gt;
PHARMACIE                                 E2        42267&lt;BR /&gt;
PHARMACIE                                 E3        29339&lt;BR /&gt;
PHARMACIE                                 E4           28&lt;BR /&gt;
PRESTATIONS DIVERSES                      E1        12575&lt;BR /&gt;
PRESTATIONS DIVERSES                      E2         6043&lt;BR /&gt;
PRESTATIONS DIVERSES                      E3         4648&lt;BR /&gt;
PRESTATIONS DIVERSES                      E4           16&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 02 Dec 2010 16:41:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43157#M1399</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-02T16:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43158#M1400</link>
      <description>hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot for the support.&lt;BR /&gt;
 I need another support.&lt;BR /&gt;
i am working on Z/OS environment. &lt;BR /&gt;
&lt;BR /&gt;
i am creating a report, which contains a table and two graphs, which is to be output to an excel sheet.&lt;BR /&gt;
&lt;BR /&gt;
 I am using an HTMLpanel Tagset for this.&lt;BR /&gt;
But, the output mainframe dataset is containg only the table, but not the graphs.&lt;BR /&gt;
&lt;BR /&gt;
Can you pls let me know if I need to add some statements? Pls check my below code.&lt;BR /&gt;
&lt;BR /&gt;
i am doubtful about the ODS Statements, if I am supposed to add any other options?&lt;BR /&gt;
&lt;BR /&gt;
 /*=====================STARTREPORT========================*/&lt;BR /&gt;
 &lt;BR /&gt;
   %let panelborder=1;                                                   &lt;BR /&gt;
   goptions reset=all dev=HTML ;                                         &lt;BR /&gt;
    ODS PATH(PREPEND) EXCELIB.TEMPLAT(UPDATE);                           &lt;BR /&gt;
    ODS TAGSETS.HTMLPANEL FILE=OUTPUT RS=NONE    &lt;BR /&gt;
    style=default options(embedded_titles="yes" )  ;               &lt;BR /&gt;
                                     &lt;BR /&gt;
                ;                    &lt;BR /&gt;
   title2 ;                                                              &lt;BR /&gt;
   title3 ;                                                              &lt;BR /&gt;
   footnote1      ;                                                      &lt;BR /&gt;
    footnote2  ;                                                         &lt;BR /&gt;
 /*=========================================================*/ &lt;BR /&gt;
    ods tagsets.htmlpanel event=row_panel(start);                        &lt;BR /&gt;
    goptions xpixels=480 ypixels=240;                                    &lt;BR /&gt;
 /*========================================================*/ &lt;BR /&gt;
 /*======================PROC REPORT ======*/ &lt;BR /&gt;
 /*=======================================================*/ &lt;BR /&gt;
    options charcode ;                                                   &lt;BR /&gt;
    proc report data=outsante.SogarepR1_1002 nowd  headskip split="~"    &lt;BR /&gt;
         style(header)= ?&amp;lt; background=$bckgrnd. &lt;BR /&gt;
...........&lt;BR /&gt;
.........&lt;BR /&gt;
.........&lt;BR /&gt;
.......&lt;BR /&gt;
.......                         &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/*====================END OF PROC======================*/ REPORT /*=================================================*/&lt;BR /&gt;
   ods tagsets.htmlpanel event=column_panel(start);                     &lt;BR /&gt;
   goptions xpixels=200 ypixels=240;                                    &lt;BR /&gt;
/*===================PIE CHART 3D===================================*/&lt;BR /&gt;
&lt;BR /&gt;
     goptions  rotate=landscape ftext="Arial"  border  cback='white'      &lt;BR /&gt;
              device= ACTIVEX ;                                          &lt;BR /&gt;
                                                                         &lt;BR /&gt;
    title1  ;                                                            &lt;BR /&gt;
    title2  ;                                                            &lt;BR /&gt;
    title3  h=12pt f='Arial' j=C  c='Dark Teal'                          &lt;BR /&gt;
            'Ventilation des remboursements AXA'     ;                   &lt;BR /&gt;
    title4  ;                                                            &lt;BR /&gt;
                                                                         &lt;BR /&gt;
    proc gchart data=outsante.SogarepP_1002;                             &lt;BR /&gt;
    format REPARTITION  pct.        ;                                    &lt;BR /&gt;
    pie3d ACTES_GROUP /                                                  &lt;BR /&gt;
    discrete  explode="all"  noheading  name="pie3d"  slice=outside      &lt;BR /&gt;
    coutline=blue  percent=outside                                       &lt;BR /&gt;
    sumvar=REPARTITION ;                              ;                  &lt;BR /&gt;
         quit; run;                                                      &lt;BR /&gt;
/*====================HBAR CHART======================================*/&lt;BR /&gt;
                                                                        &lt;BR /&gt;
   goptions xpixels=280 ypixels=240;                                    &lt;BR /&gt;
  title1 "Répartition des dépenses"   ;                                 &lt;BR /&gt;
  legend1 label=none value=(j=l &amp;amp;val)                                   &lt;BR /&gt;
      /*  rowmajor=2 colmajor=2    */                                   &lt;BR /&gt;
          across=2   /* down=2    */                                    &lt;BR /&gt;
          position=(top right outside )                                 &lt;BR /&gt;
          shape=bar(.5pt ,.5pt)   ;                                     &lt;BR /&gt;
   axis1  offset=(0,0)                                                  &lt;BR /&gt;
          order=(0 to 150000 by 15000)                                  &lt;BR /&gt;
          label=none                                                    &lt;BR /&gt;
          ;                                                             &lt;BR /&gt;
   axis2 label=none ;                                               &lt;BR /&gt;
   proc gchart data=outsante.sogarepH2_1002;                        &lt;BR /&gt;
   hbar ACTES_TYPE / subgroup=FRAIS_TYPE                            &lt;BR /&gt;
                     sumvar=FRAIS_AMOUNT                            &lt;BR /&gt;
                     legend=legend1                                 &lt;BR /&gt;
                     autoref                                        &lt;BR /&gt;
                     coutline=darkteal                              &lt;BR /&gt;
                     raxis=axis1                                    &lt;BR /&gt;
                     maxis=axis2                                    &lt;BR /&gt;
                     width=0.5 space=1.5                            &lt;BR /&gt;
                     nostats                                        &lt;BR /&gt;
                     ;                                              &lt;BR /&gt;
   quit; run;                                                       &lt;BR /&gt;
   ods tagsets.htmlpanel event=column_panel(finish);                &lt;BR /&gt;
   ods tagsets.htmlpanel event=row_panel(finish);                   &lt;BR /&gt;
   ODS TAGSETS.HTMLPANEL CLOSE;

Message was edited by: Rajitha</description>
      <pubDate>Tue, 07 Dec 2010 10:47:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43158#M1400</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-07T10:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43159#M1401</link>
      <description>Hi:&lt;BR /&gt;
  In the future, to post code to the forum, you should avoid the use of &amp;lt; or &amp;gt; in the code. Or, if you need to use those symbols in your code, you should replace them with &amp;amp;lt; and &amp;amp;gt;&lt;BR /&gt;
as described here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=27609毙" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=27609毙&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Also, you can use the [pre] and [/pre] tags around your code and output in order to maintain indenting and spacing.&lt;BR /&gt;
&lt;BR /&gt;
You need to do this so that your &amp;lt; and &amp;gt; are not interpreted as HTML tags by the forum posting mechanism.&lt;BR /&gt;
 &lt;BR /&gt;
As for your problem with images and HTMLPANEL there are several factors that could be impacting your output:&lt;BR /&gt;
1) You should see that your HTML file contains an &amp;lt;IMG&amp;gt; tag that has SRC= pointing to the location of the image file created by SAS/GRAPH&lt;BR /&gt;
2)When you FTP your HTML file from z/OS to Windows, you have to FTP the HTML file -and- all the &amp;lt;IMG SRC= ...&amp;gt; files together.&lt;BR /&gt;
 &lt;BR /&gt;
You may want to work with Tech Support on this issue, because I do not believe that DEV=HTML is valid for use SAS FILENAME FTP, per this note:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/16/110.html" target="_blank"&gt;http://support.sas.com/kb/16/110.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
In fact, I don't think you can use DEVICE=HTML with ODS at all, based on this note:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/3/770.html" target="_blank"&gt;http://support.sas.com/kb/3/770.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
So you may have some incorrect underlying assumptions about the correct DEVICE driver to use with ODS. This is another reason to work with Tech Support. To open a track with Tech Support, fill out the form at this link:&lt;BR /&gt;
&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_blank"&gt;http://support.sas.com/ctx/supportform/createForm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
They can look at ALL of your code and your data and your operating system configuration and give you the most help.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 07 Dec 2010 21:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43159#M1401</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-07T21:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43160#M1402</link>
      <description>Sorry, because your code got truncated, I did not see the DEV=ACTIVEX later in the program. I have looked at all your code and this is what I think you are trying to do:&lt;BR /&gt;
1) use ODS HTMLPANEL destination&lt;BR /&gt;
2) operating system with SAS is z/OS&lt;BR /&gt;
3) you want to move ODS HTMLPANEL output file from z/OS to a Windows machine so you can open the HTML file (with ACTIVEX output) into Excel&lt;BR /&gt;
 &lt;BR /&gt;
Is that correct???&lt;BR /&gt;
 &lt;BR /&gt;
If we move away from your somewhat lengthy code to a simpler example, as shown below, I believe that even if you get your output over to the Windows platform, you will not be happy with the look of the HTMLPANEL output when you open the HTML file into Excel. When I submit the code below on Windows and create the output, then Excel does not respect any XPIXEL or YPIXEL setting I have -- the images are very tiny.&lt;BR /&gt;
&lt;BR /&gt;
Also, when you use ACTIVEX as the device value, you must be sure that the proper ACTIVEX controls are loaded on the Windows system...if you do not have the ActiveX controls loaded on your Windows system, this may be another reason you are not seeing the images. (see the trouble-shooting items here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a002184516.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a002184516.htm&lt;/A&gt; )&lt;BR /&gt;
&lt;BR /&gt;
I still think you might want to work with Tech Support on this question.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
 &lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
&lt;BR /&gt;
ods tagsets.htmlpanel file="graph_panel3.html" style=analysis&lt;BR /&gt;
    options(doc='help' panelcolumns='1' panelborder='0');&lt;BR /&gt;
                  &lt;BR /&gt;
  proc report data=sashelp.class(obs=4) nowd;&lt;BR /&gt;
  run;&lt;BR /&gt;
                &lt;BR /&gt;
goptions  reset=all cback='white' device= ACTIVEX;&lt;BR /&gt;
               &lt;BR /&gt;
ods tagsets.htmlpanel options(panelcolumns='2');&lt;BR /&gt;
                 &lt;BR /&gt;
  ods tagsets.htmlpanel event=panel(start);&lt;BR /&gt;
   proc gchart data=sashelp.class;&lt;BR /&gt;
     pie3d age / sumvar=height type=mean; &lt;BR /&gt;
   run;&lt;BR /&gt;
   quit;&lt;BR /&gt;
&lt;BR /&gt;
                    &lt;BR /&gt;
   proc gchart data=sashelp.shoes;&lt;BR /&gt;
    where product contains 'Dress' or product contains 'Casual';&lt;BR /&gt;
    vbar product / sumvar=sales type=mean; &lt;BR /&gt;
   run;&lt;BR /&gt;
   quit;&lt;BR /&gt;
                        &lt;BR /&gt;
  ods tagsets.htmlpanel event = panel(finish);&lt;BR /&gt;
ods tagsets.htmlpanel close;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 07 Dec 2010 22:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43160#M1402</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-07T22:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43161#M1403</link>
      <description>As Cynthia says, the HTMLPANEL output will not work for you in Excel; however, you can use TAGSETS.MSOFFICE2K to generate HTML output that will work well in Excel. You will not have the paneling ability, but the output should look much better.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
Dan</description>
      <pubDate>Wed, 08 Dec 2010 00:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43161#M1403</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-12-08T00:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43162#M1404</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
 Thanks for ur support.&lt;BR /&gt;
&lt;BR /&gt;
But, I am supposed to geenrate an EXCEL sheet with a Table, and two graphs.&lt;BR /&gt;
So, do you think that we can achieve this without having paneling facility?&lt;BR /&gt;
&lt;BR /&gt;
And, if not ACTIVEX, can you suggest any other device to be used so that I can get my output ? So that I can atleast get back to my team saying that  Ihave acieved something.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
As I shared with you, I am basically new to this kind of work.&lt;BR /&gt;
&lt;BR /&gt;
Can you pls provide me some detailed notes/ docuemtation on how to use the ODS, customize the TAGSETS for desired styles, and various options available...</description>
      <pubDate>Wed, 08 Dec 2010 04:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43162#M1404</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-08T04:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43163#M1405</link>
      <description>Hi:&lt;BR /&gt;
  If you switch to ODS MSOFFICE2K, you will be creating an HTML file. The HTML file can be opened in Excel 97 or higher. The HTML file can contain a table and your 2 graphs, all on one worksheet. The only difference will be that the graphs will not be panelled -- which means that the 2 graphs would be one underneath the other, instead of side by side.&lt;BR /&gt;
 &lt;BR /&gt;
  As for your other question:&lt;BR /&gt;
&lt;B&gt;&lt;BR /&gt;
Can you pls provide me some detailed notes/ docuemtation on how to use the ODS, customize the TAGSETS for desired styles, and various options available&lt;BR /&gt;
&lt;/B&gt;&lt;BR /&gt;
    &lt;BR /&gt;
The ODS documentation is organized primarily by destination -- so there is a section on options for ODS HTML and other ODS MARKUP destinations, there is a section on options for ODS RTF and a similar section for ODS PRINTER-family of destinations. Most of the ODS documentation can be found by starting here at the "Dictionary of ODS Language Statements" topic:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002228116.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002228116.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
If you needed to customize style attributes, such as colors and fonts (even if you were sending your HTML output to Excel) -- the appropriate place to change styles is in the STYLE template (not the TAGSET template). Again, looking in the ODS Documentation for PROC TEMPLATE, about STYLE templates is the place to start:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a001020001.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a001020001.htm&lt;/A&gt; &lt;BR /&gt;
 &lt;BR /&gt;
There have been quite a few user group papers on the subject of styles for tabular output and styles for graphical output -- for both types of output, you would use a STYLE template to make changes. If you were still running SAS 9.1.3, the syntax would be slightly different for your STYLE template than it would be in SAS 9.2, but you should be able to find user-group papers about style templates in SAS 9.1.3 if that is still your version.&lt;BR /&gt;
 &lt;BR /&gt;
As far as SAS/GRAPH customization for colors and fonts, etc, remember that for traditional SAS/GRAPH procedures, like GPLOT, GCHART and GMAP, the "traditional" GOPTIONS, and PATTERN, SYMBOL, AXIS and procedure action statement options will all have an impact on the graphic output. However, for the new SG procedures and ODS GRAPHICS, the traditional methods do not work and you either modify color and font attributes directly in the SG procedure with options or by modifying the style template that you use. (If you look in the SAS/GRAPH documentation, there are quite a few topics devoted to modifying "device-based" or traditional SAS/GRAPH versus modifying "template-based" ODS GRAPHICS output.)&lt;BR /&gt;
&lt;BR /&gt;
I'd suggest that you try out ODS MSOFFICE2K, using the simplified program below, and see whether the results -- when opened in Excel --  are acceptable.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods msoffice2k file="table_graphs.html" style=analysis;&lt;BR /&gt;
                              &lt;BR /&gt;
  proc report data=sashelp.class(obs=4) nowd;&lt;BR /&gt;
  run;&lt;BR /&gt;
                           &lt;BR /&gt;
goptions  reset=all cback='white' device= ACTIVEX;&lt;BR /&gt;
                    &lt;BR /&gt;
   proc gchart data=sashelp.class;&lt;BR /&gt;
     pie3d age / sumvar=height type=mean; &lt;BR /&gt;
   run;&lt;BR /&gt;
   quit;&lt;BR /&gt;
             &lt;BR /&gt;
                                   &lt;BR /&gt;
   proc gchart data=sashelp.shoes;&lt;BR /&gt;
    where product contains 'Dress' or product contains 'Casual';&lt;BR /&gt;
    vbar product / sumvar=sales type=mean; &lt;BR /&gt;
   run;&lt;BR /&gt;
   quit;&lt;BR /&gt;
                                  &lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 08 Dec 2010 04:58:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43163#M1405</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-12-08T04:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph- HBar for many variables</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43164#M1406</link>
      <description>Hey,&lt;BR /&gt;
&lt;BR /&gt;
Here is a simple example of using the MSOFFICE2K tagset. Run this program and load the "example.html" output into Excel. If you have the activex control installed, you should see a bar chart, pie chart, and a table in Excel.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods tagsets.msoffice2k file="example.html" style=listing;&lt;BR /&gt;
goptions dev=activex;&lt;BR /&gt;
&lt;BR /&gt;
proc gchart data=sashelp.class;&lt;BR /&gt;
vbar age / discrete sumvar=weight type=mean;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
proc gchart data=sashelp.class;&lt;BR /&gt;
pie age / discrete sumvar=height type=mean;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
proc print data=sashelp.class; run;&lt;BR /&gt;
ods tagsets.msoffice2k close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
If you are generating your output on Z/OS, using the activex device is the simpliest way to get your entire output back, provided all of your consumers have the control installed. If that is not a guarantee, there are really three alternatives:&lt;BR /&gt;
&lt;BR /&gt;
  1) Have someone who has the control installed load the HTML files into Excel and save them as Excel (xls) files. Doing this will presist an image form of the control into the file, as well as the ability to make it live again if you have the control installed.&lt;BR /&gt;
&lt;BR /&gt;
  2) If it is possible to have your Z/OS system write output to a web-addressable location (http), it may be possible to generate HTML output with static images where the static images are written to the web location. The image locations can be web locations in the HTML, so all you would need to bring over is the HTML from Z/OS. Let me know if this is a possibility and I'll give you more info.&lt;BR /&gt;
  &lt;BR /&gt;
  3) Generate the HTML using a static image and bring both the HTML file and the images back from Z/OS before doing the import. &lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
Dan</description>
      <pubDate>Wed, 08 Dec 2010 05:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Graph-HBar-for-many-variables/m-p/43164#M1406</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-12-08T05:01:23Z</dc:date>
    </item>
  </channel>
</rss>

