boardplot 0.58.1 → 0.59.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 (415) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
  3. package/dist/{annotateEngine-57L26X77.js → annotateEngine-DL4KRQ6B.js} +1 -1
  4. package/dist/build-identity.json +3 -3
  5. package/dist/{chunk-54YO56IK.js → chunk-25JXYOSX.js} +1 -1
  6. package/dist/{chunk-HF4BCPIV.js → chunk-266ENWFM.js} +3 -3
  7. package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
  8. package/dist/{chunk-2DS4MT7T.js → chunk-2GVW5WDD.js} +3 -3
  9. package/dist/{chunk-4ROZ4TFL.js → chunk-2HRDOBPS.js} +1 -1
  10. package/dist/chunk-2Q7IAWON.js +18 -0
  11. package/dist/{chunk-PVGJM2HP.js → chunk-33SPSKTP.js} +4 -4
  12. package/dist/{chunk-Z6DUNKFU.js → chunk-3JG764MI.js} +688 -140
  13. package/dist/{chunk-OZLKEBCD.js → chunk-3V7Y7CHI.js} +1 -1
  14. package/dist/{chunk-3BMPYY26.js → chunk-3WC2TA6C.js} +4 -4
  15. package/dist/{chunk-T7PRG6AO.js → chunk-3WFJDXZO.js} +3 -3
  16. package/dist/{chunk-5KAYLRRP.js → chunk-3ZR7ZE64.js} +2 -2
  17. package/dist/{chunk-WW4KLAVO.js → chunk-4DLIXTDH.js} +5 -5
  18. package/dist/{chunk-OQUH7I5T.js → chunk-4EEK4AMC.js} +2 -2
  19. package/dist/{chunk-RLH2CQCD.js → chunk-4LCQO46F.js} +144 -55
  20. package/dist/{chunk-SHYS52VO.js → chunk-4NIIQFDA.js} +147 -104
  21. package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
  22. package/dist/{chunk-645BGVPP.js → chunk-4WH2YGO6.js} +3 -3
  23. package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
  24. package/dist/{chunk-LYAT62UT.js → chunk-4YZQY3AA.js} +1 -1
  25. package/dist/{chunk-VJULLJLN.js → chunk-56CDMSE5.js} +2 -2
  26. package/dist/{chunk-SBKM6XFS.js → chunk-5AXWSGS7.js} +3 -3
  27. package/dist/{chunk-XZXZNI7A.js → chunk-5HOIOQK3.js} +1 -1
  28. package/dist/{chunk-ERDKMZ7O.js → chunk-5OV7VOGV.js} +2 -2
  29. package/dist/{chunk-AICO24HJ.js → chunk-5QMM354E.js} +6 -5
  30. package/dist/{chunk-USMKNNOU.js → chunk-5UXK5BAA.js} +37 -38
  31. package/dist/{chunk-ZB3JIL3L.js → chunk-5YULK4DY.js} +6 -10
  32. package/dist/{chunk-63JUV7NR.js → chunk-5ZE7SHRM.js} +3 -3
  33. package/dist/{chunk-SCAYWQZK.js → chunk-67744WKZ.js} +1 -1
  34. package/dist/{chunk-IFUAPFL5.js → chunk-6CZGFTGK.js} +51 -47
  35. package/dist/{chunk-7YZZCQT3.js → chunk-6IIYLDSQ.js} +3 -3
  36. package/dist/{chunk-JBAVMO56.js → chunk-6TH5NVKS.js} +19 -14
  37. package/dist/{chunk-I5VNHDPR.js → chunk-6TZDPQDE.js} +2 -2
  38. package/dist/{chunk-TMEUK2WS.js → chunk-77L6QGIG.js} +1 -1
  39. package/dist/{chunk-OS7C2KMQ.js → chunk-7IONS4Z7.js} +3 -3
  40. package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
  41. package/dist/{chunk-KI7VCHNZ.js → chunk-7SIZGM5S.js} +78 -53
  42. package/dist/{chunk-G7BCLYL4.js → chunk-7TZIPGFH.js} +8 -6
  43. package/dist/{chunk-76GPN6AT.js → chunk-7UUSHA7H.js} +1 -1
  44. package/dist/{chunk-OZA7HA6L.js → chunk-7UZUXPFM.js} +1 -1
  45. package/dist/{chunk-4DK67I3B.js → chunk-7YJSSPQX.js} +31 -28
  46. package/dist/{chunk-TBZT5WUT.js → chunk-7ZXIHEZS.js} +4 -4
  47. package/dist/{chunk-IMUMPKXF.js → chunk-A3SOYL6F.js} +3 -3
  48. package/dist/{chunk-P3NMDPDP.js → chunk-ADLKZEML.js} +31 -64
  49. package/dist/{chunk-SKPOXLG5.js → chunk-AFQZBCME.js} +4 -4
  50. package/dist/{chunk-TVOMGNFQ.js → chunk-AGR4VJ2Y.js} +1 -1
  51. package/dist/{chunk-2HII2B6S.js → chunk-AH2L44TR.js} +3 -3
  52. package/dist/{chunk-WFBN2HXR.js → chunk-AIPOSNVG.js} +1 -1
  53. package/dist/{chunk-4OJF6DXL.js → chunk-AUSZDYGE.js} +9 -7
  54. package/dist/{chunk-2SWSUNA4.js → chunk-AVYRC2T3.js} +50 -28
  55. package/dist/{chunk-NSMYIUBZ.js → chunk-B5FT4YAX.js} +1 -1
  56. package/dist/{chunk-H3VICNTN.js → chunk-B7UWG6XJ.js} +1 -1
  57. package/dist/{chunk-X3QUASBR.js → chunk-BJJYNTVJ.js} +1 -1
  58. package/dist/{chunk-WKXLJNHW.js → chunk-BOUZKVIY.js} +17 -19
  59. package/dist/{chunk-WUP6C4ZD.js → chunk-BXZNLMMH.js} +1 -1
  60. package/dist/{chunk-OMNB27GM.js → chunk-C26Z5AEW.js} +3 -3
  61. package/dist/{chunk-VC62V7CX.js → chunk-CV5KCQD3.js} +72 -79
  62. package/dist/{chunk-RPGEB3Z5.js → chunk-CX7WUNMO.js} +22 -18
  63. package/dist/{chunk-YJUBX3QF.js → chunk-DANKUHCX.js} +41 -40
  64. package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
  65. package/dist/{chunk-6ALORYH7.js → chunk-DEJ27Y2P.js} +138 -91
  66. package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
  67. package/dist/{chunk-IXU5C3YY.js → chunk-DO7MMF4C.js} +86 -43
  68. package/dist/{chunk-I52OMC5B.js → chunk-DUDVHQD6.js} +7 -7
  69. package/dist/{chunk-4TUU3UGY.js → chunk-DXLWMK24.js} +3 -3
  70. package/dist/{chunk-MALSSEXO.js → chunk-DYD7W3Y6.js} +20 -21
  71. package/dist/{chunk-P5RCP4NK.js → chunk-DZBT7AWJ.js} +2 -2
  72. package/dist/{chunk-YLRAAJYV.js → chunk-E4KHHC46.js} +16 -16
  73. package/dist/{chunk-KUWIRCYJ.js → chunk-E62SXDRT.js} +2 -2
  74. package/dist/{chunk-WOICFLOJ.js → chunk-EADD6NNQ.js} +73 -79
  75. package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
  76. package/dist/{chunk-HM4AJ5U4.js → chunk-EJA5EANI.js} +47 -26
  77. package/dist/{chunk-NFGV5OAR.js → chunk-EWGFOEJB.js} +126 -65
  78. package/dist/{chunk-Y6E4JU3U.js → chunk-EWMPUCIG.js} +37 -37
  79. package/dist/{chunk-GB3RZYTK.js → chunk-EZ5KUBYF.js} +38 -27
  80. package/dist/{chunk-M5LPP2GQ.js → chunk-F2N5BUBK.js} +12 -13
  81. package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
  82. package/dist/{chunk-C4SQU2PB.js → chunk-FB36HSY2.js} +4 -4
  83. package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
  84. package/dist/{chunk-XSC4IXXC.js → chunk-FMVXXKSW.js} +3 -3
  85. package/dist/{chunk-3ESWPMDW.js → chunk-FP3ORYCG.js} +22 -21
  86. package/dist/{chunk-P6DEFCMQ.js → chunk-FWPPZB4G.js} +2 -2
  87. package/dist/{chunk-MSYTF3DZ.js → chunk-FYFXOLWI.js} +116 -89
  88. package/dist/{chunk-SH4UGK5U.js → chunk-GDE2JINW.js} +11 -11
  89. package/dist/{chunk-WDJSDJLV.js → chunk-GEEHXLFQ.js} +7 -6
  90. package/dist/{chunk-EDW5HQND.js → chunk-GGFT6IIM.js} +3 -3
  91. package/dist/{chunk-UBYDY4B7.js → chunk-GIJM4MP4.js} +5 -5
  92. package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
  93. package/dist/{chunk-CFESVCZR.js → chunk-GSHRYDJM.js} +1 -1
  94. package/dist/{chunk-3M2F7KSS.js → chunk-GWDKUKOJ.js} +96 -321
  95. package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
  96. package/dist/{chunk-OUR5ZHCB.js → chunk-HBKZC5BH.js} +2 -2
  97. package/dist/{chunk-23FT7RLN.js → chunk-HC4UW7MB.js} +4 -4
  98. package/dist/{chunk-AMBQ6SWU.js → chunk-HFDU2E7C.js} +27 -21
  99. package/dist/{chunk-ZG4BMJRL.js → chunk-HW67YGJC.js} +1 -1
  100. package/dist/{chunk-FJNZ7NWD.js → chunk-I65BCUVH.js} +3 -3
  101. package/dist/{chunk-VTY6YHQZ.js → chunk-ICERP2YF.js} +3 -3
  102. package/dist/{chunk-G7CXJPEN.js → chunk-ICJUN47O.js} +2 -2
  103. package/dist/{chunk-H4EDDGGX.js → chunk-ID5PE4KM.js} +3 -3
  104. package/dist/{chunk-BQ7SN7AW.js → chunk-IDJVUZAA.js} +3 -3
  105. package/dist/{chunk-O3LT4TAI.js → chunk-IQRRT32Q.js} +2 -2
  106. package/dist/{chunk-WGJIYFVQ.js → chunk-ISMFUWOP.js} +3 -3
  107. package/dist/{chunk-6AVUTZ6W.js → chunk-IX2SLULO.js} +3 -3
  108. package/dist/{chunk-Q2I3QLE3.js → chunk-IXZI4SN4.js} +116 -46
  109. package/dist/chunk-J6LGZPKI.js +89 -0
  110. package/dist/{chunk-CCAAI56H.js → chunk-JF743NNC.js} +7 -0
  111. package/dist/{chunk-YGWPOYDE.js → chunk-JIB74SQS.js} +6 -6
  112. package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
  113. package/dist/{chunk-V7JFT7NQ.js → chunk-JRM22ULA.js} +54 -45
  114. package/dist/{chunk-XSEETONJ.js → chunk-JYSS5ZZF.js} +5 -5
  115. package/dist/{chunk-WLH5IBFY.js → chunk-KRIYGX3N.js} +3 -3
  116. package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
  117. package/dist/{chunk-6YBNVI5I.js → chunk-LADFOYH7.js} +40 -27
  118. package/dist/{chunk-VKNQOSGW.js → chunk-LC4KDLUE.js} +3 -3
  119. package/dist/{chunk-ITEJQHXE.js → chunk-LLECS747.js} +4 -4
  120. package/dist/{chunk-JYSFAH7C.js → chunk-LM4GVVPM.js} +16 -10
  121. package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
  122. package/dist/{chunk-ZBCCJPGW.js → chunk-M2FF4IPF.js} +16 -7
  123. package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
  124. package/dist/{chunk-BHLNSJG7.js → chunk-MOBRWYUQ.js} +2 -2
  125. package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
  126. package/dist/{chunk-MGXHFRQK.js → chunk-MTOBNHAU.js} +2 -2
  127. package/dist/{chunk-DORE2RHL.js → chunk-MYBBZNYN.js} +2 -2
  128. package/dist/{chunk-V7NUJEJE.js → chunk-MZCJ22O4.js} +1 -1
  129. package/dist/{chunk-W2QILXAL.js → chunk-NIL6TYAN.js} +4 -4
  130. package/dist/{chunk-YW35KSXR.js → chunk-NPDF7HEH.js} +2 -2
  131. package/dist/{chunk-SH4FLUAD.js → chunk-NUASZPS7.js} +1 -1
  132. package/dist/{chunk-Z62TJQO5.js → chunk-NWUEA42V.js} +3 -3
  133. package/dist/{chunk-UOOXWGBU.js → chunk-NZGQLR4X.js} +8 -8
  134. package/dist/{chunk-RQKDEJFQ.js → chunk-O32L5FK2.js} +3 -3
  135. package/dist/{chunk-OUNYHYJL.js → chunk-O623CYPA.js} +3 -3
  136. package/dist/{chunk-OELB7MTE.js → chunk-OJR5GPCN.js} +3 -3
  137. package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
  138. package/dist/{chunk-6NGKQNTB.js → chunk-OM5MAJST.js} +68 -57
  139. package/dist/{chunk-AAQWFTDM.js → chunk-OTOASFG4.js} +92 -35
  140. package/dist/{chunk-6JTCFPAD.js → chunk-P3N74SZ5.js} +3 -3
  141. package/dist/{chunk-CKEFAD4R.js → chunk-PHQGGR5O.js} +3 -3
  142. package/dist/{chunk-DUOGEFLG.js → chunk-POHML4N4.js} +107 -50
  143. package/dist/{chunk-KVBLTAO7.js → chunk-PP23D6QV.js} +4 -5
  144. package/dist/{chunk-F2ET5ZTT.js → chunk-PPOUKS24.js} +0 -1
  145. package/dist/{chunk-V7FV66KL.js → chunk-PRVX4PAO.js} +1 -1
  146. package/dist/{chunk-JY4LTPOV.js → chunk-PSUSHJFV.js} +1 -1
  147. package/dist/{chunk-AJGSCVVW.js → chunk-PZZAVTLQ.js} +2 -2
  148. package/dist/{chunk-R5SGE2NS.js → chunk-QDFX2KAP.js} +2 -2
  149. package/dist/{chunk-XC32OSCD.js → chunk-QKDDGDRF.js} +10 -10
  150. package/dist/{chunk-U6QZOMYC.js → chunk-QM6IW5BL.js} +3 -3
  151. package/dist/chunk-QMQZC2KW.js +408 -0
  152. package/dist/{chunk-42QKUSHJ.js → chunk-QXHFELIA.js} +1 -1
  153. package/dist/{chunk-JNDWRV34.js → chunk-R2RLERPT.js} +1 -1
  154. package/dist/{chunk-E5YF236N.js → chunk-R4MVXUAG.js} +1 -1
  155. package/dist/{chunk-XZOFKLTD.js → chunk-REIIGIJG.js} +3 -3
  156. package/dist/{chunk-4M3UADCM.js → chunk-RF2REMRV.js} +6 -6
  157. package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
  158. package/dist/{chunk-TKH655ON.js → chunk-RLX6VODQ.js} +9 -2
  159. package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
  160. package/dist/{chunk-MVR7YKBF.js → chunk-RSDGBNXP.js} +5 -5
  161. package/dist/{chunk-QFNWGSCT.js → chunk-RYYB7REV.js} +3 -3
  162. package/dist/{chunk-LPMSGO7L.js → chunk-SBYKLBDV.js} +3 -3
  163. package/dist/{chunk-JT3UTEWZ.js → chunk-SDAVHADX.js} +2 -2
  164. package/dist/{chunk-AQ2PQ7FK.js → chunk-SE6LBMRJ.js} +137 -62
  165. package/dist/{chunk-3OSQ32GN.js → chunk-SFRMBCVY.js} +3 -3
  166. package/dist/{chunk-AGJ2QL4A.js → chunk-SNJ3FZXC.js} +14 -12
  167. package/dist/{chunk-USSG6TJV.js → chunk-SXCFMPNM.js} +3 -3
  168. package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
  169. package/dist/{chunk-QATOOZMH.js → chunk-T4CFY4YT.js} +4 -4
  170. package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
  171. package/dist/{chunk-BVIJCUWW.js → chunk-TCWJQIVQ.js} +123 -71
  172. package/dist/{chunk-VACZGW5R.js → chunk-TEZWFQB7.js} +7 -7
  173. package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
  174. package/dist/{chunk-MB5EX2YG.js → chunk-TMVERETB.js} +23 -332
  175. package/dist/{chunk-LOXZSTIM.js → chunk-TQFBLSZJ.js} +44 -27
  176. package/dist/{chunk-NT3HCXQC.js → chunk-U4WG46QP.js} +117 -43
  177. package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
  178. package/dist/{chunk-R3VSWOTI.js → chunk-UFGJNSSL.js} +1 -1
  179. package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
  180. package/dist/{chunk-LXH4RPY4.js → chunk-UI2MKLON.js} +1 -1
  181. package/dist/{chunk-3E6NLODZ.js → chunk-UKEI7JDA.js} +1 -1
  182. package/dist/{chunk-6JFQCVNN.js → chunk-USATDW6O.js} +1 -1
  183. package/dist/{chunk-CQBPNE7Z.js → chunk-UTWLJ6AZ.js} +6 -5
  184. package/dist/{chunk-NQPJWQTW.js → chunk-UV77Y7QK.js} +11 -5
  185. package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
  186. package/dist/{chunk-3RXUA6VY.js → chunk-UZDQFUHO.js} +3 -3
  187. package/dist/{chunk-AKZOQGF3.js → chunk-V3XYFLOZ.js} +3 -3
  188. package/dist/{chunk-OQQMDSCC.js → chunk-VGOZOBNB.js} +1 -1
  189. package/dist/{chunk-K7XPTQBJ.js → chunk-VHZ4MXJO.js} +1 -1
  190. package/dist/{chunk-EBWMTQ4U.js → chunk-VLMKGQ33.js} +13 -13
  191. package/dist/{chunk-34PKJZRY.js → chunk-VMLVZW4F.js} +39 -36
  192. package/dist/{chunk-65U6ZBZZ.js → chunk-VT6PDWUA.js} +78 -78
  193. package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
  194. package/dist/{chunk-33EBLJVZ.js → chunk-VVWTD4XP.js} +9 -9
  195. package/dist/{chunk-5CYLT6FJ.js → chunk-VZVPN7NT.js} +3 -3
  196. package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
  197. package/dist/{chunk-35ZJUZUO.js → chunk-W6NEWQZU.js} +20 -18
  198. package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
  199. package/dist/{chunk-P7UOOMXE.js → chunk-WTH3KQDM.js} +2 -2
  200. package/dist/{chunk-CSMVKG2C.js → chunk-WTWM4RK6.js} +1 -1
  201. package/dist/{chunk-W6XSIBLR.js → chunk-WZNO3LUF.js} +3 -3
  202. package/dist/{chunk-QQMESIDA.js → chunk-X3AMBFGF.js} +3 -3
  203. package/dist/{chunk-DHGE46UK.js → chunk-X725AGYP.js} +1 -1
  204. package/dist/{chunk-TX5FSNAU.js → chunk-XAH4EWJT.js} +1 -1
  205. package/dist/{chunk-4DMRIL5K.js → chunk-XETSLYFD.js} +3 -3
  206. package/dist/{chunk-6V3A3MTG.js → chunk-XFDNAR4S.js} +16 -27
  207. package/dist/{chunk-WMQ57FOP.js → chunk-XGTSZ7NC.js} +3 -3
  208. package/dist/{chunk-HAG3K6PQ.js → chunk-XHEG2BG6.js} +1 -1
  209. package/dist/{chunk-D2TQX7UJ.js → chunk-XLX3TUFO.js} +2 -2
  210. package/dist/{chunk-XLLWIHN2.js → chunk-XMII3G47.js} +3 -3
  211. package/dist/{chunk-BSZOQJXB.js → chunk-XRPZJDAK.js} +101 -72
  212. package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
  213. package/dist/{chunk-HO4ILCW7.js → chunk-XUGEYHOQ.js} +2 -2
  214. package/dist/{chunk-OO63YP35.js → chunk-XVFUJRRC.js} +1 -1
  215. package/dist/{chunk-IVDTP6SV.js → chunk-XWGAANY4.js} +3 -3
  216. package/dist/{chunk-IPZJCBWD.js → chunk-XWUHUTXX.js} +24 -18
  217. package/dist/{chunk-WNTUBGBB.js → chunk-XXYV5UEM.js} +50 -49
  218. package/dist/{chunk-7GRR72MY.js → chunk-XZBX6LIC.js} +20 -12
  219. package/dist/{chunk-ZDJ7C64T.js → chunk-Y4BJ7D5F.js} +1 -1
  220. package/dist/{chunk-KW4JXWHO.js → chunk-YDYZWCUQ.js} +1 -1
  221. package/dist/{chunk-ZCHKIR7C.js → chunk-YJN54OZS.js} +52 -41
  222. package/dist/{chunk-X46PSAJ7.js → chunk-YJXIHVNK.js} +2 -2
  223. package/dist/{chunk-UCKUAKYQ.js → chunk-YKYK6C7F.js} +1 -1
  224. package/dist/{chunk-GNMB72V7.js → chunk-YM4MVABU.js} +56 -24
  225. package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
  226. package/dist/{chunk-PNYWBY4K.js → chunk-YOUYJHW3.js} +3 -3
  227. package/dist/{chunk-OTWIW2L3.js → chunk-YPELB4Q7.js} +3 -3
  228. package/dist/{chunk-5I4RPBNE.js → chunk-YRCIG4IO.js} +8 -7
  229. package/dist/{chunk-FPFRLRQO.js → chunk-ZIQR2CNM.js} +7 -7
  230. package/dist/{chunk-H7BCNS5J.js → chunk-ZK22I3NF.js} +3 -3
  231. package/dist/{chunk-A6N24NGW.js → chunk-ZNA4JHHG.js} +2 -2
  232. package/dist/{chunk-VESSIKBG.js → chunk-ZOQRX5V7.js} +4 -4
  233. package/dist/{chunk-FVWHEM2N.js → chunk-ZPQ3VOAE.js} +1 -1
  234. package/dist/{chunk-NZ7FX3AE.js → chunk-ZQ5ILQ5A.js} +1 -1
  235. package/dist/cli/index.js +1 -1
  236. package/dist/{core-LSYX4UQQ.js → core-2PT7IROA.js} +2 -1
  237. package/dist/{core-YN2VVGUL.js → core-34YTH4KN.js} +1 -1
  238. package/dist/{core-7YDNMUU3.js → core-4ZEVWU43.js} +1 -1
  239. package/dist/{core-743ZXTWK.js → core-64EHPUVV.js} +1 -1
  240. package/dist/{core-ZETBHLSV.js → core-6KO5AEUH.js} +1 -1
  241. package/dist/{core-2GWH3ED7.js → core-7WLD237S.js} +1 -1
  242. package/dist/{core-AC5AKSCM.js → core-A2MERE3C.js} +1 -1
  243. package/dist/{core-O5S2NETE.js → core-AVNB2Q3G.js} +2 -1
  244. package/dist/{core-XUNZB6BM.js → core-B7KOBTRL.js} +1 -1
  245. package/dist/{core-HIONDJGC.js → core-BOOD7ZUQ.js} +1 -1
  246. package/dist/{core-3LCSHMKN.js → core-BOU34T23.js} +1 -1
  247. package/dist/{core-VYHQ5JY6.js → core-BQ2I77OF.js} +2 -1
  248. package/dist/{core-HMBMMF5Z.js → core-BSEXRZD6.js} +1 -1
  249. package/dist/{core-Q2Y3JEWL.js → core-CXEEM26F.js} +1 -1
  250. package/dist/{core-7OAGK7ZJ.js → core-EHMPBG6Q.js} +1 -1
  251. package/dist/{core-BEK6EPVF.js → core-FXC4TB2K.js} +1 -1
  252. package/dist/{core-MIERUUUT.js → core-HMS72VO6.js} +1 -1
  253. package/dist/{core-EGTJOQK7.js → core-I2GPMB2B.js} +1 -1
  254. package/dist/{core-XJZWD43V.js → core-IQC6H4A7.js} +1 -1
  255. package/dist/{core-RTBPKALG.js → core-IYEFTP6C.js} +1 -1
  256. package/dist/{core-3XGQBHJI.js → core-J2QTOU4D.js} +1 -1
  257. package/dist/{core-AEALAFRA.js → core-JJLIPTEW.js} +1 -1
  258. package/dist/{core-5CRTPVYA.js → core-LCP44UYI.js} +1 -2
  259. package/dist/{core-BRBJ3LPF.js → core-MBNVENCZ.js} +1 -1
  260. package/dist/{core-VBMWBPKM.js → core-MVIK7FAJ.js} +2 -1
  261. package/dist/{core-TIIPSEK3.js → core-N4OKPNXQ.js} +1 -1
  262. package/dist/{core-FE4THVV3.js → core-Q4IILTGO.js} +1 -1
  263. package/dist/{core-4N6WH3IF.js → core-QCPDOQEJ.js} +2 -1
  264. package/dist/{core-AAPPZSSZ.js → core-RVTF336C.js} +1 -1
  265. package/dist/{core-5K4HRIHX.js → core-VGMMKEU4.js} +1 -1
  266. package/dist/{core-3NQ5TXOJ.js → core-VUVJOMUC.js} +1 -1
  267. package/dist/{core-T7CKLMT2.js → core-VWISBHXE.js} +1 -1
  268. package/dist/{core-YKDDPMWW.js → core-W3UBWZR3.js} +1 -1
  269. package/dist/{core-FEBNVNVE.js → core-XYQRB5WF.js} +1 -1
  270. package/dist/{core-YP4MNIMV.js → core-Y6DJHIYT.js} +1 -1
  271. package/dist/{core-NTOOJZRA.js → core-YHWVJULU.js} +1 -1
  272. package/dist/{core-VLXOQ5CK.js → core-YJXOVNIE.js} +1 -1
  273. package/dist/{dataTable-FEQZSDUZ.js → dataTable-3ZK3ZEZP.js} +3 -2
  274. package/dist/{engine-SCQVNSAM.js → engine-FSWLRWZR.js} +19 -17
  275. package/dist/fixtures.js +1 -1
  276. package/dist/index.js +14 -13
  277. package/dist/{main-7UKLXCIL.js → main-NYMXWJGJ.js} +6 -5
  278. package/dist/mcp/server.js +11 -10
  279. package/dist/react/bar.js +1 -1
  280. package/dist/react/bartable.js +1 -1
  281. package/dist/react/box.js +1 -1
  282. package/dist/react/bullet.js +1 -1
  283. package/dist/react/butterfly.js +1 -1
  284. package/dist/react/choropleth.js +1 -1
  285. package/dist/react/cohort.js +2 -1
  286. package/dist/react/column.js +1 -1
  287. package/dist/react/combo.js +1 -1
  288. package/dist/react/creative.js +1 -1
  289. package/dist/react/diagram.js +1 -1
  290. package/dist/react/dimswitch.js +1 -1
  291. package/dist/react/dot.js +1 -1
  292. package/dist/react/export.js +24 -19
  293. package/dist/react/funnel.js +1 -1
  294. package/dist/react/gantt.js +1 -1
  295. package/dist/react/grid.js +1 -1
  296. package/dist/react/heatmap.js +2 -1
  297. package/dist/react/histogram.js +1 -1
  298. package/dist/react/index.js +84 -83
  299. package/dist/react/kpi.js +1 -1
  300. package/dist/react/likert.js +1 -1
  301. package/dist/react/line.js +2 -1
  302. package/dist/react/mekko.js +1 -1
  303. package/dist/react/pareto.js +1 -1
  304. package/dist/react/pie.js +1 -1
  305. package/dist/react/prepare.js +22 -20
  306. package/dist/react/pvm.js +1 -1
  307. package/dist/react/pyramid.js +1 -1
  308. package/dist/react/sankey.js +1 -1
  309. package/dist/react/scatter.js +2 -1
  310. package/dist/react/slope.js +1 -1
  311. package/dist/react/sparkline.js +1 -1
  312. package/dist/react/spec.js +10 -10
  313. package/dist/react/status.js +2 -1
  314. package/dist/react/story.js +3 -3
  315. package/dist/react/table.js +1 -1
  316. package/dist/react/theme.js +3 -3
  317. package/dist/react/tilemap.js +1 -1
  318. package/dist/react/treemap.js +1 -1
  319. package/dist/react/variance.js +1 -1
  320. package/dist/react/waffle.js +1 -1
  321. package/dist/react/waterfall.js +1 -1
  322. package/dist/{rowsModule-WJH4QNXZ.js → rowsModule-43LCK2Q7.js} +1 -1
  323. package/dist/{schema-MQT6BMNK.js → schema-2ACHQTR3.js} +1 -1
  324. package/dist/{schema-WZOSDDDJ.js → schema-3LRC5TOZ.js} +1 -1
  325. package/dist/{schema-F7TWGLRZ.js → schema-4HGZZNUL.js} +1 -1
  326. package/dist/{schema-PWPQF5RC.js → schema-4YIYGGOJ.js} +1 -1
  327. package/dist/{schema-ECJERHKF.js → schema-5OLQ54J5.js} +1 -1
  328. package/dist/{schema-CWKGLDSR.js → schema-5SVPR3EU.js} +1 -1
  329. package/dist/{schema-BA6WP5YZ.js → schema-A4U4RDKJ.js} +1 -1
  330. package/dist/{schema-JYZ4RF6S.js → schema-AM2KS6ZC.js} +1 -1
  331. package/dist/{schema-PYQEUC5P.js → schema-C25ECGJL.js} +1 -1
  332. package/dist/{schema-56MOEOVR.js → schema-CBLNGK2F.js} +1 -1
  333. package/dist/{schema-ESR6ZIK4.js → schema-D3ELHESU.js} +1 -1
  334. package/dist/{schema-5MSR4LNN.js → schema-FBIEOKO2.js} +1 -1
  335. package/dist/{schema-DUVJMFKQ.js → schema-FPDLOIA6.js} +1 -1
  336. package/dist/{schema-ALBF6V7Y.js → schema-FQWENOJY.js} +1 -1
  337. package/dist/{schema-DBIQFL56.js → schema-GTLGAPCU.js} +1 -1
  338. package/dist/{schema-Q5DACE4I.js → schema-GUDG343K.js} +2 -2
  339. package/dist/{schema-47BG2TZA.js → schema-GYTWCCNA.js} +1 -1
  340. package/dist/{schema-DL7V6NN2.js → schema-GYVYJEL3.js} +1 -1
  341. package/dist/{schema-ZU2EU2VP.js → schema-HAMPGUH3.js} +1 -1
  342. package/dist/{schema-TVUJNEX7.js → schema-IYBZPCM4.js} +1 -1
  343. package/dist/{schema-2TPGJGVR.js → schema-IYLRZNFB.js} +1 -1
  344. package/dist/{schema-KAK6DZX4.js → schema-KBV2JB2A.js} +1 -1
  345. package/dist/{schema-PV7JGX5H.js → schema-KWCIIIGP.js} +1 -1
  346. package/dist/{schema-Y4TI2T3T.js → schema-LDF6HORS.js} +1 -1
  347. package/dist/{schema-FKGGTM4Z.js → schema-LGYHJPXU.js} +1 -1
  348. package/dist/{schema-CBL2SMVR.js → schema-LX4EXDTI.js} +1 -1
  349. package/dist/{schema-2R32F6AW.js → schema-NNNG7CWG.js} +1 -1
  350. package/dist/{schema-OPXZYIW7.js → schema-P2JYSV32.js} +1 -1
  351. package/dist/{schema-FGB6IGZM.js → schema-PAKZIYQF.js} +1 -1
  352. package/dist/{schema-R42VXFIS.js → schema-SQ2GYLMI.js} +1 -1
  353. package/dist/{schema-KCJ6WTGV.js → schema-SUDJBIHX.js} +1 -1
  354. package/dist/{schema-MR3BPPQR.js → schema-TRPPZCIR.js} +1 -1
  355. package/dist/{schema-JIAQE7WO.js → schema-UNYDUIL5.js} +1 -1
  356. package/dist/{schema-5RIYEWE6.js → schema-VH4AW62Z.js} +1 -1
  357. package/dist/{schema-EDSEKZDJ.js → schema-WDKBCN3V.js} +1 -1
  358. package/dist/{schema-MOKWIGF7.js → schema-YCKUQ3FF.js} +1 -1
  359. package/dist/{schema-K7F6TEDK.js → schema-YVBUY7NH.js} +1 -1
  360. package/dist/{specValidation-DC4TVHWD.js → specValidation-FKHSTMMR.js} +1 -1
  361. package/dist/theme.js +2 -2
  362. package/dist/types/core/a11y/recordsShared.d.ts +15 -4
  363. package/dist/types/core/a11y/types.d.ts +0 -3
  364. package/dist/types/core/annotate.d.ts +17 -1
  365. package/dist/types/core/annotateTargets.d.ts +8 -0
  366. package/dist/types/core/charts/band/stacks.d.ts +4 -3
  367. package/dist/types/core/charts/bar/layout.d.ts +3 -1
  368. package/dist/types/core/charts/bartable/types.d.ts +3 -0
  369. package/dist/types/core/charts/box/types.d.ts +5 -0
  370. package/dist/types/core/charts/column/anomaly.d.ts +12 -5
  371. package/dist/types/core/charts/column/model.d.ts +4 -0
  372. package/dist/types/core/charts/combo/endpoints.d.ts +11 -1
  373. package/dist/types/core/charts/combo/layout.d.ts +7 -1
  374. package/dist/types/core/charts/dimswitch/compile.d.ts +20 -3
  375. package/dist/types/core/charts/grid/metricStack.d.ts +2 -4
  376. package/dist/types/core/charts/histogram/types.d.ts +3 -0
  377. package/dist/types/core/charts/likert/layout.d.ts +5 -2
  378. package/dist/types/core/charts/logAxis.d.ts +0 -5
  379. package/dist/types/core/charts/scatter/logAxis.d.ts +1 -1
  380. package/dist/types/core/charts/scatter/model.d.ts +10 -1
  381. package/dist/types/core/charts/scatter/trend.d.ts +19 -0
  382. package/dist/types/core/charts/table/view.d.ts +7 -0
  383. package/dist/types/core/charts/waffle/types.d.ts +8 -0
  384. package/dist/types/core/formatPrecision.d.ts +24 -0
  385. package/dist/types/core/formatSpec.d.ts +213 -61
  386. package/dist/types/core/label/solver.d.ts +3 -1
  387. package/dist/types/core/numberRule.d.ts +109 -0
  388. package/dist/types/core/numberSets.d.ts +43 -0
  389. package/dist/types/core/shownMarks.d.ts +16 -0
  390. package/dist/types/core/types/options.d.ts +8 -8
  391. package/dist/types/core/types/scene.d.ts +24 -0
  392. package/dist/types/core/types/table.d.ts +0 -13
  393. package/dist/types/react/TableChart.d.ts +9 -7
  394. package/dist/types/react/hover/engine.d.ts +6 -4
  395. package/dist/types/react/hover/labelCard.d.ts +4 -3
  396. package/dist/validate.js +5 -4
  397. package/docs/manual.md +15 -7
  398. package/docs/reference/bartable.md +2 -2
  399. package/docs/reference/cohort.md +1 -1
  400. package/docs/reference/column.md +1 -1
  401. package/docs/reference/dimswitch.md +2 -3
  402. package/docs/reference/fixtures.md +1 -1
  403. package/docs/reference/grid.md +13 -7
  404. package/docs/reference/heatmap.md +1 -1
  405. package/docs/reference/line.md +2 -2
  406. package/docs/reference/options.md +3 -3
  407. package/docs/reference/react.md +1 -1
  408. package/docs/reference/table.md +5 -8
  409. package/docs/reference/warnings.md +0 -1
  410. package/package.json +1 -1
  411. package/dist/chunk-2IRMGCYE.js +0 -125
  412. package/dist/chunk-WVCDISZP.js +0 -89
  413. package/dist/types/core/charts/table/fitFormats.d.ts +0 -67
  414. package/dist/types/core/charts/table/resolve.d.ts +0 -84
  415. package/dist/types/core/format.d.ts +0 -156
