Data visualization with SAS programming

ODS Graphics imagemap target='_blank'

Reply
Contributor
Posts: 30

ODS Graphics imagemap target='_blank'

Hello,

I have SAS 9.3 running in windows. I have GTL code that creates a scatter plot (I am over simplifying it - it is actually a heat map and scatter plot overlaid since heatmap does not have a url option). I can create the url just fine, however when I look at the output the target is set to "_blank". How to I change the target to a frame? I havebelow a sample of the output:

<Area shape="poly" alt=" tdate = 2014-05-23 

product_name = VULCN_RE 

cummyld1 = 93.455 " title=" tdate = 2014-05-23 

product_name = VULCN_RE 

cummyld1 = 93.455 " href=".\mean_trends\VULCN_RE_1000.html " target="_BLANK" coords="164,138,191,138,191,165,164,165,164,138,"/>

Thanks, Chris

SAS Super FREQ
Posts: 864

Re: ODS Graphics imagemap target='_blank'

In SAS 9.4, we added the DRILLTARGET option to the ODS GRAPHICS statement to enable you to set the target. Unfortunately, the only solution that comes to mind for SAS 9.3 would be to post-process the HTML file by substituting _BLANK with the frame name.

Contributor
Posts: 30

Re: ODS Graphics imagemap target='_blank'

Thanks, I did see that in 9.4. We have not upgraded yet. I will ask our admin to upgrade on the development box. Thanks, Chris

SAS Employee
Posts: 963

Re: ODS Graphics imagemap target='_blank'

One other possible alternative that could work in 9.3 - if you could rewrite your graph using SAS/Graph procs, that will allow you to manually create your drilldown string, and include whatever html tags you want (including target=).

Post a Question
Discussion Stats
  • 3 replies
  • 351 views
  • 3 likes
  • 3 in conversation