integration/js/streamgraph.js
changeset 24 bd6d2bdbc47a
parent 13 e15576c6953b
child 26 94f586daa623
equal deleted inserted replaced
23:419db2a884c5 24:bd6d2bdbc47a
   158     
   158     
   159     /* Redrawing time slices for rollover effect */
   159     /* Redrawing time slices for rollover effect */
   160    
   160    
   161     _(coords).each(function(line, index) {
   161     _(coords).each(function(line, index) {
   162         line.mousesurface = paper.path(line.path);
   162         line.mousesurface = paper.path(line.path);
   163         console.log(line.mousesurface);
       
   164         line.mousesurface.attr({
   163         line.mousesurface.attr({
   165             stroke: "none",
   164             stroke: "none",
   166             fill: line.color,
   165             fill: line.color,
   167             opacity: .01
   166             opacity: .01
   168         }).mouseover(function() {
   167         }).mouseover(function() {