fix toChain for x2Axis in nvd3.r