Change DygraphLayout so it calculates the plot area when its requested