{"size": 738, "ext": "js", "max_stars_repo_path": "app/common/modules/journey.js", "max_stars_repo_name": "NRCan/spotlight", "max_stars_repo_stars_event_min_datetime": "2015-01-02T16:19:14.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-13T07:24:27.000Z", "max_issues_repo_path": "app/common/modules/journey.js", "max_issues_repo_name": "NRCan/spotlight", "max_issues_repo_issues_event_min_datetime": "2015-01-06T11:33:17.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-24T10:49:57.000Z", "max_forks_repo_path": "app/common/modules/journey.js", "max_forks_repo_name": "tombooth/spotlight", "max_forks_repo_forks_event_min_datetime": "2015-01-06T11:21:19.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-10T20:15:00.000Z"}
{"max_stars_count": 14, "max_issues_count": 78, "max_forks_count": 19, "avg_line_length": 21.0857142857, "max_line_length": 83, "alphanum_fraction": 0.5623306233}
define([
  'common/collections/journey_series'
],
function (JourneyCollection) {
  return {

    requiresSvg: true,
    hasDatePicker: true,

    collectionClass: JourneyCollection,

    collectionOptions: function () {
      return {
        matchingAttribute: this.model.get('matching-attribute') || 'eventCategory',
        format: {
          type: 'integer',
          magnitude: true,
          sigfigs: 3
        },
        valueAttr: this.model.get('value-attribute') || 'uniqueEvents',
        axes: _.merge({
          y: []
        }, this.model.get('axes'))
      };
    },

    visualisationOptions: function () {
      return {
        valueAttr: this.model.get('value-attribute') || 'uniqueEvents'
      };
    }

  };
});
