| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 | 2 |
| 3 <!--[if lte IE 8]><SCRIPT src='source/excanvas.js'></script><![endif]--><SCRIPT
src='../ChartNew.js'></script> | 3 <!--[if lte IE 8]><SCRIPT src='source/excanvas.js'></script><![endif]--><SCRIPT
src='../ChartNew.js'></script> |
| 4 <SCRIPT src='../Add-ins/format.js'></script> | 4 <SCRIPT src='../Add-ins/format.js'></script> |
| 5 | 5 |
| 6 <SCRIPT> | 6 <SCRIPT> |
| 7 | 7 |
| 8 function setColor(area,data,config,i,j,animPct,value) | 8 function setColor(area,data,config,i,j,animPct,value) |
| 9 { | 9 { |
| 10 if(value > 35)return("rgba(220,0,0,"+animPct); | 10 if(value > 35)return("rgba(220,0,0,"+animPct); |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 document.write("<canvas id=\"canvas_Line\" height=\""+defCanvasHeight+"\" wi
dth=\""+defCanvasWidth+"\"></canvas>"); | 139 document.write("<canvas id=\"canvas_Line\" height=\""+defCanvasHeight+"\" wi
dth=\""+defCanvasWidth+"\"></canvas>"); |
| 140 window.onload = function() { | 140 window.onload = function() { |
| 141 var myLine = new Chart(document.getElementById("canvas_Line").getContext
("2d")).Line(mydata,opt); | 141 var myLine = new Chart(document.getElementById("canvas_Line").getContext
("2d")).Line(mydata,opt); |
| 142 setTimeout(function (){updt(document.getElementById("canvas_Line").getCo
ntext("2d"),mydata,opt);}, 2000+Math.random()*2000); | 142 setTimeout(function (){updt(document.getElementById("canvas_Line").getCo
ntext("2d"),mydata,opt);}, 2000+Math.random()*2000); |
| 143 | 143 |
| 144 } | 144 } |
| 145 </script> | 145 </script> |
| 146 </body> | 146 </body> |
| 147 </html> | 147 </html> |
| OLD | NEW |