Reuse existing y scales with elasticY enabled.

Previously, d3.scale.linear would be forced even if a different scale had
been used.