anchor.diff:          if ( this.period != 0 ) {
             var date = new Date(this.end);
             date.setDate(this.endDate().getDate() - this.period+1);
  -          date.setHours(1,0,0,0);
  +          date.setHours(0,0,0,0);
             return date;
           // Set StartDate to 1. od EndDate Month
           } else {
             var date = new Date(this.end);
             date.setDate(1);
  -          date.setHours(1,0,0,0);
  +          date.setHours(0,0,0,0);
             return date;
           }
         }
  
positive.code:         }
          // Draw Chart
  
          //console.log(this.period);
          //console.log(this.startDate());
          //console.log(this.endDate());
  
          chartTopArea = new Chart(topchart, {
            type: 'line',
  
negative.code:       // Set End Date to Midnight
        this.endDate = function() {
          date = new Date(this.end);
          //date.setDate(date.getDate() + 1 );
          date.setHours(23,59,59,0);
          return date;
        }
  
  