@@ -84,8 +84,6 @@ function expandRange(range) {
84
84
* extraOption if there is no axis)
85
85
* extraOption: aside from existing axes with this letter, what non-axis value is allowed?
86
86
* Only required if it's different from `dflt`
87
- * domainRef: true if ' domain' should be appended to the axis items in the list
88
- * of possible values for this axis reference.
89
87
*/
90
88
axes . coerceRef = function ( containerIn , containerOut , gd , attr , dflt , extraOption ) {
91
89
var axLetter = attr . charAt ( attr . length - 1 ) ;
@@ -126,30 +124,6 @@ axes.getRefType = function(ar) {
126
124
if ( / ( d o m a i n ) $ / . test ( ar ) ) { return 'domain' ; } else { return 'range' ; }
127
125
} ;
128
126
129
- /*
130
- * Add the specified axis letter and number + " domain" to the extras for
131
- * coerceRef.
132
- *
133
- * container: the object holding the [xyz]ref keys, e.g., a shape.
134
- * axLetter: the letter of the axis of interest.
135
- * coerceRefExtras: the current list of extras for coerceRef that will be
136
- * appended to.
137
- *
138
- */
139
- axes . addAxRefDomainCoerceRefExtra = function ( container , axLetter , coerceRefExtras ) {
140
- var axNumMatch = (
141
- container [ axLetter + 'ref' ] ?
142
- container [ axLetter + 'ref' ] . match ( / [ x y z ] ( [ 0 - 9 ] * ) / ) :
143
- undefined
144
- ) ;
145
- if ( axNumMatch ) {
146
- var axNum = axNumMatch [ 1 ] ;
147
- coerceRefExtras = coerceRefExtras . concat (
148
- ( axNum !== undefined ) ? [ axLetter + axNum + ' domain' ] : [ ] ) ;
149
- }
150
- return coerceRefExtras ;
151
- } ;
152
-
153
127
/*
154
128
* coerce position attributes (range-type) that can be either on axes or absolute
155
129
* (paper or pixel) referenced. The biggest complication here is that we don't know
0 commit comments