d3.js - Passing (this) between functions -


i'm trying extend 1 rectangle using drag handle without altering other rectangles. i've tried pass on selected 1 using (this) can't work. http://jsfiddle.net/sjp700/gmlay/ -drag right hand black bar. issue or alternatives?

var dragright = d3.behavior.drag()      .origin(function() {          var t = d3.select(this); 


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -