click(function(e) {
                var index = parseInt($(e.target).attr('data-index'));
                chart.option('domain', domains[index])
            });
        });
        </script>


        <!-- Test 6 -->
        <div id="test-6" class="test">
            <h2>7. Option: range</h2>
            <div class="epoch"></div>
            <p>
                <button data-index="0">Range From Data Extent</button>
                <button data-index="1">[0, 1.5]</button>
            </p>
        </div>
    