Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13839 > unrolled thread

Change Tooltip on Google Network Graph

Started bys6savahd@googlemail.com
First post2013-03-14 11:12 +0000
Last post2013-04-01 04:57 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Change Tooltip on Google Network Graph s6savahd@googlemail.com - 2013-03-14 11:12 +0000
    Re: Change Tooltip on Google Network Graph debguy <johnandsara2@cox.net> - 2013-04-01 04:57 +0000

#13839 — Change Tooltip on Google Network Graph

Froms6savahd@googlemail.com
Date2013-03-14 11:12 +0000
SubjectChange Tooltip on Google Network Graph
Message-ID<khsbbf$364$1@smc.vnet.net>
Hi All, 
I am using Google Network Graph, by hovering over each node a tooltip appears which shows the name of node clearly. Now my question is how I can change the tooltip to show any text that I want in the tooltip by hovering over nodes?

[toc] | [next] | [standalone]


#13996

Fromdebguy <johnandsara2@cox.net>
Date2013-04-01 04:57 +0000
Message-ID<kjb44a$8k8$1@smc.vnet.net>
In reply to#13839
i haven't upgraded to 9 yet but let me ask

x=Tooltip[expr, label]

is pretty simple: it assigns label to "hotspot" of expr.  if you want
label changed Evaluate x with different label.

Possibly you can use an expr instead of label that returns a label in
place of label: but only if tooltip evaluates it on every mouse-over -
you'd have to try it.  it might not evaluate every mouse-over.

I think Mathematica 9 does have mouse-event callbacks which would allow you to
show any kinda (button box) for you choice of mouse event.  Doesn't
it?

it's new in Mathematica 9 to bother with exposing mouse events for a given
window area (or touch events, same thing) (Mathematica had buttons before).
but it's old news as X windows (like from the 1970's old) MOUSE_CLICK
is one origional string (and still, copied by everyone incl.
microsoft)

in X one can listen in on mouse events and do whatever.  I doubt
that's needed though.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web