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 7b56201 commit afa05f3Copy full SHA for afa05f3
src/minicharts/d3fns/date.js
@@ -168,7 +168,8 @@ var minicharts_d3fns_date = function() {
168
};
169
});
170
171
- var innerWidth = width - margin.left - margin.right;
+ // without `-1` the tooltip won't always trigger on the rightmost value
172
+ var innerWidth = width - margin.left - margin.right - 1;
173
var innerHeight = height - margin.top - margin.bottom;
174
var el = d3.select(this);
175
0 commit comments