<?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: ODS HTML cannot create plot properly in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898365#M83002</link>
    <description>Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;. I always forget to mention HTML5 and SVG as a possibility.&lt;BR /&gt;Cynthia</description>
    <pubDate>Thu, 12 Oct 2023 17:12:59 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2023-10-12T17:12:59Z</dc:date>
    <item>
      <title>ODS HTML cannot create plot properly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898305#M82994</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a homework which requires me to generate plots and tables in .html.&lt;/P&gt;&lt;P&gt;Below is my code, but the plot cannot be generated properly in webpage.&lt;/P&gt;&lt;PRE&gt;ods html path='path/Module07' (url=none) file='Q5_2.html' style= htmlblue;

ods graphics;

ODS PROCLABEL"Histogram plot";
title "Distribution of statistics knowledge";
proc sgplot data = homework.module00;
vbar status / response= Statistics_Knowledge;
run;
ods graphics off;

ods html close;&lt;/PRE&gt;&lt;P&gt;There is no error or warning in LOG. However the webpage shows as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whk2023_0-1697114941481.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88806iCF416517043B8050/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whk2023_0-1697114941481.png" alt="whk2023_0-1697114941481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what the problem could be?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898305#M82994</guid>
      <dc:creator>whk2023</dc:creator>
      <dc:date>2023-10-12T12:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML cannot create plot properly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898314#M82995</link>
      <description>&lt;P&gt;Show us the &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ENTIRE&lt;/STRONG&gt;&lt;/FONT&gt; log for this code anyway. Please copy the log as text and paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaigeMiller_0-1663012019648.png" style="width: 859px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75161i0E71B1489A6C9839/image-size/large?v=v2&amp;amp;px=999" role="button" title="PaigeMiller_0-1663012019648.png" alt="PaigeMiller_0-1663012019648.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 13:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898314#M82995</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-10-12T13:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML cannot create plot properly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898341#M82999</link>
      <description>Hi:&lt;BR /&gt;  I suspect you may also need a GPATH= option to direct ODS where the image will be stored. But a lot depends on your PATH= option too. You are using a relative path reference in the PATH= option.&lt;BR /&gt;  I would normally expect to see a fully qualified path location in the path= option something like:&lt;BR /&gt;ods html gpath='c:\temp' (url=none)&lt;BR /&gt;                  path='c:\temp' (url=none)&lt;BR /&gt;          file='myhistogram.html';&lt;BR /&gt;The way you have it coded now, the path will be relative to your working directory unless you have edited the actual code to remove the fully qualified path. Hard to tell.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 12 Oct 2023 15:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898341#M82999</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-10-12T15:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML cannot create plot properly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898352#M83001</link>
      <description>Use HTML5 instead of HTML. &lt;BR /&gt;&lt;BR /&gt;HTML doesn't embed images it links to it, so the images need to be somewhere as well. &lt;BR /&gt;HTML5 embeds images in the files so you don't need to consider where the image files are stored.</description>
      <pubDate>Thu, 12 Oct 2023 16:37:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898352#M83001</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-10-12T16:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML cannot create plot properly</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898365#M83002</link>
      <description>Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;. I always forget to mention HTML5 and SVG as a possibility.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 12 Oct 2023 17:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ODS-HTML-cannot-create-plot-properly/m-p/898365#M83002</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-10-12T17:12:59Z</dc:date>
    </item>
  </channel>
</rss>

