boardplot 0.54.0 → 0.55.0

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 (621) hide show
  1. package/CHANGELOG.md +448 -0
  2. package/README.md +4 -4
  3. package/dist/{ReaderBox-YXC5XK7D.js → ReaderBox-3FFPHWSI.js} +14 -10
  4. package/dist/{annotateEngine-5O3IRSQL.js → annotateEngine-ET4DM2OK.js} +3 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-GVKFFJ23.js → chunk-2ALFFOKB.js} +460 -148
  7. package/dist/chunk-2BP6X5GX.js +125 -0
  8. package/dist/chunk-2C4SYWZ3.js +25 -0
  9. package/dist/{chunk-23RWLBZF.js → chunk-2TAK2ELB.js} +3 -3
  10. package/dist/{chunk-J33RA3YO.js → chunk-2YNF6AHH.js} +5 -5
  11. package/dist/{chunk-DDI2W4TR.js → chunk-32IKJMUF.js} +3 -3
  12. package/dist/{chunk-7X3UZM7F.js → chunk-33FCWTGT.js} +1 -1
  13. package/dist/{chunk-KL2XJQAA.js → chunk-37A6CLR5.js} +1729 -196
  14. package/dist/{chunk-EHDWWFNV.js → chunk-3AJY353W.js} +3 -3
  15. package/dist/chunk-3B3CFJ2H.js +48 -0
  16. package/dist/{chunk-6TJDWMZV.js → chunk-3B3K7TD5.js} +83 -9
  17. package/dist/{chunk-WDONXBQE.js → chunk-3C24WWUQ.js} +1 -1
  18. package/dist/{chunk-BWTX7LUG.js → chunk-3L2VXXM4.js} +9 -4
  19. package/dist/{chunk-OD3IH6FG.js → chunk-3OZRODC4.js} +39 -21
  20. package/dist/{chunk-JB4YPOMT.js → chunk-3XOWXLLQ.js} +6 -7
  21. package/dist/{chunk-JAKRPSWP.js → chunk-3ZAH24P6.js} +164 -51
  22. package/dist/{chunk-2THWIKRB.js → chunk-4CJ6UCX4.js} +33 -16
  23. package/dist/{chunk-VDAZPGR2.js → chunk-4DZFR52I.js} +2 -2
  24. package/dist/{chunk-AZIRTSVP.js → chunk-4WT3T5SH.js} +122 -52
  25. package/dist/{chunk-FPPN5NAR.js → chunk-4X3HNETE.js} +3 -3
  26. package/dist/{chunk-WZBMTZBM.js → chunk-4Y7BA2NW.js} +4 -4
  27. package/dist/{chunk-TSPWXAAI.js → chunk-4YHZSPAJ.js} +6 -7
  28. package/dist/{chunk-GSMWHKOW.js → chunk-5DMHMQFP.js} +7 -7
  29. package/dist/{chunk-E64MTTBC.js → chunk-5SHI57XD.js} +45 -14
  30. package/dist/{chunk-A5TY7H5T.js → chunk-5SLJGRUO.js} +139 -47
  31. package/dist/{chunk-47BO6MYI.js → chunk-5UVJKB7L.js} +137 -70
  32. package/dist/{chunk-D3D7XHBI.js → chunk-63L35UCI.js} +6 -6
  33. package/dist/{chunk-S6CRZKPO.js → chunk-6C64IBOG.js} +5 -5
  34. package/dist/{chunk-ENOCOA3F.js → chunk-6D4EO3S7.js} +5 -5
  35. package/dist/chunk-6H3OSHEY.js +25 -0
  36. package/dist/chunk-6WZZADRL.js +25 -0
  37. package/dist/{chunk-HGGLJYPZ.js → chunk-75TWO5B2.js} +89 -57
  38. package/dist/chunk-7ADUVRG5.js +14 -0
  39. package/dist/{chunk-U4P6TQRW.js → chunk-7DAH2E4T.js} +2 -2
  40. package/dist/{chunk-43OQ26TL.js → chunk-7FKY6YWU.js} +8 -8
  41. package/dist/{chunk-RKITD2UJ.js → chunk-7GVYMGLK.js} +6 -3
  42. package/dist/{chunk-DSZUV3TM.js → chunk-7Q2WV6D2.js} +3 -3
  43. package/dist/{chunk-JFBEAUJ6.js → chunk-7Q37C6GZ.js} +1 -1
  44. package/dist/{chunk-GEBGBJBD.js → chunk-7UPZPFHQ.js} +41 -34
  45. package/dist/{chunk-T7ZCYYQZ.js → chunk-7Z73MM35.js} +14 -6
  46. package/dist/{chunk-VWYUUBBP.js → chunk-AB35GVPG.js} +80 -31
  47. package/dist/{chunk-HZG5NB7Q.js → chunk-AF7EB6N6.js} +151 -84
  48. package/dist/chunk-AIU4GZV5.js +24 -0
  49. package/dist/{chunk-TNHD4UTC.js → chunk-AM2CG7VX.js} +13 -3
  50. package/dist/{chunk-BXEM2CVW.js → chunk-APQPYM2Z.js} +3 -3
  51. package/dist/{chunk-AHQ4L3BE.js → chunk-AZM4YNRE.js} +2 -2
  52. package/dist/{chunk-U2HQELXL.js → chunk-B3AXM3MT.js} +2 -2
  53. package/dist/{chunk-6I7YZTY7.js → chunk-BDGLMWPO.js} +12 -4
  54. package/dist/{chunk-MKVV7GVJ.js → chunk-BFFPYT3Y.js} +13 -7
  55. package/dist/{chunk-EYLWVI26.js → chunk-BGJRCG7N.js} +135 -114
  56. package/dist/{chunk-RNOJSEES.js → chunk-BK6P6KMW.js} +1 -1
  57. package/dist/{chunk-XB4KZ6WO.js → chunk-BSATR6ZO.js} +40 -13
  58. package/dist/{chunk-PDG4IM3L.js → chunk-BVYIKLQ5.js} +1 -1
  59. package/dist/chunk-BWVNCLUS.js +19 -0
  60. package/dist/{chunk-MT4MP3UZ.js → chunk-CKNOLGRR.js} +1 -1
  61. package/dist/chunk-CLGUFVHM.js +24 -0
  62. package/dist/{chunk-VAEC53B3.js → chunk-COQEHO7B.js} +3 -3
  63. package/dist/{chunk-3EZRM4YM.js → chunk-CPGASWNN.js} +25 -1
  64. package/dist/{chunk-SFQ5ADIG.js → chunk-CVIW2MV4.js} +284 -150
  65. package/dist/chunk-CYKIX3IQ.js +24 -0
  66. package/dist/{chunk-4MREJWRM.js → chunk-CZ3WCG55.js} +5 -4
  67. package/dist/{chunk-DRTA6JG5.js → chunk-D2B3KP35.js} +26 -15
  68. package/dist/{chunk-E42JZ2DA.js → chunk-D2QMNHCC.js} +4 -5
  69. package/dist/{chunk-AA4U62G6.js → chunk-D7G27EYZ.js} +4 -4
  70. package/dist/{chunk-3RMTPAEJ.js → chunk-DB2JKPOX.js} +806 -69
  71. package/dist/{chunk-G6XCUX3I.js → chunk-DEYAI662.js} +60 -13
  72. package/dist/{chunk-4WK3CNW5.js → chunk-DRHQG44U.js} +11 -0
  73. package/dist/{chunk-WZGJSQKN.js → chunk-DZ3S4RPI.js} +15 -1
  74. package/dist/{chunk-JTJNQKPM.js → chunk-E44W4EEG.js} +2 -2
  75. package/dist/{chunk-QJ4WGAC6.js → chunk-E5OEWMNX.js} +66 -12
  76. package/dist/chunk-E6HDUEGK.js +26 -0
  77. package/dist/{chunk-A7IEVBYI.js → chunk-E76U5H52.js} +1 -5
  78. package/dist/{chunk-2IXDYW6O.js → chunk-EAR43REB.js} +195 -57
  79. package/dist/{chunk-MYCLO35J.js → chunk-EBC5TMI2.js} +29 -8
  80. package/dist/chunk-EBVJCVXL.js +25 -0
  81. package/dist/chunk-EC2PGJ64.js +24 -0
  82. package/dist/chunk-EGPXEY2K.js +24 -0
  83. package/dist/{chunk-LYVOL4TQ.js → chunk-EQRFSVDD.js} +2 -1
  84. package/dist/{chunk-WKWMOZNE.js → chunk-EW47LNWH.js} +226 -61
  85. package/dist/{chunk-7EVIIADO.js → chunk-EXDMYV5W.js} +3 -1
  86. package/dist/{chunk-WMZCOGD6.js → chunk-EZZ533MH.js} +1 -1
  87. package/dist/{chunk-K4RCWNLC.js → chunk-F5V7YFKS.js} +11 -8
  88. package/dist/{chunk-JEYJRJ7M.js → chunk-F6CVYNDY.js} +5 -4
  89. package/dist/{chunk-NRHTC2SQ.js → chunk-F6OLHND5.js} +2 -2
  90. package/dist/chunk-FI5EXISD.js +27 -0
  91. package/dist/{chunk-F35DA442.js → chunk-FQF7GSJK.js} +46 -27
  92. package/dist/{chunk-GYNZ72GO.js → chunk-FS6ZE5TG.js} +2 -2
  93. package/dist/{chunk-6BJQULXR.js → chunk-G63WXSQP.js} +75 -34
  94. package/dist/{chunk-DHWCFQNO.js → chunk-GCSCHK5Y.js} +4 -18
  95. package/dist/{chunk-WUKSZNHL.js → chunk-GD5TYS5R.js} +32 -21
  96. package/dist/{chunk-RGZGLKFB.js → chunk-GDVR3XHT.js} +418 -62
  97. package/dist/{chunk-UTQGZF37.js → chunk-GDZI5ZJ7.js} +1 -1
  98. package/dist/{chunk-FMFCGYCE.js → chunk-GFIT3FRE.js} +277 -291
  99. package/dist/chunk-GM2HIU6C.js +24 -0
  100. package/dist/{chunk-MZJBPDIL.js → chunk-GMJFCBR6.js} +1 -1
  101. package/dist/{chunk-PBYUJSEY.js → chunk-H3AEYPRP.js} +66 -43
  102. package/dist/{chunk-BUPLB3EX.js → chunk-H3IBJQ5A.js} +6 -2
  103. package/dist/chunk-H4VDQ7OE.js +24 -0
  104. package/dist/{chunk-FV32N6AF.js → chunk-H5L2P2GO.js} +6 -4
  105. package/dist/{chunk-F7X53SZM.js → chunk-HFRQLMKK.js} +12 -7
  106. package/dist/{chunk-KJEZFOO6.js → chunk-HGT3UKDW.js} +91 -48
  107. package/dist/{chunk-B3F4TS3V.js → chunk-HJRNBKIT.js} +768 -69
  108. package/dist/{chunk-G63ROSY5.js → chunk-HLOXWM2O.js} +118 -62
  109. package/dist/{chunk-NGRIT3CY.js → chunk-HR2BKLS3.js} +113 -128
  110. package/dist/{chunk-S4QSJAGY.js → chunk-HZUAEMN5.js} +1 -1
  111. package/dist/{chunk-OZUTYDV4.js → chunk-IF2ZABAM.js} +2 -2
  112. package/dist/chunk-IF76JRXT.js +24 -0
  113. package/dist/{chunk-4ZGN4ZUN.js → chunk-IGNBQT23.js} +87 -3
  114. package/dist/{chunk-B6LHZLLK.js → chunk-IGVAWAOK.js} +31 -101
  115. package/dist/{chunk-KFWEO4UA.js → chunk-ILFQ75N4.js} +253 -141
  116. package/dist/chunk-INHDHZNP.js +8 -0
  117. package/dist/chunk-IOKWBUQP.js +25 -0
  118. package/dist/{chunk-JJJ2KAHR.js → chunk-IQDMZ33D.js} +20 -9
  119. package/dist/{chunk-IDDA5INB.js → chunk-IVRYF7QA.js} +7 -4
  120. package/dist/{chunk-L7RHB734.js → chunk-J5PL6JLL.js} +1 -1
  121. package/dist/chunk-JBMWRXDS.js +24 -0
  122. package/dist/{chunk-IDT7DJ7F.js → chunk-JKOEHRGV.js} +1 -1
  123. package/dist/chunk-JMGB444D.js +26 -0
  124. package/dist/chunk-JU7S52HI.js +26 -0
  125. package/dist/{chunk-BBL3R5YZ.js → chunk-JXBZIJCG.js} +1 -1
  126. package/dist/{chunk-WLZ54FWG.js → chunk-JYAZPMSA.js} +70 -1
  127. package/dist/chunk-K5S3K6QK.js +24 -0
  128. package/dist/{chunk-V7RAPZHX.js → chunk-KAYBRD4F.js} +3 -3
  129. package/dist/{chunk-OMNQXHFF.js → chunk-KC52E5G4.js} +31 -20
  130. package/dist/{chunk-LNKY5Z2X.js → chunk-KDSYZLF6.js} +2 -3
  131. package/dist/{chunk-C3O45JWU.js → chunk-KEDNHCGB.js} +4 -4
  132. package/dist/chunk-KFGZMHIB.js +28 -0
  133. package/dist/{chunk-QQNPU27R.js → chunk-KHRAJDBM.js} +1 -1
  134. package/dist/{chunk-ZTH6YSVA.js → chunk-KND4OM4B.js} +117 -102
  135. package/dist/{chunk-IM4WUIR7.js → chunk-KZH2QI6S.js} +2 -2
  136. package/dist/{chunk-IYEFEBRN.js → chunk-KZJ5VM6E.js} +14 -3
  137. package/dist/{chunk-CICWSCLC.js → chunk-LA5OYJ5P.js} +146 -69
  138. package/dist/{chunk-I2E3YDNZ.js → chunk-LAVVML3X.js} +33 -9
  139. package/dist/{chunk-TKQKXBGC.js → chunk-LD4LML5P.js} +10 -8
  140. package/dist/{chunk-OURX73UJ.js → chunk-LF6RTFNK.js} +13 -11
  141. package/dist/{chunk-HDZGZJKR.js → chunk-LFUJTEJO.js} +100 -36
  142. package/dist/{chunk-53OYF4ZT.js → chunk-LHKDZAWN.js} +16 -8
  143. package/dist/{chunk-5PCCSSII.js → chunk-LLDKKEUD.js} +1 -1
  144. package/dist/{chunk-VNLSTZES.js → chunk-LRCO4G7C.js} +314 -92
  145. package/dist/{chunk-HZZH3MQI.js → chunk-LSF76AS3.js} +7 -3
  146. package/dist/chunk-M427S3G7.js +25 -0
  147. package/dist/{chunk-WGIO6AHP.js → chunk-MEMPP7VZ.js} +3 -3
  148. package/dist/{chunk-K4K6KGEF.js → chunk-MJMOKPTF.js} +186 -167
  149. package/dist/chunk-MLGEBFEX.js +47 -0
  150. package/dist/chunk-MLW72KWN.js +24 -0
  151. package/dist/chunk-MQYIBGZE.js +19 -0
  152. package/dist/{chunk-6NLH6TEP.js → chunk-MTRV3BJL.js} +301 -130
  153. package/dist/{chunk-H4H4O62O.js → chunk-N5HN5QGH.js} +1 -1
  154. package/dist/chunk-N5TZL74Y.js +53 -0
  155. package/dist/chunk-N7N5NIAU.js +211 -0
  156. package/dist/{chunk-G57ZO7DB.js → chunk-NA6WLZ66.js} +66 -26
  157. package/dist/{chunk-XNA6DATU.js → chunk-NB7M4KX4.js} +99 -56
  158. package/dist/{chunk-WEPAE4KG.js → chunk-NCZWLV7T.js} +4 -4
  159. package/dist/{chunk-C54QLNE4.js → chunk-NGA7ICG4.js} +1 -1
  160. package/dist/{chunk-RZB4RPPD.js → chunk-NHYKSPL4.js} +154 -99
  161. package/dist/chunk-NMTWUYUF.js +30 -0
  162. package/dist/{chunk-XTGWCYAR.js → chunk-NOCIN2EM.js} +430 -256
  163. package/dist/{chunk-RK4S3VPS.js → chunk-NUCYUKVH.js} +3 -3
  164. package/dist/{chunk-S32YYDIB.js → chunk-NVGAEQ6M.js} +4 -3
  165. package/dist/{chunk-4FFCIQDG.js → chunk-O2KKQNGW.js} +4 -1
  166. package/dist/chunk-O36WX56O.js +13 -0
  167. package/dist/{chunk-P52JHUUM.js → chunk-O4WJWHCH.js} +187 -85
  168. package/dist/{chunk-MEG4NMSI.js → chunk-O6NJDRXE.js} +2 -2
  169. package/dist/{chunk-UYNAL3Y3.js → chunk-O7DVW3IE.js} +141 -68
  170. package/dist/{chunk-TNNK4IIY.js → chunk-O7W35PT3.js} +13 -12
  171. package/dist/{chunk-26P4WRQC.js → chunk-ODZJ4LW7.js} +6 -3
  172. package/dist/{chunk-7JQAUJOL.js → chunk-OHGEDG46.js} +1 -1
  173. package/dist/{chunk-ISWU5YB3.js → chunk-OJ2BPQGQ.js} +11 -5
  174. package/dist/chunk-ONKSGT2M.js +28 -0
  175. package/dist/{chunk-EP54VZI5.js → chunk-OOFSQ5AS.js} +1 -1
  176. package/dist/{chunk-SHH2AHIU.js → chunk-OY2UJ4XK.js} +64 -42
  177. package/dist/{chunk-OU5K2JPF.js → chunk-P6TA7M3G.js} +102 -32
  178. package/dist/{chunk-PJWLKCFX.js → chunk-PQYJZMCR.js} +98 -90
  179. package/dist/{chunk-ELPQZIGR.js → chunk-PYV6ZIR6.js} +37 -13
  180. package/dist/chunk-PZ46S2SY.js +69 -0
  181. package/dist/{chunk-5SJQOPL7.js → chunk-Q3E74U2W.js} +4 -4
  182. package/dist/{chunk-4TPHMIE5.js → chunk-QBJDHFJJ.js} +4 -2
  183. package/dist/chunk-QBRRJ5OR.js +24 -0
  184. package/dist/{chunk-3FNY7ZCG.js → chunk-QEP3X3OV.js} +141 -79
  185. package/dist/{chunk-OMVYFSOM.js → chunk-QKWBDH2L.js} +2 -2
  186. package/dist/{chunk-QY5ZKUWY.js → chunk-QOWE55RR.js} +9 -3
  187. package/dist/{chunk-LVXOY5WL.js → chunk-QRVIS2QB.js} +6 -5
  188. package/dist/chunk-R27IDIJI.js +24 -0
  189. package/dist/{chunk-FILDYFT4.js → chunk-RNIYG6PI.js} +2 -2
  190. package/dist/{chunk-AVMKRVNP.js → chunk-RO2PSSAI.js} +13 -23
  191. package/dist/{chunk-2DR5MMDY.js → chunk-ROLR7HRB.js} +12 -6
  192. package/dist/{chunk-YF2PYLC4.js → chunk-RSCRIWAH.js} +1 -1
  193. package/dist/{chunk-T3PNYRDM.js → chunk-RTXRIZYU.js} +370 -134
  194. package/dist/{chunk-GGO43PHB.js → chunk-RUWNG2JC.js} +6 -5
  195. package/dist/chunk-RYPJB3RO.js +132 -0
  196. package/dist/{chunk-DAVHGK27.js → chunk-S7NRL66K.js} +46 -23
  197. package/dist/{chunk-VABRPZVC.js → chunk-SA46CNMS.js} +5 -1
  198. package/dist/{chunk-ZXOD37BE.js → chunk-SBR2RLEQ.js} +72 -38
  199. package/dist/chunk-SC42DPNV.js +24 -0
  200. package/dist/{chunk-MBVXROCI.js → chunk-SFG7NG23.js} +20 -3
  201. package/dist/{chunk-AG2CJ4JY.js → chunk-SNQ7D5R7.js} +18 -1
  202. package/dist/{chunk-3V7AA3IZ.js → chunk-SPSGUFTI.js} +11 -3
  203. package/dist/chunk-SRUV7AT6.js +51 -0
  204. package/dist/{chunk-NRF223FR.js → chunk-SZXKV3BX.js} +1 -1
  205. package/dist/{chunk-5A6MO4AR.js → chunk-T5Y4HXYO.js} +7 -4
  206. package/dist/{chunk-QR35TD2B.js → chunk-U7W7GYXP.js} +37 -37
  207. package/dist/{chunk-LFX7W4B7.js → chunk-UDKYY27B.js} +1 -1
  208. package/dist/{chunk-24BHMKDD.js → chunk-UF3HSFAE.js} +25 -2
  209. package/dist/chunk-UIYXMPDW.js +24 -0
  210. package/dist/{chunk-CPKHL7FK.js → chunk-UNMIUILK.js} +1 -1
  211. package/dist/chunk-V3MSLNSD.js +24 -0
  212. package/dist/chunk-V634AXDM.js +31 -0
  213. package/dist/{chunk-57ZGVAU3.js → chunk-V7F4F6JA.js} +39 -6
  214. package/dist/{chunk-JEL6665C.js → chunk-VBVG6NEL.js} +6 -6
  215. package/dist/chunk-VL7WLE4H.js +24 -0
  216. package/dist/chunk-W45AR6EW.js +94 -0
  217. package/dist/{chunk-U7LLQ7XM.js → chunk-WALYNKBN.js} +446 -103
  218. package/dist/{chunk-J2ROMB7J.js → chunk-WAPCCJUB.js} +64 -26
  219. package/dist/{chunk-WQ55QPEB.js → chunk-WDIVAU5U.js} +241 -118
  220. package/dist/{chunk-EHVESNLV.js → chunk-WEMUCDPK.js} +1 -1
  221. package/dist/{chunk-HHS6333D.js → chunk-WFSOKGGA.js} +2 -2
  222. package/dist/{chunk-AJHYXD5U.js → chunk-WG5CJGLU.js} +2 -2
  223. package/dist/{chunk-WJKVNRCR.js → chunk-WQT6HIIY.js} +18 -17
  224. package/dist/{chunk-KAQH75T6.js → chunk-WSJDLZSZ.js} +78 -47
  225. package/dist/{chunk-3UBTO342.js → chunk-WWIY6BBY.js} +77 -38
  226. package/dist/{chunk-33PLBIMA.js → chunk-WXJ5MHLH.js} +3 -2
  227. package/dist/chunk-X3YP4DUV.js +76 -0
  228. package/dist/{chunk-ZNHF2XCP.js → chunk-X7XTIM6U.js} +50 -36
  229. package/dist/chunk-XJQXFVXY.js +24 -0
  230. package/dist/{chunk-NQSDIDRO.js → chunk-XMN3Z43K.js} +5 -5
  231. package/dist/{chunk-32X7JGH3.js → chunk-XPOMQWXY.js} +89 -69
  232. package/dist/chunk-XVUQMZWV.js +24 -0
  233. package/dist/chunk-XYYRHGQI.js +24 -0
  234. package/dist/{chunk-EYZ6SLF3.js → chunk-XZLU3G23.js} +7 -7
  235. package/dist/chunk-Y2CAIAUI.js +24 -0
  236. package/dist/{chunk-3P4PJJND.js → chunk-Y3L655X6.js} +6 -6
  237. package/dist/{chunk-QKL7IY42.js → chunk-Y54LU4CU.js} +1 -1
  238. package/dist/chunk-YGTNVZJE.js +89 -0
  239. package/dist/{chunk-4WQ2MBE7.js → chunk-YLC42C3M.js} +1 -1
  240. package/dist/{chunk-SGD3ZHID.js → chunk-YOOHNQ3L.js} +15 -4
  241. package/dist/{chunk-7NWFKHSG.js → chunk-YTCIGJUU.js} +116 -42
  242. package/dist/{chunk-ULTSSIOU.js → chunk-YV5KYGE5.js} +1 -1
  243. package/dist/{chunk-BRPOSOK5.js → chunk-YXM4W3TN.js} +144 -71
  244. package/dist/{chunk-7EOLHBI6.js → chunk-Z2X4JQNY.js} +81 -21
  245. package/dist/{chunk-SZCPKGYG.js → chunk-Z5V6ZM76.js} +3 -3
  246. package/dist/{chunk-KBFPMESI.js → chunk-Z7NHFNH3.js} +165 -79
  247. package/dist/{chunk-LTMF75MR.js → chunk-ZBSNF5F7.js} +208 -62
  248. package/dist/chunk-ZGHBDMYF.js +24 -0
  249. package/dist/{chunk-KORHKDJW.js → chunk-ZHFUMVW7.js} +2 -1
  250. package/dist/{chunk-YS56RSTZ.js → chunk-ZLYQWUNR.js} +84 -50
  251. package/dist/chunk-ZTMZOKVC.js +61 -0
  252. package/dist/cli/index.js +3 -3
  253. package/dist/{core-WJSKT5XM.js → core-2SICIP63.js} +5 -1
  254. package/dist/{core-CJ7FFPDU.js → core-2YTKFBNZ.js} +5 -1
  255. package/dist/{core-JLXFDYHX.js → core-3647Z25D.js} +4 -1
  256. package/dist/{core-ASBJZZTP.js → core-3IJPBNGC.js} +2 -1
  257. package/dist/{core-DJPGSTXB.js → core-6HMJHFRR.js} +8 -1
  258. package/dist/{core-ONNGSKWQ.js → core-7JKE7H32.js} +5 -1
  259. package/dist/{core-MNUVP5IJ.js → core-BMY7OL76.js} +5 -1
  260. package/dist/{core-GEUPUZUY.js → core-CAL7YNFC.js} +3 -1
  261. package/dist/{core-JLJTP7P6.js → core-CBEGB2NO.js} +3 -1
  262. package/dist/{core-XKV7GMPG.js → core-CLLIG7ZU.js} +2 -1
  263. package/dist/{core-L7Y7YXWR.js → core-CTZLHGXE.js} +1 -1
  264. package/dist/{core-KZK3WCUG.js → core-EYJ3WJK4.js} +3 -1
  265. package/dist/{core-KF6GJOGW.js → core-FX7HRKTF.js} +2 -1
  266. package/dist/{core-EAIFSTDE.js → core-GQC6VDW5.js} +3 -1
  267. package/dist/{core-R27R6J5M.js → core-GRWI22NS.js} +3 -1
  268. package/dist/{core-7YKLT7KY.js → core-H7KMWYP5.js} +4 -1
  269. package/dist/{core-CJZXX2V3.js → core-HJUGHAX7.js} +2 -1
  270. package/dist/{core-YPH723Z7.js → core-JMYMIH6Z.js} +8 -1
  271. package/dist/{core-7R3ARYNI.js → core-KEB5PBCO.js} +5 -1
  272. package/dist/{core-AEYGGH7X.js → core-MEC6A5DD.js} +4 -1
  273. package/dist/{core-L5KTPXHC.js → core-MV6KGAUV.js} +3 -1
  274. package/dist/{core-34KIMTK6.js → core-NTWHFDM4.js} +2 -1
  275. package/dist/{core-RGLOYY73.js → core-OIC5KJSD.js} +6 -1
  276. package/dist/{core-V7I4F6JW.js → core-OWCTIPHD.js} +5 -1
  277. package/dist/{core-RCFFJANI.js → core-PMYCLXT7.js} +5 -1
  278. package/dist/{core-MN45UFF4.js → core-PTRQPQTO.js} +3 -1
  279. package/dist/{core-DKJUX7Q4.js → core-QABTVASG.js} +2 -1
  280. package/dist/{core-PFXIBWLD.js → core-RPQBIOU4.js} +4 -1
  281. package/dist/{core-W7AZNHOX.js → core-SKRADU7T.js} +3 -1
  282. package/dist/{core-KII4CH3W.js → core-T2KHX5LG.js} +3 -1
  283. package/dist/{core-DAFZ7YJW.js → core-T4ZH3FAU.js} +2 -1
  284. package/dist/{core-WHI4ABF2.js → core-UAY2G7LN.js} +1 -1
  285. package/dist/{core-O2K4BDYH.js → core-ULZ7XUQP.js} +4 -1
  286. package/dist/{core-3CWPIFAL.js → core-VBR253SM.js} +3 -1
  287. package/dist/{core-YVNOHIQ4.js → core-VMIBBHXI.js} +3 -1
  288. package/dist/{core-KCORN7F7.js → core-XMTKUXLO.js} +3 -1
  289. package/dist/{core-QXIAQFHM.js → core-YEFGEW3Z.js} +3 -1
  290. package/dist/{dataTable-VKEHFLJM.js → dataTable-2ZXK54TP.js} +3 -2
  291. package/dist/{engine-PPXKJJFI.js → engine-HGXSWGOI.js} +26 -27
  292. package/dist/fixtures.js +6 -1
  293. package/dist/{fontTables-WYCZNRE7.js → fontTables-ZPZQ6IR3.js} +1 -1
  294. package/dist/fonts.js +2 -1
  295. package/dist/geo/dach.js +3 -1
  296. package/dist/geo/de-states.js +3 -1
  297. package/dist/geo/eu27.js +3 -1
  298. package/dist/geo/europe.js +3 -1
  299. package/dist/geo/index.js +4 -2
  300. package/dist/geo/us-states.js +3 -1
  301. package/dist/geo/world.js +3 -1
  302. package/dist/index.js +31 -27
  303. package/dist/{main-53MXACOU.js → main-PVT6FMGC.js} +54 -24
  304. package/dist/mcp/server.js +50 -23
  305. package/dist/{module-SVEW5ZUE.js → module-ZSR7KTAS.js} +1 -1
  306. package/dist/react/bar.js +6 -1
  307. package/dist/react/bartable.js +6 -1
  308. package/dist/react/box.js +6 -1
  309. package/dist/react/bullet.js +4 -1
  310. package/dist/react/butterfly.js +5 -1
  311. package/dist/react/choropleth.js +4 -1
  312. package/dist/react/cohort.js +4 -1
  313. package/dist/react/column.js +9 -1
  314. package/dist/react/combo.js +3 -1
  315. package/dist/react/creative.js +2 -1
  316. package/dist/react/diagram.js +3 -1
  317. package/dist/react/dimswitch.js +4 -1
  318. package/dist/react/dot.js +9 -1
  319. package/dist/react/export.js +33 -31
  320. package/dist/react/funnel.js +4 -1
  321. package/dist/react/gantt.js +3 -1
  322. package/dist/react/grid.js +4 -1
  323. package/dist/react/heatmap.js +4 -1
  324. package/dist/react/histogram.js +6 -1
  325. package/dist/react/index.js +94 -90
  326. package/dist/react/kpi.js +2 -1
  327. package/dist/react/likert.js +7 -1
  328. package/dist/react/line.js +4 -1
  329. package/dist/react/mekko.js +5 -1
  330. package/dist/react/pareto.js +3 -1
  331. package/dist/react/pie.js +5 -1
  332. package/dist/react/prepare.js +33 -28
  333. package/dist/react/pvm.js +4 -1
  334. package/dist/react/pyramid.js +5 -1
  335. package/dist/react/sankey.js +4 -1
  336. package/dist/react/scatter.js +4 -1
  337. package/dist/react/slope.js +6 -1
  338. package/dist/react/sparkline.js +4 -1
  339. package/dist/react/spec.js +25 -32
  340. package/dist/react/status.js +3 -1
  341. package/dist/react/story.js +6 -4
  342. package/dist/react/table.js +4 -1
  343. package/dist/react/theme.js +6 -3
  344. package/dist/react/tilemap.js +4 -1
  345. package/dist/react/treemap.js +3 -1
  346. package/dist/react/variance.js +5 -1
  347. package/dist/react/waffle.js +3 -1
  348. package/dist/react/waterfall.js +4 -1
  349. package/dist/{resvg-ZOVDIZTV.js → resvg-VB7S5HRF.js} +1 -1
  350. package/dist/rows.js +2 -3
  351. package/dist/{rowsModule-L3MBGPBH.js → rowsModule-JTDPTWXG.js} +2 -1
  352. package/dist/{schema-6ZV532RM.js → schema-2M3LXR35.js} +1 -1
  353. package/dist/{schema-WAKLKLBB.js → schema-2Q7IJ22V.js} +1 -1
  354. package/dist/{schema-IOKAZVL7.js → schema-3OLBUVMZ.js} +1 -1
  355. package/dist/{schema-ZSYX76MO.js → schema-3XLO43SX.js} +1 -1
  356. package/dist/{schema-KHCLVE2V.js → schema-5753NOAL.js} +1 -1
  357. package/dist/{schema-QNI6MNQ2.js → schema-5KHDHTIX.js} +1 -1
  358. package/dist/{schema-HWU55RJL.js → schema-76XRTBCJ.js} +1 -1
  359. package/dist/{schema-KFXLS67Q.js → schema-7CPGNCOL.js} +1 -1
  360. package/dist/{schema-26YUL3MG.js → schema-BKHQ3ZUH.js} +1 -1
  361. package/dist/{schema-CMXL5F5L.js → schema-BMD5JR3Y.js} +1 -1
  362. package/dist/{schema-HGUBNXUY.js → schema-BOGTPL7F.js} +1 -1
  363. package/dist/{schema-733PO52K.js → schema-BUTNGYTT.js} +1 -1
  364. package/dist/{schema-GSE3QXUK.js → schema-C7NVOQNV.js} +5 -3
  365. package/dist/{schema-LYBOPAGQ.js → schema-FNTAAXQ3.js} +1 -1
  366. package/dist/{schema-MNG24WU2.js → schema-FYULDJFB.js} +1 -1
  367. package/dist/{schema-4ZXJCRZR.js → schema-FZKNIAIH.js} +1 -1
  368. package/dist/{schema-IOWE3RQO.js → schema-G2PLJCYL.js} +1 -1
  369. package/dist/{schema-HRHNGOFC.js → schema-GGG2VOY7.js} +2 -2
  370. package/dist/{schema-WCDYWS4K.js → schema-GLN7IHSH.js} +1 -1
  371. package/dist/{schema-H7RKVTVO.js → schema-HIDW4BA4.js} +1 -1
  372. package/dist/{schema-KH62LDYK.js → schema-J53LCIY3.js} +1 -1
  373. package/dist/{schema-5E5J43CF.js → schema-KIJA53MB.js} +2 -1
  374. package/dist/{schema-3W7IFXVN.js → schema-LEQNLBNG.js} +1 -1
  375. package/dist/{schema-GK6MD4EG.js → schema-LHMEXFLY.js} +1 -1
  376. package/dist/{schema-FT37ZEYY.js → schema-MT6NA5AL.js} +1 -3
  377. package/dist/{schema-NOPOI5G2.js → schema-MUTAVQMI.js} +1 -1
  378. package/dist/{schema-PNUC54GC.js → schema-NVMEOHAW.js} +1 -1
  379. package/dist/{schema-QLH2DZFI.js → schema-TA3MSAPQ.js} +1 -1
  380. package/dist/{schema-B4GFRYIP.js → schema-U26KG42U.js} +1 -1
  381. package/dist/{schema-KORNUIC6.js → schema-UHHFTVGS.js} +1 -1
  382. package/dist/{schema-GVHM2HEF.js → schema-V3BPW4LA.js} +1 -1
  383. package/dist/{schema-SY3MKF5S.js → schema-WIZ2TZAT.js} +1 -1
  384. package/dist/{schema-ZCZCY34J.js → schema-WZLWHOMY.js} +1 -1
  385. package/dist/{schema-Q4IPIR6W.js → schema-XATDKZPW.js} +1 -1
  386. package/dist/{schema-SLQPM32G.js → schema-XHKSGMUH.js} +1 -1
  387. package/dist/{schema-33ZF6WKL.js → schema-XKY2EQFH.js} +1 -1
  388. package/dist/{schema-AQD3H5VV.js → schema-ZE7WUNFS.js} +1 -1
  389. package/dist/{specValidation-H5B4MQST.js → specValidation-X5XJBPTP.js} +3 -1
  390. package/dist/theme.js +4 -2
  391. package/dist/{themeShapeRules-54U5EIZR.js → themeShapeRules-PW4BQHKL.js} +1 -1
  392. package/dist/types/core/a11y/recordsShared.d.ts +4 -0
  393. package/dist/types/core/annotate.d.ts +39 -0
  394. package/dist/types/core/annotateArms.d.ts +1 -1
  395. package/dist/types/core/axis.d.ts +2 -0
  396. package/dist/types/core/calendarLabels.d.ts +15 -0
  397. package/dist/types/core/charts/band/stacks.d.ts +71 -2
  398. package/dist/types/core/charts/bartable/types.d.ts +10 -0
  399. package/dist/types/core/charts/choropleth/index.d.ts +7 -0
  400. package/dist/types/core/charts/choropleth/layout.d.ts +7 -0
  401. package/dist/types/core/charts/choropleth/schema.d.ts +36 -0
  402. package/dist/types/core/charts/cohort/types.d.ts +8 -1
  403. package/dist/types/core/charts/column/layout.d.ts +1 -1
  404. package/dist/types/core/charts/column/model.d.ts +4 -0
  405. package/dist/types/core/charts/combo/endpoints.d.ts +1 -1
  406. package/dist/types/core/charts/creative/types.d.ts +1 -1
  407. package/dist/types/core/charts/dimswitch/compile.d.ts +2 -0
  408. package/dist/types/core/charts/dimswitch/types.d.ts +8 -0
  409. package/dist/types/core/charts/grid/normalize.d.ts +18 -1
  410. package/dist/types/core/charts/heatmap/fixtures.d.ts +2 -2
  411. package/dist/types/core/charts/histogram/types.d.ts +14 -2
  412. package/dist/types/core/charts/likert/layout.d.ts +14 -9
  413. package/dist/types/core/charts/logAxis.d.ts +55 -0
  414. package/dist/types/core/charts/pvm/types.d.ts +6 -0
  415. package/dist/types/core/charts/pyramid/types.d.ts +7 -4
  416. package/dist/types/core/charts/sankey/types.d.ts +3 -1
  417. package/dist/types/core/charts/scatter/clamp.d.ts +155 -0
  418. package/dist/types/core/charts/scatter/frontier.d.ts +21 -0
  419. package/dist/types/core/charts/scatter/index.d.ts +9 -0
  420. package/dist/types/core/charts/scatter/layout.d.ts +26 -0
  421. package/dist/types/core/charts/scatter/logAxis.d.ts +14 -0
  422. package/dist/types/core/charts/scatter/model.d.ts +258 -0
  423. package/dist/types/core/charts/scatter/schema.d.ts +57 -0
  424. package/dist/types/core/charts/scatter/trend.d.ts +54 -0
  425. package/dist/types/core/charts/scatter/valueLines.d.ts +47 -0
  426. package/dist/types/core/charts/sparkline/fixtures.d.ts +1 -1
  427. package/dist/types/core/charts/status/layout.d.ts +5 -3
  428. package/dist/types/core/charts/table/resolve.d.ts +0 -7
  429. package/dist/types/core/charts/tilemap/index.d.ts +6 -0
  430. package/dist/types/core/charts/tilemap/layout.d.ts +5 -0
  431. package/dist/types/core/charts/tilemap/schema.d.ts +4 -0
  432. package/dist/types/core/charts/treemap/types.d.ts +2 -2
  433. package/dist/types/core/charts/variance/fixtures.d.ts +2 -1
  434. package/dist/types/core/charts/waffle/types.d.ts +2 -0
  435. package/dist/types/core/dateFormat.d.ts +1 -1
  436. package/dist/types/core/doc/diagnostics.d.ts +8 -0
  437. package/dist/types/core/doc/document.d.ts +9 -1
  438. package/dist/types/core/doc/ownedDocumentCopy.d.ts +2 -1
  439. package/dist/types/core/fontMetrics/index.d.ts +1 -1
  440. package/dist/types/core/footer.d.ts +9 -1
  441. package/dist/types/core/format.d.ts +4 -1
  442. package/dist/types/core/formatSpec.d.ts +84 -6
  443. package/dist/types/core/frame.d.ts +41 -8
  444. package/dist/types/core/geo/packs/registry.d.ts +3 -2
  445. package/dist/types/core/geometry.d.ts +19 -0
  446. package/dist/types/core/icons.d.ts +11 -0
  447. package/dist/types/core/inputError.d.ts +3 -0
  448. package/dist/types/core/isoDate.d.ts +2 -0
  449. package/dist/types/core/label/categoryRow.d.ts +8 -0
  450. package/dist/types/core/label/occupied.d.ts +5 -0
  451. package/dist/types/core/label/solver.d.ts +31 -2
  452. package/dist/types/core/notes.d.ts +13 -1
  453. package/dist/types/core/ols.d.ts +38 -0
  454. package/dist/types/core/periodYears.d.ts +5 -1
  455. package/dist/types/core/registry.d.ts +12 -0
  456. package/dist/types/core/request.d.ts +3 -2
  457. package/dist/types/core/scale.d.ts +7 -0
  458. package/dist/types/core/schema/capability.d.ts +17 -20
  459. package/dist/types/core/schema/namedColumns.d.ts +6 -0
  460. package/dist/types/core/schema/refusals.d.ts +1 -4
  461. package/dist/types/core/shareRounding.d.ts +8 -0
  462. package/dist/types/core/sizing.d.ts +17 -12
  463. package/dist/types/core/story.d.ts +3 -0
  464. package/dist/types/core/target.d.ts +6 -0
  465. package/dist/types/core/text.d.ts +8 -0
  466. package/dist/types/core/theme.d.ts +52 -1
  467. package/dist/types/core/types/annotations.d.ts +15 -3
  468. package/dist/types/core/types/data.d.ts +4 -1
  469. package/dist/types/core/types/diagram.d.ts +81 -2
  470. package/dist/types/core/types/optionInput.d.ts +13 -0
  471. package/dist/types/core/types/options.d.ts +65 -24
  472. package/dist/types/core/types/scene.d.ts +79 -2
  473. package/dist/types/core/types/table.d.ts +9 -0
  474. package/dist/types/core/types/theme.d.ts +48 -3
  475. package/dist/types/index.d.ts +28 -27
  476. package/dist/types/optionTypes.d.ts +44 -0
  477. package/dist/types/react/DimSwitchChart.d.ts +2 -1
  478. package/dist/types/react/RefusalBoundary.d.ts +25 -0
  479. package/dist/types/react/SceneRenderer.d.ts +3 -1
  480. package/dist/types/react/SizePlaceholder.d.ts +2 -1
  481. package/dist/types/react/TableChart.d.ts +8 -4
  482. package/dist/types/react/barrelCharts.d.ts +1521 -1012
  483. package/dist/types/react/charts/bar.d.ts +36 -25
  484. package/dist/types/react/charts/bartable.d.ts +36 -25
  485. package/dist/types/react/charts/box.d.ts +36 -25
  486. package/dist/types/react/charts/bullet.d.ts +36 -25
  487. package/dist/types/react/charts/butterfly.d.ts +36 -25
  488. package/dist/types/react/charts/choropleth.d.ts +36 -25
  489. package/dist/types/react/charts/cohort.d.ts +76 -50
  490. package/dist/types/react/charts/column.d.ts +36 -25
  491. package/dist/types/react/charts/combo.d.ts +2 -1
  492. package/dist/types/react/charts/creative.d.ts +31 -25
  493. package/dist/types/react/charts/diagram.d.ts +302 -160
  494. package/dist/types/react/charts/dot.d.ts +36 -25
  495. package/dist/types/react/charts/funnel.d.ts +36 -25
  496. package/dist/types/react/charts/gantt.d.ts +36 -25
  497. package/dist/types/react/charts/grid.d.ts +38 -27
  498. package/dist/types/react/charts/heatmap.d.ts +36 -25
  499. package/dist/types/react/charts/histogram.d.ts +36 -25
  500. package/dist/types/react/charts/kpi.d.ts +36 -25
  501. package/dist/types/react/charts/likert.d.ts +36 -25
  502. package/dist/types/react/charts/line.d.ts +36 -25
  503. package/dist/types/react/charts/mekko.d.ts +36 -25
  504. package/dist/types/react/charts/pareto.d.ts +33 -25
  505. package/dist/types/react/charts/pie.d.ts +36 -25
  506. package/dist/types/react/charts/pvm.d.ts +36 -25
  507. package/dist/types/react/charts/pyramid.d.ts +33 -25
  508. package/dist/types/react/charts/sankey.d.ts +36 -25
  509. package/dist/types/react/charts/scatter.d.ts +36 -25
  510. package/dist/types/react/charts/slope.d.ts +36 -25
  511. package/dist/types/react/charts/sparkline.d.ts +36 -25
  512. package/dist/types/react/charts/status.d.ts +36 -25
  513. package/dist/types/react/charts/tilemap.d.ts +36 -25
  514. package/dist/types/react/charts/treemap.d.ts +36 -25
  515. package/dist/types/react/charts/variance.d.ts +36 -25
  516. package/dist/types/react/charts/waffle.d.ts +36 -25
  517. package/dist/types/react/charts/waterfall.d.ts +36 -25
  518. package/dist/types/react/createChartComponent.d.ts +11 -9
  519. package/dist/types/react/footerFrame.d.ts +1 -1
  520. package/dist/types/react/hover/engine.d.ts +2 -1
  521. package/dist/types/react/hover/labelCard.d.ts +14 -2
  522. package/dist/types/react/prepare.d.ts +2 -2
  523. package/dist/types/react/prepared.d.ts +5 -1
  524. package/dist/types/react/useContainerSize.d.ts +2 -0
  525. package/dist/types/rows.d.ts +1 -1
  526. package/dist/validate.js +12 -8
  527. package/docs/manual.md +139 -35
  528. package/docs/reference/bar.md +10 -7
  529. package/docs/reference/bartable.md +7 -3
  530. package/docs/reference/box.md +5 -2
  531. package/docs/reference/bullet.md +7 -5
  532. package/docs/reference/butterfly.md +12 -5
  533. package/docs/reference/choropleth.md +9 -7
  534. package/docs/reference/cohort.md +3 -2
  535. package/docs/reference/column.md +14 -7
  536. package/docs/reference/combo.md +8 -6
  537. package/docs/reference/creative.md +1 -1
  538. package/docs/reference/diagram.md +94 -18
  539. package/docs/reference/dimswitch.md +16 -13
  540. package/docs/reference/dot.md +7 -4
  541. package/docs/reference/fixtures.md +49 -5
  542. package/docs/reference/funnel.md +4 -3
  543. package/docs/reference/gantt.md +1 -1
  544. package/docs/reference/grid.md +1 -1
  545. package/docs/reference/heatmap.md +6 -4
  546. package/docs/reference/histogram.md +7 -4
  547. package/docs/reference/kpi.md +11 -8
  548. package/docs/reference/likert.md +7 -3
  549. package/docs/reference/line.md +9 -8
  550. package/docs/reference/mekko.md +4 -4
  551. package/docs/reference/options.md +34 -32
  552. package/docs/reference/pareto.md +4 -4
  553. package/docs/reference/pie.md +8 -7
  554. package/docs/reference/pvm.md +4 -2
  555. package/docs/reference/pyramid.md +4 -4
  556. package/docs/reference/react.md +20 -11
  557. package/docs/reference/sankey.md +5 -3
  558. package/docs/reference/scatter.md +3 -3
  559. package/docs/reference/slope.md +7 -6
  560. package/docs/reference/sparkline.md +6 -5
  561. package/docs/reference/status.md +6 -4
  562. package/docs/reference/table.md +28 -26
  563. package/docs/reference/theme.md +93 -85
  564. package/docs/reference/tilemap.md +7 -6
  565. package/docs/reference/treemap.md +6 -5
  566. package/docs/reference/variance.md +8 -5
  567. package/docs/reference/waffle.md +2 -1
  568. package/docs/reference/waterfall.md +12 -9
  569. package/docs/use-cases.md +25 -2
  570. package/llms.txt +1 -1
  571. package/package.json +1 -1
  572. package/dist/chunk-2HXKW6U6.js +0 -24
  573. package/dist/chunk-35ZTANEK.js +0 -24
  574. package/dist/chunk-3CLLHMFF.js +0 -24
  575. package/dist/chunk-46ZPFJAM.js +0 -24
  576. package/dist/chunk-6BWSF5PS.js +0 -24
  577. package/dist/chunk-6K2TMVPF.js +0 -42
  578. package/dist/chunk-6KWIQ5KF.js +0 -18
  579. package/dist/chunk-6ZXMA4TY.js +0 -24
  580. package/dist/chunk-7HFUG25L.js +0 -24
  581. package/dist/chunk-7R5EV5MS.js +0 -24
  582. package/dist/chunk-7X65ZQN4.js +0 -38
  583. package/dist/chunk-ATUZTGZI.js +0 -25
  584. package/dist/chunk-BW5VLBSZ.js +0 -15
  585. package/dist/chunk-BYD7VLAI.js +0 -24
  586. package/dist/chunk-CEY646NZ.js +0 -28
  587. package/dist/chunk-D7GZPMHW.js +0 -24
  588. package/dist/chunk-FIANWJXX.js +0 -19
  589. package/dist/chunk-H4SYN3QA.js +0 -24
  590. package/dist/chunk-HC4NDND6.js +0 -24
  591. package/dist/chunk-HNVW3YDS.js +0 -25
  592. package/dist/chunk-HW7BPJNQ.js +0 -24
  593. package/dist/chunk-I5L3QTKQ.js +0 -24
  594. package/dist/chunk-IK4BHOPZ.js +0 -33
  595. package/dist/chunk-IMJXJHFW.js +0 -88
  596. package/dist/chunk-JDEVGTSX.js +0 -24
  597. package/dist/chunk-K2KU4HHT.js +0 -25
  598. package/dist/chunk-KDMKHR5A.js +0 -32
  599. package/dist/chunk-KNZD53L4.js +0 -24
  600. package/dist/chunk-KOJ5QETJ.js +0 -8
  601. package/dist/chunk-KSQEG6DX.js +0 -24
  602. package/dist/chunk-KVSJ2O4Q.js +0 -24
  603. package/dist/chunk-L3JWM7FR.js +0 -50
  604. package/dist/chunk-L7FSCT4M.js +0 -28
  605. package/dist/chunk-LMPZKCDM.js +0 -24
  606. package/dist/chunk-MONVTUHR.js +0 -24
  607. package/dist/chunk-NWQTSZYC.js +0 -24
  608. package/dist/chunk-OM67S6S4.js +0 -19
  609. package/dist/chunk-OTW5SEFS.js +0 -21
  610. package/dist/chunk-PGV25HTX.js +0 -25
  611. package/dist/chunk-QGCEHR6S.js +0 -13
  612. package/dist/chunk-T3IGJARD.js +0 -22
  613. package/dist/chunk-U2ES66IN.js +0 -26
  614. package/dist/chunk-U6CJPTOB.js +0 -19
  615. package/dist/chunk-VDVXGAIP.js +0 -24
  616. package/dist/chunk-VGWWUCAB.js +0 -24
  617. package/dist/chunk-X4U6PT3Z.js +0 -33
  618. package/dist/chunk-XXNLNZ7E.js +0 -24
  619. package/dist/chunk-ZBJNEJSL.js +0 -24
  620. package/dist/chunk-ZWJTHFWB.js +0 -27
  621. /package/dist/{DiagnosticDetails-UNYNYCAH.js → DiagnosticDetails-JFBBXOT2.js} +0 -0
