change dyplot to dygraphs