Easy fix:
First, add browser checking:
http://stackoverflow.com/questions/15159002/d3-js-browser-support
In heatmapcore.js, define var current_origin before brush definition. In brush function, if resetting, set current_origin to [0,0]. Otherwise, set it to ex[0] (minima of brush extent).
Then, in mouseover labels, subtract appropriate values from row and column numbers, i.e.,
`
var origin_col = current_origin[0];
var col = Math.floor(x.invert(offsetX));
if(isFirefox) col = col - origin_col;
var origin_row = current_origin[1];
var row = Math.floor(y.invert(offsetY));
if(isFirefox) row = row - origin_row;
Easy fix: First, add browser checking: http://stackoverflow.com/questions/15159002/d3-js-browser-support In heatmapcore.js, define var current_origin before brush definition. In brush function, if resetting, set current_origin to
[0,0]
. Otherwise, set it toex[0]
(minima of brush extent).Then, in mouseover labels, subtract appropriate values from row and column numbers, i.e., `
`