javascript - Issues selecting all elements in SVG using D3 and Moment.js -
i'm using cal-heatmap, d3, , moment.js , i've got data sorted out month , year. goal select of "g" svg elements in calendar when specific month selected. code.
if (thisdate.classed("m_1 y_2013")){ this.selectall("g").class("higlight"); }
i've tried replacing this
d3
, thisdate
, variable of whatever month clicked in calendar. no matter of 3 use keep getting error aren't functions. appreciated!
Comments
Post a Comment