equal
deleted
inserted
replaced
23 ]; |
23 ]; |
24 |
24 |
25 function Graph() { |
25 function Graph() { |
26 |
26 |
27 this.canvas = document.getElementById('graph'); |
27 this.canvas = document.getElementById('graph'); |
28 if (window.G_vmlCanvasManager) this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); |
|
29 this.ctx = this.canvas.getContext('2d'); |
28 this.ctx = this.canvas.getContext('2d'); |
30 this.ctx.strokeStyle = 'rgb(0, 0, 0)'; |
29 this.ctx.strokeStyle = 'rgb(0, 0, 0)'; |
31 this.ctx.fillStyle = 'rgb(0, 0, 0)'; |
30 this.ctx.fillStyle = 'rgb(0, 0, 0)'; |
32 this.bg = [0, 4]; |
31 this.bg = [0, 4]; |
33 this.cell = [2, 0]; |
32 this.cell = [2, 0]; |