File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1090,7 +1090,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
1090
1090
}
1091
1091
}
1092
1092
// Determine for which ticks to draw labels
1093
- if ( ! ticklabelIndex ) {
1093
+ if ( ! ticklabelIndex ) {
1094
1094
labelTickVals = tickVals ;
1095
1095
} else {
1096
1096
// Collect and sort all major and minor ticks, to find the minor ticks `ticklabelIndex`
@@ -1240,7 +1240,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
1240
1240
var _value = tickVals [ i ] . value ;
1241
1241
1242
1242
if ( _minor ) {
1243
- if ( ticklabelIndex && labelTickVals . indexOf ( tickVals [ i ] ) !== - 1 ) {
1243
+ if ( ticklabelIndex && labelTickVals . indexOf ( tickVals [ i ] ) !== - 1 ) {
1244
1244
t = setTickLabel ( ax , tickVals [ i ] ) ;
1245
1245
} else {
1246
1246
t = { x : _value } ;
You can’t perform that action at this time.
0 commit comments