Hi,
I am helping one of the user I export the client SAS map from into html format it ask to install sasgraph.exe which I downloaded and it show's the graph in html format on the browser. My question is that the client is asking if there is a way to see the graph on the browser without installing sasgraph.exe.
Thank You
@Ahsan wrote:
Hi,
I am helping one of the user I export the client SAS map from into html format it ask to install sasgraph.exe which I downloaded and it show's the graph in html format on the browser. My question is that the client is asking if there is a way to see the graph on the browser without installing sasgraph.exe.
If you mean, can other people who do not have SAS/GRAPH (or even SAS) see the .html output, the answer is yes. You just have to write it to a server location that people have access to, and then provide the full path to the .html file that is created.
Is that what you are asking?
That's the code SAS Enterprise generated
Do you mean Enterprise Guide, or Enterprise Miner, or something else?
l'm not an expert on Enterprise Guide, but I believe all you have to do is define a server location that everyone can access in the ODS HTML statement
ods html file='graph.html' path='\\server\folder\subfolder' gpath='\\server\folder\subfolder';
proc gmap data=whatever;
... lines of code ....
run;
quit;
ods html close;
Try creating an HTML5 doc and sending that over.
Change ODS HTML to ODS HTML5
And/or change the output selection in the drop down.
@Ahsan wrote:
thank you for your help I see the map in html format. When I try to export and save it on to desktop then send it html link to the client it ask them to install sasgraph.exe do you know why is that.
There's no way that anybody can answer this without a lot more information. What html link are you sending? Does your client have access to the server location where the .html file is located?
What do you mean "when I try to export and save it on to desktop"? No such instructions were given to export (?) and save it to desktop. What do you mean by "export" anyway? Explain using SAS terminology, describing the steps with their SAS names.
It appears you have generated your output using the ActiveX control. To get the same appearance of the graph that you can send to someone without the control, change the device from ACTIVEX to ACTXIMG (ActiveX image). The output will contain a PNG image that can be viewed by anyone.
Hope this helps!
Dan
I'd go ahead and change your SAS Enterprise Guide preferences to use PNG. Find it in Tools->Options->Results->Graph, Graph Format. See how in this post:
https://blogs.sas.com/content/sasdummy/2011/05/25/sas-enterprise-guide-options-my-favorite-5/
Scroll to "Change Graph Format to PNG"
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.