This is one of those things i find nitty, you use thi.s.dygraph_ on this line and dygraph on the next. Just be consistent. (I like dygraph.)