<?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 SVGView generation lost elements in the second graphic in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11537#M174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the SAS example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62753/HTML/default/viewer.htm#n0ezld96mjxs08n1lvoj5mtb4opl.htm"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62753/HTML/default/viewer.htm#n0ezld96mjxs08n1lvoj5mtb4opl.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks for&amp;nbsp; "Here is the SAS code that created the stocks.svg file" and you have a &lt;/P&gt;&lt;P&gt;printerpath=(svgview stocks) with several SGPLOT proc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2011 21:32:54 GMT</pubDate>
    <dc:creator>Stephane</dc:creator>
    <dc:date>2011-12-09T21:32:54Z</dc:date>
    <item>
      <title>SVGView generation lost elements in the second graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11533#M170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With my SAS 9.3M0 I would like to produce a SVG document with two graphs. Unfortunately, most of the elements of the second graphic is missing (the axis for example). Is it my code or is it a problem of SVGVIEW ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;ods html close;ods listing;&lt;BR /&gt;FILENAME fname "d:\data\analyse 2003.svg"; goptions reset=all device=svgview&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;gsfmode=replace gsfname=mysvg;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.stocks;where year(date) =2003;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;series y=Volume x=date / markers group=stockcurvelabel curvelabelloc=outside;xaxis fitpolicy=rotate tickvalueformat=monname.&amp;nbsp; grid label='Month';&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;yaxis label='Volume' ;title '2003 Volume';run;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;&lt;BR /&gt;proc sgplot data=sashelp.stocks (where=(year(date)=2000 and stock = "IBM"));&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;series x=date y=volume;run;&lt;/P&gt;&lt;P style="color: #000000; font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align: -webkit-auto; background-color: #ffffff;"&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stéphane.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 14:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11533#M170</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2011-12-09T14:57:44Z</dc:date>
    </item>
    <item>
      <title>SVGView generation lost elements in the second graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11534#M171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SGPLOT (and other SG procedures) do not use information from GOPTIONS.&amp;nbsp; You need to use the ODS GRAPHICS statement with IMAGEFMT=SVG, and you will get the correct SVG output.&amp;nbsp; See code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE lang="sas"&gt;ods html close;
ods listing;

ods graphics / reset imagefmt=svg imagename='test';
proc sgplot data=sashelp.stocks;where year(date) =2003;
&amp;nbsp; series y=Volume x=date / markers group=stock curvelabel curvelabelloc=outside;
&amp;nbsp; xaxis fitpolicy=rotate tickvalueformat=monname.&amp;nbsp; grid label='Month';
&amp;nbsp; yaxis label='Volume' ;title '2003 Volume';
run;

proc sgplot data=sashelp.stocks (where=(year(date)=2000 and stock = "IBM"));
&amp;nbsp; series x=date y=volume;
run;
&lt;PRE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11534#M171</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2011-12-09T15:14:55Z</dc:date>
    </item>
    <item>
      <title>SVGView generation lost elements in the second graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11535#M172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in this case, I don't use the GOPTIONS. But it is the same thing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods printer printer=svgview file="d:\data\analyse 2003.svg";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.stocks;&lt;/P&gt;&lt;P&gt;where year(date) =2003;&lt;/P&gt;&lt;P&gt;series y=Volume x=date / markers group=stock&lt;/P&gt;&lt;P&gt;curvelabel curvelabelloc=outside;&lt;/P&gt;&lt;P&gt;xaxis fitpolicy=rotate tickvalueformat=monname.&amp;nbsp; grid label='Month';&lt;/P&gt;&lt;P&gt;yaxis label='Volume' ;&lt;/P&gt;&lt;P&gt;title '2003 Volume';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.stocks (where=(year(date)=2000 and stock = "IBM"));&lt;/P&gt;&lt;P&gt;series x=date y=volume;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 15:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11535#M172</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2011-12-09T15:30:41Z</dc:date>
    </item>
    <item>
      <title>SVGView generation lost elements in the second graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11536#M173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, the ODS Graphics system does not support printerpath options. The method described by Sanjay should give you an SVG output either in LISTING or HTML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 19:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11536#M173</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2011-12-09T19:23:56Z</dc:date>
    </item>
    <item>
      <title>SVGView generation lost elements in the second graphic</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11537#M174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the SAS example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62753/HTML/default/viewer.htm#n0ezld96mjxs08n1lvoj5mtb4opl.htm"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62753/HTML/default/viewer.htm#n0ezld96mjxs08n1lvoj5mtb4opl.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks for&amp;nbsp; "Here is the SAS code that created the stocks.svg file" and you have a &lt;/P&gt;&lt;P&gt;printerpath=(svgview stocks) with several SGPLOT proc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 21:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SVGView-generation-lost-elements-in-the-second-graphic/m-p/11537#M174</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2011-12-09T21:32:54Z</dc:date>
    </item>
  </channel>
</rss>

