anchor.diff:                                              return eventObj;
                                       }));
                                   failureCallback((function (data){
  -                                    console.log("error from waterPrePivot");
  +                                    console.log("error from waterTotalByDateWithWeight");
                                   }))
                                   })
                               }
  
positive.code: 
                              successCallback(
                                      events.map(function (row) {
                                          var eventObj = {
                                              id : LABKEY.Utils.generateUUID(),
                                              title: row.animalId + " Total: " + row.TotalWater,
                                              start: new Date(row.date),
                                              allDay: true,
                                              textColor: '#000000',
  
negative.code:                             WebUtils.API.selectRows("study", "waterTotalByDateWithWeight", {
                              "date~gte": fetchInfo.start.format('Y-m-d'),
                              "date~lte": fetchInfo.end.format('Y-m-d'),
                              "animalId~in": $animalId
                              }).then(function (data) {
                                  var events = data.rows;
  
                                  successCallback(events.map(function (row) {
                                      let parsedTotalWater = 0;
                                      if(row.TotalWater !== null){
                                          parsedTotalWater = row.TotalWater;
                                      }
                                          var eventObj = {
                                              id : LABKEY.Utils.generateUUID(),
                                              title: row.animalId + " Total: " + parsedTotalWater,
                                              start: new Date(row.date),
                                              textColor: '#000000',
                                              allDay: true,
  