Show More
@@ -25,7 +25,7 b' var colors = [' | |||||
25 | function Graph() { |
|
25 | function Graph() { | |
26 |
|
26 | |||
27 | this.canvas = document.getElementById('graph'); |
|
27 | this.canvas = document.getElementById('graph'); | |
28 |
if ( |
|
28 | if (window.G_vmlCanvasManager) this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); | |
29 | this.ctx = this.canvas.getContext('2d'); |
|
29 | this.ctx = this.canvas.getContext('2d'); | |
30 | this.ctx.strokeStyle = 'rgb(0, 0, 0)'; |
|
30 | this.ctx.strokeStyle = 'rgb(0, 0, 0)'; | |
31 | this.ctx.fillStyle = 'rgb(0, 0, 0)'; |
|
31 | this.ctx.fillStyle = 'rgb(0, 0, 0)'; |
General Comments 0
You need to be logged in to leave comments.
Login now