• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Heatmap = function(canvas, resolutionSlider, data) {
2  this.canvas = canvas.get(0);
3  this.context = this.canvas.getContext('2d');
4  this.scaleCanvas();
5
6  this.calculate(data);
7  this.installInputHandlers(canvas, resolutionSlider);
8
9  this.draw();
10};
11