     var numberFormatter:NSNumberFormatter
     var unit:String?
     
-    override init() {
+    init() {
         // Initilaize the default number formatter
         numberFormatter = NSNumberFormatter()
         numberFormatter.minimumIntegerDigits = 1
         numberFormatter.maximumFractionDigits = 1
         
-        super.init()
+        super.init(frame: CGRectZero)
     }
     
     required init(coder aDecoder: NSCoder) {

            CGContextSetFillColorWithColor(context, storageBarValue.color.CGColor)
            CGContextFillRect(context, rectangle)
            
            var titleWidth = countElements(storageBarValue.title) * Int(titleFontSize/2)
            
            // Title drawing
            if let actualFont = fontTitle {

        let fontTitle = UIFont(name: "Helvetica Bold", size: CGFloat(self.titleFontSize))
        let fontValue = UIFont(name: "Helvetica Light", size: CGFloat(self.valueFontSize))
        
        let textStyle = NSMutableParagraphStyle.defaultParagraphStyle().mutableCopy() as! NSMutableParagraphStyle
        textStyle.alignment = NSTextAlignment.Left
        let textColor = UIColor.blackColor()
        
