switch to dygraph