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

Unified Diff: bower_components/chartnewjs/Samples/function_x2.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, 12 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 side-by-side diff with in-line comments
Download patch
Index: bower_components/chartnewjs/Samples/function_x2.html
diff --git a/bower_components/chartnewjs/Samples/function_x2.html b/bower_components/chartnewjs/Samples/function_x2.html
deleted file mode 100644
index 1c8733f22c7bd3e929dc4f72e00106384a845a35..0000000000000000000000000000000000000000
--- a/bower_components/chartnewjs/Samples/function_x2.html
+++ /dev/null
@@ -1,71 +0,0 @@
- <!doctype html>
-
-<!--[if lte IE 8]><SCRIPT src='source/excanvas.js'></script><![endif]--><SCRIPT src='../ChartNew.js'></script>
-<SCRIPT src='../Add-ins/format.js'></script>
-
-<SCRIPT>
-
-defCanvasWidth=1200;
-defCanvasHeight=600;
-
-
-var mydata1 = {
- labels : ["-10","0","10"],
- xBegin : -10,
- xEnd : 10,
- datasets : [
- {
- strokeColor : "rgba(220,220,220,1)",
- data : [],
- xPos : [],
- title : "Sinus"
- }
- ]
-}
-var nbiter=400;
-for(var i=0;i<nbiter;i++)
-{
- mydata1.datasets[0].xPos[i]=mydata1.xBegin+i*(mydata1.xEnd-mydata1.xBegin)/nbiter;
- mydata1.datasets[0].data[i]=mydata1.datasets[0].xPos[i]*mydata1.datasets[0].xPos[i];
-}
-
-
-var opt1 = {
- canvasBorders : true,
- canvasBordersWidth : 3,
- canvasBordersColor : "black",
- graphTitle : "x^2",
- legend : true,
- datasetFill : false,
- annotateDisplay : true,
- pointDot :false,
- animationLeftToRight : true,
- animationEasing: "linear",
- yAxisMinimumInterval : 1,
- graphTitleFontSize: 18
-
-}
-
-
-</SCRIPT>
-
-
-<html>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <head>
- <title>Demo ChartNew.js</title>
- </head>
- <body>
-
- <center>
- <FONT SIZE=6><B>Demo of ChartNew.js !</B></FONT> <BR>
-
- <script>
-
- document.write("<canvas id=\"canvas_Line1\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
-window.onload = function() {
- var myLine = new Chart(document.getElementById("canvas_Line1").getContext("2d")).Line(mydata1,opt1);
-}
- </script>
- </body>
-</html>
« no previous file with comments | « bower_components/chartnewjs/Samples/function_sinus_cosinus.html ('k') | bower_components/chartnewjs/Samples/issue_102.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698