Custom Ticker Not Reinvoked After Zoom #756

imallett opened this Issue Jun 17, 2016 · 0 comments


None yet

2 participants


After zooming with a custom ticker, the axis labels disappear.

A live example can be seen in the graph on my website here:

The code in this case is:

axes: {
    x: {
        ticker: function(min, max, pixels, opts, dygraph, vals) {
            var arr = [];
            for (var y=min;y<max;++y) {
            return arr;

To reproduce, zoom horizontally or vertically. Double-click to reset. The x-axis labels will be gone. They reappear when the page is reloaded.

Browsers at least Firefox/Chrome, OSes at least Win 7, Dygraphs version latest.

@danvk danvk added the bug label Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment