Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca193eb

Browse files
committed
reject last tick that may include decimals
1 parent d2d8e6e commit ca193eb

File tree

4 files changed

+2
-0
lines changed

4 files changed

+2
-0
lines changed

src/plots/cartesian/axes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,8 @@ axes.calcTicks = function calcTicks(ax) {
637637
var tickVal = tickVals[q];
638638
if(ax.maskBreaks(tickVal.value) === BADNUM) {
639639
tickVal.value = moveOutsideBreak(tickVal.value, ax);
640+
641+
if(ax._rl && tickVal.value === ax._rl[1]) continue;
640642
}
641643

642644
var pos = ax.c2p(tickVal.value);
-294 Bytes
Loading
-327 Bytes
Loading
Loading

0 commit comments

Comments
 (0)