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

Side by Side Diff: polymer_0.5.0/bower_components/chartnewjs/Samples/responsiveChart.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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html> 2 <html>
3 <script src="../ChartNew.js"></script> 3 <script src="../ChartNew.js"></script>
4 4
5 5
6 <script> 6 <script>
7 var randomScalingFactor = function(){ return Math.round(Math.random()*10 0)}; 7 var randomScalingFactor = function(){ return Math.round(Math.random()*10 0)};
8 8
9 var barChartData = { 9 var barChartData = {
10 labels : ["January","February","March","April","May","June","Jul y"], 10 labels : ["January","February","March","April","May","June","Jul y"],
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 var ctx3 = document.getElementById("canvas3").getContext("2d"); 145 var ctx3 = document.getElementById("canvas3").getContext("2d");
146 window.myBar = new Chart(ctx3).HorizontalBar(barChartData, { 146 window.myBar = new Chart(ctx3).HorizontalBar(barChartData, {
147 responsive : true, maintainAspectRatio : true 147 responsive : true, maintainAspectRatio : true
148 }); 148 });
149 } 149 }
150 150
151 </script> 151 </script>
152 152
153 </body> 153 </body>
154 </html> 154 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698