working but first show of graph from closed info window results in poorly formed graph.