@@ -1,29 +1,35 @@
1
1
  import {
2
- clipTrendToDomain,
2
+ QUADRANT_BOXES,
3
+ QUADRANT_BOX_NAME,
4
+ chartString,
5
+ drawScatterTrends,
3
6
  fitLogTicks,
4
- linearAxisSpec,
7
+ fitScatterTrends,
5
8
  logAxesOf,
6
9
  logDomain,
7
10
  logScale,
8
11
  logSpecFormat,
9
12
  logTickTiers,
10
- olsFit,
11
- olsMoments
12
- } from "./chunk-2IRMGCYE.js";
13
+ quadrantBoxName,
14
+ trendRateTexts
15
+ } from "./chunk-QMQZC2KW.js";
13
16
  import {
14
17
  numericViewportRange
15
- } from "./chunk-JNDWRV34.js";
18
+ } from "./chunk-R2RLERPT.js";
16
19
  import {
17
20
  runAnnotatePass
18
- } from "./chunk-R5SGE2NS.js";
21
+ } from "./chunk-QDFX2KAP.js";
19
22
  import {
20
23
  breakUnsupported,
21
24
  chartPalette,
22
25
  chartTheme
23
- } from "./chunk-WFBN2HXR.js";
26
+ } from "./chunk-AIPOSNVG.js";
27
+ import {
28
+ DeferredShownMarks
29
+ } from "./chunk-2Q7IAWON.js";
24
30
  import {
25
31
  structureCount
26
- } from "./chunk-KW4JXWHO.js";
32
+ } from "./chunk-YDYZWCUQ.js";
27
33
  import {
28
34
  HARD_COMPACT_PLOT,
29
35
  applyAxisBounds,
@@ -34,8 +40,9 @@ import {
34
40
  linearScale,
35
41
  measureValueAxisWidth,
36
42
  niceDomain,
37
- plotFloorRows
38
- } from "./chunk-GNMB72V7.js";
43
+ plotFloorRows,
44
+ tickFormatter
45
+ } from "./chunk-YM4MVABU.js";
39
46
  import {
40
47
  PRIORITY,
41
48
  authoredNotes,
@@ -57,40 +64,39 @@ import {
57
64
  solveFrame,
58
65
  solveLabels,
59
66
  withUnprintedClaims
60
- } from "./chunk-4OJF6DXL.js";
67
+ } from "./chunk-AUSZDYGE.js";
61
68
  import {
62
69
  disclosureNote,
63
70
  disclosuresShown,
64
71
  staticFrame,
65
72
  storyFrameFit,
66
73
  withEngineNotes
67
- } from "./chunk-DZYTXZNS.js";
74
+ } from "./chunk-WD5NJHZG.js";
68
75
  import {
69
76
  annotationRef,
70
77
  defaultAnnotationId
71
- } from "./chunk-F2ET5ZTT.js";
78
+ } from "./chunk-PPOUKS24.js";
72
79
  import {
73
80
  emptyIdRecord
74
81
  } from "./chunk-LINZPU5D.js";
