code: function (e) {
      // console.log('Filtered by', (new Date(e.start)).toISOString(), (new Date(e.end)).toISOString())
      var field = this.collection.getTriggerField()
  
      var start = new Date(e.start)
      var startIso = trimLastCharacter(start.toISOString())
      var startFriendly = start.toLocaleDateString()
  
      var end = new Date(e.end)
      var endIso = trimLastCharacter(end.toISOString())
      var endFriendly = end.toLocaleDateString()
  
      // Trigger the global event handler with this filter
      this.vent.trigger(this.collection.getDataset() + '.filter', {
        field: field,
        expression: {
          type: 'and',
          value: [
            {
              type: '>=',
              value: startIso,
              label: startFriendly
            },
            {
              type: '<=',
              value: endIso,
              label: endFriendly
            }
          ]
        }
      })
    }
docs: When the user clicks on a bar in this chart