      <div class="controls">
                <button class="ticks">Toggle Ticks</button>
                <button class="tickFormats">Toggle Tick Formats</button>
            </div>
        </div>
        <script>
        $(function() {
            var ticksIndex = 0, ticks = [
                { 
                    ticks: {
                        top: 14,
                        bottom: 14,
                        left: 5,
                        right: 5,
                    }
                },
         