initialized from http://www.pixeltradr.com/dygraphs/