@@ -13,14 +13,10 @@ import {
13
13
  seatValuesOnGround,
14
14
  shadesFills,
15
15
  withoutEvents
16
- } from "./chunk-32X7JGH3.js";
17
- import {
18
- unitConflict,
19
- unitConflictRefusal
20
- } from "./chunk-WZGJSQKN.js";
16
+ } from "./chunk-XPOMQWXY.js";
21
17
  import {
22
18
  preparePolyline
23
- } from "./chunk-7X3UZM7F.js";
19
+ } from "./chunk-33FCWTGT.js";
24
20
  import {
25
21
  FORCE_CATEGORY_RANKS,
26
22
  STAIRCASE,
@@ -37,7 +33,7 @@ import {
37
33
  staircaseRoom,
38
34
  staircaseState,
39
35
  withCategoryRanks
40
- } from "./chunk-3P4PJJND.js";
36
+ } from "./chunk-Y3L655X6.js";
41
37
  import {
42
38
  ANOMALY_FLAG_GAP,
43
39
  ANOMALY_FLAG_H,
@@ -48,19 +44,16 @@ import {
48
44
  anomalyReceipt,
49
45
  anomalyRuleLines,
50
46
  anomalyRuleReserve,
47
+ bandedCrossesBetween,
48
+ bandedIntervalTicks,
51
49
  columnCorridorPaint,
52
50
  lineAnomalyFurniture,
53
51
  refuseAnomalySpec,
54
52
  seatFlaggedValues
55
- } from "./chunk-MYCLO35J.js";
56
- import {
57
- applyCategoryViewport,
58
- liveWindowOptions,
59
- viewportMeanSpan
60
- } from "./chunk-BWTX7LUG.js";
53
+ } from "./chunk-EBC5TMI2.js";
61
54
  import {
62
55
  stackSegmentCandidates
63
- } from "./chunk-GYNZ72GO.js";
56
+ } from "./chunk-FS6ZE5TG.js";
64
57
  import {
65
58
  REFERENCE_MARKER_R,
66
59
  rankValueLabels,
@@ -69,57 +62,69 @@ import {
69
62
  referenceMarkerPaint,
70
63
  referenceTickGeometry,
71
64
  withBandValueNotes
72
- } from "./chunk-TNHD4UTC.js";
65
+ } from "./chunk-AM2CG7VX.js";
73
66
  import {
74
67
  cellFields,
75
68
  normalizeCategorySeries
76
- } from "./chunk-S4QSJAGY.js";
69
+ } from "./chunk-HZUAEMN5.js";
77
70
  import {
78
- haloOverRules,
79
- linesSize,
80
- raiseOverRules,
81
- valueRowCrowded,
82
- valueShareLines,
83
- warnShareParts
84
- } from "./chunk-MBVXROCI.js";
71
+ unitConflict,
72
+ unitConflictRefusal
73
+ } from "./chunk-DZ3S4RPI.js";
85
74
  import {
86
75
  roundingUnavailable,
76
+ shareRoundingNotes,
87
77
  sumConsistentShares
88
- } from "./chunk-24BHMKDD.js";
78
+ } from "./chunk-UF3HSFAE.js";
89
79
  import {
90
80
  averageMarkerLine,
81
+ averageMarkerMean,
91
82
  averageMarkerScope,
83
+ averageMarkerSpan,
92
84
  averageOfUnaddedSums,
93
85
  onePartDrawn,
94
86
  sk,
95
87
  stackParts,
96
88
  warnIncompleteStacks
97
- } from "./chunk-6TJDWMZV.js";
89
+ } from "./chunk-3B3K7TD5.js";
90
+ import {
91
+ applyCategoryViewport,
92
+ liveWindowOptions,
93
+ viewportMeanSpan
94
+ } from "./chunk-3L2VXXM4.js";
95
+ import {
96
+ haloOverRules,
97
+ linesSize,
98
+ raiseOverRules,
99
+ valueRowCrowded,
100
+ valueShareLines,
101
+ warnShareParts
102
+ } from "./chunk-SFG7NG23.js";
98
103
  import {
99
104
  valueLineExtent
100
105
  } from "./chunk-QPWRHDLZ.js";
