     var offset: CGFloat!
     
     if fullHorizontal {
-        yScalingFactor = yScalingFactor * (CGFloat(1) / ratio)
+        yScalingFactor = (CGFloat(1.0) / highestY) * (toSize.height * (CGFloat(1) / ratio))
         
         let newY = highestY * yScalingFactor
         offset = (toSize.height - newY) / CGFloat(2)

    //// www.paintcodeapp.com
    
    //// Color Declarations
    let color = UIColor(red: 0.386, green: 0.207, blue: 0.207, alpha: 1.000)
    
    //// Oval Drawing
    var ovalPath = UIBezierPath(ovalInRect: CGRectMake(0 * xScalingFactor, 0 * yScalingFactor, 40 * xScalingFactor, 40 * yScalingFactor))

        lineWidthScalingFactor = toSize.width / highestX
    }
    else {
        xScalingFactor = (CGFloat(1.0) / highestX) * (toSize.width * ratio)
        
        let newX = highestX * xScalingFactor
        offset = (toSize.width - newX) / CGFloat(2)
