The problem is that activex and gif output are not identical. The activex output produces graphs with the same scale even if the min and max value are not the same, so that you can visually compare graphs with different values. The gif output takes the max value (e.g. 1 or 0.5) as the max value for the tick on the graph so that you cannot visually compare both graphs.
Is there a way to produce graphs with PROC GRADAR with the same scale for activex and gif so that both graphs can be compared.
This may be a question for Tech Support about the difference between GIF and ACTIVEX. I have no clue about that.
I have one suggestion that may make the GIF unnecessary and that's instead of device=gif, try device=ACTXIMG . ACTXIMG is a "static" device driver that will have the look and feel of ACTIVEX output (colors, fonts, and hopefully, sizes), but will not have the interactivity of the ACTIVEX graph.
You'll need to add a GPATH to your ODS HTML program, so you can find the PNG file created by ODS HTML (otherwise, the HTML file will be in D:\temp and the PNG file will be in your working directory. But then when your job is over, look in d:\temp folder for the graph.png and graph1.png files (or graph10.png and graph11.png files). If you use the NAME= option, as shown in the code below, then you should be able to find the PNG files in your d:\temp\ folder because they will have that name with a number appended to the name:
When I ran a quick test, the PNG file created by ACTXIMG driver and the output from the ACTIVEX driver looked the same.
Suggested program changes:
ods listing close;
**1) Use ACTIVEX driver;
ods html file='d:\temp\test_acx.html' style=sasweb;
** put your two gradar steps here;
ods html close;
** 2) Use ACTXIMG driver;
ods html path='d:\temp' (url=none)
I forgot to tell that the reason why I need gif output is because I generate the pdf on Unix Solaris SAS 9.1.3 SP4 and that ACTXIMG is not supported on this platform.
Tech Support gives me following answer to the problem:
The ORDER option on the AXIS statement is not supported by PROC GRADAR. There is not an option to specify the range for the individual spokes.
Excerpt from the SAS OnlineDoc documented under the AXIS statement and ORDER option:
"This option is not supported by the GRADAR procedure."
And I just got this message: [pre]
ERROR: PROC GRADAR does not support DEVICE=JAVAIMG.[/pre]
so switching to JAVAIMG is not an option.
The only (and it's a remote) possibility would be to try to ANNOTATE the whole thing for the GIF form and/or use the DSGI (data set graphics interface) to control drawing the image. But those are both long shots. I know that folks have done amazing output with ANNOTATE or DSGI, but they each come with a learning curve.