101
106
  import {
102
107
  isIncomplete
103
- } from "./chunk-V7RAPZHX.js";
108
+ } from "./chunk-KAYBRD4F.js";
104
109
  import {
105
110
  emitEventLane,
106
111
  percentLevels,
107
112
  runAnnotatePass,
108
113
  settleEventLane
109
- } from "./chunk-DSZUV3TM.js";
114
+ } from "./chunk-7Q2WV6D2.js";
110
115
  import {
111
116
  stepDownFont
112
- } from "./chunk-2DR5MMDY.js";
117
+ } from "./chunk-ROLR7HRB.js";
113
118
  import {
114
119
  breakUnsupported,
115
120
  chartPalette,
116
121
  chartTheme
117
- } from "./chunk-U4P6TQRW.js";
122
+ } from "./chunk-7DAH2E4T.js";
118
123
  import {
119
124
  NO_STACK_MEAN,
120
- NO_STACK_TOTAL,
125
+ noTotal,
121
126
  stackAdds
122
- } from "./chunk-6KWIQ5KF.js";
127
+ } from "./chunk-JMGB444D.js";
123
128
  import {
124
129
  categoryTargetFields,
125
130
  spliceAnnotationNodes
@@ -129,24 +134,28 @@ import {
129
134
  VALUE_LINE_RESERVE,
130
135
  hiddenValueLineReserve,
131
136
  namedLineText
132
- } from "./chunk-ISWU5YB3.js";
137
+ } from "./chunk-OJ2BPQGQ.js";
133
138
  import {
134
139
  structureCount
135
- } from "./chunk-LFX7W4B7.js";
140
+ } from "./chunk-UDKYY27B.js";
136
141
  import {
137
142
  emptyIdRecord
138
143
  } from "./chunk-LINZPU5D.js";
