File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -913,7 +913,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
913
913
914
914
var prevX = null ;
915
915
var x = x0 ;
916
- var id ;
916
+ var majorId ;
917
917
918
918
if ( major ) {
919
919
// ids for ticklabelstep
@@ -930,7 +930,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
930
930
}
931
931
}
932
932
933
- id = Math . round ( (
933
+ majorId = Math . round ( (
934
934
ax . r2l ( x ) -
935
935
ax . r2l ( ax . tick0 )
936
936
) / _dTick ) - 1 ;
@@ -949,7 +949,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
949
949
if ( major && isPeriod ) {
950
950
// add one item to label period before tick0
951
951
x = axes . tickIncrement ( x , dtick , ! axrev , calendar ) ;
952
- id -- ;
952
+ majorId -- ;
953
953
}
954
954
955
955
for ( ;
@@ -963,7 +963,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
963
963
calendar
964
964
)
965
965
) {
966
- if ( major ) id ++ ;
966
+ if ( major ) majorId ++ ;
967
967
968
968
if ( mockAx . rangebreaks ) {
969
969
if ( ! axrev ) {
@@ -984,7 +984,7 @@ axes.calcTicks = function calcTicks(ax, opts) {
984
984
obj . simpleLabel = true ;
985
985
}
986
986
987
- if ( ticklabelstep > 1 && id % ticklabelstep ) {
987
+ if ( ticklabelstep > 1 && majorId % ticklabelstep ) {
988
988
obj . skipLabel = true ;
989
989
}
990
990
You can’t perform that action at this time.
0 commit comments