code: function TimeSeries (source, column, options) {
    this._initialize(source, column, options);
    this._aggregation = this._options.aggregation;
    this._offset = _hoursToSeconds(this._options.offset);
    this._localTimezone = this._options.useLocalTimezone;
  }
docs: A dataview to represent an histogram of temporal data allowing to specify the granularity of the {@link carto.dataview.timeAggregation|temporal bins.}
  
  @param {carto.source.Base} source - The source where the dataview will fetch the data
  @param {string} column - The column name to get the data
  @param {object} [options]
  @param {carto.dataview.timeAggregation} [options.aggregation=auto] - Granularity of time aggregation
  @param {number} [options.offset] - Number of hours to offset the aggregation from UTC
  @param {boolean} [options.useLocalTimezone] - Indicates whether to use the local user timezone, or not
  
  @fires dataChanged
  @fires columnChanged
  @fires statusChanged
  @fires error
  
  @fires binsChanged
  @fires aggregationChanged
  @fires offsetChanged
  @fires localTimezoneChanged
  
  @constructor
  @extends carto.dataview.Base
  @memberof carto.dataview
  @api
  @example
  // We have a tweets dataset and we want to show a "per hour histogram" with the data.
  var timeSeries = new carto.dataview.TimeSeries(source0, 'last_review', {
  offset: 0,
  aggregation: 'hour'
  });
  @example
  // You can listen to multiple events emmited by the time-series-dataview.
  // Data and status are fired by all dataviews.
  timeSeries.on('dataChanged', newData => { });
  timeSeries.on('statusChanged', (newData, error) => { });
  timeSeries.on('error', cartoError => { });