4 <title>color cycles
</title>
6 For production (minified) code, use:
7 <script type=
"text/javascript" src=
"dygraph-combined.js"></script>
9 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
13 <p>Different color cycles
</p>
17 <button type=button id=
0 onClick=
"change(this)"> first set
</button>
18 <button type=button id=
1 onClick=
"change(this)"> second set
</button>
19 <button type=button id=
2 onClick=
"change(this)"> undefined
</button>
22 <script type=
"text/javascript">
24 ['#
284785', '#EE1111', '#
8AE234'],
25 ['#
444444', '#
888888', '#DDDDDD'],
28 chart = new Dygraph(document.getElementById(
"blah"),
30 "10,12345,23456,34567\n" +
31 "11,12345,20123,31345\n",
39 chart.updateOptions({colors: colorSets[el.id]});