@toclocoinc/lattice-grid 1.68.0 → 1.68.1

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.
Files changed (163) hide show
  1. package/README.md +1 -1
  2. package/angular/package.json +1 -1
  3. package/docs/API.html +5315 -3774
  4. package/docs/api-detail.html +4 -4
  5. package/lattice-grid.d.ts +3357 -1
  6. package/lattice-grid.esm.min.js +9 -7
  7. package/lattice-grid.min.cjs +9 -7
  8. package/lattice-grid.min.js +9 -7
  9. package/modules/ai.d.ts +64 -1
  10. package/modules/ai.esm.min.js +3 -3
  11. package/modules/ai.min.cjs +3 -3
  12. package/modules/ai.min.js +3 -3
  13. package/modules/angular.d.ts +1 -1
  14. package/modules/angular.esm.min.js +3 -3
  15. package/modules/angular.min.cjs +3 -3
  16. package/modules/angular.min.js +3 -3
  17. package/modules/chart-alluvial.d.ts +1 -1
  18. package/modules/chart-alluvial.esm.min.js +1 -1
  19. package/modules/chart-alluvial.min.cjs +1 -1
  20. package/modules/chart-alluvial.min.js +1 -1
  21. package/modules/chart-arc.d.ts +1 -1
  22. package/modules/chart-arc.esm.min.js +1 -1
  23. package/modules/chart-arc.min.cjs +1 -1
  24. package/modules/chart-arc.min.js +1 -1
  25. package/modules/chart-bubblemap.d.ts +1 -1
  26. package/modules/chart-bubblemap.esm.min.js +1 -1
  27. package/modules/chart-bubblemap.min.cjs +1 -1
  28. package/modules/chart-bubblemap.min.js +1 -1
  29. package/modules/chart-bump.d.ts +1 -1
  30. package/modules/chart-bump.esm.min.js +1 -1
  31. package/modules/chart-bump.min.cjs +1 -1
  32. package/modules/chart-bump.min.js +1 -1
  33. package/modules/chart-calendar.d.ts +1 -1
  34. package/modules/chart-calendar.esm.min.js +1 -1
  35. package/modules/chart-calendar.min.cjs +1 -1
  36. package/modules/chart-calendar.min.js +1 -1
  37. package/modules/chart-decomposition.d.ts +1 -1
  38. package/modules/chart-decomposition.esm.min.js +1 -1
  39. package/modules/chart-decomposition.min.cjs +1 -1
  40. package/modules/chart-decomposition.min.js +1 -1
  41. package/modules/chart-diverging.d.ts +1 -1
  42. package/modules/chart-diverging.esm.min.js +1 -1
  43. package/modules/chart-diverging.min.cjs +1 -1
  44. package/modules/chart-diverging.min.js +1 -1
  45. package/modules/chart-dumbbell.d.ts +1 -1
  46. package/modules/chart-dumbbell.esm.min.js +1 -1
  47. package/modules/chart-dumbbell.min.cjs +1 -1
  48. package/modules/chart-dumbbell.min.js +1 -1
  49. package/modules/chart-fan.d.ts +1 -1
  50. package/modules/chart-fan.esm.min.js +1 -1
  51. package/modules/chart-fan.min.cjs +1 -1
  52. package/modules/chart-fan.min.js +1 -1
  53. package/modules/chart-hexbin.d.ts +1 -1
  54. package/modules/chart-hexbin.esm.min.js +1 -1
  55. package/modules/chart-hexbin.min.cjs +1 -1
  56. package/modules/chart-hexbin.min.js +1 -1
  57. package/modules/chart-hexmap.d.ts +1 -1
  58. package/modules/chart-hexmap.esm.min.js +1 -1
  59. package/modules/chart-hexmap.min.cjs +1 -1
  60. package/modules/chart-hexmap.min.js +1 -1
  61. package/modules/chart-icicle.d.ts +1 -1
  62. package/modules/chart-icicle.esm.min.js +1 -1
  63. package/modules/chart-icicle.min.cjs +1 -1
  64. package/modules/chart-icicle.min.js +1 -1
  65. package/modules/chart-markermap.d.ts +1 -1
  66. package/modules/chart-markermap.esm.min.js +1 -1
  67. package/modules/chart-markermap.min.cjs +1 -1
  68. package/modules/chart-markermap.min.js +1 -1
  69. package/modules/chart-parallel.d.ts +1 -1
  70. package/modules/chart-parallel.esm.min.js +1 -1
  71. package/modules/chart-parallel.min.cjs +1 -1
  72. package/modules/chart-parallel.min.js +1 -1
  73. package/modules/chart-ridgeline.d.ts +1 -1
  74. package/modules/chart-ridgeline.esm.min.js +1 -1
  75. package/modules/chart-ridgeline.min.cjs +1 -1
  76. package/modules/chart-ridgeline.min.js +1 -1
  77. package/modules/chart-roc.d.ts +1 -1
  78. package/modules/chart-roc.esm.min.js +1 -1
  79. package/modules/chart-roc.min.cjs +1 -1
  80. package/modules/chart-roc.min.js +1 -1
  81. package/modules/chart-slope.d.ts +1 -1
  82. package/modules/chart-slope.esm.min.js +1 -1
  83. package/modules/chart-slope.min.cjs +1 -1
  84. package/modules/chart-slope.min.js +1 -1
  85. package/modules/chart-splom.d.ts +1 -1
  86. package/modules/chart-splom.esm.min.js +1 -1
  87. package/modules/chart-splom.min.cjs +1 -1
  88. package/modules/chart-splom.min.js +1 -1
  89. package/modules/chart-waffle.d.ts +1 -1
  90. package/modules/chart-waffle.esm.min.js +1 -1
  91. package/modules/chart-waffle.min.cjs +1 -1
  92. package/modules/chart-waffle.min.js +1 -1
  93. package/modules/charts.d.ts +16 -1
  94. package/modules/charts.esm.min.js +17 -10
  95. package/modules/charts.min.cjs +17 -10
  96. package/modules/charts.min.js +17 -10
  97. package/modules/data-router.d.ts +227 -1
  98. package/modules/data-router.esm.min.js +3 -3
  99. package/modules/data-router.min.cjs +3 -3
  100. package/modules/data-router.min.js +3 -3
  101. package/modules/devtools.d.ts +1 -1
  102. package/modules/devtools.esm.min.js +1 -1
  103. package/modules/devtools.min.cjs +1 -1
  104. package/modules/devtools.min.js +1 -1
  105. package/modules/dhtmlx-compat.d.ts +1 -1
  106. package/modules/dhtmlx-compat.esm.min.js +3 -3
  107. package/modules/dhtmlx-compat.min.cjs +3 -3
  108. package/modules/dhtmlx-compat.min.js +3 -3
  109. package/modules/gantt.d.ts +302 -1
  110. package/modules/gantt.esm.min.js +3 -3
  111. package/modules/gantt.min.cjs +3 -3
  112. package/modules/gantt.min.js +3 -3
  113. package/modules/geo-europe-nuts.d.ts +1 -1
  114. package/modules/geo-europe-nuts.esm.min.js +1 -1
  115. package/modules/geo-uk.d.ts +1 -1
  116. package/modules/geo-uk.esm.min.js +1 -1
  117. package/modules/geo-us-states.d.ts +1 -1
  118. package/modules/geo-us-states.esm.min.js +1 -1
  119. package/modules/geo-world-110m.d.ts +1 -1
  120. package/modules/geo-world-110m.esm.min.js +1 -1
  121. package/modules/geo-world-50m.d.ts +1 -1
  122. package/modules/geo-world-50m.esm.min.js +1 -1
  123. package/modules/htmx.d.ts +1 -1
  124. package/modules/htmx.esm.min.js +9 -7
  125. package/modules/htmx.min.cjs +9 -7
  126. package/modules/htmx.min.js +9 -7
  127. package/modules/kanban.d.ts +233 -1
  128. package/modules/kanban.esm.min.js +3 -3
  129. package/modules/kanban.min.cjs +3 -3
  130. package/modules/kanban.min.js +3 -3
  131. package/modules/kpi.d.ts +171 -1
  132. package/modules/kpi.esm.min.js +4 -4
  133. package/modules/kpi.min.cjs +4 -4
  134. package/modules/kpi.min.js +4 -4
  135. package/modules/layout.d.ts +117 -1
  136. package/modules/layout.esm.min.js +3 -3
  137. package/modules/layout.min.cjs +3 -3
  138. package/modules/layout.min.js +3 -3
  139. package/modules/mock-socket.d.ts +6 -1
  140. package/modules/mock-socket.esm.min.js +1 -1
  141. package/modules/mock-socket.min.cjs +1 -1
  142. package/modules/mock-socket.min.js +1 -1
  143. package/modules/react.d.ts +14 -1
  144. package/modules/react.esm.min.js +3 -3
  145. package/modules/react.min.cjs +3 -3
  146. package/modules/react.min.js +3 -3
  147. package/modules/svelte.d.ts +1 -1
  148. package/modules/svelte.esm.min.js +3 -3
  149. package/modules/svelte.min.cjs +3 -3
  150. package/modules/svelte.min.js +3 -3
  151. package/modules/tabs.d.ts +30 -1
  152. package/modules/tabs.esm.min.js +3 -3
  153. package/modules/tabs.min.cjs +3 -3
  154. package/modules/tabs.min.js +3 -3
  155. package/modules/vue.d.ts +8 -1
  156. package/modules/vue.esm.min.js +3 -3
  157. package/modules/vue.min.cjs +3 -3
  158. package/modules/vue.min.js +3 -3
  159. package/modules/webcomponent.d.ts +113 -1
  160. package/modules/webcomponent.esm.min.js +9 -7
  161. package/modules/webcomponent.min.cjs +9 -7
  162. package/modules/webcomponent.min.js +9 -7
  163. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-icicle module type declarations
