BookmarkSubscribeRSS Feed
ThomasAP2
Calcite | Level 5


Hi!

I am trying to generate an image in SVG-format using the dataskin = gloss option in sgplot.

I get the note in the log that:


NOTE: The graph will be rendered as an image due to the use of data skins.

Is this something that is impossible to fix or will it be possible in anyway?

Regards

Thomas

code below:

data temp;
do i = 1 to 6;
  x = ranuni(0);
  output;
end;
run;

ods graphics /outputfmt = svg;
proc sgplot;
hbar  i /response= x dataskin=gloss;
quit;

2 REPLIES 2
ChrisHemedinger
Community Manager

Note: I moved this to so that the SGPLOT experts would be more likely to see it.


Chris

Jay54
Meteorite | Level 14

Support for transparency, gradient shading, etc. varies by format.   PDF, SVG and EMF have different levels of support for such features in their native formats. This too changes by SAS release, as more features are available in newer releases.  So, when a rendering feature is supported in the requested format due to lack of support for things like transparency, or gradient coloring, etc, then a fully rendered image is embedded into the output.

If the appropriate output format is more important than a rendering feature, you can remove the offending feature like transparency, or skin to get the rendering in the right format.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 835 views
  • 0 likes
  • 3 in conversation