         
         layer.borderColor = UIColor.yiGraphBarTwoColor().CGColor
         layer.borderWidth = 1.0
-        
+        layer.backgroundColor = status.circleColor().CGColor
+        layer.borderColor = status.circleBorderColor().CGColor
+
         
         
     }

        
        layer.borderColor = UIColor.yiGraphBarTwoColor().CGColor
        layer.borderWidth = 1.0
    }
    
    func configureUI(aDate : NSDate, status : circleViewStatus = .noData) {
        theData = aDate
        let dateFormatter = NSDateFormatter()
        dateFormatter.dateFormat = "EE\nd"
        dateText.text = dateFormatter.stringFromDate(aDate)

    @IBOutlet weak var dateText : UILabel!
    var theData : NSDate?
    var activity : SingleDayActivityGoal?
    var status : circleViewStatus = .noData
    override func awakeFromNib() {
        layer.cornerRadius = frame.size.height/2
        layer.masksToBounds = true