2
+ * Lattice Grid 1.68.1, chart-icicle module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-icicle module
2
+ * Lattice Grid 1.68.1, chart-icicle module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-icicle module
2
+ * Lattice Grid 1.68.1, chart-icicle module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-icicle module
2
+ * Lattice Grid 1.68.1, chart-icicle module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-markermap module type declarations
2
+ * Lattice Grid 1.68.1, chart-markermap module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-markermap module
2
+ * Lattice Grid 1.68.1, chart-markermap module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-markermap module
2
+ * Lattice Grid 1.68.1, chart-markermap module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-markermap module
2
+ * Lattice Grid 1.68.1, chart-markermap module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-parallel module type declarations
2
+ * Lattice Grid 1.68.1, chart-parallel module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-parallel module
2
+ * Lattice Grid 1.68.1, chart-parallel module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-parallel module
2
+ * Lattice Grid 1.68.1, chart-parallel module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-parallel module
2
+ * Lattice Grid 1.68.1, chart-parallel module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-ridgeline module type declarations
2
+ * Lattice Grid 1.68.1, chart-ridgeline module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-ridgeline module
2
+ * Lattice Grid 1.68.1, chart-ridgeline module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-ridgeline module
2
+ * Lattice Grid 1.68.1, chart-ridgeline module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-ridgeline module
2
+ * Lattice Grid 1.68.1, chart-ridgeline module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-roc module type declarations
2
+ * Lattice Grid 1.68.1, chart-roc module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-roc module
2
+ * Lattice Grid 1.68.1, chart-roc module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-roc module
2
+ * Lattice Grid 1.68.1, chart-roc module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-roc module
2
+ * Lattice Grid 1.68.1, chart-roc module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-slope module type declarations
2
+ * Lattice Grid 1.68.1, chart-slope module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-slope module
2
+ * Lattice Grid 1.68.1, chart-slope module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-slope module
2
+ * Lattice Grid 1.68.1, chart-slope module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-slope module
2
+ * Lattice Grid 1.68.1, chart-slope module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-splom module type declarations
2
+ * Lattice Grid 1.68.1, chart-splom module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-splom module
2
+ * Lattice Grid 1.68.1, chart-splom module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-splom module
2
+ * Lattice Grid 1.68.1, chart-splom module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-splom module
2
+ * Lattice Grid 1.68.1, chart-splom module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-waffle module type declarations
2
+ * Lattice Grid 1.68.1, chart-waffle module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-waffle module
2
+ * Lattice Grid 1.68.1, chart-waffle module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-waffle module
2
+ * Lattice Grid 1.68.1, chart-waffle module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, chart-waffle module
2
+ * Lattice Grid 1.68.1, chart-waffle module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, charts module type declarations
2
+ * Lattice Grid 1.68.1, charts module type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -105,9 +105,24 @@ export function setDefaultScheme(name: string): void;
105
105
  * declares that `labels` applies.
