<?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: Scaling HTML output graph as per laptop/desktop size. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Scaling-HTML-output-graph-as-per-laptop-desktop-size/m-p/417604#M14353</link>
    <description>&lt;P&gt;You might try setting the image height and width&amp;nbsp;dimensions in the ODS Graphics statement using the PCT or % unit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics /height=60pct width=80pct;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or similar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I won't claim to have used that as most of my output goes to RTF.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 22:41:56 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-11-30T22:41:56Z</dc:date>
    <item>
      <title>Scaling HTML output graph as per laptop/desktop size.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Scaling-HTML-output-graph-as-per-laptop-desktop-size/m-p/417603#M14352</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a graph through sgplot which is going to a dashboard (linked via my stored procedure).&lt;/P&gt;&lt;P&gt;The problem is dashboard is designed using XML/html coding. they have specified width of graph as percentage of screen size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to do something that my graph automatically changes width as per space allotted. (height is pretty much constant as it is defined in pixels). you have, probably, already guessed what issues arises when I give dimensions for desktop monitor and someone access the dashboard via laptop. (edges goes off and scrolling is needed to see the whole graph).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried Imagefmt=svg in ods graphics. (didn't work).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any advice on how to define graph size to fit the space allotted in dashboard is highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 22:31:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Scaling-HTML-output-graph-as-per-laptop-desktop-size/m-p/417603#M14352</guid>
      <dc:creator>Ankit_ETL</dc:creator>
      <dc:date>2017-11-30T22:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Scaling HTML output graph as per laptop/desktop size.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Scaling-HTML-output-graph-as-per-laptop-desktop-size/m-p/417604#M14353</link>
      <description>&lt;P&gt;You might try setting the image height and width&amp;nbsp;dimensions in the ODS Graphics statement using the PCT or % unit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics /height=60pct width=80pct;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or similar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I won't claim to have used that as most of my output goes to RTF.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 22:41:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Scaling-HTML-output-graph-as-per-laptop-desktop-size/m-p/417604#M14353</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-11-30T22:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Scaling HTML output graph as per laptop/desktop size.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Scaling-HTML-output-graph-as-per-laptop-desktop-size/m-p/417764#M14374</link>
      <description>thanks for the reply. appreciate it.&lt;BR /&gt;that was the first thing I tried but that doesn't work.&lt;BR /&gt;I think (not sure) height =xxpct is xx% of the default height and not % of allotted space in dashboard</description>
      <pubDate>Fri, 01 Dec 2017 15:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Scaling-HTML-output-graph-as-per-laptop-desktop-size/m-p/417764#M14374</guid>
      <dc:creator>Ankit_ETL</dc:creator>
      <dc:date>2017-12-01T15:23:44Z</dc:date>
    </item>
  </channel>
</rss>

