             // as we calculate the position for the y axis value in the previous line,
             // this already takes into account margins, etc.
             let lineStart = CGPoint(x: 0, y: yPosition)
-            let lineEnd = CGPoint(x: lineStart.x + lineWidth * intermediateLineWidthMultiplier, y: lineStart.y)
+            let lineEnd = CGPoint(x: lineStart.x + lineWidth, y: lineStart.y)
             
             createReferenceLineFrom(from: lineStart, to: lineEnd, in: path)
         }

            let yPosition = height * CGFloat(1 - relativePosition)
            
            let lineStart = CGPoint(x: 0, y: rect.origin.y + yPosition)
            let lineEnd = CGPoint(x: lineStart.x + lineWidth * intermediateLineWidthMultiplier, y: lineStart.y)
            
            createReferenceLineFrom(from: lineStart, to: lineEnd, in: path)
        }

    private func calculateYPositionForYAxisValue(value: Double) -> CGFloat {
        
        // Just an algebraic re-arrangement of calculateYAxisValue
        let graphHeight = self.frame.size.height - (topMargin + bottomMargin)
        var y = ((CGFloat(value - self.currentRange.max) / CGFloat(self.currentRange.min - self.currentRange.max)) * graphHeight) + topMargin
        
