X-Received: by 10.13.220.66 with SMTP id f63mr8788413ywe.129.1475055638825; Wed, 28 Sep 2016 02:40:38 -0700 (PDT) X-Received: by 10.36.107.194 with SMTP id v185mr512172itc.10.1475055638705; Wed, 28 Sep 2016 02:40:38 -0700 (PDT) Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!w41no196129qtw.1!news-out.google.com!x7ni362qtc.1!nntp.google.com!w41no196125qtw.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Wed, 28 Sep 2016 02:40:38 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.154.42.101; posting-account=8f4zbgoAAABoE8ZZ4pclgVKG83DzBR6p NNTP-Posting-Host: 86.154.42.101 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <92a059d0-e40b-4ce8-a6dd-9846105cf434@googlegroups.com> Subject: svg terminal - use of mouse without From: Patrik Sundberg Injection-Date: Wed, 28 Sep 2016 09:40:38 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.graphics.apps.gnuplot:3404 Hi, I'm using the gnuplot svg terminal to produce some SVG. However, I'm not ac= tually producing files, I'm dynamically generating content which is dynamic= ally updating a web page via javascript. That means I don't have the abilit= y to use , instead I just add a node to the DOM with the SVG. The way the mouse javascript is done it only really works if used as a sepa= rate so that document.documentElement etc refers to only that svg. = There are also some issues about clashing id's if including several svg nod= es on same page without . I can see it's not a trivial refactor to enable mouse to work in non-embed = case. I wanted to ask if anyone else has this kind of use case or have thou= ght about the use of mouse without the use of ? Any workarounds any= one can think of? I'll see if it becomes important enough for me to try to write a patch to a= llow non-embed mode + multiple SVGs in the same page without ID clashes. Thanks, Patrik