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

Side by Side Diff: polymer_0.5.0/bower_components/chartnewjs/Samples/animation_lines.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 138
139 var myLine = new Chart(document.getElementById("canvas_Line1").getContext("2 d")).Line(mydata1,opt1); 139 var myLine = new Chart(document.getElementById("canvas_Line1").getContext("2 d")).Line(mydata1,opt1);
140 var myLine = new Chart(document.getElementById("canvas_Line2").getContext("2 d")).Line(mydata1,opt2); 140 var myLine = new Chart(document.getElementById("canvas_Line2").getContext("2 d")).Line(mydata1,opt2);
141 var myLine = new Chart(document.getElementById("canvas_Line3").getContext("2 d")).Line(mydata1,opt3); 141 var myLine = new Chart(document.getElementById("canvas_Line3").getContext("2 d")).Line(mydata1,opt3);
142 var myLine = new Chart(document.getElementById("canvas_Line4").getContext("2 d")).Line(mydata1,opt4); 142 var myLine = new Chart(document.getElementById("canvas_Line4").getContext("2 d")).Line(mydata1,opt4);
143 } 143 }
144 </script> 144 </script>
145 </body> 145 </body>
146 </html> 146 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698