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

Side by Side Diff: bower_components/chartnewjs/Samples/math.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
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=windows-1250">
5 <meta name="generator" content="PSPad editor, www.pspad.com">
6 <title></title>
7 <SCRIPT src='../mathFunctions.js'></script>
8 <!--[if lte IE 8]><SCRIPT src='source/excanvas.js'></script><![endif]--><SCRIP T src='../ChartNew.js'></script>
9 </head>
10 <body>
11 <canvas id="mycanvas" height="600" width="800"></canvas>
12 <script>
13 var BarData = {
14 labels : ["January","February","March","April","May","June","July"],
15 datasets : [
16 {
17 fillColor : "rgba(129, 172, 123, 0.5)",
18 strokeColor : "rgba(129, 172, 123, 1)",
19 pointColor : "rgba(129, 172, 123, 1)",
20 pointStrokeColor : "#fff",
21 drawMathDeviation: "stddev",
22 deviationStrokeColor: "#000",
23 deviationWidth: 5,
24 data : ["60","70","75","65",,"80","0"],
25 title : "bar 1"
26 },
27 {
28 fillColor : "rgba(29, 72, 223, 0.5)",
29 strokeColor : "rgba(29, 72, 223, 1)",
30 pointColor : "rgba(29, 72, 223, 1)",
31 pointStrokeColor : "#fff",
32 drawMathLine: "mean",
33 mathLineStrokeColor: "#f00",
34 data : [10,20,30,40,50,60,70],
35 title : "bar 2"
36 }
37 ]
38 }
39
40 var opts= {inGraphDataShow:true, inGraphDataTmpl: '<%=meanDif(2)%>', bezierCurv e: false, savePng: false, legend: true
41 };
42
43 window.onload = function() {
44 var myBar = new Chart(document.getElementById("mycanvas").getContext("2d")). Bar(BarData,opts);
45 }
46 </script>
47
48 </body>
49 </html>
OLDNEW
« no previous file with comments | « bower_components/chartnewjs/Samples/issue_68.html ('k') | bower_components/chartnewjs/Samples/mouse_actions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698