139
144
  import {
140
145
  CATEGORY_ROW_FROM_END,
141
146
  CATEGORY_ROW_VERTICAL,
147
+ COMBO_LIMIT,
142
148
  MONTH_START,
143
149
  ROTATED_NAME_AIR,
144
150
  applyAxisBounds,
151
+ applyTickStep,
152
+ authoredDateTicks,
145
153
  bandScale,
146
154
  bandSizing,
147
155
  calendarLike,
148
156
  categoryLineAlign,
149
157
  categoryRowTop,
158
+ checkPointBudget,
150
159
  hangingLabelReserve,
151
160
  isDateNumericTickSequence,
152
161
  layoutValueAxis,
@@ -163,7 +172,7 @@ import {
163
172
  tickFormatter,
164
173
  verticalNameRect,
165
174
  yearRowRequests
166
- } from "./chunk-U7LLQ7XM.js";
175
+ } from "./chunk-WALYNKBN.js";
167
176
  import {
168
177
  AREA_FILL_PART,
169
178
  DEFER_DENSITY_NOTES,
@@ -176,6 +185,7 @@ import {
176
185
  authoredFootnoteCount,
177
186
  authoredNotes,
178
187
  categoryLabelsAndMarks,
188
+ cleanSum,
179
189
  composedTextRole,
180
190
  createOccupiedIndex,
181
191
  defaultAnnotationId,
@@ -206,7 +216,7 @@ import {
206
216
  toDateRoom,
207
217
  withAuthoredFootnotes,
208
218
  withCategoryNoteNames
209
- } from "./chunk-GVKFFJ23.js";
219
+ } from "./chunk-2ALFFOKB.js";
210
220
  import {
211
221
  copyFrame,
212
222
  disclosureNote,
@@ -215,7 +225,7 @@ import {
215
225
  rankKeyShown,
216
226
  recordFreedChrome,
217
227
  wrapFootnote
218
- } from "./chunk-E64MTTBC.js";
228
+ } from "./chunk-5SHI57XD.js";
219
229
  import {
220
230
  formatStatWithSpec,
221
231
  formatterFromExample,
@@ -223,15 +233,16 @@ import {
223
233
  percentRasterFormatter,
224
234
  sameUnit,
225
235
  seriesRasterFormatter
226
- } from "./chunk-RGZGLKFB.js";
236
+ } from "./chunk-GDVR3XHT.js";
227
237
  import {
238
+ NOT_AVAILABLE,
228
239
  autoDecimals,
229
240
  chartString,
230
241
  formatAutomaticNumber,
231
242
  formatAutomaticPercent,
232
243
  formatShare,
233
244
  withLocaleStrings
234
- } from "./chunk-53OYF4ZT.js";
245
+ } from "./chunk-LHKDZAWN.js";
235
246
  import {
236
247
  canvasMargin,
237
248
  dashToken,
@@ -253,13 +264,13 @@ import {
253
264
  strokeToken,
254
265
  textScaleOf,
255
266
  withSegmentSeams
256
- } from "./chunk-B3F4TS3V.js";
267
+ } from "./chunk-HJRNBKIT.js";
257
268
  import {
258
269
  curvePathFromSegments,
259
270
  drawnStroke,
260
271
  monotoneSegments,
261
272
  splitCurveSegmentsAtX
262
- } from "./chunk-WLZ54FWG.js";
273
+ } from "./chunk-JYAZPMSA.js";
263
274
  import {
264
275
  NormalizeError,
265
276
  accessibleTitle,
@@ -268,7 +279,7 @@ import {
268
279
  resolveSize,
269
280
  resolveSubtitle,
270
281
  scaleTextPx
271
- } from "./chunk-SGD3ZHID.js";
282
+ } from "./chunk-YOOHNQ3L.js";
272
283
  import {
273
284
  maxOf,
274
285
  minOf,
@@ -277,7 +288,7 @@ import {
277
288
  import {
278
289
  defaultMeasurer,
279
290
  wrapText
280
- } from "./chunk-AG2CJ4JY.js";
291
+ } from "./chunk-SNQ7D5R7.js";
281
292
 
282
293
  // src/core/charts/combo/axisTitles.ts
283
294
  var ROW_GAP = 18, SWATCH_BOX = 10, SWATCH_LINE = 14, SWATCH_GAP = 5, TITLE_GAP = 4, TITLE_TOP = 4;
@@ -360,8 +371,8 @@ function applyComboAxisTitlePaint(labels, titles) {
360
371
  }
361
372
 
362
373
  // src/core/charts/combo/endpoints.ts
363
- function comboValueLabels(options, anatomy = !1, categoryCount = 1 / 0) {
364
- return options.valueLabels ?? (anatomy ? categoryCount <= ANATOMY_ALL_MAX_CATEGORIES ? "all" : "ends" : "last");
374
+ function comboValueLabels(options, anatomy = !1, categoryCount = 1 / 0, floated = !1) {
375
+ return options.valueLabels ?? (anatomy || floated ? categoryCount <= ANATOMY_ALL_MAX_CATEGORIES ? "all" : floated ? "extremes" : "ends" : "last");
365
376
  }
366
377
  var ANATOMY_ALL_MAX_CATEGORIES = 8;
367
378
  function prepareComboEndpointTexts(series, textOf, engine) {
@@ -679,7 +690,7 @@ function comboStacks(cats, columnSeries) {
679
690
  let v = s.vals[ci].v;
680
691
  v !== null && (v >= 0 ? p += v : n += v);
681
692
  }
682
- posTop[ci] = p, negBot[ci] = n, anyByCat[ci] = columnSeries.some((s) => s.vals[ci].v !== null), columnSeries.length > 0 && (stackTotals[c.id] = p + n), lo = Math.min(lo, n), hi = Math.max(hi, p);
693
+ posTop[ci] = p, negBot[ci] = n, anyByCat[ci] = columnSeries.some((s) => s.vals[ci].v !== null), columnSeries.length > 0 && (stackTotals[c.id] = cleanSum([p, n])), lo = Math.min(lo, n), hi = Math.max(hi, p);
683
694
  }), { stackTotals, posTop, negBot, anyByCat, lo, hi };
684
695
  }
685
696
  function axisValueLines(annotations, axis) {
@@ -695,21 +706,33 @@ function primaryDomain(options, gate, extent, fmt, warnings) {
695
706
  message: `plotted values reach ${fmt(dataHi)}, above the declared ruler total ${fmt(ruler.total)} \u2014 the percent ladder continues past 100%`,
696
707
  suggest: "pass the true grand total as secondaryAxis.ruler.total"
697
708
  }));
698
- let pticks = linearScale([dLo, dHi], [0, 1]).ticks(5);
699
- return pticks.length < 2 && (pticks = [dLo, dHi]), ruler && (pticks = Array.from(
700
- { length: ruler.intervals + 1 },
701
- (_, i) => roundTick(dLo + (dHi - dLo) * i / ruler.intervals)
702
- )), { dLo, dHi, pticks };
709
+ let stepped = applyTickStep([dLo, dHi], va.tickStep, warnings);
710
+ [dLo, dHi] = stepped.domain;
711
+ let pticks = stepped.ticks ?? linearScale([dLo, dHi], [0, 1]).ticks(5);
712
+ if (pticks.length < 2 && (pticks = [dLo, dHi]), !stepped.ticks && ruler)
713
+ pticks = Array.from(
714
+ { length: ruler.intervals + 1 },
715
+ (_, i) => roundTick(dLo + (dHi - dLo) * i / ruler.intervals)
716
+ );
717
+ else if (!stepped.ticks && gate.secondaryActive && (va.min !== void 0 || va.max !== void 0) && !options[SECONDARY_FULL_DOMAIN] && (pticks[0] !== dLo || pticks[pticks.length - 1] !== dHi)) {
718
+ let step = pinnedStep(dLo, dHi, pticks.length - 1);
719
+ pticks = Array.from({ length: Math.round((dHi - dLo) / step) + 1 }, (_, i) => Number((dLo + step * i).toPrecision(12)));
720
+ }
721
+ return { dLo, dHi, pticks, stepTicks: stepped.ticks };
722
+ }
723
+ function pinnedStep(lo, hi, rows) {
724
+ let even = (hi - lo) / rows || 1;
725
+ return ladderSteps(even / 2, even * 2, PRIMARY_MANTISSAS).filter((step) => Math.abs((hi - lo) / step - Math.round((hi - lo) / step)) < 1e-9).reduce((best, step) => {
726
+ if (best === void 0) return step;
727
+ let off = Math.abs((hi - lo) / step - rows), bestOff = Math.abs((hi - lo) / best - rows);
728
+ return off < bestOff - 1e-9 || Math.abs(off - bestOff) <= 1e-9 && step < best ? step : best;
729
+ }, void 0) ?? even;
703
730
  }
