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

Unified Diff: polymer_0.5.0/bower_components/chartnewjs/Samples/makers.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: polymer_0.5.0/bower_components/chartnewjs/Samples/makers.html
diff --git a/polymer_0.5.0/bower_components/chartnewjs/Samples/makers.html b/polymer_0.5.0/bower_components/chartnewjs/Samples/makers.html
new file mode 100644
index 0000000000000000000000000000000000000000..f94f4e888cc113fc613ce112929cd3c2dd756983
--- /dev/null
+++ b/polymer_0.5.0/bower_components/chartnewjs/Samples/makers.html
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=windows-1250">
+ <meta name="generator" content="PSPad editor, www.pspad.com">
+ <title></title>
+ <SCRIPT src='../mathFunctions.js'></script>
+ <!--[if lte IE 8]><SCRIPT src='source/excanvas.js'></script><![endif]--><SCRIPT src='../ChartNew.js'></script>
+ </head>
+ <body>
+ <canvas id="mycanvas" height="600" width="800"></canvas>
+ <script>
+var LineData = {
+ labels : ["January","February","March","April","May","June"],
+ datasets : [
+ {
+ strokeColor : "blue",
+ pointColor : "blue",
+ pointStrokeColor : "blue",
+ data : [12,8,12,8,12,8],
+ markerShape : "square",
+ pointDotRadius : 5,
+ title : "square"
+ },
+ {
+ strokeColor : "red",
+ pointColor : "red",
+ pointStrokeColor : "red",
+ data : [22,18,22,18,22,18],
+ markerShape : "diamond",
+ pointDotRadius : 5,
+ title : "diamond"
+ },
+ {
+ strokeColor : "green",
+ pointColor : "green",
+ pointStrokeColor : "green",
+ data : [32,28,32,28,32,28],
+ markerShape : "plus",
+ pointDotRadius : 5,
+ title : "plus"
+ },
+ {
+ strokeColor : "brown",
+ pointColor : "brown",
+ pointStrokeColor : "brown",
+ data : [42,38,42,38,42,38],
+ markerShape : "cross",
+ pointDotRadius : 5,
+ title : "cross"
+ },
+ {
+ strokeColor : "black",
+ pointColor : "black",
+ pointStrokeColor : "black",
+ data : [52,48,52,48,52,48],
+ markerShape : "circle",
+ pointDotRadius : 5,
+ title : "circle"
+ },
+ {
+ strokeColor : "cyan",
+ pointColor : "cyan",
+ pointStrokeColor : "cyan",
+ data : [62,58,62,58,62,58],
+ markerShape : "triangle",
+ pointDotRadius : 10,
+ title : "triangle"
+ }
+ ]
+}
+
+var opts = {
+ animation: false,
+ inGraphDataShow: true,
+ datasetFill: false ,
+ legend : true,
+ graphMin :0,
+ graphMax : 70
+}
+
+ window.onload = function() {
+ var myBar = new Chart(document.getElementById("mycanvas").getContext("2d")).Line(LineData,opts);
+ }
+ </script>
+
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698