ight'],
                []
            ];

            var chart = $('#test-1 .epoch').epoch({ 
                type: 'line', 
                data: data().add(function(x) { return Math.cos(x) }).get([0, 2*Math.PI], Math.PI/25)
            });

            $('#test-1 button').click(function(e) {
                chart.option('axes', axes[parseInt($(e.target).attr('data-index'))]);
            });
        });
        </script>


        <!-- Test 2 -->
        <div id="test-2" class="test">
            <h2>2.