code: function setByPercentage(callback) {
      var percentage = 0;
      
      var setByPercentageInterval = setInterval(function() {
          if (percentage <= 100) {
              dot3k.barGraph.setByPercentage(percentage);
              
              percentage++;
          } else {
              clearInterval(setByPercentageInterval);
              
              if (callback) {
                  callback();
              }
          }
      }, 50);
  }
docs: Sets the bar graph by a percentage.
  @param {Function} callback A function to call when the operation has finished.