BookmarkSubscribeRSS Feed
barbier
Calcite | Level 5

I create a vbar with proc gchart.

When I use OPTIONS DEV=activex; the output is ok, the graph is shown. (file= _webout)

But when I use OPTIONS DEV=actximg; I don't get any graph in my output. The only thing I see is a white square with a little red cross and there is written 'bar chart of class'.

How come and how to solve this?

Thanks

2 REPLIES 2
GraphGuy
Meteorite | Level 14

How are you running your graph?  (Stored Process, DMS, EG, SAS/Intrnet, batch SAS, etc, etc)

For example, if you are using Stored Processes, and your server is running on a Unix machine, then it might be able to produce dev=activex output (because it doesn't actually have to "render/draw" the graph) and then maybe you're viewing the graph on a Windows machine (where it gets rendered).  But if you try to use device=actximg then it will be trying to render/draw the graph on the Unix server, which is not possible.

Also, device=activex only produces 1 file (and html file), whereas device=actximg produces both an html file and a png file ... therefore you have to make sure you've got things set up so you're viewing the html file, and it is referenceing the png file correctly via a path it can get to (such as a relative path).  There are lots of factors here - maybe a better question for Tech Support.

barbier
Calcite | Level 5

I am running the graph as a Stored Process.

It is running on a Windows machine.

When I use 'activex', it is working fine. But I would like to use 'actximg' to prevent the users to have to install the 'activex plug-in'.

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1160 views
  • 0 likes
  • 2 in conversation