Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
onclick/hover event for d3.svg.line "harder" to trigger in firefox?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Josh  
View profile  
 More options Apr 2 2012, 10:56 pm
From: Josh <jsl6...@gmail.com>
Date: Mon, 2 Apr 2012 19:56:04 -0700 (PDT)
Local: Mon, Apr 2 2012 10:56 pm
Subject: onclick/hover event for d3.svg.line "harder" to trigger in firefox?

Hi everyone, I'm working on a parallel coordinates visualization - lines in
the visualization are 'selectable' by clicking, to highlight that
particular data element through other transitions, etc.  One thing that
I've noticed is that firefox is a little more 'picky' about its hover/click
events, such that some of my lines are difficult to actually click on in
the visualization.  

Here is the example:  http://bl.ocks.org/2086461  -- one specific example:
if you click on "display as percentage of total tax" and then check "Show
common axis across tax categories", the top line in the "Property" axis is
difficult to click on, this isn't so hard when in chrome.

Was wondering if anyone had any quick solution to make this 'easier' to
click on, I was thinking of adding another set transparent lines with a
larger stroke width to server as the mouse-over selectors, etc, but thought
there might be an easier solution I am over-looking

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Davies  
View profile  
 More options Apr 4 2012, 5:21 am
From: Jason Davies <ja...@jasondavies.com>
Date: Wed, 4 Apr 2012 09:21:28 +0000
Local: Wed, Apr 4 2012 5:21 am
Subject: Re: onclick/hover event for d3.svg.line "harder" to trigger in firefox?

On Mon, Apr 02, 2012 at 07:56:04PM -0700, Josh wrote:
> Was wondering if anyone had any quick solution to make this 'easier' to
> click on, I was thinking of adding another set transparent lines with a
> larger stroke width to server as the mouse-over selectors, etc, but thought
> there might be an easier solution I am over-looking

Yes, I've found this works well for me and is fairly simple to
implement.

--
Jason Davies, http://www.jasondavies.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »