The static devices all
support ODS styles. However, the ACTXIMG and JAVAIMG devices are not
affected by the GSTYLE|NOGSTYLE system option, so an ODS style is
applied to an ACTXIMG or JAVAIMG image regardless of the setting of
this system option. To demonstrate the impact of the GSTYLE and NOGSTYLE
system options on the device output, here is an example that applies
the Statistical style to a GIF image with the GSTYLE system option on:
options gstyle;
ods html style=statistical;
goptions reset=all device=gif;
proc gchart data=sashelp.cars;
vbar Make;
where MPG_Highway >= 37;
run;
quit;
A Bar Chart Using the GIF Device with the Statistical Style
and GSTYLE System Option
The output is similar
for the other devices.
Here is an example that
applies the Statistical style to a GIF image with the NOGSTYLE system
option on:
options nogstyle;
ods html style=statistical;
goptions reset=all device=gif;
proc gchart data=sashelp.cars;
vbar make;
where MPG_Highway >= 37;
run;
quit;
A Bar Chart Using the GIF Device with the Statistical Style
and the NOGSTYLE System Option
Notice that STYLE=STATISTICAL
is overridden by the NOGSTYLE system option and that no style is applied
to the graph. The NOGSTYLE system option is valid only for the GIF,
JPEG, SVG, and PNG devices. For the ACTXIMG and JAVAIMG devices, the
NOGSTYLE system option has no effect. In this example, if the DEVICE=JAVAIMG
or DEVICE=ACTXIMG graphics option is used, the Statistical style is
applied even though the NOGSTYLE system option is on.