legendFormatter: function (data) {
            if (state.tmp.dygraph_mouse_down) {
                return;
            }