         let (x, y, labelAngle) = getLabelPostion(viewSize, length: length)
         let firstLabel = UILabel()
         firstLabel.frame = CGRectMake(x, y, length*0.8, 0.4*length)
-        firstLabel.text = firstLabelText
+        firstLabel.text = labelText
         firstLabel.transform = CGAffineTransformMakeRotation(labelAngle)
         firstLabel.textAlignment = .Center
         firstLabel.textColor = textColor

        }
    }
    
    @IBInspectable var lengthPercentage:CGFloat = 50 {
        didSet {
            setNeedsDisplay()
        }
    }
    
    @IBInspectable var firstLabelText:String = "Hi"
    
    @IBInspectable var fontSize:CGFloat = 20
    
    @IBInspectable var viewColor:UIColor = UIColor.blueColor() {
        didSet {
            setNeedsDisplay()
        }
    }
    
    @IBInspectable var textColor:UIColor = UIColor.blackColor() {
        didSet {
            setNeedsDisplay()
        }
    }
    
    override func drawRect(rect: CGRect) {
        let trianglePath = UIBezierPath()
        var pointValues = [CGFloat]()
        length = (lengthPercentage/100)*min(bounds.width, bounds.height)

    var position:Position = .TopLeft
    
    @available(*, unavailable, message="This property is reserved for IB. Use position instead")
    @IBInspectable public var positionName: String? {
        didSet {
            setNeedsDisplay()
        }
