Data visualization with SAS programming

Rendering a piechart with dataskin= gloss in SVG-format

Reply
N/A
Posts: 1

Rendering a piechart with dataskin= gloss in SVG-format


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;

Community Manager
Posts: 2,605

Re: Rendering a piechart with dataskin= gloss in SVG-format

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


Chris

SAS Super FREQ
Posts: 1,044

Re: Rendering a piechart with dataskin= gloss in SVG-format

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.

Post a Question
Discussion Stats
  • 2 replies
  • 306 views
  • 0 likes
  • 3 in conversation