1 /*global Gallery,Dygraph,data */
5 name
: 'Per-series properties',
6 title
: 'Chart with per-series properties',
7 setup
: function(parent
) {
8 parent
.innerHTML
= "<div id='demodiv'>";
12 document
.getElementById("demodiv"),
14 var zp
= function(x
) { if (x
< 10) return "0"+x
; else return x
; };
15 var r
= "date,parabola,line,another line,sine wave\n";
16 for (var i
=1; i
<=31; i
++) {
17 r
+= "200610" + zp(i
);
18 r
+= "," + 10*(i
*(31-i
));
20 r
+= "," + 10*(250 - 8*i
);
21 r
+= "," + 10*(125 + 125 * Math
.sin(0.3*i
));
33 highlightCircleSize
: 6
42 highlightCircleSize
: 10