File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ axes.counterLetter = function(id) {
142
142
143
143
// incorporate a new minimum difference and first tick into
144
144
// forced
145
+ // note that _forceTick0 is linearized, so needs to be turned into
146
+ // a range value for setting tick0
145
147
axes . minDtick = function ( ax , newDiff , newFirst , allow ) {
146
148
// doesn't make sense to do forced min dTick on log or category axes,
147
149
// and the plot itself may decide to cancel (ie non-grouped bars)
@@ -619,7 +621,7 @@ axes.calcTicks = function calcTicks(ax) {
619
621
// check for a forced minimum dtick
620
622
if ( ax . _minDtick > 0 && ax . dtick < ax . _minDtick * 2 ) {
621
623
ax . dtick = ax . _minDtick ;
622
- ax . tick0 = ax . _forceTick0 ;
624
+ ax . tick0 = ax . l2r ( ax . _forceTick0 ) ;
623
625
}
624
626
}
625
627
You can’t perform that action at this time.
0 commit comments