<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: g3d tooltip in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308943#M10840</link>
    <description>&lt;P&gt;hi Chris,&lt;/P&gt;&lt;P&gt;no less than 500&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2016 06:44:05 GMT</pubDate>
    <dc:creator>guyvdboer</dc:creator>
    <dc:date>2016-11-03T06:44:05Z</dc:date>
    <item>
      <title>g3d tooltip</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308708#M10836</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;I would like to visualize in an activx object (in 3d) the clusters of objects (result of proc prinqual and proc fastclus).&lt;/P&gt;&lt;P&gt;in the graph i would like to show as tooltip not the (default) 3 coordinates but some descriptive elements of the object e.g. name, city...&lt;/P&gt;&lt;P&gt;the HTML= options does not work with proc g3d?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code i tried so far...(without and with annote dataset)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data data2;&lt;BR /&gt;set data1;&lt;BR /&gt;length tips $ 100;&lt;BR /&gt;tips = 'TITLE="Hosp: ' || trim(NameHospital) || '0D'X |&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;BR /&gt;City: ' || trim(city) || '"';&lt;BR /&gt;run;&lt;BR /&gt;data anno;&lt;BR /&gt;set data2;&lt;BR /&gt;x=dim1; y=dim2; z=dim3;&lt;BR /&gt;length function $10 html $ 100;&lt;BR /&gt;function='LABEL';&lt;BR /&gt;html =&amp;nbsp;&lt;SPAN&gt;'TITLE="Hosp: ' || trim(NameHospital) || '0D'X ||&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;City&lt;/SPAN&gt;&lt;SPAN&gt;: ' || trim(city) || '"'; &lt;/SPAN&gt;&lt;BR /&gt;text = html ;&amp;nbsp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;options device = activex;&lt;BR /&gt;ods html body = 'C:\temp\SAS_tmp\VZN_threeD.html' ;&lt;BR /&gt;ods graphics on / imagemap=on;&lt;/P&gt;&lt;P&gt;proc g3d data = data2 ;&lt;BR /&gt;scatter dim2 * dim1 = dim3 / grid noneedle shape="balloon" size=2; * html=tips;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;proc g3d data = data2 ;&lt;BR /&gt;scatter dim2 * dim1 = dim3 / ANNO=anno grid noneedle shape="balloon" size=2;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;goptions reset = all;&lt;BR /&gt;ods html close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the tooltips remain unchanged...&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5605iA791F62187CCC83A/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="tooltip_g3d.png" title="tooltip_g3d.png" /&gt;&lt;/P&gt;&lt;P&gt;thanks for any suggestion or advice !&lt;/P&gt;&lt;P&gt;greetings,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 10:21:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308708#M10836</guid>
      <dc:creator>guyvdboer</dc:creator>
      <dc:date>2016-11-02T10:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: g3d tooltip</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308916#M10838</link>
      <description>&lt;P&gt;From &lt;A href="http://support.sas.com/documentation/cdl/en/graphref/67881/HTML/default/viewer.htm#n0oosn0ji26n6an18b5oztwfqpj9.htm#p1h7cg4aokxalfn1hlq2q2i06wsv" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/67881/HTML/default/viewer.htm#n0oosn0ji26n6an18b5oztwfqpj9.htm#p1h7cg4aokxalfn1hlq2q2i06wsv&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ACTIVEX and ACTXIMG devices do not display custom data tips when the number of observations exceeds 5000. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you in this situation?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 00:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308916#M10838</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-11-03T00:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: g3d tooltip</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308932#M10839</link>
      <description>&lt;P&gt;ActiveX doesn't seem too keen on tooltips for 3D plots.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a test using ActiveX and GIF drivers, and using proc GPLOT and proc G3D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tooltips show for 3 graphs, but not ActiveX + G3D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you must draw an area in ANNOTATE for the tooltips to appear. I made the areas visible (red rectangles) in this example, but you can hide them using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;WHEN 'B' COLOR 'white';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here is the example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc g3grid data= SASHELP.CLASS out=GRID;
  grid WEIGHT*HEIGHT=AGE;
run;

data PLOT; 
  set GRID;  
  HTML  =catt('title="Tooltip1 Y=',WEIGHT,' X=',HEIGHT,' Z=',AGE,'"');
  AGE   =round(AGE);
  HEIGHT=round(HEIGHT);
  WEIGHT=round(WEIGHT);
run;
data ANNO; 
  set PLOT; 
  retain XSYS YSYS ZSYS '2' WHEN 'A' COLOR 'red';
  FUNCTION='move'; Y=WEIGHT; X=HEIGHT; Z=AGE; 
  output; 
  FUNCTION='bar'; X+1; Y+1; Z+.1; HTML=catt('title="Tooltip2 X=',X,' Y=',Y,' Z=',Z,'"');
  output;
run;

symbol1 v=dot h=1;
symbol2 v=dot h=1;
symbol3 v=dot h=1;
symbol4 v=dot h=1;
symbol5 v=dot h=1;

ods html file="%sysfunc(pathname(WORK))\test.html" gpath='.';
goptions dev=activex;
proc gplot data=PLOT; plot WEIGHT*HEIGHT=AGE /html=HTML;run; 
proc g3d   data=PLOT; plot WEIGHT*HEIGHT=AGE ;run;

proc gplot data=PLOT anno=ANNO; plot WEIGHT*HEIGHT=AGE ;run;  
proc g3d   data=PLOT anno=ANNO; plot WEIGHT*HEIGHT=AGE ;run;

goptions dev=gif;
proc gplot data=PLOT; plot WEIGHT*HEIGHT=AGE /html=HTML name='u1';run; 
proc g3d   data=PLOT; plot WEIGHT*HEIGHT=AGE /          name='u2';run;

proc gplot data=PLOT anno=ANNO; plot WEIGHT*HEIGHT=AGE /name='u3';run;  
proc g3d   data=PLOT anno=ANNO; plot WEIGHT*HEIGHT=AGE /name='u4';run;
ods html close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5623iF66C40710A2CD651/image-size/original?v=v2&amp;amp;px=-1" alt="aaa1.PNG" title="aaa1.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 07:30:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308932#M10839</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-11-03T07:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: g3d tooltip</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308943#M10840</link>
      <description>&lt;P&gt;hi Chris,&lt;/P&gt;&lt;P&gt;no less than 500&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 06:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308943#M10840</guid>
      <dc:creator>guyvdboer</dc:creator>
      <dc:date>2016-11-03T06:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: g3d tooltip</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308946#M10841</link>
      <description>hi Chris,&lt;BR /&gt;thanks, gonna try this !&lt;BR /&gt;Guy&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Nov 2016 07:31:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/g3d-tooltip/m-p/308946#M10841</guid>
      <dc:creator>guyvdboer</dc:creator>
      <dc:date>2016-11-03T07:31:48Z</dc:date>
    </item>
  </channel>
</rss>

