4 <link rel=
"stylesheet" href=
"../css/dygraph.css">
5 <title>color cycles
</title>
7 For production (minified) code, use:
8 <script type=
"text/javascript" src=
"dygraph-combined.js"></script>
10 <script type=
"text/javascript" src=
"../dist/dygraph.js"></script>
14 <p>Different color cycles
</p>
18 <button type=button id=
0 onClick=
"change(this)"> first set
</button>
19 <button type=button id=
1 onClick=
"change(this)"> second set
</button>
20 <button type=button id=
2 onClick=
"change(this)"> undefined
</button>
23 <script type=
"text/javascript">
25 ['#
284785', '#EE1111', '#
8AE234'],
26 ['#
444444', '#
888888', '#DDDDDD'],
29 chart = new Dygraph(document.getElementById(
"blah"),
31 "10,12345,23456,34567\n" +
32 "11,12345,20123,31345\n",
40 chart.updateOptions({colors: colorSets[el.id]});