@malloydata/render 0.0.188-dev240923145123 → 0.0.188-dev240924155145

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6693,9 +6693,9 @@ class Ir extends NQ {
6693
6693
  }
6694
6694
  getQueryFieldReference(e, n) {
6695
6695
  const r = this.getQueryFieldByName(e);
6696
- if (n !== void 0) {
6696
+ if (n) {
6697
6697
  const i = { ...r.fieldDef };
6698
- return i.annotation = n, this.makeQueryField(i);
6698
+ i.annotation = n, r.fieldDef = i;
6699
6699
  }
6700
6700
  return r;
6701
6701
  }
@@ -92053,8 +92053,8 @@ function RB(t, e, n, r) {
92053
92053
  if (v) {
92054
92054
  const K = L.domain().at(1), ee = L.domain().at(0), Y = WJ(), re = Y.format(",")(ee), se = Y.format(",")(K);
92055
92055
  h = Math.max(
92056
- F6(re, "Inter, sans-serif 12px"),
92057
- F6(se, "Inter, sans-serif 12px")
92056
+ F6(re, "10px Inter, sans-serif") + 4,
92057
+ F6(se, "10px Inter, sans-serif") + 4
92058
92058
  ) + 5 + 31;
92059
92059
  const k = Math.ceil(a / 40), W = L.ticks(k).at(-1);
92060
92060
  if (W < K) {
@@ -92063,9 +92063,9 @@ function RB(t, e, n, r) {
92063
92063
  }
92064
92064
  }
92065
92065
  if (A) {
92066
- const K = fu(i), ee = e.fields[K].maxString, Y = F6(ee, "Inter, sans-serif 12px"), re = 0.3;
92066
+ const K = fu(i), ee = e.fields[K].maxString, Y = F6(ee, "10px Inter, sans-serif") + 4, re = 1;
92067
92067
  E = 26, x = Math.min(Y, re * a), y = x;
92068
- const se = e.fields[K].values.size, D = se <= 20 ? se : _.maxRecordCt, k = (u - h) / D;
92068
+ const se = e.fields[K].values.size, D = se <= 20 ? se : _.maxRecordCt, k = u / D;
92069
92069
  (k > x || k > Y) && (p = 0, y = k, m = void 0, g = "top", E = 22, x = 14);
92070
92070
  }
92071
92071
  const H = a + x + E, G = Math.ceil(H / RE) * RE;