     
     func CalenderViewDidLoad(){
         calendarBar.backgroundColor = UIColor.hex("FF8E92", alpha: 1.0)
-        calendarBar.frame = CGRectMake(0, 140, self.view.frame.width, 40)
+        calendarBar.frame = CGRectMake(0, 190, self.view.frame.width, 40)
         
         //凡例の背景色を設定
         earlyshiftlegend.backgroundColor = UIColor(

        breaktimelegend.textAlignment = NSTextAlignment.Center
        
        //凡例を表示する場所と大きさを設定
        earlyshiftlegend.frame = CGRectMake(40, 20, 45, 45)
        center1shiftlegend.frame = CGRectMake(40, 80, 45, 45)
        center2shiftlegend.frame = CGRectMake(self.view.frame.width/2-22.5, 20, 45, 45)
        center3shiftlegend.frame = CGRectMake(self.view.frame.width/2-22.5, 80, 45, 45)
        latershiftlegend.frame = CGRectMake(self.view.frame.width-80, 20, 45, 45)
        breaktimelegend.frame = CGRectMake(self.view.frame.width-80, 80, 45, 45)
        
        //凡例のマスクを有効に設定
        earlyshiftlegend.layer.masksToBounds = true

        
        calendarIntervalX      = 15;
        calendarX              = 50;
        calendarIntervalY      = 280;
        calendarY              = 53;
        calendarSize           = 45;
        calendarFontSize       = 19;
        
