Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

Something new & exciting in v9.2! ...

Device=svg (scalable vector graphics) is now available!
Using dev=svg, you can create sas/graph output that your can resize
(ie, it is 'scalable'), and you don't lose any resolution as it is
resized.  Also, the lines in your graphics are anti-aliased (smooth).
Both of these are nice features you don't get with gif or png output.

For more info about svg in general, see the SVG info in Wikipedia

The biggest drawback is that you need an SVG viewer in order to be
able to view the SVG graphics.  You can download/install an SVG
viewer for the Internet Explorer browser from the following webpage:

   SVG Plugin Installer

IE requires the Adobe plugin.  Other browsers, such as FireFox,  do not require
the Adobe plugin to view SVG.  There are also stand alone SVG viewers that do
not use Adobe's plugin.  (There is no guarantee that there will be an
SVG viewer plugin for all future versions of IE.)

---

This is a very simple example, using a GMap of the US, with no data 
plotted on it (just a blank map).  Once you've installed the SVG plugin
in your IE browser, you should be able to view it.  Once you're viewing
it, you can click on the map to "activate" it, and then as you mouse over
the states you'll see their multi-line charttip as you mouse over (it 
is somewhat nicer than the regular html charttips because the charttip
box is "transparent", and it also stays up as long as you keep your
mouse over the state - whereas html charttips go away after a few 
seconds, and they are not transparent).  When you click on the state,
I have it set up to "drilldown" and show you a google map of that state.

Notice that as you resize the browser window, the map & text resizes,
and continues to look good/sharp at any size.  Also the hotspot areas
for the charttips/drilldowns is still correct & functional, as you 
resize the map.


Back to Samples Index