<?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: Html output for GKPI in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18904#M410</link>
    <description>Cynthia,&lt;BR /&gt;
I am not writing an STP for the KPI. I was trying this on EG4.2. &lt;BR /&gt;
I tried the modifications suggested by you.&lt;BR /&gt;
The error no longer crops up but the Final HTML file appears balnk without any image in it.&lt;BR /&gt;
&lt;BR /&gt;
I donot face any problems when i try creating other Bar charts or Graphs in html.</description>
    <pubDate>Tue, 11 May 2010 06:02:24 GMT</pubDate>
    <dc:creator>NN</dc:creator>
    <dc:date>2010-05-11T06:02:24Z</dc:date>
    <item>
      <title>Html output for GKPI</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18900#M406</link>
      <description>Guys,&lt;BR /&gt;
Is it possible to present KPI in HTML using the GKPI procedure. I tried the same but i think some error crops up due to the DEVICE= JAVAIMG option. &lt;BR /&gt;
if someone could please guide on this.</description>
      <pubDate>Mon, 10 May 2010 12:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18900#M406</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2010-05-10T12:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Html output for GKPI</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18901#M407</link>
      <description>You want to display a gkpi chart in an html page (using "ods html")?&lt;BR /&gt;
This would be one way...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
%let name=gkpi13;&lt;BR /&gt;
&lt;BR /&gt;
goptions device=javaimg;&lt;BR /&gt;
goptions cback=white border;&lt;BR /&gt;
goptions xpixels=600 ypixels=600;&lt;BR /&gt;
&lt;BR /&gt;
ods html file="&amp;amp;name..html" nogtitle style=minimal;&lt;BR /&gt;
&lt;BR /&gt;
goptions ftext="arial/bold";&lt;BR /&gt;
goptions cback=graydd;&lt;BR /&gt;
&lt;BR /&gt;
/* See new syntax changes in S0384459 */&lt;BR /&gt;
&lt;BR /&gt;
title1 h=.2in "dial";&lt;BR /&gt;
proc gkpi mode=raised;&lt;BR /&gt;
dial actual=85 bounds=(0 50 75 100) /&lt;BR /&gt;
 target=66 colors=(cxFFFAFA cxF08080 cx8B0000)&lt;BR /&gt;
 avalue bvalue label='dial' name="&amp;amp;name" des=" ";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
ods html close;</description>
      <pubDate>Mon, 10 May 2010 12:35:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18901#M407</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-05-10T12:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Html output for GKPI</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18902#M408</link>
      <description>I am trying to create the html on an external path. Hence i made the following change in the code.&lt;BR /&gt;
ods html file = "/mypath/&amp;amp;name..html"&lt;BR /&gt;
the error that i keep getting is &lt;BR /&gt;
ERROR: Insufficient authorization to access&lt;BR /&gt;
/sas1/config/Lev1/SAS/gkpi13.png.

Message was edited by: NN</description>
      <pubDate>Tue, 11 May 2010 04:59:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18902#M408</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2010-05-11T04:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Html output for GKPI</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18903#M409</link>
      <description>Hi:&lt;BR /&gt;
  One issue you could be running into is that only the HTML file will be written to the /mypath directory. The image file (gkpi13.png) seems to be written to a directory to which you (or your job) does not have sufficient write authority.&lt;BR /&gt;
 &lt;BR /&gt;
  This Tech Support note and the documentation link explain how PATH= and FILE= work in the creation of SAS/GRAPH output:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/23/638.html" target="_blank"&gt;http://support.sas.com/kb/23/638.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/a003152012.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/a003152012.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  One modification you might try is:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods html path= "/mypath" (url=none)&lt;BR /&gt;
              file="&amp;amp;name..html";&lt;BR /&gt;
 &lt;BR /&gt;
or&lt;BR /&gt;
&lt;BR /&gt;
ods html path= "/mypath" (url=none)&lt;BR /&gt;
             gpath="/mypath" (url=none)&lt;BR /&gt;
              file="&amp;amp;name..html";&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
You might be having other issues, as well. I notice that the default image location is in a Lev1 sub-directory -- this is generally one of the directory names in a SAS Enterprise Intelligence Platform installation. I wonder whether you are trying to write a stored process to create your GKPI output???  Usually, stored processes use _WEBOUT special reserved fileref instead of hard-coded file and path names for ODS output.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 11 May 2010 05:20:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18903#M409</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-11T05:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Html output for GKPI</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18904#M410</link>
      <description>Cynthia,&lt;BR /&gt;
I am not writing an STP for the KPI. I was trying this on EG4.2. &lt;BR /&gt;
I tried the modifications suggested by you.&lt;BR /&gt;
The error no longer crops up but the Final HTML file appears balnk without any image in it.&lt;BR /&gt;
&lt;BR /&gt;
I donot face any problems when i try creating other Bar charts or Graphs in html.</description>
      <pubDate>Tue, 11 May 2010 06:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18904#M410</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2010-05-11T06:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Html output for GKPI</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18905#M411</link>
      <description>Robert/cynthia,&lt;BR /&gt;
Thanks for your help the issue has been resolved.&lt;BR /&gt;
 The problem as you had suggested was that the .png file was not getting saved in the path of the html.</description>
      <pubDate>Tue, 11 May 2010 08:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Html-output-for-GKPI/m-p/18905#M411</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2010-05-11T08:45:47Z</dc:date>
    </item>
  </channel>
</rss>