75
82
  import {
76
83
  MAGNITUDE_DIVISOR,
84
+ RULE_SET,
85
+ defaultSetSpec,
77
86
  exampleSpec,
78
87
  formatWithSpec,
79
88
  formatterFromExample,
80
- neededDecimals,
89
+ printFace,
81
90
  roundedNumber,
82
- seriesRasterFormatter,
83
- trendRateFormatter
84
- } from "./chunk-Z6DUNKFU.js";
91
+ ruleFormatter,
92
+ ruleSetOf,
93
+ statisticFormatter,
94
+ tickScale
95
+ } from "./chunk-3JG764MI.js";
85
96
  import {
86
- autoDecimals,
87
- chartStrings,
88
- formatAutomaticNumber,
89
97
  numberRange,
90
- roundHalfUp,
91
- seriesValueFormatter,
92
98
  withSmallValues
93
- } from "./chunk-MSYTF3DZ.js";
99
+ } from "./chunk-FYFXOLWI.js";
94
100
  import {
95
101
  cellMeta,
96
102
  cellValue,
@@ -112,7 +118,7 @@ import {
112
118
  seriesPaint,
113
119
  spaceTokens,
114
120
  strokeToken
115
- } from "./chunk-TX5FSNAU.js";
121
+ } from "./chunk-XAH4EWJT.js";
116
122
  import {
117
123
  PALETTE_NORMAL_FLOOR
118
124
  } from "./chunk-BQBD6Q5J.js";