704
731
  function rightAxis(options, gate, raw, primary, secondarySpec, fixed) {
705
732
  let { secOpt, ruler, secondaryActive, secondaryRequested } = gate, { pticks } = primary, nTicks = pticks.length, lang = options.locale?.language, secondaryDomain, secStep = 1;
706
733
  if (secondaryActive && secOpt?.domain) {
707
- let lo = Math.min(secOpt.domain[0], raw.lo), hi = Math.max(secOpt.domain[1], raw.hi), even = (hi - lo) / (nTicks - 1) || 1;
708
- secStep = ladderSteps(even / 2, even * 2, PRIMARY_MANTISSAS).filter((step) => Math.abs((hi - lo) / step - Math.round((hi - lo) / step)) < 1e-9).reduce((best, step) => {
709
- if (best === void 0) return step;
710
- let off = Math.abs((hi - lo) / step - (nTicks - 1)), bestOff = Math.abs((hi - lo) / best - (nTicks - 1));
711
- return off < bestOff - 1e-9 || Math.abs(off - bestOff) <= 1e-9 && step < best ? step : best;
712
- }, void 0) ?? even, secondaryDomain = [roundTick(lo), roundTick(hi)];
734
+ let lo = Math.min(secOpt.domain[0], raw.lo), hi = Math.max(secOpt.domain[1], raw.hi);
735
+ secStep = pinnedStep(lo, hi, nTicks - 1), secondaryDomain = [roundTick(lo), roundTick(hi)];
713
736
  } else if (secondaryActive && fixed !== void 0)
714
737
  secStep = fixed.step, secondaryDomain = [roundTick(fixed.start), roundTick(fixed.start + fixed.step * (nTicks - 1))];
715
738
  else if (secondaryActive) {
@@ -746,27 +769,75 @@ function ladderSteps(lo, hi, mantissas) {
746
769
  function dualAxisScales(input) {
747
770
  let { columnTops, primaryHi, lines, secondaryHi } = input;
748
771
  if (input.columnBottoms.some((v) => v < 0) || lines.some((row) => row.some((v) => v !== null && v < 0)) || !(primaryHi > 0) || !(secondaryHi > 0)) return;
749
- let half = input.bandFraction / 2, best;
750
- for (let n2 of [3, 4, 5, 6])
751
- for (let p2 of ladderSteps(primaryHi / n2, primaryHi * 3 / n2, PRIMARY_MANTISSAS))
752
- for (let s2 of ladderSteps(secondaryHi * 1.01 / n2, secondaryHi * 1.6 / n2, SECONDARY_MANTISSAS)) {
753
- let colAt = (ci) => (columnTops[ci] ?? 0) / (n2 * p2), lineAt = (v) => v / (n2 * s2);
754
- if (!lines.every((row) => row.every((v, ci) => {
755
- if (v === null) return !0;
756
- if (lineAt(v) - colAt(ci) < (input.clearance ?? LINE_CLEARANCE)) return !1;
757
- for (let next of [ci - 1, ci + 1]) {
758
- let w = row[next];
759
- if (w == null) continue;
760
- if (lineAt(v) + (lineAt(w) - lineAt(v)) * half - colAt(ci) < (input.clearance ?? LINE_CLEARANCE)) return !1;
761
- }
762
- return !0;
763
- }))) continue;
764
- let fill = maxOf(columnTops) / (n2 * p2), lineFill = secondaryHi / (n2 * s2);
765
- (!best || fill > best.fill + 1e-9 || Math.abs(fill - best.fill) <= 1e-9 && (lineFill > best.lineFill + 1e-9 || Math.abs(lineFill - best.lineFill) <= 1e-9 && n2 < best.n)) && (best = { n: n2, p: p2, s: s2, fill, lineFill });
766
- }
772
+ let half = input.bandFraction / 2, search = (span) => {
773
+ let best2;
774
+ for (let n2 of [3, 4, 5, 6])
775
+ for (let p2 of ladderSteps(primaryHi / n2, primaryHi * span / n2, PRIMARY_MANTISSAS))
776
+ for (let s2 of ladderSteps(secondaryHi * 1.01 / n2, secondaryHi * 1.6 / n2, SECONDARY_MANTISSAS)) {
777
+ let colAt = (ci) => (columnTops[ci] ?? 0) / (n2 * p2), lineAt = (v) => v / (n2 * s2);
778
+ if (!lines.every((row) => row.every((v, ci) => {
779
+ if (v === null) return !0;
780
+ if (lineAt(v) - colAt(ci) < (input.clearance ?? LINE_CLEARANCE)) return !1;
781
+ for (let next of [ci - 1, ci + 1]) {
782
+ let w = row[next];
783
+ if (w == null) continue;
784
+ if (lineAt(v) + (lineAt(w) - lineAt(v)) * half - colAt(ci) < (input.clearance ?? LINE_CLEARANCE)) return !1;
785
+ }
786
+ return !0;
787
+ }))) continue;
788
+ let fill = maxOf(columnTops) / (n2 * p2), lineFill = secondaryHi / (n2 * s2);
789
+ (!best2 || fill > best2.fill + 1e-9 || Math.abs(fill - best2.fill) <= 1e-9 && (lineFill > best2.lineFill + 1e-9 || Math.abs(lineFill - best2.lineFill) <= 1e-9 && n2 < best2.n)) && (best2 = { n: n2, p: p2, s: s2, fill, lineFill });
790
+ }
791
+ return best2;
792
+ }, roomy = search(3), best = roomy ?? search(4);
767
793
  if (!best) return;
768
794
  let { n, p, s } = best;
769
- return { pticks: Array.from({ length: n + 1 }, (_, i) => roundTick(i * p)), secondaryStep: s };
795
+ return { pticks: Array.from({ length: n + 1 }, (_, i) => roundTick(i * p)), secondaryStep: s, squeezed: roomy === void 0 };
796
+ }
797
+ var FLOAT_COLUMN_SHARE = 0.55, FLOAT_LINE_LOW = 0.6;
798
+ function floatedLineScales(columnTop, lines, valueLine, clearance) {
799
+ let secondary = lines.filter((s) => s.axis === "secondary");
800
+ if (secondary.some((s) => s.kind === "area")) return;
801
+ let values = secondary.flatMap((s) => s.vals.flatMap((val) => val.v === null ? [] : [val.v]));
802
+ if (valueLine && values.push(valueLine.lo, valueLine.hi), values.length === 0) return;
803
+ let lo = Math.min(...values), hi = Math.max(...values);
804
+ if (!(columnTop > 0)) return;
805
+ let best;
806
+ for (let step2 of ladderSteps(columnTop / 4, columnTop, PRIMARY_MANTISSAS)) {
807
+ let n2 = Math.ceil(columnTop / step2 - 1e-9);
808
+ if (n2 < 2 || n2 > 4) continue;
809
+ let top = roundTick(n2 * step2);
810
+ (!best || top < best.top - 1e-9 || Math.abs(top - best.top) <= 1e-9 && step2 < best.step) && (best = { step: step2, top, n: n2 });
811
+ }
812
+ if (!best) return;
813
+ let { step, n } = best, pticks = Array.from({ length: n + 1 }, (_, i) => roundTick(i * step)), dHi = pticks[pticks.length - 1] / FLOAT_COLUMN_SHARE, low = Math.min(0.75, Math.max(FLOAT_LINE_LOW, columnTop / dHi + clearance)), pad = hi > lo ? 0 : Math.abs(hi) * 0.1 || 1;
814
+ return { primary: { dLo: 0, dHi, pticks }, secondaryDomain: [lo - pad, hi + pad], range: [dHi * low, dHi] };
815
+ }
816
+ var FLAT_LINE_SHARE = 0.02;
817
+ function warnFlatLines(data, options, dataSeries, primary, secondaryActive, warnings) {
818
+ let span = primary.dHi - primary.dLo;
819
+ if (!(!(span > 0) || dataSeries.length < 2))
820
+ for (let s of dataSeries) {
821
+ if (s.kind === "column" || s.axis === "secondary" && secondaryActive) continue;
822
+ let values = s.vals.flatMap((val) => val.v === null ? [] : [val.v]);
823
+ if (values.length < 2) continue;
824
+ let range = Math.max(...values) - Math.min(...values);
825
+ if (!(range > 0) || range / span >= FLAT_LINE_SHARE) continue;
826
+ let index = data.series.findIndex((series) => series.id === s.id);
827
+ if (index < 0) continue;
828
+ let share = Math.round(range / span * 1e3) / 10;
829
+ warnings.push({
830
+ code: "line-flat-on-scale",
831
+ severity: "warn",
832
+ message: `line '${s.id}' spans ${share}% of the value scale it shares with larger series, so it draws flat and its moves are not visible`,
833
+ suggest: `put '${s.id}' on its own scale: axis: 'secondary' and options.secondaryAxis.acknowledge: true`,
834
+ field: ["data", "series", index],
835
+ fix: [
836
+ { op: "add", path: `/data/series/${index}/axis`, value: "secondary" },
837
+ options.secondaryAxis === void 0 || "ruler" in options.secondaryAxis ? { op: "add", path: "/options/secondaryAxis", value: { acknowledge: !0 } } : { op: "add", path: "/options/secondaryAxis/acknowledge", value: !0 }
838
+ ]
839
+ });
840
+ }
770
841
  }
771
842
  function zeroAlignedAxes(primary, secondary) {
772
843
  let { pticks } = primary, n = pticks.length, zero = pticks.findIndex((t) => Math.abs(t) < 1e-9), p = n > 1 ? pticks[1] - pticks[0] : 0;
@@ -789,7 +860,7 @@ function dualAxisAnatomy(options, secondaryActive, theme) {
789
860
  let pinned = options.secondaryAxis?.domain !== void 0;
790
861
  return !secondaryActive || pinned ? !1 : options.dualAxis?.anatomy ?? theme?.valueAxis?.dualAxis === !0;
791
862
  }
792
- function averageMarkerMean(options, cats, columns, lines, warnings, adds) {
863
+ function comboAverageRun(options, cats, columns, lines, warnings, adds) {
793
864
  let scope = averageMarkerScope(options.averageMarker);
794
865
  if (scope === void 0) return;
795
866
  let lineIds = scope === "all" ? [] : scope.filter((id) => lines.some((s) => s.id === id));
@@ -801,15 +872,12 @@ function averageMarkerMean(options, cats, columns, lines, warnings, adds) {
801
872
  });
802
873
  let selected = columns.filter((s) => scope === "all" || scope.includes(s.id));
803
874
  if (averageOfUnaddedSums(adds(selected), warnings)) return;
804
- let stacks = cats.flatMap((_, ci) => {
805
- let values = selected.flatMap((s) => s.vals[ci]?.v == null ? [] : [s.vals[ci].v]);
806
- return values.length > 0 ? [values.reduce((sum, v) => sum + v, 0)] : [];
807
- });
808
- if (stacks.length === 0) {
875
+ let run = averageMarkerMean(options.averageMarker, "all", cats, !0, selected, (s, _, ci) => s.vals[ci]?.v ?? null);
876
+ if (run.mean === void 0) {
809
877
  warnings.push({ code: "average-marker-empty", severity: "warn", message: "averageMarker scope has no plotted values; marker omitted" });
810
878
  return;
811
879
  }
812
- return stacks.reduce((sum, v) => sum + v, 0) / stacks.length;
880
+ return run;
813
881
  }
814
882
  function comboAnomalyModel(spec, cats, lines, secondary, primary, pctFmt, locale, warnings, strings) {
815
883
  let lineSeries = lines.filter((s) => s.kind === "line");
@@ -827,7 +895,7 @@ function comboAnomalyModel(spec, cats, lines, secondary, primary, pctFmt, locale
827
895
  });
828
896
  return { ...anomalyModel(spec, present, fmt, statFmt, locale, warnings, strings), seriesId: series.id, statFmt, onSecondary };
829
897
  }
830
- var TOTALS_AXIS = /* @__PURE__ */ Symbol("boardplot.comboTotalsAxis"), SECONDARY_FULL_DOMAIN = /* @__PURE__ */ Symbol("boardplot.secondaryFullDomain"), LINE_BAND_CLEARANCE = /* @__PURE__ */ Symbol("boardplot.lineBandClearance");
898
+ var TOTALS_AXIS = /* @__PURE__ */ Symbol("boardplot.comboTotalsAxis"), SECONDARY_FULL_DOMAIN = /* @__PURE__ */ Symbol("boardplot.secondaryFullDomain"), LINE_BAND_CLEARANCE = /* @__PURE__ */ Symbol("boardplot.lineBandClearance"), FLOAT_BAND_CLEARANCE = /* @__PURE__ */ Symbol("boardplot.floatBandClearance");
831
899
  function secondaryPrimaryRange(options, secondary, fallback) {
832
900
  let mapped = options[SECONDARY_FULL_DOMAIN], authored = options.secondaryAxis?.domain;
833
901
  if (!mapped || !authored) return [fallback[0], fallback[fallback.length - 1]];
@@ -845,17 +913,17 @@ function resolveComboDomain(data, options, warnings, theme) {
845
913
  let columns = dataSeries.filter((s) => s.kind === "column"), lines = dataSeries.filter((s) => s.kind !== "column"), chartInterpolation = options.interpolate ?? "linear", gate = comboAxisGate(options, seriesNorm, columns, lines, warnings), { secondaryActive } = gate;
846
914
  comboUnitConflicts(options, seriesNorm, dataSeries, secondaryActive, warnings);
847
915
  let rasterFor = (axis) => {
848
- let group = seriesNorm.filter((s) => (s.axis ?? "primary") === axis), units = new Set(group.map((s) => s.unit)), shared2 = units.size === 1 ? [...units][0] : void 0;
916
+ let group = seriesNorm.filter((s) => (s.axis ?? "primary") === axis), units = new Set(group.map((s) => s.unit)), printed = axis === "primary" && options.format ? seriesNorm.filter((s) => !s.format) : group, shared2 = units.size === 1 ? [...units][0] : void 0;
849
917
  return seriesRasterFormatter(
850
918
  axis === "primary" ? options.format : void 0,
851
- group.flatMap((s) => s.vals.filter((val) => !val.isPct).map((val) => val.v)),
919
+ printed.flatMap((s) => s.vals.filter((val) => !val.isPct).map((val) => val.v)),
852
920
  options.locale?.language,
853
921
  axis === "primary" ? options.unit ?? shared2 : shared2,
854
922
  options.target,
855
923
  axis === "primary" ? options.defaultFormat : void 0,
856
924
  columns.length > 1
857
925
  );
858
- }, valueSpec = rasterFor("primary"), fmt = valueSpec.fmt, secondarySpec = secondaryActive ? rasterFor("secondary") : valueSpec, pctFmt = percentRasterFormatter(seriesNorm.flatMap((s) => s.vals.filter((val) => val.isPct).map((val) => val.v)), options.locale?.language), sourceMean = options.viewDomain || options.window ? columns.length > 0 && cats.length > 0 ? columns.reduce((sum, series) => sum + series.vals.reduce((n, value) => n + (value.v ?? 0), 0), 0) / cats.length : primaryLineMean(lines.map((s) => ({ s, pts: [] })), secondaryActive) : void 0, addsOver = (series) => stackAdds(series.map((s) => ({ label: s.label, unit: s.unit, pctCells: s.vals.some((val) => val.isPct) })), options.unit, void 0), columnsAdd = addsOver(columns), averageMean = averageMarkerMean(options, cats, columns, lines, warnings, addsOver), anomalyRun = options.anomaly ? comboAnomalyModel(options.anomaly, cats, lines, secondarySpec, valueSpec, pctFmt, options.locale?.language, warnings, options.strings) : void 0, population = applyCategoryViewport({
926
+ }, valueSpec = rasterFor("primary"), fmt = valueSpec.fmt, secondarySpec = secondaryActive ? rasterFor("secondary") : valueSpec, pctFmt = percentRasterFormatter(seriesNorm.flatMap((s) => s.vals.filter((val) => val.isPct).map((val) => val.v)), options.locale?.language), sourceMean = options.viewDomain || options.window ? columns.length > 0 && cats.length > 0 ? columns.reduce((sum, series) => sum + series.vals.reduce((n, value) => n + (value.v ?? 0), 0), 0) / cats.length : primaryLineMean(lines.map((s) => ({ s, pts: [] })), secondaryActive) : void 0, addsOver = (series) => stackAdds(series.map((s) => ({ label: s.label, unit: s.unit, pctCells: s.vals.some((val) => val.isPct) })), options.unit, void 0), columnsAdd = addsOver(columns), averageRun = comboAverageRun(options, cats, columns, lines, warnings, addsOver), anomalyRun = options.anomaly ? comboAnomalyModel(options.anomaly, cats, lines, secondarySpec, valueSpec, pctFmt, options.locale?.language, warnings, options.strings) : void 0, population = applyCategoryViewport({
859
927
  domain: options.viewDomain,
860
928
  window: options.window,
861
929
  categories: cats,
@@ -864,7 +932,9 @@ function resolveComboDomain(data, options, warnings, theme) {
864
932
  basis: [],
865
933
  targets: [],
866
934
  annotations: options.annotations
867
- }), meanSpan = viewportMeanSpan(population), shown = population ? population.annotations : options.annotations, marker = averageMean === void 0 ? void 0 : { ...averageMarkerLine(shown ?? [], averageMean, (v) => formatStatWithSpec(v, valueSpec.spec), meanSpan(), options.strings?.average), side: "right" }, averageMarkerId = marker?.id, annotations = marker ? [...shown ?? [], marker] : shown, effective = population ? liveWindowOptions({ ...options, annotations }, population.sampling) : marker ? { ...options, annotations } : options, { stackTotals, posTop, negBot, anyByCat, lo: stackLo, hi: stackHi } = comboStacks(cats, columns), incompleteCats = new Set(cats.filter((_, ci) => anyByCat[ci] && columns.some((s) => s.vals[ci].v === null)).map((c) => c.id));
935
+ });
936
+ checkPointBudget(cats.length, seriesNorm.length, COMBO_LIMIT, "a combo chart");
937
+ let meanSpan = viewportMeanSpan(population), shown = population ? population.annotations : options.annotations, marker = averageRun === void 0 ? void 0 : { ...averageMarkerLine(shown ?? [], averageRun.mean, (v) => formatStatWithSpec(v, valueSpec.spec), averageMarkerSpan(averageRun, meanSpan), options.strings?.average), side: "right" }, averageMarkerId = marker?.id, annotations = marker ? [...shown ?? [], marker] : shown, effective = population ? liveWindowOptions({ ...options, annotations }, population.sampling) : marker ? { ...options, annotations } : options, { stackTotals, posTop, negBot, anyByCat, lo: stackLo, hi: stackHi } = comboStacks(cats, columns), incompleteCats = new Set(cats.filter((_, ci) => anyByCat[ci] && columns.some((s) => s.vals[ci].v === null)).map((c) => c.id));
868
938
  columnsAdd && warnIncompleteStacks(
869
939
  "stacked",
870
940
  cats,
@@ -889,7 +959,7 @@ function resolveComboDomain(data, options, warnings, theme) {
889
959
  });
890
960
  });
891
961
  });
892
- let lo = stackLo, hi = stackHi, sLoRaw = 0, sHiRaw = 0;
962
+ let lo = stackLo, hi = stackHi, pinnedSecondary = secondaryActive && !lines.some((s) => s.axis === "secondary" && s.kind === "area") ? gate.secOpt?.domain : void 0, sLoRaw = pinnedSecondary?.[0] ?? 0, sHiRaw = pinnedSecondary?.[1] ?? 0;
893
963
  for (let s of [...lines, ...refs]) {
894
964
  let secondary = s.axis === "secondary" && secondaryActive && s.role !== "reference";
895
965
  for (let val of s.vals)
@@ -903,7 +973,7 @@ function resolveComboDomain(data, options, warnings, theme) {
903
973
  let mapped = secondaryPrimaryRange(options, [sLoRaw, sHiRaw], [lo, hi]);
904
974
  lo = Math.min(lo, mapped[0]), hi = Math.max(hi, mapped[1]);
905
975
  }
906
- let primary = primaryDomain(effective, gate, { lo, hi, dataHi }, fmt, warnings), anatomyRequested = dualAxisAnatomy(options, secondaryActive, theme), pinnedBy = [options.valueAxis?.min !== void 0 ? "valueAxis.min" : "", options.valueAxis?.max !== void 0 ? "valueAxis.max" : ""].filter(Boolean), negative = lo < 0 || sLoRaw < 0, anatomy = anatomyRequested && pinnedBy.length === 0 && !negative;
976
+ let primary = primaryDomain(effective, gate, { lo, hi, dataHi }, fmt, warnings), anatomyRequested = dualAxisAnatomy(options, secondaryActive, theme), pinnedBy = [options.valueAxis?.min !== void 0 ? "valueAxis.min" : "", options.valueAxis?.max !== void 0 ? "valueAxis.max" : "", primary.stepTicks ? "valueAxis.tickStep" : ""].filter(Boolean), negative = lo < 0 || sLoRaw < 0, anatomy = anatomyRequested && pinnedBy.length === 0 && !negative;
907
977
  anatomyRequested && !anatomy && warnings.push({
908
978
  code: "dual-axis-anatomy-off",
909
979
  severity: "info",
@@ -920,16 +990,36 @@ function resolveComboDomain(data, options, warnings, theme) {
920
990
  clearance: options[LINE_BAND_CLEARANCE]
921
991
  } : void 0, shared = lineBandScaleInput ? dualAxisScales(lineBandScaleInput) : void 0;
922
992
  shared && (primary = { dLo: 0, dHi: shared.pticks[shared.pticks.length - 1], pticks: shared.pticks });
993
+ let floatOver = (clearance) => hi <= maxOf(posTop) ? floatedLineScales(maxOf(posTop), lines, secondaryLine, clearance) : void 0, floated = lineBandScaleInput && !shared ? floatOver(options[FLOAT_BAND_CLEARANCE] ?? lineBandScaleInput.clearance ?? LINE_CLEARANCE) : void 0;
994
+ floated && (primary = floated.primary), warnFlatLines(data, options, dataSeries, primary, secondaryActive, warnings);
923
995
  let aligned = secondaryActive && !shared && !gate.secOpt?.domain && pinnedBy.length === 0 && negative ? zeroAlignedAxes(primary, { lo: sLoRaw, hi: sHiRaw }) : void 0;
924
996
  aligned && (primary = aligned.primary);
925
- let right = rightAxis(
997
+ let right = floated ? {
998
+ secFmtSrc: rightAxis(effective, gate, { lo: sLoRaw, hi: sHiRaw }, primary, secondarySpec).secFmtSrc,
999
+ secondaryDomain: floated.secondaryDomain,
1000
+ rightTicks: []
1001
+ } : rightAxis(
926
1002
  effective,
927
1003
  gate,
928
1004
  { lo: sLoRaw, hi: sHiRaw },
929
1005
  primary,
930
1006
  secondarySpec,
931
1007
  shared ? { step: shared.secondaryStep, start: 0 } : aligned?.secondary
932
- ), fmtSecondary = secondarySpec.fmt, beforeCorridor = warnings.slice(), anomalyFor = (left, rightDomain, out) => {
1008
+ ), fmtSecondary = secondarySpec.fmt, beforeCorridor = warnings.slice(), squeezeWarning = () => ({
1009
+ code: "dual-axis-columns-squeezed",
1010
+ severity: "info",
1011
+ message: "the line runs over the columns on every pair of scales that keeps them a third of the plot high, so the columns shrink below a third of the plot to leave the line a clear band",
1012
+ suggest: "split the chart in two, or pin secondaryAxis.domain to choose the secondary scale yourself"
1013
+ });
1014
+ shared?.squeezed && warnings.push(squeezeWarning());
1015
+ let floatWarning = () => ({
1016
+ code: "dual-axis-line-floated",
1017
+ severity: "info",
1018
+ message: "the line runs over the columns on every pair of scales that starts at zero, so it takes the upper part of the plot on its own scale from its low to its high, and its values print in place of the right ticks",
1019
+ suggest: "set dualAxis.anatomy: false for the shared scales, or pin secondaryAxis.domain to choose the secondary scale yourself"
1020
+ });
1021
+ floated && warnings.push(floatWarning());
1022
+ let anomalyFor = (left, rightDomain, out) => {
933
1023
  let extent = anomalyRun?.onSecondary ? rightDomain : [left.dLo, left.dHi];
934
1024
  return anomalyRun && extent && {
935
1025
  model: anomalyRun.anomaly,
@@ -946,10 +1036,11 @@ function resolveComboDomain(data, options, warnings, theme) {
946
1036
  lines,
947
1037
  refs,
948
1038
  secondaryActive,
949
- secondaryTicksHidden: secondaryActive && (options.secondaryAxis?.show === !1 || ticksFromLabels),
1039
+ secondaryTicksHidden: secondaryActive && (options.secondaryAxis?.show === !1 || ticksFromLabels || floated !== void 0),
950
1040
  ticksFromLabels,
951
1041
  anatomy,
952
- lineBand: shared !== void 0,
1042
+ lineBand: shared !== void 0 || floated !== void 0,
1043
+ ...floated ? { lineFloat: { range: floated.range } } : {},
953
1044
  // Column totals already state the scale. An explicit axis still wins, and the axis comes
954
1045
  // back when a total found no seat (TOTALS_AXIS): then the totals no longer state it.
955
1046
  showPrimaryAxis: options.valueAxis?.show ?? (ticksFromLabels ? !1 : secondaryActive || options.labels === !1 || options[TOTALS_AXIS] === !0 || (columns.length > 0 && columnsAdd && (options.labels === void 0 || options.labels.grandTotal !== !1) ? !1 : primaryLinesUnlabelled(options, lines, secondaryActive))),
@@ -970,6 +1061,7 @@ function resolveComboDomain(data, options, warnings, theme) {
970
1061
  stackTotals,
971
1062
  shareTexts,
972
1063
  roundingAdjustments,
1064
+ shareNotes: shareRoundingNotes(options, roundingAdjustments),
973
1065
  incompleteCats,
974
1066
  columnsAdd,
975
1067
  posTop,
@@ -979,26 +1071,22 @@ function resolveComboDomain(data, options, warnings, theme) {
979
1071
  secondaryDomain: right.secondaryDomain,
980
1072
  rightTicks: ticksFromLabels ? [] : right.rightTicks
981
1073
  };
982
- return lineBandScaleInput && (resolved.withLineBandClearance = (clearance) => {
983
- let next = dualAxisScales({ ...lineBandScaleInput, clearance });
984
- if (shared?.secondaryStep === next?.secondaryStep && shared?.pticks.length === next?.pticks.length && !shared?.pticks.some((tick, i) => tick !== next.pticks[i])) return;
985
- let left = next ? { dLo: 0, dHi: next.pticks[next.pticks.length - 1], pticks: next.pticks } : defaultPrimary, right2 = rightAxis(
986
- effective,
987
- gate,
988
- { lo: sLoRaw, hi: sHiRaw },
989
- left,
990
- secondarySpec,
991
- next ? { step: next.secondaryStep, start: 0 } : void 0
992
- ), nextWarnings = [...beforeCorridor], axes = next || !resolved.ticksFromLabels ? {} : {
1074
+ return lineBandScaleInput && (resolved.withLineBandClearance = (clearance, floatClearance = clearance) => {
1075
+ let next = dualAxisScales({ ...lineBandScaleInput, clearance }), nextFloat = next ? void 0 : floatOver(floatClearance);
1076
+ if (shared?.secondaryStep === next?.secondaryStep && shared?.pticks.length === next?.pticks.length && !shared?.pticks.some((tick, i) => tick !== next.pticks[i]) && floated?.range[0] === nextFloat?.range[0]) return;
1077
+ let left = next ? { dLo: 0, dHi: next.pticks[next.pticks.length - 1], pticks: next.pticks } : nextFloat?.primary ?? defaultPrimary, right2 = nextFloat ? { secondaryDomain: nextFloat.secondaryDomain, rightTicks: [] } : rightAxis(effective, gate, { lo: sLoRaw, hi: sHiRaw }, left, secondarySpec, next ? { step: next.secondaryStep, start: 0 } : void 0), nextWarnings = [...beforeCorridor];
1078
+ next?.squeezed && nextWarnings.push(squeezeWarning()), nextFloat && nextWarnings.push(floatWarning());
1079
+ let axes = next || !resolved.ticksFromLabels ? {} : {
993
1080
  ticksFromLabels: !1,
994
1081
  showPrimaryAxis: !0,
995
- secondaryTicksHidden: options.secondaryAxis?.show === !1
996
- };
1082
+ secondaryTicksHidden: options.secondaryAxis?.show === !1 || nextFloat !== void 0
1083
+ }, { lineFloat: _drop, ...base } = resolved;
997
1084
  return { domain: {
998
- ...resolved,
1085
+ ...base,
999
1086
  ...left,
1000
1087
  ...axes,
1001
- lineBand: next !== void 0,
1088
+ lineBand: next !== void 0 || nextFloat !== void 0,
1089
+ ...nextFloat ? { lineFloat: { range: nextFloat.range }, secondaryTicksHidden: !0 } : {},
1002
1090
  secondaryDomain: right2.secondaryDomain,
1003
1091
  rightTicks: next && resolved.ticksFromLabels ? [] : right2.rightTicks,
1004
1092
  anomaly: anomalyFor(left, right2.secondaryDomain, nextWarnings)
@@ -1188,7 +1276,7 @@ function axisKeyedSeries(domain) {
1188
1276
  return keyed;
1189
1277
  }
1190
1278
  function comboFrameMargins(env, domain) {
1191
- let { theme, size, measure } = env, { options, dLo, dHi, fmt, secondaryActive } = domain, leftAxisReserve = domain.showPrimaryAxis ? measureValueAxisWidth([dLo, dHi], fmt, theme, measure, 5, domain.valueSpec) : 0, margin = { ...canvasMargin(theme, size.width), ...options.margin }, axisFont = { family: theme.type.family, ...theme.type.axis }, categoryWidth = Math.max(0, maxOf(domain.cats.map((c) => measure(c.label ?? c.id, axisFont).width))) + 4;
1279
+ let { theme, size, measure } = env, { options, dLo, dHi, fmt, secondaryActive } = domain, leftAxisReserve = domain.showPrimaryAxis ? measureValueAxisWidth([dLo, dHi], fmt, theme, measure, 5, domain.valueSpec, domain.stepTicks) : 0, margin = { ...canvasMargin(theme, size.width), ...options.margin }, axisFont = { family: theme.type.family, ...theme.type.axis }, categoryWidth = Math.max(0, maxOf(domain.cats.map((c) => measure(c.label ?? c.id, axisFont).width))) + 4;
1192
1280
  if (domain.cats.length > 0 && categoryWidth > (size.width - margin.left - margin.right - leftAxisReserve) / domain.cats.length) {
1193
1281
  let gutter = measure("0", axisFont).height;
1194
1282
  options.margin?.left === void 0 && (margin.left = Math.min(margin.left, gutter)), options.margin?.right === void 0 && (margin.right = Math.min(margin.right, gutter));
@@ -1235,7 +1323,9 @@ function solveComboFrame(env, domain, paints, warnings, eventKey) {
1235
1323
  // The growth statements on a card, where the column beside the plot would cost it the width.
1236
1324
  ...growthNote === void 0 ? [] : [growthNote],
1237
1325
  // Two scales without tick columns: the note says each series reads on its own.
1238
- ...domain.secondaryActive && domain.ticksFromLabels === !0 ? [disclosureNote(chartString2(options, "comboOwnScale"))] : []
1326
+ ...domain.secondaryActive && domain.ticksFromLabels === !0 ? [disclosureNote(chartString2(options, "comboOwnScale"))] : [],
1327
+ // Moved shares matter only where the segments print them.
1328
+ ...contentOf(domain, "segment", ["absolute"])?.includes("percent") ? domain.shareNotes : []
1239
1329
  ],
1240
1330
  legend,
1241
1331
  ...eventKey ? { eventKey } : {},
@@ -1272,7 +1362,7 @@ function kindSetting(domain, kind) {
1272
1362
  return v === void 0 ? !0 : v;
1273
1363
  }
1274
1364
  function composeLines(domain, content, value, catLabel, serLabel, serFmt) {
1275
- let { abs, isPct, share } = value, explicit = value.format ? formatterFromExample(value.format, domain.options.locale?.language) : void 0, parts = [];
1365
+ let { abs, isPct, share } = value, explicit = value.format ? value.format === domain.options.format ? domain.fmt : formatterFromExample(value.format, domain.options.locale?.language) : void 0, parts = [];
1276
1366
  for (let c of content)
1277
1367
  c === "absolute" && abs !== null ? parts.push([c, explicit ? explicit(abs) : isPct ? domain.pctFmt(abs) : serFmt(abs)]) : c === "percent" && abs !== null && isPct ? parts.push([c, explicit ? explicit(abs) : domain.pctFmt(abs)]) : c === "percent" && share !== void 0 && share !== null ? parts.push([c, value.shareText ?? formatShare(share, domain.options.locale?.language)]) : c === "category" && catLabel ? parts.push([c, catLabel]) : c === "series" && serLabel && parts.push([c, serLabel]);
1278
1368
  return valueShareLines(parts);
@@ -1325,7 +1415,7 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1325
1415
  pushAll(warnings, axisTitles.warnings);
1326
1416
  let hasCagr = (domain.options.annotations ?? []).some((a) => a.kind === "cagr"), forecast = comboForecastBoundaries(domain), forecastRow = forecast.length > 0 ? measure(options.strings.forecastHeader, secondaryFont(theme)).height + 8 : 0, stair = staircaseOn(options.categoryLabels, options) && columns.length > 0 && kindSetting(domain, "category") !== !1 && cats.length > 1, cagrRoom = Math.max(16, 39 - axisTitles.height), topPad = 8 + axisTitles.height + forecastRow + totalsRow + (hasCagr ? cagrRoom : 0) + (stair ? staircaseState(options).pad : 0);
1327
1417
  hasCagr && cagrRoom < 30 && recordFreedChrome(frame.frame, "cagr-headroom", 30 - cagrRoom);
1328
- let pointContent = contentOf(domain, "point", ["absolute"]), valueLabels = comboValueLabels(options, domain.anatomy, domain.cats.length), texts = prepareComboEndpointTexts(
1418
+ let pointContent = contentOf(domain, "point", ["absolute"]), valueLabels = comboValueLabels(options, domain.anatomy, domain.cats.length, domain.lineFloat !== void 0), texts = prepareComboEndpointTexts(
1329
1419
  lines,
1330
1420
  (series, ci) => {
1331
1421
  let value = series.vals[ci];
@@ -1393,7 +1483,9 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1393
1483
  });
1394
1484
  direction === "left" && (plotX0 += room), plotW0 -= room;
1395
1485
  }
1396
- let band = bandFor(plotX0, plotW0), categoryNames = cats.map((category) => category.label ?? category.id), periodRow = cats.some((category) => category.calendar) || isDateNumericTickSequence(categoryNames) || calendarLike(categoryNames) || categoryNames.every((label) => /^[MWT]\d+$/i.test(label)), planRow = (b, ticked2) => {
1486
+ let band = bandFor(plotX0, plotW0), categoryNames = cats.map((category) => category.label ?? category.id), periodRow = cats.some((category) => category.calendar) || isDateNumericTickSequence(categoryNames) || calendarLike(categoryNames) || categoryNames.every((label) => /^[MWT]\d+$/i.test(label)), authored = authoredDateTicks(cats, options, warnings);
1487
+ bandedCrossesBetween(options, warnings);
1488
+ let planRow = (b, ticked2) => {
1397
1489
  let row = categoryLabelsAndMarks(cats, { count: authoredFootnoteCount(options), warnings }, partialAxisWords(options.strings, options, frame.legend?.items.some((item) => item.id === "__partial") || partialNamedOnTotals(env, domain)));
1398
1490
  return ticked2?.name(row), withCategoryRanks(planCategoryRow({
1399
1491
  rotate: !cats.every((c) => MONTH_START.exec((c.label ?? c.id).trim())?.[0] === (c.label ?? c.id).trim()),
@@ -1407,6 +1499,7 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1407
1499
  centers: cats.map((_, ci) => b.center(ci)),
1408
1500
  step: b.step,
1409
1501
  fonts: [tickFont, { ...tickFont, size: tickFont.size - scaleTextPx(1, textScaleOf(options)) }, { family: theme.type.family, ...theme.type.footnote }],
1502
+ stepToFloor: !0,
1410
1503
  secondary: secondaryFont(theme),
1411
1504
  periods: periodRow,
1412
1505
  padding: 4,
@@ -1417,10 +1510,12 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1417
1510
  // Without the rank key, nominal names keep one name per column (rotate, then ellipsis).
1418
1511
  // Under notes.show 'ranks' alone a cut name takes no mark, since its note does not print.
1419
1512
  ...disclosuresShown(options) ? { cutMarkFrom: authoredFootnoteCount(options) + 1 } : rankKeyShown(options) ? {} : { everyName: !0 },
1420
- ...ticked2?.plan
1513
+ ...ticked2?.plan,
1514
+ // An authored interval counts back from the latest period, as on a line.
1515
+ ...ticked2 !== void 0 && ticked2 === authored ? { ordered: !0, strideFromEnd: !0 } : {}
1421
1516
  }), measure, cats.map((c) => c.label ?? c.id), options[FORCE_CATEGORY_RANKS] === !0, rankKeyShown(options));
1422
- }, catPlan = planRow(band), ticked = options[CATEGORY_ROW_FROM_END] === !1 ? void 0 : longDayMonths(cats, catPlan.stride, options.locale?.language);
1423
- ticked && (catPlan = planRow(band, ticked));
1517
+ }, catPlan = planRow(band, authored), ticked = authored ?? (options[CATEGORY_ROW_FROM_END] === !1 ? void 0 : longDayMonths(cats, catPlan.stride, options.locale?.language));
1518
+ ticked && ticked !== authored && (catPlan = planRow(band, ticked));
1424
1519
  let catOverhang = stair ? 0 : rotatedLeftOverhang(catPlan, cats.map((_, ci) => band.center(ci)), 4);
1425
1520
  catOverhang > 0 && (plotX0 += catOverhang, plotW0 -= catOverhang, band = bandFor(plotX0, plotW0), catPlan = planRow(band, ticked));
1426
1521
  let showCatTickRow = kindSetting(domain, "category") !== !1 && cats.length > 0 && !stair;
@@ -1436,7 +1531,7 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1436
1531
  h: plotHeightAfter(frame, size.height, plotH0 - hangingReserve)
1437
1532
  }, minPlot = plotFloorRows(options) * measure("0", labelFont).height + 8;
1438
1533
  frame.frame.plotMinHeight = Math.max(frame.frame.plotMinHeight ?? 0, size.height + (frame.deficit ?? 0) + minPlot - (plotH0NoBand - hangingReserveNoBand)), showPrimaryAxis && (plot.x += leftAxisReserve, plot.w = Math.max(10, plot.w - leftAxisReserve)), plot.w = Math.max(10, plot.w - rightReserve);
1439
- let { dLo, dHi, pticks, secondaryDomain } = domain, secondaryRange = secondaryDomain ? secondaryPrimaryRange(options, secondaryDomain, pticks) : void 0, endpointAir = columns.length === 0 || !(dHi > dLo) || sharesOnColumns ? 0 : Math.max(
1534
+ let { dLo, dHi, pticks, secondaryDomain } = domain, secondaryRange = secondaryDomain ? domain.lineFloat?.range ?? secondaryPrimaryRange(options, secondaryDomain, pticks) : void 0, endpointAir = columns.length === 0 || !(dHi > dLo) || sharesOnColumns ? 0 : Math.max(
1440
1535
  0,
1441
1536
  maxOf([...texts.first, ...texts.last].flatMap(([id, end]) => {
1442
1537
  let series = lines.find((s) => s.id === id);
@@ -1462,6 +1557,7 @@ function comboPlotArea(env, domain, paints, framed, gutterOverride, warnings) {
1462
1557
  endpointWidth,
1463
1558
  band,
1464
1559
  catPlan,
1560
+ ...authored?.ticks ? { intervalTicks: authored.ticks } : {},
1465
1561
  dateNumericTicks,
1466
1562
  // A date row stays at the plot's bottom band; prose reads under the
1467
1563
  // lowest column and the value or total hanging under it.
@@ -1584,7 +1680,7 @@ function totalColumn(domain, ci) {
1584
1680
  function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes = []) {
1585
1681
  let gtContent = domain.columns.length > 0 && domain.columnsAdd ? contentOf(domain, "grandTotal", ["absolute"]) : null;
1586
1682
  if (!gtContent) return;
1587
- let { posTop, negBot } = domain, { y, band, strongFont } = area, authored = /* @__PURE__ */ new Set(), bare = /* @__PURE__ */ new Set(), linked = new Map(requests.flatMap((req) => req.printedIn ? [[req.printedIn, req.id]] : [])), valueAlone = gtContent.join() === "absolute", backLink = (id, words) => !words && valueAlone && linked.has(id) ? { printedIn: linked.get(id) } : {}, crossesRules = domain.averageMarkerId !== void 0 || (domain.options.annotations ?? []).some((annotation) => annotation.kind === "valueLine"), texts = domain.cats.map((c, ci) => {
1683
+ let { posTop, negBot } = domain, { y, band, strongFont } = area, authored = /* @__PURE__ */ new Set(), bare = /* @__PURE__ */ new Set(), linked = new Map(requests.flatMap((req) => req.printedIn ? [[req.printedIn, req.id]] : [])), valueAlone = gtContent.join() === "absolute", shares = domain.options[FIRST_END_BELOW_TOTALS] === !0, backLink = (id, words) => !words && valueAlone && linked.has(id) ? { printedIn: linked.get(id) } : {}, crossesRules = domain.averageMarkerId !== void 0 || (domain.options.annotations ?? []).some((annotation) => annotation.kind === "valueLine"), texts = domain.cats.map((c, ci) => {
1588
1684
  if (!domain.anyByCat[ci]) return null;
1589
1685
  let single = totalColumn(domain, ci), cell = single?.vals[ci], composed = composeText(domain, gtContent, { abs: domain.stackTotals[c.id], isPct: cell?.isPct ?? !1, format: cell?.format ?? single?.format ?? domain.options.format }, c.label ?? c.id, "", domain.fmt), override = cell?.labelOverride;
1590
1686
  return override === !1 ? null : (typeof override == "string" && authored.add(c.id), namesOnly(cell?.isPct ? gtContent : gtContent.filter((part) => part !== "percent"), override).printsFor && bare.add(c.id), (typeof override == "string" ? override.replace(/\$\{value\}/g, composed) : composed) || null);
@@ -1595,7 +1691,10 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1595
1691
  if (text === null) return null;
1596
1692
  let size = wordsAt(ci, text, font)?.size ?? env.measure(text, font), above = posTop[ci] > 0 || negBot[ci] === 0, edgeY = y(above ? posTop[ci] : negBot[ci]);
1597
1693
  return { x: band.center(ci) - size.width / 2, y: above ? edgeY - size.height - 4 : edgeY + 4, w: size.width, h: size.height };
1598
- }, rowFont = !insideFont && valueRowCrowded(texts.map(outerSeat(strongFont))) ? stepDownFont(env.theme, strongFont, "label", domain.options.target, textScaleOf(domain.options)) : void 0, outerFont = rowFont ?? strongFont, thinned = !insideFont && domain.columns.length > 1 && valueRowCrowded(texts.map(outerSeat(outerFont))), shiftedTop = (ci) => {
1694
+ }, rowFont = !insideFont && valueRowCrowded(texts.map(outerSeat(strongFont))) ? stepDownFont(env.theme, strongFont, "label", domain.options.target, textScaleOf(domain.options)) : void 0, outerFont = rowFont ?? strongFont, crowded = !insideFont && valueRowCrowded(texts.map(outerSeat(outerFont))), thinned = crowded && domain.columns.length > 1, drawnTotals = domain.cats.flatMap((c, ci) => texts[ci] === null || texts[ci] === void 0 ? [] : [{ ci, v: domain.stackTotals[c.id] ?? 0 }]), extremeTotals = new Set(!crowded || !domain.lineFloat || drawnTotals.length < 3 ? [] : [
1695
+ drawnTotals.reduce((a, b) => b.v > a.v ? b : a).ci,
1696
+ drawnTotals.reduce((a, b) => b.v < a.v ? b : a).ci
1697
+ ]), shiftedTop = (ci) => {
1599
1698
  let above = posTop[ci] > 0 || negBot[ci] === 0, h = env.measure(texts[ci], outerFont).height;
1600
1699
  return above ? y(posTop[ci]) - 2 * h - 8 : y(negBot[ci]) + h + 8;
1601
1700
  }, apart = (ci) => [ci - 1, ci + 1].every((n) => {
@@ -1613,7 +1712,7 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1613
1712
  return v !== null && (above ? v > 0 : v < 0);
1614
1713
  });
1615
1714
  return top === void 0 ? 0 : Math.abs(y(top.vals[ci].v) - y(0));
1616
- })(), inside = (dy, slot) => insideDepth >= tsize.height + dy ? { ...at(slot, above ? edgeY + dy : edgeY - tsize.height - dy, 2), ...paints.top(ci, above) } : void 0, named = { noteText: `${domain.columns.length === 1 ? noteName(domain.columns[0]) : chartString(domain.options, "total")} ${text}${words ? ` ${words.lines[1]}` : ""} (${noteName(c)})` };
1715
+ })(), inside = (dy, slot) => insideDepth >= tsize.height + dy ? { ...at(slot, above ? edgeY + dy : edgeY - tsize.height - dy, 2), ...paints.top(ci, above) } : void 0, curveStartsOnTop = ci === 0 && shares && lineYs(ci).some((ly) => Math.abs(ly - edgeY) < 0.5), leftX = cx - LEFT_SEAT_AIR - (curveStartsOnTop ? 2.75 : 0) - tsize.width, leftSeat = ci === 0 && tsize.width + 4 > band.bandwidth && strokes.length > 0 && above && leftX >= LEFT_SEAT_MIN_X ? [{ slot: "aboveStackLeft", rect: { x: leftX, y: edgeY - tsize.height - 4, w: tsize.width, h: tsize.height }, penalty: 2 }] : [], lift = curveStartsOnTop && above ? clearLift({ ...at("aboveStack", edgeY - tsize.height - 4, 0).rect }, strokes, 2 * tsize.height + 4) : void 0, liftedSeat = lift !== void 0 && lift >= 2.75 ? [at("aboveStackLifted", edgeY - tsize.height - 4 - lift - 2, 1)] : [], named = { noteText: `${domain.columns.length === 1 ? noteName(domain.columns[0]) : chartString(domain.options, "total")} ${text}${words ? ` ${words.lines[1]}` : ""} (${noteName(c)})` };
1617
1716
  if (insideFont && above && edgeY + 4 + tsize.height <= y(0)) {
1618
1717
  requests.push({
1619
1718
  id: `grandTotal:${c.id}`,
@@ -1629,7 +1728,7 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1629
1728
  font: insideFont,
1630
1729
  fontStep: insideFont,
1631
1730
  priority: PRIORITY.grandTotal + (env.highlights.has(c.id) ? PRIORITY.highlightBonus : 0),
1632
- candidates: [{ ...at("insideTop", edgeY + 4, 0), ...paints.top(ci, !0) }]
1731
+ candidates: [{ ...at("insideTop", edgeY + 4, 0), ...paints.top(ci, !0), overValueLines: !0 }]
1633
1732
  });
1634
1733
  return;
1635
1734
  }
@@ -1648,18 +1747,15 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1648
1747
  font: outerFont,
1649
1748
  ...rowFont ? { fontStep: rowFont } : {},
1650
1749
  ...thinned && ci % 2 !== (domain.cats.length - 1) % 2 && !env.highlights.has(c.id) ? { redundant: !0, suppressedAs: "density", owed: !0 } : {},
1651
- priority: PRIORITY.grandTotal + (env.highlights.has(c.id) ? PRIORITY.highlightBonus : 0),
1750
+ priority: PRIORITY.grandTotal + (env.highlights.has(c.id) ? PRIORITY.highlightBonus : 0) + (extremeTotals.has(ci) ? EXTREME_TOTAL_BONUS : 0),
1652
1751
  candidates: nearestOwnMarkFirst(
1653
1752
  [
1654
1753
  // An average marker across this seat does not move the total: it
1655
1754
  // crosses the rule on a halo, as on column.
1656
1755
  { ...at(above ? "aboveStack" : "belowStack", above ? edgeY - tsize.height - 4 : edgeY + 4, 0), ...crossesRules ? { overRules: !0 } : {} },
1756
+ ...curveStartsOnTop ? [...leftSeat, ...liftedSeat] : [],
1657
1757
  { ...shiftedClear(at(above ? "aboveStackShifted" : "belowStackShifted", above ? edgeY - 2 * tsize.height - 8 : edgeY + tsize.height + 8, 1), ci), ...crossesRules ? { overRules: !0 } : {} },
1658
- // Type steps: a line that rises from this column's top runs right of its centre;
1659
- // the total then stands left of the line's start, level with its usual seat (pareto at 320: '120').
1660
- // Only the first column (left of any other the total would stand over its neighbour), and only
1661
- // one too narrow to hold its total inside.
1662
- ...ci === 0 && tsize.width + 4 > band.bandwidth && strokes.length > 0 && above && cx - LEFT_SEAT_AIR - tsize.width >= LEFT_SEAT_MIN_X ? [{ slot: "aboveStackLeft", rect: { x: cx - LEFT_SEAT_AIR - tsize.width, y: edgeY - tsize.height - 4, w: tsize.width, h: tsize.height }, penalty: 2 }] : []
1758
+ ...curveStartsOnTop ? [] : leftSeat
1663
1759
  ],
1664
1760
  edgeY,
1665
1761
  lineYs(ci),
@@ -1671,7 +1767,7 @@ function grandTotalLabels(env, domain, area, paints, requests, lineYs, strokes =
1671
1767
  });
1672
1768
  });
1673
1769
  }
1674
- var LEFT_SEAT_AIR = 6, LEFT_SEAT_MIN_X = 8;
1770
+ var EXTREME_TOTAL_BONUS = 50, LEFT_SEAT_AIR = 6, LEFT_SEAT_MIN_X = 8;
1675
1771
  function referenceLabels(env, domain, area, requests) {
1676
1772
  let content = contentOf(domain, "tick", ["absolute", "series"]);
1677
1773
  if (!content) return;
@@ -1705,7 +1801,7 @@ function referenceLabels(env, domain, area, requests) {
1705
1801
  function nearestOwnMarkFirst(outer, edgeY, lineYs, inside, tieIsOwn, insideLast) {
1706
1802
  let own = (c) => {
1707
1803
  let cy = c.rect.y + c.rect.h / 2;
1708
- return lineYs.every((ly) => tieIsOwn && Math.abs(ly - edgeY) < 0.5 || Math.abs(cy - ly) > Math.abs(cy - edgeY));
1804
+ return lineYs.every((ly) => Math.abs(ly - edgeY) < 0.5 ? tieIsOwn : Math.abs(cy - ly) > Math.abs(cy - edgeY));
1709
1805
  };
1710
1806
  return [
1711
1807
  ...outer.filter(own),
@@ -1741,7 +1837,7 @@ function categoryLabels(domain, area, requests) {
1741
1837
  }), pushAll(requests, yearRowRequests(catPlan, area.catRowY + 6));
1742
1838
  }
1743
1839
  function linePointLabels(env, domain, area, geometry, requests, strokes, fills) {
1744
- let { labelFont, frame } = area, labelH = env.measure("0", labelFont).height, mode = comboValueLabels(domain.options, domain.anatomy, domain.cats.length), content = mode === "all" || mode === "extremes" ? contentOf(domain, "point", ["absolute"]) : null, flaggedContent = contentOf(domain, "point", ["absolute"]), anomaly = domain.anomaly, flaggedAt = (s, ci) => anomaly?.seriesId === s.id && anomaly.model.flagByCategory.has(domain.cats[ci].id), strokesOf = new Map(geometry.plans.map((plan) => [plan.s.id, plan.runs.filter((run) => run.length > 0).map((run) => drawnStroke(run, plan.interpolation))])), queriesOf = new Map([...strokesOf.values()].flat().map((stroke) => [stroke, preparePolyline(stroke)]));
1840
+ let { labelFont, frame } = area, labelH = env.measure("0", labelFont).height, mode = comboValueLabels(domain.options, domain.anatomy, domain.cats.length, domain.lineFloat !== void 0), content = mode === "all" || mode === "extremes" ? contentOf(domain, "point", ["absolute"]) : null, flaggedContent = contentOf(domain, "point", ["absolute"]), anomaly = domain.anomaly, flaggedAt = (s, ci) => anomaly?.seriesId === s.id && anomaly.model.flagByCategory.has(domain.cats[ci].id), strokesOf = new Map(geometry.plans.map((plan) => [plan.s.id, plan.runs.filter((run) => run.length > 0).map((run) => drawnStroke(run, plan.interpolation))])), queriesOf = new Map([...strokesOf.values()].flat().map((stroke) => [stroke, preparePolyline(stroke)]));
1745
1841
  for (let { s, pts } of geometry.plans) {
1746
1842
  let own = strokesOf.get(s.id), others = [...strokesOf].flatMap(([id, runs]) => id === s.id ? [] : runs), ownQueries = own.map((stroke) => queriesOf.get(stroke)), otherQueries = others.map((stroke) => queriesOf.get(stroke)), values = pts.map((point) => s.vals[point.ci].v), [min, max] = [minOf(values), maxOf(values)];
1747
1843
  for (let point of pts) {
@@ -1821,11 +1917,14 @@ function applyGrowthInk(labels, area) {
1821
1917
  }
1822
1918
  }
1823
1919
  function planComboLabels(env, domain, area, geometry, paints, warnings) {
1824
- let { frame, labelFont, band } = area, rightAxisActive = domain.rightTicks.length > 0, requests = anchorComboAxisTitles(area.axisTitles, {
1920
+ let { frame, labelFont, band } = area, rightAxisActive = domain.rightTicks.length > 0, anchored = anchorComboAxisTitles(area.axisTitles, {
1825
1921
  left: Number.isFinite(geometry.leftTickX) ? geometry.leftTickX : void 0,
1826
1922
  right: rightAxisActive ? area.rightTickX + area.rightAxisReserve - 10 : void 0,
1827
1923
  rightStart: rightAxisActive ? area.rightTickX : void 0
1828
- }, frame.plot);
1924
+ }, frame.plot), bandTop = domain.lineFloat && domain.showPrimaryAxis ? area.y(domain.pticks[domain.pticks.length - 1]) - env.measure("0", area.tickFont).height / 2 : void 0, requests = anchored.map((request) => {
1925
+ let first = request.candidates[0];
1926
+ return bandTop === void 0 || request.id !== "axis:primary:title" || area.axisTitles.swatches.has(request.id) || !first ? request : { ...request, candidates: [{ ...first, slot: "overBand", rect: { ...first.rect, y: bandTop - 4 - first.rect.h } }, ...request.candidates] };
1927
+ });
1829
1928
  segmentLabels(env, domain, area, geometry, paints, requests, warnings);
1830
1929
  let strokes = comboStrokes(geometry).map(preparePolyline), lineYsByCat;
1831
1930
  grandTotalLabels(env, domain, area, paints, requests, (ci) => {
@@ -1878,7 +1977,20 @@ function comboAxes(ctx) {
1878
1977
  let { env, domain, area, g } = ctx, { plot, y, y0 } = area, tickFont = secondaryFont(env.theme), { nodes, claims } = g, primaryDrawn;
1879
1978
  if (domain.showPrimaryAxis) {
1880
1979
  let axisResult = layoutValueAxis(
1881
- { scale: y, plot, orient: "y", gridlines: domain.options.valueAxis?.gridlines ?? domain.anatomy, format: domain.fmt, formatSpec: domain.valueSpec, theme: env.theme, measure: env.measure, ticks: domain.pticks },
1980
+ {
1981
+ scale: y,
1982
+ plot,
1983
+ orient: "y",
1984
+ gridlines: domain.options.valueAxis?.gridlines ?? domain.anatomy,
1985
+ format: domain.fmt,
1986
+ formatSpec: domain.valueSpec,
1987
+ theme: env.theme,
1988
+ measure: env.measure,
1989
+ ticks: domain.pticks,
1990
+ // A Pareto scaled to its total reads its top row as the total and 100%: thinning keeps that row.
1991
+ // Under a floated line the top tick marks the top of the column band: thinning keeps it.
1992
+ ...domain.options[SECONDARY_FULL_DOMAIN] && Math.abs(domain.pticks.at(-1) - domain.dHi) < 1e-9 || domain.lineFloat ? { keepTopTick: !0 } : {}
1993
+ },
1882
1994
  claims
1883
1995
  );
1884
1996
  pushAll(nodes, axisResult.nodes), g.axes.push(axisResult.axis), primaryDrawn = new Set(axisResult.axis.ticks.flatMap((t) => typeof t.at == "number" ? [t.at] : [])), g.leftTickX = minOf(axisResult.nodes.map((node) => node.t === "text" ? node.x : 1 / 0));
@@ -1911,7 +2023,7 @@ function comboAxes(ctx) {
1911
2023
  by ? (claims.claim(rect, "annotation", { annotationId: by.id }), g.yieldingTicks.push({ labelId, annotationId: by.id, rect })) : claims.claim(rect, "axis", {}), axis2.ticks.push({ at: tv, pos, labelId });
1912
2024
  }), g.axes.push(axis2);
1913
2025
  }
1914
- nodes.push({ t: "line", id: "axis:baseline", x1: plot.x, y1: y0, x2: plot.x + plot.w, y2: y0, stroke: { token: "axis" }, width: strokeToken(env.theme, "rule"), owner: {}, part: "baseline" }), claims.claim({ x: plot.x, y: y0 - 0.5, w: plot.w, h: 1 }, "axis", {});
2026
+ nodes.push({ t: "line", id: "axis:baseline", x1: plot.x, y1: y0, x2: plot.x + plot.w, y2: y0, stroke: { token: "axis" }, width: strokeToken(env.theme, "rule"), owner: {}, part: "baseline" }), claims.claim({ x: plot.x, y: y0 - 0.5, w: plot.w, h: 1 }, "axis", {}), area.intervalTicks && area.showCatTickRow && bandedIntervalTicks(env.theme, domain.cats, area.intervalTicks, (ci) => area.band.center(ci), area.catRowY, nodes, claims);
1915
2027
  }
1916
2028
  function columnMarks(ctx) {
1917
2029
  let { env, domain, area, paints, g } = ctx, { cats, columns, refs } = domain, { band, y } = area, { nodes, claims } = g;
@@ -2189,7 +2301,7 @@ function annotateCombo(env, domain, area, geometry, occupied, solveCtx, labelReq
2189
2301
  }
2190
2302
  if (columns.length === 0) return null;
2191
2303
  let topPlotted = domain.posTop[ci] > 0 ? domain.posTop[ci] : domain.negBot[ci];
2192
- return { x: band.center(ci), y: norm.edge === "start" ? y0 : y(topPlotted), value: domain.stackTotals[c.id], format: columns.length === 1 ? columns[0].format : void 0, ...domain.columnsAdd ? {} : { noValue: NO_STACK_TOTAL }, date: c.date, label: c.label, owner: { categoryId: c.id } };
2304
+ return { x: band.center(ci), y: norm.edge === "start" ? y0 : y(topPlotted), value: domain.stackTotals[c.id], format: columns.length === 1 ? columns[0].format : void 0, ...noTotal(domain.columnsAdd, domain.anyByCat[ci]), date: c.date, label: c.label, owner: { categoryId: c.id } };
2193
2305
  }, lift = area.topPad - area.axisTitles.height - 8, annPlot = { x: plot.x, y: plot.y - lift, w: plot.w, h: plot.h + lift }, ceilingRects = [
2194
2306
  ...area.axisTitles.height > 0 ? [{ x: area.frame.plot.x, y: area.frame.plot.y, w: area.frame.plot.w, h: area.axisTitles.height }] : [],
2195
2307
  ...area.valueLineRows.values()
@@ -2260,12 +2372,12 @@ function assembleComboGeometry(input) {
2260
2372
  columns.length > 0 ? chartString2(domain.options, "stackedColumnSeriesDesc", { v1: columns.length, v2: columns.map((s) => s.label).join(", ") }) : "",
2261
2373
  lines.length > 0 ? chartString2(domain.options, "lineAreaSeriesDesc", { v1: lines.length, v2: lines.map((s) => s.label).join(", ") }) : "",
2262
2374
  refs.length > 0 ? chartString2(domain.options, "referenceSeriesCount", { v1: refs.length }) : ""
2263
- ].filter(Boolean).join(chartString2(domain.options, "plusClause")), totalsAdd = columns.length > 0 && domain.columnsAdd, a11yDesc = chartString2(domain.options, "comboDescStart", { v1: cats.length, v2: partsDesc }) + (domain.secondaryActive ? chartString2(domain.options, "secondaryAxisDesc") : "") + (totalsAdd ? chartString2(domain.options, "columnTotalsSentence", { v1: cats.map((c) => `${c.label ?? c.id} ${fmt(stackTotals[c.id])}`).join(", ") }) : ".") + anomalyA11y({ options: domain.options, anomaly: domain.anomaly, fmt: domain.anomaly ? domain.scaleFmtOf(domain.lines.find((s) => s.id === domain.anomaly.seriesId)) : fmt, cats }), paintWarningRules = [];
2375
+ ].filter(Boolean).join(chartString2(domain.options, "plusClause")), totalsAdd = columns.length > 0 && domain.columnsAdd, a11yDesc = chartString2(domain.options, "comboDescStart", { v1: cats.length, v2: partsDesc }) + (domain.secondaryActive ? chartString2(domain.options, "secondaryAxisDesc") : "") + (totalsAdd ? chartString2(domain.options, "columnTotalsSentence", { v1: cats.map((c, ci) => `${c.label ?? c.id} ${domain.anyByCat[ci] ? fmt(stackTotals[c.id]) : NOT_AVAILABLE}`).join(", ") }) : ".") + anomalyA11y({ options: domain.options, anomaly: domain.anomaly, fmt: domain.anomaly ? domain.scaleFmtOf(domain.lines.find((s) => s.id === domain.anomaly.seriesId)) : fmt, cats }), paintWarningRules = [];
2264
2376
  pushAll(warnings, rectSeriesAdjacentWarnings(nodes, input.paints.css, "vertical", env.highlights, env.theme, { rules: paintWarningRules, before: warnings.filter((warning) => !["pie-ramp-crowded", "likert-ramp-invisible", "band-lightness-insufficient", "series-adjacent-similar", "highlight-reads-as-loss"].includes(warning.code)).length }));
2265
- let catTickMaxLines = catPlan.maxLines, clearance = domain.options[LINE_BAND_CLEARANCE];
2377
+ let catTickMaxLines = catPlan.maxLines, clearance = domain.options[LINE_BAND_CLEARANCE], floatClearance = domain.options[FLOAT_BAND_CLEARANCE];
2266
2378
  return {
2267
2379
  type: "combo",
2268
- ...clearance === void 0 ? {} : { [DENSITY_LAYOUT_OPTIONS]: { [LINE_BAND_CLEARANCE]: clearance } },
2380
+ ...clearance === void 0 ? {} : { [DENSITY_LAYOUT_OPTIONS]: { [LINE_BAND_CLEARANCE]: clearance, [FLOAT_BAND_CLEARANCE]: floatClearance } },
2269
2381
  size: env.size,
2270
2382
  // Bands stretch to the frame, so the layout reports the width its
2271
2383
  // categories actually want and a host can shrink the canvas to it.
@@ -2370,10 +2482,10 @@ function layoutComboFramePass(data, options, gutterOverride, env, domain, paints
2370
2482
  warnings
2371
2483
  }), settled = settle(), area = settled.area;
2372
2484
  if (options[LINE_BAND_CLEARANCE] === void 0) {
2373
- let scaleH = area.y(domain.dLo) - area.y(domain.dHi), mode = comboValueLabels(options, domain.anatomy, domain.cats.length), interiorValues = mode === "all" || mode === "extremes" || domain.anomaly !== void 0, clearance = domain.anatomy && domain.columns.length === 1 && !domain.anomaly && domain.cats.every((c) => env.measure(domain.fmt(domain.stackTotals[c.id] ?? 0), area.labelFont).width + 4 <= area.band.bandwidth) ? 2.75 + 8 : area.gtH + (interiorValues ? env.measure("0", area.labelFont).height + 14 : 8) + (domain.anomaly ? ANOMALY_FLAG_GAP + ANOMALY_FLAG_H : 0);
2485
+ let scaleH = area.y(domain.dLo) - area.y(domain.dHi), mode = comboValueLabels(options, domain.anatomy, domain.cats.length, domain.lineFloat !== void 0), interiorValues = mode === "all" || mode === "extremes" || domain.anomaly !== void 0, insideTotals = domain.anatomy && domain.columns.length === 1 && !domain.anomaly && domain.cats.every((c) => env.measure(domain.fmt(domain.stackTotals[c.id] ?? 0), area.labelFont).width + 4 <= area.band.bandwidth), anomalyRoom = domain.anomaly ? ANOMALY_FLAG_GAP + ANOMALY_FLAG_H : 0, valueRow = env.measure("0", area.labelFont).height + 14, clearance = (insideTotals ? 2.75 + 8 : area.gtH + (interiorValues ? valueRow : 8)) + anomalyRoom, floatClearance = (insideTotals ? 2.75 + 8 : area.gtH) + valueRow + anomalyRoom;
2374
2486
  if (scaleH > 0 && domain.secondaryActive && domain.columns.length > 0) {
2375
- let measured = clearance / scaleH, next = domain.withLineBandClearance?.(measured);
2376
- options = { ...options, [LINE_BAND_CLEARANCE]: measured }, next && (domain = next.domain, domainWarnings = next.warnings, warnings.length = 0, pushAll(warnings, domainWarnings)), domain.options = { ...domain.options, [LINE_BAND_CLEARANCE]: measured }, next && (settled = settle(), area = settled.area);
2487
+ let measured = clearance / scaleH, floatMeasured = floatClearance / scaleH, next = domain.withLineBandClearance?.(measured, floatMeasured);
2488
+ options = { ...options, [LINE_BAND_CLEARANCE]: measured, [FLOAT_BAND_CLEARANCE]: floatMeasured }, next && (domain = next.domain, domainWarnings = next.warnings, warnings.length = 0, pushAll(warnings, domainWarnings)), domain.options = { ...domain.options, [LINE_BAND_CLEARANCE]: measured, [FLOAT_BAND_CLEARANCE]: floatMeasured }, next && (settled = settle(), area = settled.area);
2377
2489
  }
2378
2490
  }
2379
2491
  let occupied = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height });