Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: polymer_0.5.4/bower_components/chartnewjs/Samples/issue_169.html

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 4
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 document.write("<canvas id=\"canvas_Pie1\" height=\""+defCanvasHeight+"\" wi dth=\""+defCanvasWidth+"\"></canvas>"); 84 document.write("<canvas id=\"canvas_Pie1\" height=\""+defCanvasHeight+"\" wi dth=\""+defCanvasWidth+"\"></canvas>");
85 85
86 window.onload = function() { 86 window.onload = function() {
87 var myPie = new Chart(document.getElementById("canvas_Pie1").getContext("2d" )).Pie(mydata2,opt1); 87 var myPie = new Chart(document.getElementById("canvas_Pie1").getContext("2d" )).Pie(mydata2,opt1);
88 } 88 }
89 89
90 </script> 90 </script>
91 </body> 91 </body>
92 </html> 92 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698