{"size": 651, "ext": "js", "max_stars_repo_path": "Aurelia_Full_Esnext_Webpack/src/modules/dashboard/card-chart4.js", "max_stars_repo_name": "HendyZhang/myLib", "max_stars_repo_stars_event_min_datetime": "2019-08-31T07:48:35.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-19T06:18:00.000Z", "max_issues_repo_path": "Aurelia_Full_Esnext_Webpack/src/modules/dashboard/card-chart4.js", "max_issues_repo_name": "HendyZhang/myLib", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Aurelia_Full_Esnext_Webpack/src/modules/dashboard/card-chart4.js", "max_forks_repo_name": "HendyZhang/myLib", "max_forks_repo_forks_event_min_datetime": "2017-06-18T18:54:45.000Z", "max_forks_repo_forks_event_max_datetime": "2018-11-26T19:20:04.000Z"}
{"max_stars_count": 7, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 16.6923076923, "max_line_length": 69, "alphanum_fraction": 0.5007680492}
import Utils from "../../utils";

export class CardChart4 {
  barChartData = {
    labels: [],
    datasets: [{
      fill: false,
      data: [],
      backgroundColor: 'rgba(255,255,255,.3)',
      borderWidth: 0
    }]

  };

  constructor() {
    var elements = 16;
    for (var i = 2000; i <= 2000 + elements; i++) {
      this.barChartData.labels.push(i);
      this.barChartData.datasets[0].data.push(Utils.random(40, 100));
    }
  }

  options = {
    legend: {
      display: false
    },
    scales: {
      xAxes: [{
        display: false,
        barPercentage: 0.6
      }],
      yAxes: [{
        display: false
      }]
    }
  }

}
