| 149250 | }, userEncode); |
| 149251 | } |
| 149252 | function autoLayout(_, orient, encode, userEncode) { |
| 149253 | const auto = (value18, dim)=>value18 != null ? (encode.update[dim] = patch(encoder(value18), encode.update[dim]), false) : !has(dim, userEncode) ? true : false; |
| 149254 | const autoY = auto(_("titleX"), "x"), autoX = auto(_("titleY"), "y"); |
| 149255 | encode.enter.auto = autoX === autoY ? encoder(autoX) : ifX(orient, encoder(autoX), encoder(autoY)); |
| 149256 | } |
| 149257 | function parseAxis(spec, scope) { |
| 149258 | const config = axisConfig(spec, scope), encode = spec.encode || {}, axisEncode = encode.axis || {}, name = axisEncode.name || undefined, interactive4 = axisEncode.interactive, style = axisEncode.style, _ = lookup(spec, config), band = tickBand(_); // single-element data source for axis group |
| 149259 | const datum = { |