We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c542b9d commit 50cde73Copy full SHA for 50cde73
scripts/JSRootPainter.more.js
@@ -3735,11 +3735,11 @@
3735
3736
var ttrect = this.draw_g.select(".tooltip_bin");
3737
3738
- var binz = (find === 2) ? histo.getBinContent(i+1,j+1) : -100;
+ var binz = (find === 2) ? histo.getBinContent(i+1,j+1) : 0;
3739
3740
- // console.log('find = ' + find + ' binz = ' + binz + ' minbin ' + this.minbin);
+ var colindx = (find === 2) ? this.getValueColor(binz, true) : null;
3741
3742
- if ((find !== 2) || (binz === 0) || (binz < this.minbin)) {
+ if ((find !== 2) || (colindx === null)) {
3743
ttrect.remove();
3744
this.ProvideUserTooltip(null);
3745
return null;
0 commit comments