if (e.attribute('height').hasValue()) yRatio = e.attribute('height').toPixels('y') / svg.opts['scaleHeight'];
                    else if (!isNaN(viewBox[3])) yRatio = viewBox[3] / svg.opts['scaleHeight'];