@@ -84,8 +84,6 @@ function expandRange(range) {
8484 * extraOption if there is no axis)
8585 * extraOption: aside from existing axes with this letter, what non-axis value is allowed?
8686 * 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.
8987 */
9088axes . coerceRef = function ( containerIn , containerOut , gd , attr , dflt , extraOption ) {
9189 var axLetter = attr . charAt ( attr . length - 1 ) ;
@@ -126,30 +124,6 @@ axes.getRefType = function(ar) {
126124 if ( / ( d o m a i n ) $ / . test ( ar ) ) { return 'domain' ; } else { return 'range' ; }
127125} ;
128126
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-
153127/*
154128 * coerce position attributes (range-type) that can be either on axes or absolute
155129 * (paper or pixel) referenced. The biggest complication here is that we don't know
0 commit comments