4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
5 <title>color cycles
</title>
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
10 For production (minified) code, use:
11 <script type=
"text/javascript" src=
"dygraph-combined.js"></script>
13 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
17 <p>Different color cycles
</p>
21 <button type=button id=
0 onClick=
"change(this)"> first set
</button>
22 <button type=button id=
1 onClick=
"change(this)"> second set
</button>
23 <button type=button id=
2 onClick=
"change(this)"> undefined
</button>
26 <script type=
"text/javascript">
28 ['#
284785', '#EE1111', '#
8AE234'],
29 ['#
444444', '#
888888', '#DDDDDD'],
32 chart = new Dygraph(document.getElementById(
"blah"),
34 "10,12345,23456,34567\n" +
35 "11,12345,20123,31345\n",
43 chart.updateOptions({colors: colorSets[el.id]});