@@ -122,6 +128,7 @@ import {
122
128
  monotoneSegments
123
129
  } from "./chunk-6IUK6PAH.js";
124
130
  import {
131
+ MAGNITUDE_CEILING,
125
132
  NormalizeError,
126
133
  TARGET_SIZE,
127
134
  accessibleTitle,
@@ -140,193 +147,6 @@ import {
140
147
  pushAll
141
148
  } from "./chunk-WYJEOMNY.js";
142
149
 
143
- // src/core/strings/scatter.ts
144
- var EN = {
145
- // reader-facing wording linked only by its consumers.
146
- medianName: "Median",
147
- lower: "lower",
148
- higher: "higher",
149
- axesNonzero: "Axes do not start at zero ({v1}).",
150
- scatterTitle: "{v1} chart: {v2} points",
151
- bubbleName: "Bubble",
152
- scatterName: "Scatter",
153
- groupsCount: "{v1} group{v2}",
154
- gridCellsCount: "{v1} grid cells",
155
- authoredRegionsCount: "{v1} authored regions",
156
- pointsCount: "{v1} point{v2}",
157
- paretoLine: "Pareto line",
158
- trendFitLabel: "{v1}{v2}: slope {v3}, r\xB2 {v4}",
159
- axesUntitled: "Axes without a title",
160
- horizontal: "horizontal",
161
- vertical: "vertical",
162
- notDrawnScale: "Not drawn to scale: {v1}.",
163
- pointLabelsOff: "Labels off beyond {v1} points.",
164
- bottom: "bottom",
165
- middle: "middle",
166
- top: "top",
167
- rowCount: "row {v1}",
168
- left: "left",
169
- right: "right",
170
- columnCount: "column {v1}",
171
- quadrantEquality: "A unit exactly on a cut point is counted to the right of it and above it.",
172
- quadrantWeights: "Computed cut points weight every unit equally; bubble size does not enter them.",
173
- quadrantOutsideRange: "The {v1} cut point ({v2}) does not fall strictly inside the plotted range {v3} to {v4}: no divider is drawn on that axis and the exhibit is a 1x2, not a 2x2.",
174
- quadrantOnThreshold: "{v1} exactly on a cut point ({v2}).",
175
- oneUnitSits: "One unit sits",
176
- unitsSit: "{v1} units sit",
177
- quadrantAllUnits: "All {v1} units fall in the {v2} box; the other three are empty.",
178
- zoneDesc: "{v1}: X {v2} to {v3}, Y {v4} to {v5}",
179
- zoneName: "Zone {v1}, {v2}",
180
- regionBoundaryDesc: "{v1}: strategy region spanning {v2} boundary points",
181
- scatterDescStart: "{v1} chart with {v2} points",
182
- scatterGroupDesc: " in {v1} group{v2} ({v3})",
183
- scatterAxesDesc: ". X from {v1} to {v2}{v3}, Y from {v4} to {v5}{v6}.",
184
- logScaleClause: " on a log scale",
185
- bubbleSizeDesc: " Bubble {v1} encodes size; largest: {v2} ({v3}).",
186
- areaName: "area",
187
- diameterName: "diameter",
188
- quadrantDesc: " Quadrants: horizontal cut at {v1} ({v2}), vertical cut at {v3} ({v4}); ",
189
- strategyZonesDesc: " Strategy zones: {v1}. {v2}",
190
- trendLineDesc: " A dashed least-squares trend line {v1} across {v2} points{v3}.",
191
- fallsLower: "falls",
192
- risesLower: "rises",
193
- runsFlat: "runs flat",
194
- ofGroupClause: " of {v1}",
195
- frontierDesc: " A dotted Pareto line joins the {v1} points no other point beats on both axes ({v2} x and {v3} y are better): {v4}.",
196
- linearTrend: "Linear trend",
197
- sizeZeroRing: "a ring is size 0",
198
- sizeAbsentPlus: "a plus has no size",
199
- sizeInvalidCross: "a cross has a size that is not a non-negative number, read as 0",
200
- minimumDotSize: "the smallest dot is larger than its size",
201
- quadrantCutX: "Quadrant cut points: horizontal axis at {v1} ({v2}), ",
202
- // The short method line, with authored axis names.
203
- quadrantCutShort: "Cuts: {v1} at {v2} and {v3} at {v4}; a point on a cut counts right and above.",
204
- quadrantCutY: "vertical axis at {v1} ({v2}). ",
205
- cutProvenance: "{v1} of the {v2} plotted values",
206
- declaredLower: "declared",
207
- andMore: "{v1} and {v2} more",
208
- clippedPointsNote: "{v1} clipped at {v2} ({v3}).",
209
- droppedPointsNote: "{v1} with a count below {v2} dropped: {v3}.",
210
- noPositionNote: "{v1} with no x or y not drawn: {v2}.",
211
- clippedPointsDesc: " {v1} {v2} {v3} drawn at the ",
212
- clippedPointsEdge: "{v1} edge: {v2}{v3}.",
213
- moreInTable: ", and {v1} more in the data table",
214
- clipBelow: "below",
215
- clipAbove: "above",
216
- clipLeftOf: "left of",
217
- clipRightOf: "right of",
218
- clipBottom: "bottom",
219
- clipTop: "top",
220
- clipLeft: "left",
221
- clipRight: "right",
222
- topLeft: "top-left",
223
- topRight: "top-right",
224
- bottomLeft: "bottom-left",
225
- bottomRight: "bottom-right",
226
- cutMedian: "median",
227
- cutMean: "mean",
228
- cutAt: "Cut at",
229
- cutMeanCapital: "Mean",
230
- pointsCountRight: ", points on it count right",
231
- pointsCountAbove: ", points on it count above",
232
- sizeValue: "Size {v1}",
233
- clippedAt: "clipped at {v1}",
234
- clippedAtAxis: "{v1} ({v2})",
235
- clippedAtJoin: " and at "
236
- }, DE = {
237
- // reader-facing wording linked only by its consumers.
238
- medianName: "Median",
239
- lower: "niedriger",
240
- higher: "h\xF6her",
241
- axesNonzero: "Achsen beginnen nicht bei null ({v1}).",
242
- scatterTitle: "{v1}diagramm: {v2} {v2|Punkt|Punkte}",
243
- bubbleName: "Blasen",
244
- scatterName: "Streu",
245
- groupsCount: "{v1} {v1|Gruppe|Gruppen}",
246
- gridCellsCount: "{v1} {v1|Rasterzelle|Rasterzellen}",
247
- authoredRegionsCount: "{v1} {v1|angegebener Bereich|angegebene Bereiche}",
248
- pointsCount: "{v1} {v1|Punkt|Punkte}",
249
- paretoLine: "Pareto-Linie",
250
- trendFitLabel: "{v1}{v2}: Steigung {v3}, r\xB2 {v4}",
251
- axesUntitled: "Achsen ohne Titel",
252
- horizontal: "horizontal",
253
- vertical: "vertikal",
254
- notDrawnScale: "Nicht ma\xDFstabsgetreu: {v1}.",
255
- pointLabelsOff: "Beschriftungen ab mehr als {v1} {v1|Punkt|Punkten} aus.",
256
- bottom: "unten",
257
- middle: "Mitte",
258
- top: "oben",
259
- rowCount: "Zeile {v1}",
260
- left: "links",
261
- right: "rechts",
262
- columnCount: "Spalte {v1}",
263
- quadrantEquality: "Eine Einheit genau auf einem Trennpunkt z\xE4hlt rechts davon und dar\xFCber.",
264
- quadrantWeights: "Berechnete Trennpunkte gewichten jede Einheit gleich. Die Blasengr\xF6\xDFe z\xE4hlt dabei nicht.",
265
- quadrantOutsideRange: "Der Trennpunkt auf {v1} ({v2}) liegt nicht strikt in der Spanne {v3} bis {v4}. Auf dieser Achse wird keine Trennlinie gezeichnet. Die Darstellung hat 1\xD72 Felder statt 2\xD72.",
266
- quadrantOnThreshold: "{v1} genau auf einem Trennpunkt ({v2}).",
267
- oneUnitSits: "Eine Einheit liegt",
268
- unitsSit: "{v1} {v1|Einheit|Einheiten} {v1|liegt|liegen}",
269
- quadrantAllUnits: "{v1|Die|Alle} {v1} {v1|Einheit|Einheiten} {v1|liegt|liegen} im Feld {v2}. Die anderen drei sind leer.",
270
- zoneDesc: "{v1}: X {v2} bis {v3}, Y {v4} bis {v5}",
271
- zoneName: "Bereich {v1}, {v2}",
272
- regionBoundaryDesc: "{v1}: Strategiebereich mit {v2} {v2|Grenzpunkt|Grenzpunkten}",
273
- scatterDescStart: "{v1}diagramm mit {v2} {v2|Punkt|Punkten}",
274
- scatterGroupDesc: " in {v1} {v1|Gruppe|Gruppen} ({v3})",
275
- scatterAxesDesc: ". X von {v1} bis {v2}{v3}, Y von {v4} bis {v5}{v6}.",
276
- logScaleClause: " auf logarithmischer Skala",
277
- bubbleSizeDesc: " {v1} der Blasen zeigt die Gr\xF6\xDFe; gr\xF6\xDFte: {v2} ({v3}).",
278
- areaName: "Fl\xE4che",
279
- diameterName: "Durchmesser",
280
- quadrantDesc: " Quadranten: horizontaler Trennpunkt {v1} ({v2}), vertikaler Trennpunkt {v3} ({v4}); ",
281
- strategyZonesDesc: " Strategiebereiche: {v1}. {v2}",
282
- trendLineDesc: " Eine gestrichelte Trendlinie nach kleinsten Quadraten {v1} \xFCber {v2} {v2|Punkt|Punkte}{v3}.",
283
- fallsLower: "f\xE4llt",
284
- risesLower: "steigt",
285
- runsFlat: "bleibt gleich",
286
- ofGroupClause: " von {v1}",
287
- frontierDesc: " Eine gepunktete Pareto-Linie verbindet {v1} {v1|Punkt|Punkte}, {v1|den|die} kein anderer Punkt auf beiden Achsen \xFCbertrifft ({v2} x und {v3} y sind besser): {v4}.",
288
- linearTrend: "Linearer Verlauf",
289
- sizeZeroRing: "ein Ring hat Gr\xF6\xDFe 0",
290
- sizeAbsentPlus: "ein Plus hat keine Gr\xF6\xDFe",
291
- sizeInvalidCross: "ein Kreuz hat keine g\xFCltige nichtnegative Gr\xF6\xDFe; als 0 gelesen",
292
- minimumDotSize: "der kleinste Punkt ist gr\xF6\xDFer als sein Wert",
293
- quadrantCutX: "Quadranten-Trennpunkte: horizontale Achse bei {v1} ({v2}), ",
294
- // The short method line, with authored axis names.
295
- quadrantCutShort: "Trennpunkte: {v1} bei {v2} und {v3} bei {v4}; ein Punkt auf einem Trennpunkt z\xE4hlt rechts und oben.",
296
- quadrantCutY: "vertikale Achse bei {v1} ({v2}). ",
297
- cutProvenance: "{v1} der {v2} gezeichneten Werte",
298
- declaredLower: "angegeben",
299
- andMore: "{v1} und {v2} weitere",
300
- clippedPointsNote: "{v1} bei {v2} begrenzt ({v3}).",
301
- droppedPointsNote: "{v1} mit einer Anzahl unter {v2} entfernt: {v3}.",
302
- noPositionNote: "{v1} ohne x oder y nicht gezeichnet: {v2}.",
303
- clippedPointsDesc: " {v1} {v2} {v3} am Rand ",
304
- clippedPointsEdge: "{v1} gezeichnet: {v2}{v3}.",
305
- moreInTable: ", und {v1} weitere in der Datentabelle",
306
- clipBelow: "unter",
307
- clipAbove: "\xFCber",
308
- clipLeftOf: "links von",
309
- clipRightOf: "rechts von",
310
- clipBottom: "unten",
311
- clipTop: "oben",
312
- clipLeft: "links",
313
- clipRight: "rechts",
314
- topLeft: "oben links",
315
- topRight: "oben rechts",
316
- bottomLeft: "unten links",
317
- bottomRight: "unten rechts",
318
- cutMedian: "Median",
319
- cutMean: "Mittelwert",
320
- cutAt: "Trennpunkt bei",
321
- cutMeanCapital: "Mittelwert",
322
- pointsCountRight: ", Punkte darauf z\xE4hlen rechts",
323
- pointsCountAbove: ", Punkte darauf z\xE4hlen oben",
324
- sizeValue: "Gr\xF6\xDFe {v1}",
325
- clippedAt: "abgeschnitten bei {v1}",
326
- clippedAtAxis: "{v1} ({v2})",
327
- clippedAtJoin: " und bei "
328
- }, { chartString } = chartStrings(EN, DE);
329
-
330
150
  // src/core/charts/scatter/clamp.ts
331
151
  var plural = (count, word) => `${count} ${word}${count === 1 ? "" : "s"}`;
332
152
  function axisName(axis, titles) {
@@ -641,17 +461,6 @@ function refuseNonPositiveOnLog(options, axes, pts) {
641
461
  finish();
642
462
  }
643
463
 
644
- // src/core/charts/scatter/model.ts
645
- var QUADRANT_BOXES = ["tl", "tr", "bl", "br"], QUADRANT_BOX_NAME = {
646
- tl: "top-left",
647
- tr: "top-right",
648
- bl: "bottom-left",
649
- br: "bottom-right"
650
- };
651
- function quadrantBoxName(box, options) {
652
- return chartString(options, { tl: "topLeft", tr: "topRight", bl: "bottomLeft", br: "bottomRight" }[box]);
653
- }
654
-
655
464
  // src/core/charts/scatter/quadrants.ts
656
465
  function quadrantMedian(values) {
657
466
  let sorted = [...values].sort((a, b) => a - b), n = sorted.length, mid = n >> 1;
@@ -846,56 +655,6 @@ function drawFrontier(plan, env, pts, clamp, area, nodes, claims) {
846
655
  }
847
656
  }
848
657
 
849
- // src/core/charts/scatter/trend.ts
850
- var CURVE_SAMPLES = 24;
851
- function fitScatterTrends(env, drawn, groupOrder, warnings) {
852
- let trend = env.options.trend;
853
- if (!trend) return [];
854
- let groups = trend === !0 ? "all" : trend.groups ?? "all", buckets = groups === "all" ? [["all", void 0, [...drawn]]] : (groups === "each" ? eachGroup(drawn, groupOrder) : groups).map((group) => [
855
- group ?? "ungrouped",
856
- group,
857
- drawn.filter((p) => p.group === group)
858
- ]), fits = [];
859
- for (let [id, group, points] of buckets) {
860
- let moments = olsMoments(points), fit = moments.n >= 3 ? olsFit(moments) : null;
861
- if (!fit) {
862
- warnings.push({
863
- code: "trend-undefined",
864
- severity: "warn",
865
- message: `no trend line for ${group === void 0 ? "the points" : `group '${group}'`}: ${moments.n < 3 ? `a fit needs at least 3 drawn points, it has ${moments.n}` : "every drawn point has the same x"}`,
866
- field: ["options", "trend"]
867
- });
868
- continue;
869
- }
870
- let xs = points.map((p) => p.x);
871
- fits.push({ id, ...group === void 0 ? {} : { group }, ...moments, ...fit, x0: minOf(xs), x1: maxOf(xs) });
872
- }
873
- return fits;
874
- }
875
- function eachGroup(drawn, groupOrder) {
876
- let present = new Set(drawn.map((p) => p.group));
877
- return [...groupOrder.filter((id) => present.has(id)), ...present.has(void 0) ? [void 0] : []];
878
- }
879
- function drawScatterTrends(theme, fits, domain, area, paints, nodes, claims) {
880
- let lines = [];
881
- for (let fit of fits) {
882
- let span = clipTrendToDomain(fit, domain.dx, domain.dy);
883
- if (!span) continue;
884
- let at = (x) => ({ x: area.x(x), y: area.y(fit.intercept + fit.slope * x) }), from = at(span[0]), to = at(span[1]), nodeId = `trend:${fit.id}`, stroke = fit.group === void 0 ? { token: "ink" } : paints.group(fit.group), curved = area.x.log === !0 || area.y.log === !0, yAt = curved ? (px) => area.y(fit.intercept + fit.slope * area.x.invert(px)) : (px) => from.y + (to.y - from.y) * (px - from.x) / (to.x - from.x || 1), slices = curved ? CURVE_SAMPLES : 12, vertices = Array.from({ length: slices + 1 }, (_, k) => {
885
- if (curved && (k === 0 || k === slices)) return k === 0 ? from : to;
886
- let px = from.x + (to.x - from.x) * k / slices;
887
- return { x: px, y: curved ? yAt(px) : from.y + (to.y - from.y) * k / slices };
888
- });
889
- nodes.push(curved ? { t: "path", id: nodeId, d: vertices.map((v, k) => `${k === 0 ? "M" : "L"}${fmtPathNumber(v.x)} ${fmtPathNumber(v.y)}`).join(""), stroke, width: strokeToken(theme, "data"), dash: dashToken(theme, "reference"), owner: {}, part: "trendLine" } : { t: "line", id: nodeId, x1: from.x, y1: from.y, x2: to.x, y2: to.y, stroke, width: strokeToken(theme, "data"), dash: dashToken(theme, "reference"), owner: {}, part: "trendLine" });
890
- for (let k = 0; k < slices; k++) {
891
- let { x: x0, y: y0 } = vertices[k], { x: x1, y: y1 } = vertices[k + 1];
892
- claims.claim({ x: Math.min(x0, x1), y: Math.min(y0, y1) - 1.5, w: Math.max(Math.abs(x1 - x0), 1), h: Math.abs(y1 - y0) + 3 }, "annotation", { annotationId: nodeId }, "trendLine");
893
- }
894
- lines.push({ fit, nodeId, from, to, yAt });
895
- }
896
- return lines;
897
- }
898
-
899
658
  // src/core/charts/scatter/zones.ts
900
659
  var ZONE_BAND_GAP = 5, CELL_GAP = 2;
901
660
  function gridZones(options) {
@@ -1243,8 +1002,8 @@ function smoothClosedZoneSegments(points) {
1243
1002
  }
1244
1003
 
1245
1004
  // src/core/charts/scatter/domain.ts
1246
- function scatterFormatter(options, format = options.format) {
1247
- let decimalsOf = options.valueAxis?.log ? (v) => v !== 0 && Math.abs(v) < 1 ? Math.max(1, neededDecimals(v, 1 - Math.floor(Math.log10(Math.abs(v))))) : autoDecimals(v) : autoDecimals, formatValue = format ? formatterFromExample(format, options.locale?.language) : (v) => formatAutomaticNumber(v, { locale: options.locale?.language, decimals: decimalsOf(v) }), formattedValues = /* @__PURE__ */ new Map();
1005
+ function scatterFormatter(options, format) {
1006
+ let formatValue = formatterFromExample(format, options.locale?.language), formattedValues = /* @__PURE__ */ new Map();
1248
1007
  return (value) => {
1249
1008
  let text = formattedValues.get(value);
1250
1009
  return text === void 0 && (text = formatValue(value), formattedValues.set(value, text)), text;
@@ -1265,23 +1024,30 @@ function plainNumberSpec(locale) {
1265
1024
  };
1266
1025
  }
1267
1026
  function discloseNumber(raw, spec, authoredFormat) {
1268
- let scaled = Math.abs(raw / MAGNITUDE_DIVISOR[spec.magnitude]), base = authoredFormat ? spec.decimals : autoDecimals(raw), decimals = base;
1027
+ let scaled = Math.abs(raw / MAGNITUDE_DIVISOR[spec.magnitude]), base = authoredFormat ? spec.decimals : ruleSetOf([scaled], void 0, { words: !1 }).groupOf(scaled).decimals, decimals = base;
1269
1028
  for (; decimals < MAX_DISCLOSED_DECIMALS && Number(scaled.toFixed(decimals)) !== scaled; )
1270
1029
  decimals += 1;
1271
1030
  let exact = Number(scaled.toFixed(decimals)) === scaled, applied = { ...spec, decimals: exact ? decimals : base }, value = exact ? raw : roundedNumber(raw, applied);
1272
1031
  return { value, text: formatWithSpec(value, applied), exact };
1273
1032
  }
1274
- function engineAxisScale(options, format, data, axis) {
1275
- if (format || options.target === void 0 || !Array.isArray(data?.points)) return;
1033
+ function pointNumber(raw) {
1034
+ if (typeof raw == "number" && Number.isFinite(raw) && Math.abs(raw) <= MAGNITUDE_CEILING) return raw;
1035
+ try {
1036
+ let value = cellValue(normalizeCell(raw, "point"));
1037
+ return typeof value == "number" && Number.isFinite(value) ? value : null;
1038
+ } catch {
1039
+ return null;
1040
+ }
1041
+ }
1042
+ function pointValues(data, field) {
1276
1043
  let values = [];
1277
- for (let point of data.points) {
1278
- let raw = point?.[axis], value = typeof raw == "number" ? raw : raw !== null && typeof raw == "object" && "number" in raw ? Number(raw.number) : NaN;
1279
- Number.isFinite(value) && values.push(value);
1044
+ for (let point of Array.isArray(data?.points) ? data.points : []) {
1045
+ let value = pointNumber(point?.[field]);
1046
+ value !== null && values.push(value);
1280
1047
  }
1281
- if (!values.some((value) => Math.abs(value) >= 1e6)) return;
1282
- let engine = seriesRasterFormatter(void 0, values, options.locale?.language, options.unit, options.target);
1283
- return engine.spec.autoMagnitude ? engine : void 0;
1048
+ return values;
1284
1049
  }
1050
+ var RULE_MAGNITUDE = { 0: "none", 3: "k", 6: "m", 9: "bn", 12: "t" };
1285
1051
  function resolveScatterEnv(options, warnings, data) {
1286
1052
  if (options.zones && options.quadrants)
1287
1053
  throw new NormalizeError(
@@ -1290,19 +1056,27 @@ function resolveScatterEnv(options, warnings, data) {
1290
1056
  "scatter strategy zones and quadrants are mutually exclusive"
1291
1057
  );
1292
1058
  breakUnsupported("scatter", options, warnings);
1293
- let theme = chartTheme(options), paletteRamp = chartPalette(theme, options.palette, warnings), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, fmt = scatterFormatter(options), axisFormat = { x: options.axisFormat?.x ?? options.format, y: options.axisFormat?.y ?? options.format }, engine = { x: engineAxisScale(options, axisFormat.x, data, "x"), y: engineAxisScale(options, axisFormat.y, data, "y") }, axisFmt = {
1294
- x: options.axisFormat?.x ? scatterFormatter(options, axisFormat.x) : engine.x?.fmt ?? fmt,
1295
- y: options.axisFormat?.y ? scatterFormatter(options, axisFormat.y) : engine.y?.fmt ?? fmt
1296
- }, countSpec = plainNumberSpec(options.locale?.language), axisSpecOf = (format, scaled) => format ? exampleSpec(format, options.locale?.language) : scaled ?? countSpec, axisSpec = { x: axisSpecOf(axisFormat.x, engine.x?.spec), y: axisSpecOf(axisFormat.y, engine.y?.spec) }, cutSpec = (raw, axis) => {
1297
- if (!engine[axis]) return axisSpec[axis];
1298
- let magnitude = "none";
1299
- for (let step of ["k", "m", "bn", "t"]) Math.abs(raw) >= MAGNITUDE_DIVISOR[step] && (magnitude = step);
1300
- return { ...countSpec, magnitude, rollMagnitude: !1 };
1301
- };
1059
+ let theme = chartTheme(options), paletteRamp = chartPalette(theme, options.palette, warnings), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, axisFormat = { x: options.axisFormat?.x ?? options.format, y: options.axisFormat?.y ?? options.format }, setSpec = (field) => defaultSetSpec(pointValues(data, field), options.locale?.language, options.unit), ruleSpec = { x: axisFormat.x ? void 0 : setSpec("x"), y: axisFormat.y ? void 0 : setSpec("y"), size: options.format ? void 0 : setSpec("size") }, byRule = (spec) => (value) => formatWithSpec(value, spec), fmt = ruleSpec.size ? byRule(ruleSpec.size) : scatterFormatter(options, options.format), axisFmt = {
1060
+ x: options.axisFormat?.x ? scatterFormatter(options, options.axisFormat.x) : ruleSpec.x ? byRule(ruleSpec.x) : fmt,
1061
+ y: options.axisFormat?.y ? scatterFormatter(options, options.axisFormat.y) : ruleSpec.y ? byRule(ruleSpec.y) : fmt
1062
+ }, countSpec = plainNumberSpec(options.locale?.language), axisSpecOf = (format, rule) => format ? exampleSpec(format, options.locale?.language) : rule ?? countSpec, axisSpec = { x: axisSpecOf(axisFormat.x, ruleSpec.x), y: axisSpecOf(axisFormat.y, ruleSpec.y) }, cutSpec = (raw, axis) => {
1063
+ let rule = ruleSpec[axis]?.[RULE_SET];
1064
+ return rule ? rule.words ? { ...countSpec, magnitude: RULE_MAGNITUDE[tickScale(rule, raw)], rollMagnitude: !1 } : countSpec : axisSpec[axis];
1065
+ }, ruleShown = ruleSpec.x || ruleSpec.y || ruleSpec.size ? () => (Array.isArray(data?.points) ? data.points : []).flatMap((point) => {
1066
+ if (point?.id === void 0) return [];
1067
+ let x = pointNumber(point.x), y = pointNumber(point.y), size2 = pointNumber(point.size);
1068
+ return [{ owner: { pointId: point.id }, shows: {
1069
+ ...ruleSpec.x && x !== null ? { "field:x": axisFmt.x(x) } : {},
1070
+ ...ruleSpec.y && y !== null ? { value: axisFmt.y(y), "field:y": axisFmt.y(y) } : {},
1071
+ ...ruleSpec.size && size2 !== null && size2 >= 0 ? { "field:size": fmt(size2) } : {}
1072
+ } }];
1073
+ }) : void 0;
1302
1074
  return {
1303
1075
  options,
1304
1076
  theme,
1305
1077
  palette: paletteRamp ? options.palette : void 0,
1078
+ ...ruleShown ? { ruleShown } : {},
1079
+ sizeKeySpec: ruleSpec.size ?? setSpec("size"),
1306
1080
  size,
1307
1081
  measure,
1308
1082
  fmt,
@@ -1564,7 +1338,7 @@ function resolveScatterDomain(data, env, warnings) {
1564
1338
  let q = quadrants.derived, ticks = axes.ticks && q ? {
1565
1339
  x: withCutTick(axes.ticks.x, quadrants.drawX && q.xSource === "declared" ? q.x : void 0),
1566
1340
  y: withCutTick(axes.ticks.y, quadrants.drawY && q.ySource === "declared" ? q.y : void 0)
1567
- } : axes.ticks, drawn = pts.filter((p) => inView(options, axes.dx, axes.dy, p)), trends = fitScatterTrends(env, drawn, shownGroups.map((g) => g.id), warnings), frontier = planFrontier(env, drawn, warnings);
1341
+ } : axes.ticks, drawn = pts.filter((p) => inView(options, axes.dx, axes.dy, p)), trends = fitScatterTrends(env, drawn, shownGroups.map((g) => g.id), warnings), trendRates = trendRateTexts(trends, () => ({ example: options.axisFormat?.y ?? options.format, unit: pts.some((p) => p.yIsPct) ? "%" : options.unit }), options.locale?.language, !1, env.axisSpec.y[RULE_SET]?.words), frontier = planFrontier(env, drawn, warnings);
1568
1342
  return {
1569
1343
  pts,
1570
1344
  groups: groupMap,
@@ -1589,6 +1363,7 @@ function resolveScatterDomain(data, env, warnings) {
1589
1363
  omitted,
1590
1364
  quadrants,
1591
1365
  trends,
1366
+ trendRates,
1592
1367
  ...frontier ? { frontier } : {}
1593
1368
  };
1594
1369
  }
@@ -1688,11 +1463,11 @@ function scatterPaints(env, groups, pts = [], dotR) {
1688
1463
  return { group, point, hollow, insideFill, highlighted, ring };
1689
1464
  }
1690
1465
  function valueLineLabelRight(env, domain) {
1691
- let format = env.options.axisFormat?.y ?? env.options.format, fmt = format ? formatterFromExample(format, env.options.locale?.language) : (v) => formatAutomaticNumber(v), font = { family: env.theme.type.family, ...env.theme.type.label }, width = 0;
1466
+ let format = env.options.axisFormat?.y ?? env.options.format, level = { ...env.axisSpec.y, prefix: "", suffix: "" }, fmt = format ? formatterFromExample(format, env.options.locale?.language) : (v) => formatWithSpec(v, level), meanFmt = format ? fmt : (v) => statisticFormatter([v], level)(v), font = { family: env.theme.type.family, ...env.theme.type.label }, width = 0;
1692
1467
  for (let line of drawnValueLines(domain.annotations, domain.meanY)) {
1693
1468
  let ann = domain.annotations[line.index];
1694
1469
  if (ann.kind !== "valueLine" || ann.label === !1 || (ann.side ?? "right") !== "right") continue;
1695
- let text = ann.label ?? (line.isMean ? `\xD8 ${fmt(line.value)}` : fmt(line.value));
1470
+ let text = ann.label ?? (line.isMean ? `\xD8 ${meanFmt(line.value)}` : fmt(line.value));
1696
1471
  text && (width = Math.max(width, env.measure(text, font).width + 8));
1697
1472
  }
1698
1473
  return width;
@@ -1796,7 +1571,7 @@ function scatterFonts(theme) {
1796
1571
  };
1797
1572
  }
1798
1573
  function scatterPlotArea(env, domain, frame, warnings) {
1799
- let { options, theme, measure, va } = env, fmt = env.axisFmt.y, [dxLo, dxHi] = domain.dx, [dyLo, dyHi] = domain.dy, fonts = scatterFonts(theme), showAxes = va.show ?? !0, tickH = measure("0", fonts.tick).height, zoneGrid = options.zones && "grid" in options.zones ? options.zones.grid : void 0, banded = bandedAxes(env, domain), yBandLines = zoneGrid?.yLabels?.length ? bandLines(zoneGrid.yLabels, fonts.tick, measure, Y_BAND_SHARE * frame.plot.w) : void 0, yBandW = yBandLines ? maxOf(yBandLines.flat().map((line) => measure(line, fonts.tick).width)) + ZONE_BAND_GAP : 0, yFmt = env.log.y ? logSpecFormat(env.axisSpec.y, [dyLo, dyHi]) : fmt, axisTitles = options.axisTitles ?? {}, qualitative = showAxes && options.qualitativeAxes === !0, yAxisW = qualitative ? qualitativeColumn(env, fonts, frame.plot.w).width + QUALITATIVE_GAP : showAxes && !banded.y ? measureValueAxisWidth([dyLo, dyHi], yFmt, theme, measure, 5, env.log.y ? void 0 : linearAxisSpec(env.axisSpec.y, [dyLo, dyHi]), env.log.y ? logTickTiers(dyLo, dyHi)[0] : domain.stepTicks ?? domain.ticks?.y) : 0, xAxisH = showAxes && !banded.x ? tickH + 6 : 0, xTitleH = showAxes && axisTitles.x && !qualitative ? tickH + 4 : 0, yTitleH = showAxes && axisTitles.y && !qualitative ? banded.y ? measure(axisTitles.y, fonts.axisTitle).height + AXIS_TITLE_RESERVE : yTitleBand(axisTitles.y, ["0", yFmt(dyLo), yFmt(dyHi)], fonts.axisTitle, fonts.tick, measure) : 0;
1574
+ let { options, theme, measure, va } = env, fmt = env.axisFmt.y, [dxLo, dxHi] = domain.dx, [dyLo, dyHi] = domain.dy, fonts = scatterFonts(theme), showAxes = va.show ?? !0, tickH = measure("0", fonts.tick).height, zoneGrid = options.zones && "grid" in options.zones ? options.zones.grid : void 0, banded = bandedAxes(env, domain), yBandLines = zoneGrid?.yLabels?.length ? bandLines(zoneGrid.yLabels, fonts.tick, measure, Y_BAND_SHARE * frame.plot.w) : void 0, yBandW = yBandLines ? maxOf(yBandLines.flat().map((line) => measure(line, fonts.tick).width)) + ZONE_BAND_GAP : 0, yFmt = env.log.y ? logSpecFormat(env.axisSpec.y, [dyLo, dyHi]) : fmt, axisTitles = options.axisTitles ?? {}, qualitative = showAxes && options.qualitativeAxes === !0, yAxisW = qualitative ? qualitativeColumn(env, fonts, frame.plot.w).width + QUALITATIVE_GAP : showAxes && !banded.y ? measureValueAxisWidth([dyLo, dyHi], yFmt, theme, measure, 5, env.log.y ? void 0 : env.axisSpec.y, env.log.y ? logTickTiers(dyLo, dyHi)[0] : domain.stepTicks ?? domain.ticks?.y) : 0, xAxisH = showAxes && !banded.x ? tickH + 6 : 0, xTitleH = showAxes && axisTitles.x && !qualitative ? tickH + 4 : 0, yTitleH = showAxes && axisTitles.y && !qualitative ? banded.y ? measure(axisTitles.y, fonts.axisTitle).height + AXIS_TITLE_RESERVE : yTitleBand(axisTitles.y, ["0", yFmt(dyLo), yFmt(dyHi)], fonts.axisTitle, fonts.tick, measure) : 0;
1800
1575
  showAxes && (!axisTitles.x || !axisTitles.y) && warnings.push({
1801
1576
  code: "scatter-axis-untitled",
1802
1577
  severity: "warn",
@@ -1892,7 +1667,7 @@ function scatterAxes(env, domain, area, nodes, claims, warnings) {
1892
1667
  let spec = env.axisSpec[orient];
1893
1668
  if (!scale.log) return {
1894
1669
  format: axisFmt[orient],
1895
- formatSpec: linearAxisSpec(spec, scale.domain),
1670
+ formatSpec: spec,
1896
1671
  ticks: orient === "y" ? domain.stepTicks ?? domain.ticks?.y : domain.ticks?.x,
1897
1672
  ...domain.ticks && domain.quadrants.derived ? { keepEndTicks: !0 } : {}
1898
1673
  };
@@ -1930,7 +1705,7 @@ function tickGrid(domain) {
1930
1705
  return domain.ticks !== void 0 && domain.quadrants.derived === void 0;
1931
1706
  }
1932
1707
  function cutTickLabels(env, domain, axes, nodes) {
1933
- let decimal = formatAutomaticNumber(1.5, { locale: env.options.locale?.language, decimals: 1 }).replace(/\d/g, ""), q = domain.quadrants.derived;
1708
+ let decimal = printFace(env.options.locale?.language).decimal, q = domain.quadrants.derived;
1934
1709
  if (!q || !domain.ticks) return {};
1935
1710
  let found = {};
1936
1711
  for (let axis of axes) {
@@ -2130,7 +1905,7 @@ function layoutScatterMarks(env, domain, area, paints, warnings) {
2130
1905
  })),
2131
1906
  ...zones.marks.length ? { zones: zones.marks } : {}
2132
1907
  };
2133
- return { nodes, claims, axes, zones, placed, marks, split, trendLines, rules, cutTicks, ...densePoints > 0 ? { densePoints } : {} };
1908
+ return env.ruleShown && (marks.wouldShow = new DeferredShownMarks(env.ruleShown)), { nodes, claims, axes, zones, placed, marks, split, trendLines, rules, cutTicks, ...densePoints > 0 ? { densePoints } : {} };
2134
1909
  }
2135
1910
 
2136
1911
  // src/core/charts/scatter/labels.ts
@@ -2304,7 +2079,7 @@ function dividerTagRequests(q, area, env, requests, pts, printed) {
2304
2079
  }
2305
2080
  }
2306
2081
  function quadrantCaptionRequests(env, domain, area, split, requests, warnings, placed = []) {
2307
- let quadrants = domain.quadrants.derived, captionFont = area.fonts.caption, captions = env.options.quadrants?.labels ?? {}, centreFirst = (env.options.quadrants?.captionPlacement ?? "corner") === "centre";
2082
+ let quadrants = domain.quadrants.derived, captionFont = area.fonts.caption, captions = env.options.quadrants?.labels ?? {}, centreFirst = (env.options.quadrants?.captionPlacement ?? "corner") === "centre", countText = ruleFormatter(QUADRANT_BOXES.map((box) => quadrants.counts[box]), env.options.locale?.language);
2308
2083
  for (let box of QUADRANT_BOXES) {
2309
2084
  let authored = captions[box];
2310
2085
  if (authored === void 0 || authored === "") continue;
@@ -2318,7 +2093,7 @@ function quadrantCaptionRequests(env, domain, area, split, requests, warnings, p
2318
2093
  }
2319
2094
  let rect = quadrantBoxRect(box, area.plot, split), wrapped = wrapText(authored, captionFont, Math.max(1, rect.w - 2 * CAPTION_PAD), 2, env.measure), lines = [
2320
2095
  ...wrapped.truncated ? [authored] : wrapped.lines,
2321
- `n = ${formatAutomaticNumber(quadrants.counts[box], { locale: env.options.locale?.language, decimals: 0 })}`
2096
+ `n = ${countText(quadrants.counts[box])}`
2322
2097
  ], w = Math.max(...lines.map((l) => env.measure(l, captionFont).width)), lineH = captionFont.size * (captionFont.lineHeight ?? 1.2), h = lineH * lines.length, left = rect.x + CAPTION_PAD, right = rect.x + rect.w - CAPTION_PAD - w, top = rect.y + CAPTION_PAD, bottom = rect.y + rect.h - CAPTION_PAD - h, cx = rect.x + rect.w / 2 - w / 2, cy = rect.y + rect.h / 2 - h / 2, corners = box === "tl" ? [["topLeft", left, top], ["bottomLeft", left, bottom], ["topRight", right, top]] : box === "tr" ? [["topRight", right, top], ["bottomRight", right, bottom], ["topLeft", left, top]] : box === "bl" ? [["topLeft", left, top], ["bottomLeft", left, bottom], ["bottomRight", right, bottom]] : [["topRight", right, top], ["bottomRight", right, bottom], ["bottomLeft", left, bottom]], ordered = centreFirst ? [["centre", cx, cy], ...corners] : [...corners, ["centre", cx, cy]], candidates = [], endAligned = box === "tr" || box === "br", clearOfBubbles = (x, y) => lines.every((line, i) => {
2323
2098
  let lw = env.measure(line, captionFont).width, lr = { x: endAligned ? x + w - lw : x, y: y + i * lineH, w: lw, h: lineH };
2324
2099
  return placed.every((m) => Math.hypot(Math.max(lr.x - m.cx, 0, m.cx - lr.x - lr.w), Math.max(lr.y - m.cy, 0, m.cy - lr.y - lr.h)) >= m.r + CAPTION_PAD);
@@ -2346,11 +2121,15 @@ var groupFormats = /* @__PURE__ */ new WeakMap();
2346
2121
  function pointValueText(env, domain, p, field) {
2347
2122
  let value = p[field];
2348
2123
  if (value === null) return;
2349
- if (field === "y" && (env.options.format || env.options.axisFormat?.y || env.log.y || env.axisSpec.y.autoMagnitude)) return env.axisFmt.y(value);
2124
+ if (field === "y" ? !(env.options.axisFormat?.y ?? env.options.format) : !env.options.format) return field === "y" ? env.axisFmt.y(value) : env.fmt(value);
2125
+ if (field === "y" && (env.options.format || env.options.axisFormat?.y || env.log.y)) return env.axisFmt.y(value);
2350
2126
  let byGroup = groupFormats.get(domain.pts);
2351
2127
  byGroup || groupFormats.set(domain.pts, byGroup = /* @__PURE__ */ new Map());
2352
2128
  let key = `${field}\0${p.group ?? ""}`, fmt = byGroup.get(key);
2353
- return fmt || byGroup.set(key, fmt = seriesValueFormatter(domain.pts.filter((q) => q.group === p.group).map((q) => q[field]), env.options.locale?.language)), fmt(value);
2129
+ return fmt || byGroup.set(key, fmt = ruleFormatter(domain.pts.filter((q) => q.group === p.group).map((q) => q[field]), env.options.locale?.language, { unit: env.options.unit })), fmt(value);
2130
+ }
2131
+ function valueShows(field, text) {
2132
+ return field === "size" ? { "field:size": text } : { value: text, "field:y": text };
2354
2133
  }
2355
2134
  function pointLabelRequests(env, domain, area, placed, rules, paints, requests, warnings, seatMemo = /* @__PURE__ */ new Map(), paintMemo = /* @__PURE__ */ new Map()) {
2356
2135
  let { options, highlights } = env, { bubbleMode, sizeMax } = domain, maxPointLabels = options.maxPointLabels ?? 300, pointLabelsOn = options.labels !== !1 && options.labels?.point !== !1, field = options.labels !== !1 && options.labels?.value === !0 ? bubbleMode ? "size" : "y" : void 0;
@@ -2413,7 +2192,11 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
2413
2192
  return bubbleMode && half > 0 && from >= along - half && to <= along + half;
2414
2193
  }, fitsInside = inside !== void 0 && !rules.x.some((rx) => rx > inside.x - RULE_GAP && rx < inside.x + inside.w + RULE_GAP && !(zeroRules.x.includes(rx) && hiddenBehind(rx - cx, cy, inside.y, inside.y + inside.h))) && !rules.y.some((ry) => ry > inside.y - RULE_GAP && ry < inside.y + inside.h + RULE_GAP && !(zeroRules.y.includes(ry) && hiddenBehind(ry - cy, cx, inside.x, inside.x + inside.w))) && !covered(inside), behindZero = fitsInside && (zeroRules.x.some((rx) => rx > inside.x - RULE_GAP && rx < inside.x + inside.w + RULE_GAP) || zeroRules.y.some((ry) => ry > inside.y - RULE_GAP && ry < inside.y + inside.h + RULE_GAP)), dropped = bubbleMode && ((env.valueTier === 1 || env.valueInsideOnly?.has(p.id) === !0) && !fitsInside || env.valueTier === 2), joined = named && value !== void 0 && !fitsInside && !dropped ? value : void 0;
2415
2194
  if (named) {
2416
- let box = q.derived?.assignment[p.id], straddles = box !== void 0 && (q.drawX && Math.abs(cx - area.x(q.derived.x)) < r || q.drawY && Math.abs(cy - area.y(q.derived.y)) < r), clipped = (domain.clamp?.records ?? []).filter((record) => record.points.some((point) => point.id === p.id)), real = clipped.length ? ` ${[...new Set(clipped.map((record) => record.axis))].map((axis) => env.axisFmt[axis](p[axis])).join(", ")}` : "", plain = straddles ? `${p.label}${real} (${options.quadrants?.labels?.[box] ?? QUADRANT_BOX_NAME[box]})` : `${p.label}${real}`, name = joined === void 0 ? plain : `${plain} ${joined}`, room = box === void 0 ? 1 / 0 : boxSideWidth(box) - 2 * RULE_GAP, wrapped = env.measure(name, nameFont).width > room ? wrapText(name, nameFont, room, 2, env.measure) : void 0, nameLines = wrapped && !wrapped.truncated && wrapped.lines.length === 2 ? wrapped.lines : [name], callout = nameLines.length === 1 ? env.callouts?.get(p.id) : void 0, boldFont = { ...area.fonts.label, weight: emphasisWeight(env.theme) }, nameW = env.measure(name, nameFont).width, wrappedCallout = callout !== void 0 && env.calloutWrap ? wrapText(callout, boldFont, Math.max(nameW, ...callout.split(/\s+/).map((word) => env.measure(word, boldFont).width)), 3, env.measure) : void 0, calloutLines = callout === void 0 ? [] : wrappedCallout && !wrappedCallout.truncated ? wrappedCallout.lines : [callout], lines = callout === void 0 ? nameLines : [name, ...calloutLines], font = callout === void 0 ? nameFont : boldFont, lineH = nameFont.size * (nameFont.lineHeight ?? 1.2), block = callout !== void 0 ? { width: Math.max(nameW, ...calloutLines.map((line) => env.measure(line, boldFont).width)), height: lines.length * lineH } : lines.length > 1 ? { width: Math.max(...lines.map((line) => env.measure(line, nameFont).width)), height: lines.length * lineH } : void 0;
2195
+ let box = q.derived?.assignment[p.id], straddles = box !== void 0 && (q.drawX && Math.abs(cx - area.x(q.derived.x)) < r || q.drawY && Math.abs(cy - area.y(q.derived.y)) < r), clipped = (domain.clamp?.records ?? []).filter((record) => record.points.some((point) => point.id === p.id)), clippedAxes = [...new Set(clipped.map((record) => record.axis))], real = clipped.length ? ` ${clippedAxes.map((axis) => env.axisFmt[axis](p[axis])).join(", ")}` : "", nameShows = Object.assign(
2196
+ {},
2197
+ ...clippedAxes.map((axis) => axis === "x" ? { "field:x": env.axisFmt.x(p.x) } : valueShows("y", env.axisFmt.y(p.y))),
2198
+ joined !== void 0 ? valueShows(field, joined) : {}
2199
+ ), plain = straddles ? `${p.label}${real} (${options.quadrants?.labels?.[box] ?? QUADRANT_BOX_NAME[box]})` : `${p.label}${real}`, name = joined === void 0 ? plain : `${plain} ${joined}`, room = box === void 0 ? 1 / 0 : boxSideWidth(box) - 2 * RULE_GAP, wrapped = env.measure(name, nameFont).width > room ? wrapText(name, nameFont, room, 2, env.measure) : void 0, nameLines = wrapped && !wrapped.truncated && wrapped.lines.length === 2 ? wrapped.lines : [name], callout = nameLines.length === 1 ? env.callouts?.get(p.id) : void 0, boldFont = { ...area.fonts.label, weight: emphasisWeight(env.theme) }, nameW = env.measure(name, nameFont).width, wrappedCallout = callout !== void 0 && env.calloutWrap ? wrapText(callout, boldFont, Math.max(nameW, ...callout.split(/\s+/).map((word) => env.measure(word, boldFont).width)), 3, env.measure) : void 0, calloutLines = callout === void 0 ? [] : wrappedCallout && !wrappedCallout.truncated ? wrappedCallout.lines : [callout], lines = callout === void 0 ? nameLines : [name, ...calloutLines], font = callout === void 0 ? nameFont : boldFont, lineH = nameFont.size * (nameFont.lineHeight ?? 1.2), block = callout !== void 0 ? { width: Math.max(nameW, ...calloutLines.map((line) => env.measure(line, boldFont).width)), height: lines.length * lineH } : lines.length > 1 ? { width: Math.max(...lines.map((line) => env.measure(line, nameFont).width)), height: lines.length * lineH } : void 0;
2417
2200
  requests.push({
2418
2201
  id: `point:${p.id}`,
2419
2202
  // The value a clipped point really has prints in its name.
@@ -2422,6 +2205,7 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
2422
2205
  owner: { pointId: p.id },
2423
2206
  text: callout === void 0 ? name : `${name} ${callout}`,
2424
2207
  lines,
2208
+ ...Object.keys(nameShows).length > 0 ? { shows: nameShows } : {},
2425
2209
  typeRole: "label",
2426
2210
  font,
2427
2211
  ...callout !== void 0 ? { headLines: 1, headWeight: nameFont.weight } : {},
@@ -2449,6 +2233,7 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
2449
2233
  owner: { pointId: p.id },
2450
2234
  text: value,
2451
2235
  lines: [value],
2236
+ shows: valueShows(field, value),
2452
2237
  typeRole: "label",
2453
2238
  font: area.fonts.label,
2454
2239
  // Names go before values. A value ranks below every name, so a
@@ -2543,10 +2328,8 @@ function roundBelow(v) {
2543
2328
  return out;
2544
2329
  }
2545
2330
  function sizeKeyItems(env, sizeMin, sizeMax, radiusOf, maxRadius, warnings) {
2546
- let title = typeof env.options.sizeLegend == "object" ? env.options.sizeLegend.label : void 0, values = sizeKeyValues(env, sizeMin, sizeMax, (size) => radiusOf(size) <= maxRadius, warnings), heading = title !== void 0, rings = values.map((value, index) => {
2547
- let decimals = 0;
2548
- for (; decimals < 20 && Math.abs(Number(roundHalfUp(value, decimals)) - value) > value * 1e-12; ) decimals++;
2549
- let text = formatAutomaticNumber(value, { locale: env.options.locale?.language, decimals });
2331
+ let title = typeof env.options.sizeLegend == "object" ? env.options.sizeLegend.label : void 0, values = sizeKeyValues(env, sizeMin, sizeMax, (size) => radiusOf(size) <= maxRadius, warnings), heading = title !== void 0, ringText = tickFormatter(env.sizeKeySpec, values), rings = values.map((value, index) => {
2332
+ let text = ringText(value);
2550
2333
  return {
2551
2334
  id: `size:${index}`,
2552
2335
  label: index === 0 && title && !heading ? `${title}: ${text}` : text,
@@ -2558,13 +2341,8 @@ function sizeKeyItems(env, sizeMin, sizeMax, radiusOf, maxRadius, warnings) {
2558
2341
  return heading ? [{ id: "size:title", label: title, paint: { token: "ink" }, key: "heading" }, ...rings] : rings;
2559
2342
  }
2560
2343
  var KEY_INSET = 4, KEY_TICK_PAST = 8, KEY_TEXT_GAP = 3;
2561
- function keyText(env, value) {
2562
- let decimals = 0;
2563
- for (; decimals < 20 && Math.abs(Number(roundHalfUp(value, decimals)) - value) > value * 1e-12; ) decimals++;
2564
- return formatAutomaticNumber(value, { locale: env.options.locale?.language, decimals });
2565
- }
2566
2344
  function plotSizeKey(env, area, sizeMin, sizeMax, claims, warnings, boxes = []) {
2567
- let { plot, fonts } = area, values = sizeKeyValues(env, sizeMin, sizeMax, () => !0, warnings, !0), radii = values.map((size) => area.radiusOf({ size })), R = Math.max(...radii), texts = values.map((value) => keyText(env, value)), font = fonts.tick, textW = Math.max(...texts.map((text) => env.measure(text, font).width)), textH = env.measure("0", font).height, title = typeof env.options.sizeLegend == "object" ? env.options.sizeLegend.label : void 0, titleSize = title ? env.measure(title, font) : { width: 0, height: 0 }, ringsW = 2 * R + KEY_TICK_PAST + KEY_TEXT_GAP + textW, ringsH = textH / 2 + 2 * R, titleGap = 3, w = Math.max(ringsW, titleSize.width);
2345
+ let { plot, fonts } = area, values = sizeKeyValues(env, sizeMin, sizeMax, () => !0, warnings, !0), radii = values.map((size) => area.radiusOf({ size })), R = Math.max(...radii), ringText = tickFormatter(env.sizeKeySpec, values), texts = values.map((value) => ringText(value)), font = fonts.tick, textW = Math.max(...texts.map((text) => env.measure(text, font).width)), textH = env.measure("0", font).height, title = typeof env.options.sizeLegend == "object" ? env.options.sizeLegend.label : void 0, titleSize = title ? env.measure(title, font) : { width: 0, height: 0 }, ringsW = 2 * R + KEY_TICK_PAST + KEY_TEXT_GAP + textW, ringsH = textH / 2 + 2 * R, titleGap = 3, w = Math.max(ringsW, titleSize.width);
2568
2346
  if (!boxes.length && (w + 2 * KEY_INSET > plot.w / 2 || ringsH + titleSize.height + titleGap + 2 * KEY_INSET > plot.h / 2)) return;
2569
2347
  let snapshot = claims.snapshot(), rule = (c) => c.kind === "annotation" || c.part === "referenceLine" || c.part === "quadrantDivider", blocked = snapshot.filter((c) => c.kind === "mark" || rule(c)), free = (box) => !blocked.some((c) => rectsOverlap(c.rect, { x: box.x - KEY_INSET, y: box.y - KEY_INSET, w: box.w + 2 * KEY_INSET, h: box.h + 2 * KEY_INSET })), place = (side, edge, region = plot) => {
2570
2348
  if (region !== plot && (w + 2 * KEY_INSET > region.w || ringsH + titleSize.height + titleGap + 2 * KEY_INSET > region.h)) return;
@@ -2640,6 +2418,7 @@ function annotateScatter(env, domain, area, geometry, occupied, solveCtx) {
2640
2418
  measure: env.measure,
2641
2419
  format: env.options.axisFormat?.y ?? env.options.format,
2642
2420
  locale: env.options.locale?.language,
2421
+ levelSpec: env.axisSpec.y,
2643
2422
  strings: env.options.strings,
2644
2423
  valueLinePercentLevels: env.options.unit === "%" || domain.pts.length > 0 && domain.pts.every((point) => point.yIsPct),
2645
2424
  solveCtx,
@@ -2820,13 +2599,9 @@ var SIZE_KEY_MAX_SHARE = 0.125;
2820
2599
  function scatterKeyItems(env, domain, paints, area, warnings, sizesInRow = !0) {
2821
2600
  let items = [];
2822
2601
  items.push(...zoneKeyItems(env.options)), domain.frontier && items.push({ id: "frontier", label: env.options.frontier?.label ?? chartString(env.options, "paretoLine"), paint: { token: "ink" }, key: "line", dash: dashToken(env.theme, "dotted"), lineCap: "round", width: strokeToken(env.theme, "rule") });
2823
- let trend = env.options.trend, named = typeof trend == "object" && trend.label ? trend.label : chartString(env.options, "linearTrend"), rate = trendRateFormatter(
2824
- env.options.axisFormat?.y ?? env.options.format,
2825
- env.options.locale?.language,
2826
- domain.pts.some((p) => p.yIsPct) ? "%" : env.options.unit
2827
- );
2602
+ let trend = env.options.trend, named = typeof trend == "object" && trend.label ? trend.label : chartString(env.options, "linearTrend"), r2Text = ruleFormatter(domain.trends.flatMap((fit) => fit.r2 === null ? [] : [fit.r2]), env.options.locale?.language);
2828
2603
  for (let fit of domain.trends) {
2829
- let group = fit.group === void 0 ? "" : `, ${domain.groups.get(fit.group)?.label ?? fit.group}`, slope = rate(fit.slope), r2 = fit.r2 === null ? "undefined" : formatAutomaticNumber(fit.r2, { locale: env.options.locale?.language, decimals: 2 });
2604
+ let group = fit.group === void 0 ? "" : `, ${domain.groups.get(fit.group)?.label ?? fit.group}`, slope = domain.trendRates.get(fit.id), r2 = fit.r2 === null ? "undefined" : r2Text(fit.r2);
2830
2605
  items.push({
2831
2606
  id: `trend:${fit.id}`,
2832
2607
  // The fit's own numbers, printed where the line is keyed.