106
106
  */
107
107
  interface ChartTypeDefinition {
108
+ /**
109
+ * Draws the type. It is handed the same context a built-in drawer gets — the plot
110
+ * rectangle, the bound data, the SVG groups, the scheme, the typography and the spec —
111
+ * plus `helpers`, the base's own element, scale, axis and pool primitives, and returns
112
+ * what it drew.
113
+ */
108
114
  draw: (ctx: object) => object;
115
+ /**
116
+ * Turns the grid and spec into the bound data `draw` receives. Omitted, the base's
117
+ * by-series binder is used.
118
+ */
109
119
  bind?: (grid: Grid, spec: ChartSpec) => object;
120
+ /**
121
+ * Set it when the type lays itself out across the whole frame instead of drawing inside
122
+ * the axis gutters.
123
+ */
110
124
  freeform?: boolean;
125
+ /** Whether the spec's `labels` option applies to this type. Default false. */
111
126
  labelled?: boolean;
112
127
  }
113
128
  /**
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, charts module
2
+ * Lattice Grid 1.68.1, charts module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1606,12 +1606,12 @@ Object.defineProperty(__exports,"frameBatched",{enumerable:true,get:function(){r
1606
1606
  Object.defineProperty(__exports,"settleDebounce",{enumerable:true,get:function(){return settleDebounce;}});
1607
1607
  Object.defineProperty(__exports,"whenIdle",{enumerable:true,get:function(){return whenIdle;}});
1608
1608
  Object.defineProperty(__exports,"uid",{enumerable:true,get:function(){return uid;}});
1609
- const STAMPED_VERSION="1.68.0";
1609
+ const STAMPED_VERSION="1.68.1";
1610
1610
  async function resolveVersion(){
1611
1611
  if(STAMPED_VERSION!=='0.0.0-source')return STAMPED_VERSION;
1612
1612
  return STAMPED_VERSION;
1613
1613
  }
1614
- const VERSION="1.68.0";
1614
+ const VERSION="1.68.1";
1615
1615
  const warned=new Set();
1616
1616
  const WARNED_LIMIT=2000;
1617
1617
  function rememberWarned(key){
@@ -3964,10 +3964,18 @@ size:type_.small,
3964
3964
  if(axes){
3965
3965
  drawAxisLines({group:ctx.groups.rules,plot});
3966
3966
  drawAxisTitle({
3967
- group:ctx.groups.axis,plot,text:axisConfig.y.title,side:'left',size:type_.axisTitle,
3967
+ group:ctx.groups.axis,
3968
+ plot,
3969
+ text:axisConfig.y.title,
3970
+ side:horizontal?'bottom':'left',
3971
+ size:type_.axisTitle,
3968
3972
  });
3969
3973
  drawAxisTitle({
3970
- group:ctx.groups.axis,plot,text:axisConfig.x.title,side:'bottom',size:type_.axisTitle,
3974
+ group:ctx.groups.axis,
3975
+ plot,
3976
+ text:axisConfig.x.title,
3977
+ side:horizontal?'left':'bottom',
3978
+ size:type_.axisTitle,
3971
3979
  });
3972
3980
  }
3973
3981
  if(axes&&rightScale){
@@ -9460,6 +9468,7 @@ Object.defineProperty(__exports,"canChartRange",{enumerable:true,get:function(){
9460
9468
  const __m0=__req("packages/modules/charts/cartesian.js");
9461
9469
  const aheadOfWindow=__m0["aheadOfWindow"];
9462
9470
  const axisWindowSpan=__m0["axisWindowSpan"];
9471
+ const CARTESIAN=__m0["CARTESIAN"];
9463
9472
  const drawCartesian=__m0["drawCartesian"];
9464
9473
  const drawForest=__m0["drawForest"];
9465
9474
  const nearestCategory=__m0["nearestCategory"];
@@ -10568,11 +10577,9 @@ height,
10568
10577
  fontSize,
10569
10578
  margin:this.#spec.margin,
10570
10579
  titleSize:typography.axisTitle,
10571
- titles:{
10572
- left:axis.y.title,
10573
- bottom:axis.x.title,
10574
- right:axis.y2.title,
10575
- },
10580
+ titles:(CARTESIAN[type]&&CARTESIAN[type].horizontal)
10581
+ ?{left:axis.x.title,bottom:axis.y.title,right:axis.y2.title}
10582
+ :{left:axis.y.title,bottom:axis.x.title,right:axis.y2.title},
10576
10583
  rightGutter:this.#hasRightAxis(type,bound)?Math.round(fontSize*3):0,
10577
10584
  yLabels:leftLabelsFor(type,bound,this.#grid,this.#spec),
10578
10585
  xLabels:SIDE_LABELLED.has(type)?[]:bound.labels,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, charts module
2
+ * Lattice Grid 1.68.1, charts module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1608,12 +1608,12 @@ Object.defineProperty(__exports,"frameBatched",{enumerable:true,get:function(){r
1608
1608
  Object.defineProperty(__exports,"settleDebounce",{enumerable:true,get:function(){return settleDebounce;}});
1609
1609
  Object.defineProperty(__exports,"whenIdle",{enumerable:true,get:function(){return whenIdle;}});
1610
1610
  Object.defineProperty(__exports,"uid",{enumerable:true,get:function(){return uid;}});
1611
- const STAMPED_VERSION="1.68.0";
1611
+ const STAMPED_VERSION="1.68.1";
1612
1612
  async function resolveVersion(){
1613
1613
  if(STAMPED_VERSION!=='0.0.0-source')return STAMPED_VERSION;
1614
1614
  return STAMPED_VERSION;
1615
1615
  }
1616
- const VERSION="1.68.0";
1616
+ const VERSION="1.68.1";
1617
1617
  const warned=new Set();
1618
1618
  const WARNED_LIMIT=2000;
1619
1619
  function rememberWarned(key){
@@ -3966,10 +3966,18 @@ size:type_.small,
3966
3966
  if(axes){
3967
3967
  drawAxisLines({group:ctx.groups.rules,plot});
3968
3968
  drawAxisTitle({
3969
- group:ctx.groups.axis,plot,text:axisConfig.y.title,side:'left',size:type_.axisTitle,
3969
+ group:ctx.groups.axis,
3970
+ plot,
3971
+ text:axisConfig.y.title,
3972
+ side:horizontal?'bottom':'left',
3973
+ size:type_.axisTitle,
3970
3974
  });
3971
3975
  drawAxisTitle({
3972
- group:ctx.groups.axis,plot,text:axisConfig.x.title,side:'bottom',size:type_.axisTitle,
3976
+ group:ctx.groups.axis,
3977
+ plot,
3978
+ text:axisConfig.x.title,
3979
+ side:horizontal?'left':'bottom',
3980
+ size:type_.axisTitle,
3973
3981
  });
3974
3982
  }
3975
3983
  if(axes&&rightScale){
@@ -9462,6 +9470,7 @@ Object.defineProperty(__exports,"canChartRange",{enumerable:true,get:function(){
9462
9470
  const __m0=__req("packages/modules/charts/cartesian.js");
9463
9471
  const aheadOfWindow=__m0["aheadOfWindow"];
9464
9472
  const axisWindowSpan=__m0["axisWindowSpan"];
9473
+ const CARTESIAN=__m0["CARTESIAN"];
9465
9474
  const drawCartesian=__m0["drawCartesian"];
9466
9475
  const drawForest=__m0["drawForest"];
9467
9476
  const nearestCategory=__m0["nearestCategory"];
@@ -10570,11 +10579,9 @@ height,
10570
10579
  fontSize,
10571
10580
  margin:this.#spec.margin,
10572
10581
  titleSize:typography.axisTitle,
10573
- titles:{
10574
- left:axis.y.title,
10575
- bottom:axis.x.title,
10576
- right:axis.y2.title,
10577
- },
10582
+ titles:(CARTESIAN[type]&&CARTESIAN[type].horizontal)
10583
+ ?{left:axis.x.title,bottom:axis.y.title,right:axis.y2.title}
10584
+ :{left:axis.y.title,bottom:axis.x.title,right:axis.y2.title},
10578
10585
  rightGutter:this.#hasRightAxis(type,bound)?Math.round(fontSize*3):0,
10579
10586
  yLabels:leftLabelsFor(type,bound,this.#grid,this.#spec),
10580
10587
  xLabels:SIDE_LABELLED.has(type)?[]:bound.labels,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.68.0, charts module
2
+ * Lattice Grid 1.68.1, charts module
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */
@@ -1608,12 +1608,12 @@ Object.defineProperty(__exports,"frameBatched",{enumerable:true,get:function(){r
1608
1608
  Object.defineProperty(__exports,"settleDebounce",{enumerable:true,get:function(){return settleDebounce;}});
1609
1609
  Object.defineProperty(__exports,"whenIdle",{enumerable:true,get:function(){return whenIdle;}});
1610
1610
  Object.defineProperty(__exports,"uid",{enumerable:true,get:function(){return uid;}});
1611
- const STAMPED_VERSION="1.68.0";
1611
+ const STAMPED_VERSION="1.68.1";
1612
1612
  async function resolveVersion(){
1613
1613
  if(STAMPED_VERSION!=='0.0.0-source')return STAMPED_VERSION;
1614
1614
  return STAMPED_VERSION;
1615
1615
  }
1616
- const VERSION="1.68.0";
1616
+ const VERSION="1.68.1";
1617
1617
  const warned=new Set();
1618
1618
  const WARNED_LIMIT=2000;
1619
1619
  function rememberWarned(key){
@@ -3966,10 +3966,18 @@ size:type_.small,
3966
3966
  if(axes){
3967
3967
  drawAxisLines({group:ctx.groups.rules,plot});
3968
3968
  drawAxisTitle({
3969
- group:ctx.groups.axis,plot,text:axisConfig.y.title,side:'left',size:type_.axisTitle,
3969
+ group:ctx.groups.axis,
3970
+ plot,
3971
+ text:axisConfig.y.title,
3972
+ side:horizontal?'bottom':'left',
3973
+ size:type_.axisTitle,
3970
3974
  });
3971
3975
  drawAxisTitle({
3972
- group:ctx.groups.axis,plot,text:axisConfig.x.title,side:'bottom',size:type_.axisTitle,
3976
+ group:ctx.groups.axis,
3977
+ plot,
3978
+ text:axisConfig.x.title,
3979
+ side:horizontal?'left':'bottom',
3980
+ size:type_.axisTitle,
3973
3981
  });
3974
3982
  }
3975
3983
  if(axes&&rightScale){
@@ -9462,6 +9470,7 @@ Object.defineProperty(__exports,"canChartRange",{enumerable:true,get:function(){
9462
9470
  const __m0=__req("packages/modules/charts/cartesian.js");
9463
9471
  const aheadOfWindow=__m0["aheadOfWindow"];
9464
9472
  const axisWindowSpan=__m0["axisWindowSpan"];
9473
+ const CARTESIAN=__m0["CARTESIAN"];
9465
9474
  const drawCartesian=__m0["drawCartesian"];
9466
9475
  const drawForest=__m0["drawForest"];
9467
9476
  const nearestCategory=__m0["nearestCategory"];
@@ -10570,11 +10579,9 @@ height,
10570
10579
  fontSize,
10571
10580
  margin:this.#spec.margin,
10572
10581
  titleSize:typography.axisTitle,
10573
- titles:{
10574
- left:axis.y.title,
10575
- bottom:axis.x.title,
10576
- right:axis.y2.title,
10577
- },
10582
+ titles:(CARTESIAN[type]&&CARTESIAN[type].horizontal)
10583
+ ?{left:axis.x.title,bottom:axis.y.title,right:axis.y2.title}
10584
+ :{left:axis.y.title,bottom:axis.x.title,right:axis.y2.title},
10578
10585
  rightGutter:this.#hasRightAxis(type,bound)?Math.round(fontSize*3):0,
10579
10586
  yLabels:leftLabelsFor(type,bound,this.#grid,this.#spec),
10580
10587
  xLabels:SIDE_LABELLED.has(type)?[]:bound.labels,