File tree Expand file tree Collapse file tree 4 files changed +4
-25
lines changed Expand file tree Collapse file tree 4 files changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,6 @@ exports.cleanLayout = function(layout) {
81
81
82
82
// prune empty domain arrays made before the new nestedProperty
83
83
if ( emptyContainer ( ax , 'domain' ) ) delete ax . domain ;
84
-
85
- // autotick -> tickmode
86
- if ( ax . autotick !== undefined ) {
87
- if ( ax . tickmode === undefined ) {
88
- ax . tickmode = ax . autotick ? 'auto' : 'linear' ;
89
- }
90
- delete ax . autotick ;
91
- }
92
-
93
84
}
94
85
}
95
86
Original file line number Diff line number Diff line change @@ -1230,16 +1230,4 @@ module.exports = {
1230
1230
] . join ( ' ' )
1231
1231
} ,
1232
1232
editType : 'calc' ,
1233
-
1234
- _deprecated : {
1235
- autotick : {
1236
- valType : 'boolean' ,
1237
- editType : 'ticks' ,
1238
- description : [
1239
- 'Obsolete.' ,
1240
- 'Set `tickmode` to *auto* for old `autotick` *true* behavior.' ,
1241
- 'Set `tickmode` to *linear* for `autotick` *false*.'
1242
- ] . join ( ' ' )
1243
- } ,
1244
- }
1245
1233
} ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function isValidCategory(v) {
58
58
* Creates/updates these conversion functions, and a few more utilities
59
59
* like cleanRange, and makeCalcdata
60
60
*
61
- * also clears the autotick constraints ._minDtick, ._forceTick0
61
+ * also clears ._minDtick, ._forceTick0
62
62
*/
63
63
module . exports = function setConvert ( ax , fullLayout ) {
64
64
fullLayout = fullLayout || { } ;
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ function computeTickMarks(scene) {
52
52
axes . range [ 1 ] += 1 ;
53
53
}
54
54
// this is necessary to short-circuit the 'y' handling
55
- // in autotick part of calcTicks... Treating all axes as 'y' in this case
56
- // running the autoticks here, then setting
57
- // autoticks to false to get around the 2D handling in calcTicks.
55
+ // in tickmode part of calcTicks... Treating all axes as 'y' in this case
56
+ // running the tickmode here, then setting
57
+ // automode to linear to get around the 2D handling in calcTicks.
58
58
var tickModeCached = axes . tickmode ;
59
59
if ( axes . tickmode === 'auto' ) {
60
60
axes . tickmode = 'linear' ;
You can’t perform that action at this time.
0 commit comments