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

Side by Side Diff: polymer_0.4.0/bower_components/chartnewjs/Samples/issue_51.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 <head> 3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=windows-1250"> 4 <meta http-equiv="content-type" content="text/html; charset=windows-1250">
5 <meta name="generator" content="PSPad editor, www.pspad.com"> 5 <meta name="generator" content="PSPad editor, www.pspad.com">
6 <title></title> 6 <title></title>
7 <!--[if lte IE 8]><SCRIPT src='source/excanvas.js'></script><![endif]--><SCRIP T src='../ChartNew.js'></script> 7 <!--[if lte IE 8]><SCRIPT src='source/excanvas.js'></script><![endif]--><SCRIP T src='../ChartNew.js'></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <canvas id="mycanvas" height="600" width="1000"></canvas> 10 <canvas id="mycanvas" height="600" width="1000"></canvas>
(...skipping 30 matching lines...) Expand all
41 41
42 var opts= {inGraphDataTmpl: "<%=v1%>\n<%=v4%>", inGraphDataShow: true, annotat eDisplay: true, annotateLabel: "<%=(v1 == '' ? '' : v1) + (v1!='' && v2 !='' ? ' - ' : '')+(v2 == '' ? '' : v2)+(v1!='' || v2 !='' ? ':' : '') + v3 + ' (' + Mat h.round((v4/v5)*10000)/100 + ' %)'%>"}; 42 var opts= {inGraphDataTmpl: "<%=v1%>\n<%=v4%>", inGraphDataShow: true, annotat eDisplay: true, annotateLabel: "<%=(v1 == '' ? '' : v1) + (v1!='' && v2 !='' ? ' - ' : '')+(v2 == '' ? '' : v2)+(v1!='' || v2 !='' ? ':' : '') + v3 + ' (' + Mat h.round((v4/v5)*10000)/100 + ' %)'%>"};
43 43
44 window.onload = function() { 44 window.onload = function() {
45 var myBar = new Chart(document.getElementById("mycanvas").getContext("2d")). HorizontalStackedBar(HorizontalStackedBarData,opts); 45 var myBar = new Chart(document.getElementById("mycanvas").getContext("2d")). HorizontalStackedBar(HorizontalStackedBarData,opts);
46 } 46 }
47 </script> 47 </script>
48 48
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698