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

Unified Diff: bower_components/chartnewjs/Samples/add-ins_format.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 side-by-side diff with in-line comments
Download patch
Index: bower_components/chartnewjs/Samples/add-ins_format.html
diff --git a/bower_components/chartnewjs/Samples/add-ins_format.html b/bower_components/chartnewjs/Samples/add-ins_format.html
deleted file mode 100644
index 12c0b082b0e1ea18b52cc1a605453e93805b550c..0000000000000000000000000000000000000000
--- a/bower_components/chartnewjs/Samples/add-ins_format.html
+++ /dev/null
@@ -1,85 +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 datedata = {
- labels: [new Date(2014,0,1,12,0,0), new Date(2014,1,1,12,15,0), new Date(2014,2,1,12,30,0), new Date(2014,3,1,12,45,0)],
- datasets: [
- {
- fillColor: "rgba(220,0,0,0.5)",
- strokeColor: "rgba(220,220,220,0.5)",
- data: [20,10,47,35]
- },
- {
- fillColor: "rgba(0,220,0,0.5)",
- strokeColor: "rgba(220,220,220,0.5)",
- data: [13,43,55,33]
- },
- {
- fillColor: "rgba(0,0,220,0.5)",
- strokeColor: "rgba(220,220,220,0.5)",
- data:[45,37,39,41]
- }
- ]
- }
-
-
-</SCRIPT>
-
-
-<html>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <head>
- <title>Sample for format.js add-in</title>
-
- </head>
- <body>
-
- <!div id="divCursor" style="position:absolute"> <!/div>
-
- <center>
- <FONT SIZE=6><B>Sample for format.js add-in</B></FONT> <BR>
-
- <script>
-
-
- document.write("<canvas id=\"canvas_line1\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line2\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line3\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line4\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line5\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line6\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line7\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line8\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line9\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
- document.write("<canvas id=\"canvas_line10\" height=\""+defCanvasHeight+"\" width=\""+defCanvasWidth+"\"></canvas>");
-
-
-window.onload = function() {
-
-
- var myLine = new Chart(document.getElementById("canvas_line1").getContext("2d")).Line(datedata,{ graphTitle : "No Date Format",animation :false});
- var myLine = new Chart(document.getElementById("canvas_line2").getContext("2d")).Line(datedata,{fmtXLabel : "date en-US",graphTitle : "Format : date en-US",animation :false});
- var myLine = new Chart(document.getElementById("canvas_line3").getContext("2d")).Line(datedata,{fmtXLabel : "date en-GB",graphTitle : "Format : date en-GB",animation :false});
- var myLine = new Chart(document.getElementById("canvas_line4").getContext("2d")).Line(datedata,{fmtXLabel : "date ko-KR",graphTitle : "Format : date ko-KR",animation :false});
- var myLine = new Chart(document.getElementById("canvas_line5").getContext("2d")).Line(datedata,{fmtXLabel : "date de-DE weekday: long, year: numeric, month: long, day: numeric",graphTitle : "Format : date de-DE weekday: long, year: numeric, month: long, day: numeric",animation :false});
- var myLine = new Chart(document.getElementById("canvas_line6").getContext("2d")).Line(datedata,{fmtXLabel : "fmtdate mm/yyyy",graphTitle : "Format : fmtdate mm/yyyy",animation : false});
- var myLine = new Chart(document.getElementById("canvas_line7").getContext("2d")).Line(datedata,{fmtXLabel : "fmtdate yy/mm/dd",graphTitle : "Format : fmtdate yy/mm/dd",animation :false});
- var myLine = new Chart(document.getElementById("canvas_line8").getContext("2d")).Line(datedata,{fmtXLabel : "time",graphTitle : "Format : time",animation :false});
- var myLine = new Chart(document.getElementById("canvas_line9").getContext("2d")).Line(datedata,{fmtXLabel : "fmttime hh:mm:ss",graphTitle : "Format : fmttime hh:mm:ss",animation : false});
- var myLine = new Chart(document.getElementById("canvas_line10").getContext("2d")).Line(datedata,{fmtXLabel : "fmttime ss:mm:hh",graphTitle : "Format : fmttime ss:mm:hh",animation :false});
-
-}
- </script>
- </body>
-</html>
« no previous file with comments | « bower_components/chartnewjs/Samples/UpdateChart.html ('k') | bower_components/chartnewjs/Samples/animation_HorizontalBar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698