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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
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.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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