boardplot 0.60.0 → 0.62.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 (422) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +2 -2
  3. package/dist/{ReaderBox-JJX4J7GC.js → ReaderBox-5QFALZHR.js} +5 -5
  4. package/dist/{annotateEngine-KNRKDLY3.js → annotateEngine-ONWZYNEM.js} +1 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-D4SXBDA4.js → chunk-23YYVMWH.js} +1 -1
  7. package/dist/{chunk-OMUW75ZR.js → chunk-2MK5437T.js} +7 -7
  8. package/dist/{chunk-CDFZV6LR.js → chunk-2P5KBQLT.js} +4 -4
  9. package/dist/{chunk-EH23CIC5.js → chunk-2VUEIEUO.js} +2 -2
  10. package/dist/{chunk-TASEX7VA.js → chunk-2YXO645A.js} +1 -1
  11. package/dist/{chunk-YHIBABKS.js → chunk-35JGEMCK.js} +35 -28
  12. package/dist/{chunk-XWGAANY4.js → chunk-3DXOZRRW.js} +3 -3
  13. package/dist/{chunk-PP23D6QV.js → chunk-3H72EFNC.js} +4 -4
  14. package/dist/{chunk-RDJ3ZU6O.js → chunk-3KYSWAEH.js} +13 -8
  15. package/dist/{chunk-XMRLQDOR.js → chunk-3QJVBKRX.js} +37 -37
  16. package/dist/{chunk-XVFUJRRC.js → chunk-3YSLEJPV.js} +1 -1
  17. package/dist/{chunk-DBKMJWPO.js → chunk-3Z4I6LNK.js} +1 -1
  18. package/dist/{chunk-J5QVU7GS.js → chunk-476R7YF4.js} +24 -20
  19. package/dist/{chunk-MA57XWZA.js → chunk-47IEMR6C.js} +85 -79
  20. package/dist/{chunk-ZNA4JHHG.js → chunk-4HZKH4HS.js} +2 -2
  21. package/dist/{chunk-CQ6WHTRL.js → chunk-4NGKSJBX.js} +109 -23
  22. package/dist/{chunk-DEJKDFS3.js → chunk-4SK4IGMK.js} +3 -3
  23. package/dist/{chunk-OL6HVC6K.js → chunk-4TTNLFTJ.js} +1 -1
  24. package/dist/{chunk-L2VWHKTJ.js → chunk-4XDWZJUX.js} +3 -1
  25. package/dist/{chunk-66FOKRUF.js → chunk-5FG24HFB.js} +4 -4
  26. package/dist/{chunk-HLQ74GAX.js → chunk-5J2PQ5EZ.js} +4 -4
  27. package/dist/{chunk-7BQK2UDV.js → chunk-5LUHGXXE.js} +1 -1
  28. package/dist/{chunk-FYFXOLWI.js → chunk-5OUURZ2T.js} +70 -58
  29. package/dist/{chunk-UNO3WZR2.js → chunk-64D7CHCE.js} +4 -4
  30. package/dist/{chunk-SBYKLBDV.js → chunk-6LYMOF2S.js} +4 -4
  31. package/dist/{chunk-52YYGKXG.js → chunk-6MXRNA4Z.js} +17 -17
  32. package/dist/{chunk-IDVHLD2L.js → chunk-6OM5IYNK.js} +68 -11
  33. package/dist/{chunk-B7UWG6XJ.js → chunk-6PR23T2O.js} +1 -1
  34. package/dist/{chunk-VGOZOBNB.js → chunk-6QQPQ2TX.js} +1 -1
  35. package/dist/{chunk-BQBD6Q5J.js → chunk-6RRK3VFP.js} +1 -1
  36. package/dist/{chunk-YM7MO7WI.js → chunk-6WEJGZVQ.js} +1 -1
  37. package/dist/{chunk-OYLZRQTX.js → chunk-6XDX3MIU.js} +5 -5
  38. package/dist/{chunk-5XAU6JH5.js → chunk-75OLP5KB.js} +35 -35
  39. package/dist/{chunk-UIHGGWES.js → chunk-77LQEREO.js} +1 -1
  40. package/dist/{chunk-PRVX4PAO.js → chunk-7JSGG67J.js} +1 -1
  41. package/dist/{chunk-RTN422GQ.js → chunk-7NUNEVOU.js} +14 -9
  42. package/dist/{chunk-2ZDFX75P.js → chunk-7OT6CVQT.js} +1 -1
  43. package/dist/{chunk-QCDJGYFU.js → chunk-7R43Y35G.js} +1 -1
  44. package/dist/{chunk-XLX3TUFO.js → chunk-7RAF2HJA.js} +2 -2
  45. package/dist/{chunk-CROGQZFW.js → chunk-7S57SH2K.js} +9 -9
  46. package/dist/{chunk-LWRLVDFU.js → chunk-7ZYGEPY2.js} +52 -28
  47. package/dist/{chunk-N5DPRWQ6.js → chunk-ABUJPENV.js} +53 -42
  48. package/dist/{chunk-C63YFMCB.js → chunk-ADVFTNDL.js} +4 -4
  49. package/dist/{chunk-MOPY5REE.js → chunk-AFONROHX.js} +3 -3
  50. package/dist/{chunk-EGCELTRX.js → chunk-AO73FLJT.js} +4 -4
  51. package/dist/{chunk-U75MMLNQ.js → chunk-AU2TQN6F.js} +4 -4
  52. package/dist/{chunk-34XJCEPN.js → chunk-BFHAYXUU.js} +2 -2
  53. package/dist/{chunk-UKEI7JDA.js → chunk-BFJKH4AX.js} +3 -2
  54. package/dist/{chunk-3JG764MI.js → chunk-BHO5H4AF.js} +43 -15
  55. package/dist/{chunk-T73SF424.js → chunk-BKZF27CE.js} +2 -2
  56. package/dist/{chunk-BXZNLMMH.js → chunk-BR2ADMLU.js} +2 -2
  57. package/dist/{chunk-BIRB4FIZ.js → chunk-BZUHBKMK.js} +4 -4
  58. package/dist/{chunk-N7BPP6ZZ.js → chunk-C2X6NYMY.js} +1 -1
  59. package/dist/{chunk-NOC5PYN3.js → chunk-C3ULVZI7.js} +2 -2
  60. package/dist/{chunk-JUVSZGY7.js → chunk-CFT6W2QY.js} +3 -3
  61. package/dist/{chunk-7KIULDTU.js → chunk-CPBJII5T.js} +5 -5
  62. package/dist/{chunk-LUYV7PHY.js → chunk-CTRPRU4Y.js} +16 -13
  63. package/dist/{chunk-3HKY4LAR.js → chunk-CWBM7MXM.js} +4 -4
  64. package/dist/{chunk-ZQ6AEWKM.js → chunk-CZZXZFYL.js} +2 -2
  65. package/dist/{chunk-TDVNIVU4.js → chunk-D2I2BUR6.js} +1 -1
  66. package/dist/{chunk-VRG7GG7T.js → chunk-DCFK2BUL.js} +2 -2
  67. package/dist/{chunk-5OV7VOGV.js → chunk-DVQR5SFL.js} +2 -2
  68. package/dist/{chunk-GZYMHC44.js → chunk-DWEVPNNE.js} +2 -2
  69. package/dist/{chunk-RQT52BP4.js → chunk-DYG4XMCC.js} +5 -5
  70. package/dist/{chunk-PCITI5ED.js → chunk-E46KFVP5.js} +11 -11
  71. package/dist/{chunk-DITI57ZB.js → chunk-EKKRDPVW.js} +1 -1
  72. package/dist/{chunk-UGAZT73S.js → chunk-ELFF5YO7.js} +8 -8
  73. package/dist/{chunk-2KICOGFN.js → chunk-EPRJX5BI.js} +2 -2
  74. package/dist/{chunk-JOX252XQ.js → chunk-EPS7N5ZS.js} +8 -3
  75. package/dist/{chunk-AGR4VJ2Y.js → chunk-ERIMFXE3.js} +1 -1
  76. package/dist/{chunk-TSGSZAAN.js → chunk-ESS7GAO5.js} +15 -15
  77. package/dist/{chunk-VTUSC24F.js → chunk-EW77WN7V.js} +2 -2
  78. package/dist/{chunk-CLZPPLDA.js → chunk-F2IGRFYM.js} +57 -33
  79. package/dist/{chunk-WQ2TZNGR.js → chunk-F7LDXGWD.js} +11 -11
  80. package/dist/{chunk-SDAVHADX.js → chunk-FC6H5ATA.js} +2 -2
  81. package/dist/{chunk-ISNHKFCU.js → chunk-FI5VGWUQ.js} +2 -2
  82. package/dist/{chunk-Q53IWBTJ.js → chunk-FPF73SCJ.js} +18 -15
  83. package/dist/{chunk-4S3DTNEQ.js → chunk-FSRAPSO7.js} +28 -28
  84. package/dist/{chunk-ID65JMYY.js → chunk-FXKGNJYB.js} +17 -17
  85. package/dist/{chunk-25JXYOSX.js → chunk-FXQH2QJN.js} +1 -1
  86. package/dist/{chunk-GDS7LEGY.js → chunk-GA7CIH6N.js} +23 -18
  87. package/dist/{chunk-GYEBEF4S.js → chunk-GCOFMXFJ.js} +5 -5
  88. package/dist/{chunk-Q4SQGAEI.js → chunk-GGWYJNHH.js} +4 -4
  89. package/dist/{chunk-64M7YDMJ.js → chunk-GNSAYVND.js} +2 -2
  90. package/dist/{chunk-X725AGYP.js → chunk-H7K3RXBQ.js} +2 -2
  91. package/dist/{chunk-I5LFCHNQ.js → chunk-HCAPGTEA.js} +1 -1
  92. package/dist/{chunk-RF6ZHX5F.js → chunk-HUU76QHF.js} +1 -1
  93. package/dist/{chunk-TZOHCW4R.js → chunk-HV6OKHM6.js} +1 -1
  94. package/dist/{chunk-7OLE7R46.js → chunk-HYBGISXA.js} +3 -3
  95. package/dist/{chunk-E7GO4KFZ.js → chunk-I37SEVQ4.js} +127 -79
  96. package/dist/{chunk-ZCOGCNT7.js → chunk-I3UJHKCS.js} +3 -3
  97. package/dist/{chunk-VSAX2PYB.js → chunk-I56NIVFF.js} +4 -4
  98. package/dist/{chunk-2KDELDD4.js → chunk-IDMGFWB7.js} +134 -116
  99. package/dist/{chunk-YDYZWCUQ.js → chunk-IHZNRJEV.js} +1 -1
  100. package/dist/{chunk-EFU2RCCR.js → chunk-IMKHDTEQ.js} +1 -1
  101. package/dist/{chunk-PYJZ7CCP.js → chunk-ISNWAYX2.js} +3 -3
  102. package/dist/{chunk-6IRPZUWJ.js → chunk-ITPXKZXT.js} +83 -79
  103. package/dist/{chunk-PS45RNDC.js → chunk-J233F6JA.js} +3 -3
  104. package/dist/{chunk-PSUSHJFV.js → chunk-J6WWK4VC.js} +1 -1
  105. package/dist/{chunk-DXKMCMIH.js → chunk-J77EYTIA.js} +2 -2
  106. package/dist/{chunk-D7FFMBHF.js → chunk-JCZ64D4G.js} +4 -4
  107. package/dist/{chunk-LUIHWUZB.js → chunk-JEC6YG2C.js} +34 -20
  108. package/dist/{chunk-BNBCHZ6D.js → chunk-JV3S3OCN.js} +19 -18
  109. package/dist/{chunk-7KZN3TXQ.js → chunk-K2ZDFPYP.js} +5 -5
  110. package/dist/{chunk-WPHEUEO3.js → chunk-K3METEEY.js} +133 -30
  111. package/dist/{chunk-WWFUZXCW.js → chunk-K464WFSQ.js} +4 -4
  112. package/dist/{chunk-T52ZPSGL.js → chunk-KDRI3KHH.js} +7 -2
  113. package/dist/{chunk-K7CONTAT.js → chunk-KK7UXU2E.js} +3 -3
  114. package/dist/{chunk-5SPL5QEB.js → chunk-KNTNUQNS.js} +8 -8
  115. package/dist/{chunk-QZAT46PP.js → chunk-KRSI6U6L.js} +1 -0
  116. package/dist/{chunk-SC2363Q7.js → chunk-KU5WGRQJ.js} +72 -44
  117. package/dist/{chunk-C7SY7RYQ.js → chunk-KWBG3P7W.js} +4 -4
  118. package/dist/{chunk-ZXT3OS6U.js → chunk-KWKJYMXJ.js} +3 -3
  119. package/dist/{chunk-XKKII2K5.js → chunk-KWTVCTWS.js} +246 -83
  120. package/dist/{chunk-ZOQRX5V7.js → chunk-KZ7ECRPL.js} +4 -4
  121. package/dist/{chunk-VCENIUYM.js → chunk-L46NAICE.js} +5 -5
  122. package/dist/{chunk-2OKDNNCY.js → chunk-L4VGGSB3.js} +4 -4
  123. package/dist/{chunk-76IZNTNL.js → chunk-L6T7FXEM.js} +6 -6
  124. package/dist/{chunk-2E2MK4XM.js → chunk-LE6QYQRU.js} +2 -2
  125. package/dist/{chunk-WDLWWEHZ.js → chunk-LIMLKOX7.js} +1 -1
  126. package/dist/{chunk-2FSJFKUH.js → chunk-LK5V7U6C.js} +5 -5
  127. package/dist/{chunk-6RQCZA7X.js → chunk-LNBYRD5Q.js} +4 -4
  128. package/dist/{chunk-CVLTU3T4.js → chunk-LTEGXWSU.js} +4 -4
  129. package/dist/{chunk-MXC5QMPC.js → chunk-LUIHCUMB.js} +4 -4
  130. package/dist/{chunk-GOVRBONO.js → chunk-MAA5IGGT.js} +2 -2
  131. package/dist/{chunk-RLRVSX4I.js → chunk-MDGVRYXX.js} +20 -20
  132. package/dist/{chunk-7TGG57QF.js → chunk-MEIDC7ZF.js} +4 -4
  133. package/dist/{chunk-RWVM4EVE.js → chunk-MTJZT6F2.js} +5 -5
  134. package/dist/{chunk-AXKZLSON.js → chunk-MUYU6KTM.js} +1 -1
  135. package/dist/{chunk-RPS7G77V.js → chunk-MVA2JWM4.js} +2 -2
  136. package/dist/{chunk-LCTLW4ZW.js → chunk-MYDVNJAA.js} +1 -1
  137. package/dist/{chunk-3PFNYRBD.js → chunk-NFEVGJJ6.js} +13 -13
  138. package/dist/{chunk-HXAWJC32.js → chunk-NFSG2WBI.js} +4 -4
  139. package/dist/{chunk-K7NCVUIB.js → chunk-NFYF7P6H.js} +36 -28
  140. package/dist/{chunk-ZT7QX7UQ.js → chunk-NL2K3CZM.js} +5 -5
  141. package/dist/{chunk-A2RKEC66.js → chunk-NTONEZH5.js} +20 -20
  142. package/dist/{chunk-GGXAAOKT.js → chunk-NTSJ2RXB.js} +4 -4
  143. package/dist/{chunk-OJWJMG6B.js → chunk-NVPORMKX.js} +15 -15
  144. package/dist/{chunk-NJNMKQHG.js → chunk-NXA2CNVU.js} +125 -31
  145. package/dist/{chunk-R2RLERPT.js → chunk-NYROTVGH.js} +1 -1
  146. package/dist/{chunk-W74Y5AUG.js → chunk-NZHIXLKM.js} +19 -17
  147. package/dist/{chunk-UIOZDIUB.js → chunk-OCANU74G.js} +3 -3
  148. package/dist/{chunk-IF4PERIE.js → chunk-OF4VHET3.js} +4 -4
  149. package/dist/{chunk-UXJXA4NP.js → chunk-OJLXBFI3.js} +1 -1
  150. package/dist/{chunk-5HOIOQK3.js → chunk-OLXZXEKQ.js} +1 -1
  151. package/dist/{chunk-UNBUFCQT.js → chunk-OQGSYQLE.js} +1 -1
  152. package/dist/{chunk-MZCJ22O4.js → chunk-OQQGM2TM.js} +1 -1
  153. package/dist/{chunk-FPWADEL6.js → chunk-OQRTTGYP.js} +22 -1
  154. package/dist/{chunk-XUEX5WTR.js → chunk-OQTD4GN4.js} +1 -1
  155. package/dist/{chunk-HOQJIUTX.js → chunk-OXWIBDJP.js} +2 -2
  156. package/dist/{chunk-F7QCIJAY.js → chunk-OYDZO5BR.js} +1 -1
  157. package/dist/{chunk-5PC6VOEW.js → chunk-PDUF6EII.js} +9 -9
  158. package/dist/{chunk-GEFUIQUO.js → chunk-PHRQAWK4.js} +2 -2
  159. package/dist/{chunk-NF74JTTK.js → chunk-PM5D5KYQ.js} +67 -30
  160. package/dist/{chunk-QF6NFIBD.js → chunk-Q5BD6PMX.js} +22 -22
  161. package/dist/{chunk-UHFSDVW2.js → chunk-QEEE2WH5.js} +4 -4
  162. package/dist/{chunk-BG2RBCJP.js → chunk-QMGCL5FR.js} +4 -4
  163. package/dist/{chunk-DXSYY6XR.js → chunk-QMZPQU65.js} +2 -2
  164. package/dist/{chunk-7VWXXBTC.js → chunk-QSNEZ4UR.js} +1 -1
  165. package/dist/{chunk-BHYY6VMQ.js → chunk-QSWLPQCW.js} +27 -23
  166. package/dist/{chunk-LVC2YJGV.js → chunk-R55LS2W2.js} +28 -28
  167. package/dist/{chunk-BLTQ2L6U.js → chunk-RDXJAEZ4.js} +4 -4
  168. package/dist/{chunk-OVYQJDRW.js → chunk-RDZNRSAB.js} +2 -2
  169. package/dist/{chunk-VHZ4MXJO.js → chunk-RFUSBITY.js} +1 -1
  170. package/dist/{chunk-4VKYFELK.js → chunk-RIGQU57Y.js} +7 -7
  171. package/dist/{chunk-DEUOC3IL.js → chunk-RNA5GO3B.js} +2 -2
  172. package/dist/{chunk-IFRDI7EF.js → chunk-RODV3OHP.js} +294 -180
  173. package/dist/{chunk-CPKPQQV6.js → chunk-RPK657TE.js} +16 -2
  174. package/dist/{chunk-HMWN6FTW.js → chunk-SAVO62PW.js} +1 -1
  175. package/dist/{chunk-3ADWX4BM.js → chunk-SB2DHY53.js} +18 -18
  176. package/dist/{chunk-BIQ5LJEC.js → chunk-SBHPRHKB.js} +4 -4
  177. package/dist/{chunk-TMY4PWDQ.js → chunk-SBPFCQNK.js} +4 -4
  178. package/dist/{chunk-PZZAVTLQ.js → chunk-SFPHP3CC.js} +2 -2
  179. package/dist/{chunk-PLVYTK2H.js → chunk-SIZW5V4G.js} +18 -14
  180. package/dist/{chunk-Y4BJ7D5F.js → chunk-SJ5KVLTG.js} +1 -1
  181. package/dist/{chunk-PGZGBVTS.js → chunk-SJZLWRRY.js} +8 -8
  182. package/dist/{chunk-A3AKNPLZ.js → chunk-SOAB4G33.js} +4 -4
  183. package/dist/{chunk-LPLRXEOT.js → chunk-ST2IQX7U.js} +57 -17
  184. package/dist/{chunk-E4XQSRH6.js → chunk-T33R2CM3.js} +7 -7
  185. package/dist/{chunk-FWPPZB4G.js → chunk-T4ZE7AIX.js} +2 -2
  186. package/dist/{chunk-HTXICOSJ.js → chunk-TCQ733WC.js} +15 -15
  187. package/dist/{chunk-J3GYX5BJ.js → chunk-TGTKAIDU.js} +20 -15
  188. package/dist/{chunk-AE6X6RRH.js → chunk-U4PDXI67.js} +4 -4
  189. package/dist/{chunk-JXMOPQXC.js → chunk-UGTYYTPP.js} +2 -2
  190. package/dist/{chunk-Y5ROVCMQ.js → chunk-UL3RNOYB.js} +3 -3
  191. package/dist/{chunk-MYBBZNYN.js → chunk-UOTZH4TG.js} +2 -2
  192. package/dist/{chunk-ZH4DRVFN.js → chunk-UQSH52UJ.js} +4 -4
  193. package/dist/{chunk-PL43U5GM.js → chunk-UWT66OAR.js} +1 -1
  194. package/dist/{chunk-QTT4AJY5.js → chunk-V4NJTLJP.js} +14 -14
  195. package/dist/{chunk-SY7JC3PH.js → chunk-V4YJRZHE.js} +1 -1
  196. package/dist/{chunk-FP4INYSU.js → chunk-V5Y3CXSU.js} +4 -4
  197. package/dist/{chunk-TTY4CA7M.js → chunk-VZFPQMYN.js} +9 -9
  198. package/dist/{chunk-C26Z5AEW.js → chunk-W35C2SL3.js} +3 -3
  199. package/dist/{chunk-X5I3LGHD.js → chunk-W6ZCXWOK.js} +1 -1
  200. package/dist/{chunk-TUYKMVYV.js → chunk-WDP7IDGF.js} +13 -13
  201. package/dist/{chunk-L3B46VGP.js → chunk-WDQJ2DRZ.js} +14 -14
  202. package/dist/{chunk-3HKL6KJ6.js → chunk-WKBW4JFU.js} +1 -1
  203. package/dist/chunk-WM65Q3AL.js +69 -0
  204. package/dist/{chunk-HPNQ3GKK.js → chunk-WO6ZJCAO.js} +4 -4
  205. package/dist/chunk-WSRGEK5T.js +89 -0
  206. package/dist/{chunk-NGKZRGQL.js → chunk-WXGBSBHQ.js} +13 -12
  207. package/dist/{chunk-XDGAJVCG.js → chunk-WXOSGKMS.js} +8 -8
  208. package/dist/{chunk-6BAUUBP2.js → chunk-XBASXPUJ.js} +2 -2
  209. package/dist/{chunk-O6E2LWGK.js → chunk-XDDFM3BH.js} +6 -6
  210. package/dist/{chunk-ENVV7LI4.js → chunk-XJOCPL6R.js} +2 -2
  211. package/dist/{chunk-ETSWVJB6.js → chunk-XJSI7ZO2.js} +1 -1
  212. package/dist/chunk-XKGZWQF7.js +63 -0
  213. package/dist/{chunk-ZLH7XSHV.js → chunk-XLHURGH3.js} +5 -5
  214. package/dist/{chunk-LGNAFFIL.js → chunk-XWQDNJ36.js} +4 -4
  215. package/dist/{chunk-ZS24JHBP.js → chunk-YBQ4F27M.js} +4 -4
  216. package/dist/{chunk-ZIC22PSH.js → chunk-YDT6QZZK.js} +9 -9
  217. package/dist/{chunk-BJS6TLLE.js → chunk-YE6B7P6Q.js} +1 -1
  218. package/dist/{chunk-UF7OWARN.js → chunk-YERTQ576.js} +4 -4
  219. package/dist/{chunk-GNK7RTO4.js → chunk-YF4DIQJR.js} +4 -4
  220. package/dist/{chunk-7XO74NDR.js → chunk-YHLKL4R5.js} +3 -3
  221. package/dist/{chunk-E6KUWZ5W.js → chunk-YHSY6CVM.js} +4 -4
  222. package/dist/{chunk-RYH3JFCL.js → chunk-YJGZ3AOW.js} +2 -2
  223. package/dist/{chunk-5DTMIKDX.js → chunk-YKK25QM4.js} +4 -4
  224. package/dist/{chunk-3WC2TA6C.js → chunk-YMBJHKTY.js} +3 -3
  225. package/dist/{chunk-TLKRYDH3.js → chunk-YTFU2B5K.js} +2 -2
  226. package/dist/{chunk-AH2L44TR.js → chunk-YUIITZCO.js} +3 -3
  227. package/dist/{chunk-XHEG2BG6.js → chunk-Z3VCVPYX.js} +1 -1
  228. package/dist/{chunk-MF6XGFHB.js → chunk-ZB4WVG7Q.js} +7 -3
  229. package/dist/{chunk-YCTBPRV4.js → chunk-ZCB5MLPW.js} +3 -3
  230. package/dist/{chunk-DP5CXMZW.js → chunk-ZDQ2EWWH.js} +32 -28
  231. package/dist/{chunk-FG2VET62.js → chunk-ZG46HLGN.js} +108 -81
  232. package/dist/chunk-ZGL2P56Z.js +11 -0
  233. package/dist/{chunk-6USMWXB3.js → chunk-ZIAPNZ6R.js} +4 -4
  234. package/dist/{chunk-Q7GDGSTK.js → chunk-ZLIVUVIV.js} +28 -16
  235. package/dist/{chunk-IRCLNPLJ.js → chunk-ZMCTTTR2.js} +4 -4
  236. package/dist/{chunk-STRN4XOX.js → chunk-ZYJZ624V.js} +5 -5
  237. package/dist/cli/index.js +2 -2
  238. package/dist/{core-32KM4AJG.js → core-2DRDBSL7.js} +2 -1
  239. package/dist/{core-OZLK2EJW.js → core-2VAPYQDA.js} +2 -1
  240. package/dist/{core-STATMGC7.js → core-3JGHUUZZ.js} +2 -1
  241. package/dist/{core-6N5ONDKG.js → core-3KMBTZ32.js} +3 -1
  242. package/dist/{core-J5DSGZZR.js → core-4HEB3CRT.js} +2 -1
  243. package/dist/{core-2JHH5LLH.js → core-4WT74WGL.js} +3 -1
  244. package/dist/{core-JFORSZQS.js → core-4ZUNKYYC.js} +2 -1
  245. package/dist/{core-RYEENVFZ.js → core-5VCTJDQM.js} +2 -1
  246. package/dist/{core-FRVHGKYW.js → core-AJANHLTB.js} +2 -1
  247. package/dist/{core-7II27MGX.js → core-AL3TDBHQ.js} +5 -1
  248. package/dist/{core-AAC2ESXF.js → core-ATBNPTR5.js} +2 -1
  249. package/dist/{core-REYW2XB3.js → core-BIEUVBZK.js} +3 -1
  250. package/dist/{core-COGECGZY.js → core-C2CCLPE5.js} +2 -1
  251. package/dist/{core-XHSGRJDP.js → core-C3VC6YEV.js} +3 -1
  252. package/dist/{core-V2RMMBMO.js → core-DCWAUTD4.js} +2 -1
  253. package/dist/{core-X4SPCV6G.js → core-GYDBZC7Q.js} +3 -1
  254. package/dist/{core-255NAAUA.js → core-H3RRJPQK.js} +2 -1
  255. package/dist/{core-BTKBKGCU.js → core-HAMHEP3M.js} +3 -1
  256. package/dist/{core-CELQJZJB.js → core-HRBOWCHO.js} +2 -1
  257. package/dist/{core-WU6DBIAM.js → core-IHG5XK6Q.js} +2 -1
  258. package/dist/{core-L4EGZ73S.js → core-JNA7L23P.js} +3 -1
  259. package/dist/{core-QYAXEGWD.js → core-JTHVZEC4.js} +2 -1
  260. package/dist/{core-YTTTVHUH.js → core-JXCXTDYK.js} +3 -1
  261. package/dist/{core-TBQAFBDU.js → core-LL2O5PBD.js} +3 -1
  262. package/dist/{core-HRHUGQNB.js → core-NNHCWP3B.js} +2 -1
  263. package/dist/{core-FLCLKSGA.js → core-OM3DGO6B.js} +2 -1
  264. package/dist/{core-GCYDQRFM.js → core-QH3H6ZPI.js} +2 -1
  265. package/dist/{core-YVWLKGAN.js → core-QKDNA6KJ.js} +2 -1
  266. package/dist/{core-W4NG6WON.js → core-R6OE3ORL.js} +2 -1
  267. package/dist/{core-NARJSEGI.js → core-RZI7LRK3.js} +5 -1
  268. package/dist/{core-6GE3EMCB.js → core-SXBMOZ3W.js} +2 -1
  269. package/dist/{core-GETUMW6I.js → core-TXADFQ3I.js} +3 -1
  270. package/dist/{core-SUFLQLWC.js → core-UOB4JKCT.js} +2 -1
  271. package/dist/{core-56KTQ7DK.js → core-WIV43MFA.js} +2 -1
  272. package/dist/{core-W3XIUTU7.js → core-XDPELH2B.js} +4 -1
  273. package/dist/{core-F7ASDBXB.js → core-YKHQUOAW.js} +2 -1
  274. package/dist/{core-QLJQOZGJ.js → core-ZXGKAECT.js} +4 -1
  275. package/dist/{dataTable-OI4CVMFJ.js → dataTable-JBVSQNJX.js} +3 -2
  276. package/dist/{engine-3SQQ2S5U.js → engine-QUEIPS7M.js} +44 -18
  277. package/dist/fixtures.js +2 -1
  278. package/dist/fonts.js +4 -4
  279. package/dist/index.js +21 -20
  280. package/dist/{main-TWTT3Q2R.js → main-V264O3WR.js} +8 -7
  281. package/dist/mcp/server.js +14 -13
  282. package/dist/react/bar.js +5 -1
  283. package/dist/react/bartable.js +3 -1
  284. package/dist/react/box.js +3 -1
  285. package/dist/react/bullet.js +4 -1
  286. package/dist/react/butterfly.js +3 -1
  287. package/dist/react/choropleth.js +3 -1
  288. package/dist/react/cohort.js +3 -1
  289. package/dist/react/column.js +4 -1
  290. package/dist/react/combo.js +4 -1
  291. package/dist/react/creative.js +3 -1
  292. package/dist/react/diagram.js +3 -1
  293. package/dist/react/dimswitch.js +2 -1
  294. package/dist/react/dot.js +6 -1
  295. package/dist/react/export.js +19 -18
  296. package/dist/react/funnel.js +3 -1
  297. package/dist/react/gantt.js +3 -1
  298. package/dist/react/grid.js +5 -1
  299. package/dist/react/heatmap.js +3 -1
  300. package/dist/react/histogram.js +4 -1
  301. package/dist/react/index.js +86 -84
  302. package/dist/react/kpi.js +3 -1
  303. package/dist/react/likert.js +5 -1
  304. package/dist/react/line.js +3 -1
  305. package/dist/react/mekko.js +4 -1
  306. package/dist/react/pareto.js +3 -1
  307. package/dist/react/pie.js +3 -1
  308. package/dist/react/prepare.js +24 -22
  309. package/dist/react/pvm.js +4 -1
  310. package/dist/react/pyramid.js +3 -1
  311. package/dist/react/sankey.js +3 -1
  312. package/dist/react/scatter.js +3 -1
  313. package/dist/react/slope.js +4 -1
  314. package/dist/react/sparkline.js +3 -1
  315. package/dist/react/spec.js +12 -10
  316. package/dist/react/status.js +3 -1
  317. package/dist/react/story.js +4 -3
  318. package/dist/react/table.js +2 -1
  319. package/dist/react/theme.js +4 -3
  320. package/dist/react/tilemap.js +3 -1
  321. package/dist/react/treemap.js +3 -1
  322. package/dist/react/variance.js +4 -1
  323. package/dist/react/waffle.js +3 -1
  324. package/dist/react/waterfall.js +4 -1
  325. package/dist/{resvg-ZYEZTSUO.js → resvg-M5HJ3ME3.js} +1 -1
  326. package/dist/{rowsModule-BULW5KS2.js → rowsModule-6UL4SSUC.js} +1 -1
  327. package/dist/{schema-D3ELHESU.js → schema-3FSG2YXY.js} +1 -1
  328. package/dist/{schema-PBMYZKBK.js → schema-5PQPGEZQ.js} +1 -1
  329. package/dist/{schema-SUDJBIHX.js → schema-6LUORZNN.js} +1 -1
  330. package/dist/{schema-LGYHJPXU.js → schema-6MDHX2E7.js} +1 -1
  331. package/dist/{schema-4HGZZNUL.js → schema-7HXHGBUN.js} +1 -1
  332. package/dist/{schema-5SVPR3EU.js → schema-ACOD4XKI.js} +1 -1
  333. package/dist/{schema-AM2KS6ZC.js → schema-B3I7XBP3.js} +1 -1
  334. package/dist/{schema-4YIYGGOJ.js → schema-CCOTGURZ.js} +1 -1
  335. package/dist/{schema-GYVYJEL3.js → schema-E5O7M5KM.js} +1 -1
  336. package/dist/{schema-PAKZIYQF.js → schema-EWATAK6Z.js} +1 -1
  337. package/dist/{schema-NNNG7CWG.js → schema-FEBMLOZG.js} +1 -1
  338. package/dist/{schema-GYTWCCNA.js → schema-FL57LIU2.js} +1 -1
  339. package/dist/{schema-NI5B642U.js → schema-FTRAVEX3.js} +2 -1
  340. package/dist/{schema-FBIEOKO2.js → schema-GSKCG2WP.js} +1 -1
  341. package/dist/{schema-FPDLOIA6.js → schema-HVDY6QXK.js} +1 -1
  342. package/dist/{schema-XKPUXAVB.js → schema-I267TVQ4.js} +1 -1
  343. package/dist/{schema-IYLRZNFB.js → schema-IG2WGTQO.js} +1 -1
  344. package/dist/{schema-YCKUQ3FF.js → schema-ITZQDKSE.js} +1 -1
  345. package/dist/{schema-C25ECGJL.js → schema-LCOGZNQF.js} +1 -1
  346. package/dist/{schema-A4U4RDKJ.js → schema-MC3CQNPR.js} +1 -1
  347. package/dist/{schema-FQWENOJY.js → schema-MP2QNFCN.js} +1 -1
  348. package/dist/{schema-CBLNGK2F.js → schema-NYCMLGOW.js} +1 -1
  349. package/dist/{schema-GTLGAPCU.js → schema-OML7XS7J.js} +1 -1
  350. package/dist/{schema-IYBZPCM4.js → schema-QAAVXXYR.js} +1 -1
  351. package/dist/{schema-3LRC5TOZ.js → schema-QPYFXSEQ.js} +1 -1
  352. package/dist/{schema-WDKBCN3V.js → schema-RJBIXN5U.js} +1 -1
  353. package/dist/{schema-P2JYSV32.js → schema-RW47HWVO.js} +1 -1
  354. package/dist/{schema-TRPPZCIR.js → schema-S7Q4YR7R.js} +1 -1
  355. package/dist/{schema-YVBUY7NH.js → schema-SWVWMZY3.js} +1 -1
  356. package/dist/{schema-LX4EXDTI.js → schema-T3RSFE2V.js} +1 -1
  357. package/dist/{schema-KPZVLE6A.js → schema-T4CGWZLB.js} +4 -2
  358. package/dist/{schema-VH4AW62Z.js → schema-TXYKZ5NT.js} +1 -1
  359. package/dist/{schema-5OLQ54J5.js → schema-U6CZI6XG.js} +1 -1
  360. package/dist/{schema-SQ2GYLMI.js → schema-XE4WY64H.js} +1 -1
  361. package/dist/{schema-HAMPGUH3.js → schema-YDWVXQPK.js} +1 -1
  362. package/dist/{schema-KBV2JB2A.js → schema-YPGXVI22.js} +1 -1
  363. package/dist/{schema-2ACHQTR3.js → schema-ZMOIP2BK.js} +1 -1
  364. package/dist/{specValidation-5J6DDCHF.js → specValidation-6LVTTHZI.js} +2 -1
  365. package/dist/theme.js +3 -3
  366. package/dist/{themeShapeRules-MOUDTDUB.js → themeShapeRules-NDEXKFC7.js} +1 -1
  367. package/dist/types/core/annotate.d.ts +9 -0
  368. package/dist/types/core/annotateFields.d.ts +36 -1
  369. package/dist/types/core/annotateTargets.d.ts +2 -0
  370. package/dist/types/core/charts/bar/layout.d.ts +1 -1
  371. package/dist/types/core/charts/column/model.d.ts +3 -1
  372. package/dist/types/core/charts/grid/metricStack.d.ts +35 -3
  373. package/dist/types/core/charts/grid/metricStackSchema.d.ts +8 -0
  374. package/dist/types/core/charts/grid/schema.d.ts +5 -0
  375. package/dist/types/core/charts/scatter/layout.d.ts +18 -1
  376. package/dist/types/core/charts/scatter/marks.d.ts +94 -0
  377. package/dist/types/core/charts/scatter/zones.d.ts +52 -0
  378. package/dist/types/core/fontMetrics/index.d.ts +3 -1
  379. package/dist/types/core/fontMetrics/injected.d.ts +1 -0
  380. package/dist/types/core/frame.d.ts +7 -2
  381. package/dist/types/core/label/occupied.d.ts +1 -1
  382. package/dist/types/core/registry.d.ts +2 -0
  383. package/dist/types/core/request.d.ts +7 -0
  384. package/dist/types/core/sizing.d.ts +9 -0
  385. package/dist/types/core/themeGeometry.d.ts +184 -0
  386. package/dist/types/core/types/data.d.ts +2 -0
  387. package/dist/types/core/types/options.d.ts +10 -0
  388. package/dist/types/core/types/scene.d.ts +11 -0
  389. package/dist/types/core/types/theme.d.ts +26 -2
  390. package/dist/types/react/hover/engine.d.ts +5 -1
  391. package/dist/types/react/hover/labelCard.d.ts +33 -2
  392. package/dist/types/react/hover/placement.d.ts +11 -0
  393. package/dist/types/react/prepare.d.ts +2 -1
  394. package/dist/types/react/useHover.d.ts +1 -0
  395. package/dist/types/theme.d.ts +1 -1
  396. package/dist/validate.js +8 -6
  397. package/docs/manual.md +4 -2
  398. package/docs/reference/bar.md +2 -2
  399. package/docs/reference/bullet.md +1 -1
  400. package/docs/reference/butterfly.md +1 -1
  401. package/docs/reference/column.md +2 -2
  402. package/docs/reference/combo.md +2 -2
  403. package/docs/reference/dot.md +2 -2
  404. package/docs/reference/fixtures.md +3 -0
  405. package/docs/reference/grid.md +25 -12
  406. package/docs/reference/heatmap.md +1 -1
  407. package/docs/reference/line.md +2 -2
  408. package/docs/reference/mekko.md +2 -2
  409. package/docs/reference/options.md +6 -1
  410. package/docs/reference/pvm.md +1 -1
  411. package/docs/reference/react.md +4 -2
  412. package/docs/reference/scatter.md +1 -1
  413. package/docs/reference/slope.md +2 -2
  414. package/docs/reference/sparkline.md +1 -0
  415. package/docs/reference/table.md +1 -1
  416. package/docs/reference/theme.md +5 -1
  417. package/docs/reference/variance.md +1 -1
  418. package/docs/reference/waterfall.md +1 -1
  419. package/package.json +1 -1
  420. package/dist/chunk-6AIHN5S6.js +0 -89
  421. package/dist/chunk-CDZHNLO6.js +0 -42
  422. package/dist/chunk-QPWRHDLZ.js +0 -17
@@ -5,5 +5,189 @@ import { type TypeWidthClass } from './theme.js';
5
5
  import type { Theme } from './types/theme.js';
6
6
  /** Paint values are excluded; anything that can change layout remains. */
7
7
  export declare function themeGeometryTokens(theme: Theme, target?: RenderTarget): unknown;
8
+ /** Numeric table widths and heights have no paint, panel grid, or series legend. */
9
+ export declare function tableFitThemeTokens(theme: Theme, target: RenderTarget): {
10
+ target?: RenderTarget | undefined;
11
+ scenario: {
12
+ AC: 'solid';
13
+ PY: 'solidLight';
14
+ PL: 'outline' | 'solidMuted';
15
+ FC: 'hatch45';
16
+ };
17
+ pattern: {
18
+ hatchAngle: 45;
19
+ hatchGap: number;
20
+ hatchStrokeWidth: number;
21
+ outlineStrokeWidth: number;
22
+ hatchColor: "ink" | "segment";
23
+ };
24
+ stroke: Partial<Record<import("./types/index.js").StrokeRole, number>> | undefined;
25
+ dash: Partial<Record<import("./types/index.js").DashRole, number[]>> | undefined;
26
+ labels: {
27
+ endLabelPlacement?: 'gutter' | 'lineEnd';
28
+ ink?: 'ink' | 'muted';
29
+ } | undefined;
30
+ valueAxis: {
31
+ titles?: boolean;
32
+ includeZero?: boolean;
33
+ dualAxis?: boolean;
34
+ gridDash?: 'solid' | 'dotted' | 'dashed';
35
+ } | undefined;
36
+ marks: {
37
+ lineMarkers?: 'auto' | 'none';
38
+ areaTint?: number;
39
+ nodeRadius?: number;
40
+ nodeStroke?: 'axis' | 'grid' | 'leader' | 'ink' | 'inkMuted';
41
+ nodeStrokeWidth?: number;
42
+ areaFromOrigin?: boolean;
43
+ barLabels?: 'auto' | 'outside';
44
+ comboColumnTint?: number;
45
+ comboLine?: 'series' | 'ink';
46
+ sparkEnd?: 'dot' | 'ring';
47
+ sparkEndLabel?: boolean;
48
+ nodeFill?: 'role' | 'panel';
49
+ kpiCaret?: boolean;
50
+ kpiSlotFill?: boolean;
51
+ bridge?: 'neutral' | 'sign';
52
+ funnelFill?: 'status' | 'ramp';
53
+ statusFill?: 'quiet' | 'full';
54
+ bulletBandFill?: 'light' | 'full';
55
+ arrow?: import("./types/index.js").ThemeArrow;
56
+ } | undefined;
57
+ table: {
58
+ head?: import("./types/index.js").ThemeTableFace & {
59
+ case?: 'upper' | 'asis';
60
+ };
61
+ section?: import("./types/index.js").ThemeTableFace & {
62
+ ink?: 'ink' | 'inkMuted' | 'inkMeta';
63
+ case?: 'upper' | 'asis';
64
+ spaceBefore?: number;
65
+ rule?: 'heavy' | 'hair';
66
+ };
67
+ fixedType?: boolean;
68
+ compactStep?: number;
69
+ noPrevious?: 'na' | 'missing';
70
+ groupGround?: 'expanded' | 'always' | 'none';
71
+ ofWhich?: 'muted' | 'ink';
72
+ dataGap?: 'word' | 'glyph';
73
+ glyphs?: {
74
+ missing?: string;
75
+ na?: string;
76
+ nm?: string;
77
+ suppressed?: string;
78
+ };
79
+ headPad?: import("./types/index.js").ThemeTablePad;
80
+ groupPad?: import("./types/index.js").ThemeTablePad;
81
+ endRule?: 'auto' | 'none';
82
+ mark?: 'bare' | 'boxed';
83
+ rows?: {
84
+ lineHeight?: number;
85
+ pad?: number;
86
+ };
87
+ weights?: {
88
+ emphasis?: number;
89
+ member?: number;
90
+ measure?: number;
91
+ subtotal?: number;
92
+ result?: number;
93
+ figures?: {
94
+ member?: number;
95
+ measure?: number;
96
+ subtotal?: number;
97
+ result?: number;
98
+ };
99
+ block?: number;
100
+ change?: number;
101
+ };
102
+ ruleWidths?: {
103
+ head?: number;
104
+ row?: number;
105
+ };
106
+ resultRule?: 'ink' | 'rule' | 'none';
107
+ finalRule?: 'double' | 'rule' | 'none';
108
+ driver?: {
109
+ italic?: boolean;
110
+ };
111
+ qualifier?: {
112
+ sizeDelta?: number;
113
+ gap?: number;
114
+ };
115
+ toggle?: {
116
+ size?: number;
117
+ gap?: number;
118
+ };
119
+ operator?: {
120
+ width?: number;
121
+ };
122
+ tones?: 'ink' | 'fill';
123
+ grounds?: {
124
+ good?: string;
125
+ goodStrong?: string;
126
+ warn?: string;
127
+ bad?: string;
128
+ subtotal?: string;
129
+ total?: string;
130
+ };
131
+ headRule?: 'rule' | 'ink';
132
+ blockRule?: 'grid' | 'rule';
133
+ closeRule?: 'rule' | 'grid' | 'none';
134
+ } | undefined;
135
+ legend: boolean;
136
+ seriesOverflow: "cycle" | "repeatLast";
137
+ type: {
138
+ family: string;
139
+ title: import("./text.js").FontSpec;
140
+ subtitle: import("./text.js").FontSpec;
141
+ label: import("./text.js").FontSpec;
142
+ axis: import("./text.js").FontSpec;
143
+ footnote: import("./text.js").FontSpec;
144
+ micro?: import("./text.js").FontSpec;
145
+ secondary?: import("./text.js").FontSpec;
146
+ scale?: {
147
+ S?: Partial<Record<import("./types/index.js").TypeRoleName, number>>;
148
+ L?: Partial<Record<import("./types/index.js").TypeRoleName, number>>;
149
+ };
150
+ numeric?: 'tabular' | 'proportional';
151
+ figure?: {
152
+ family?: string;
153
+ weight?: number;
154
+ };
155
+ display?: {
156
+ size?: number;
157
+ lineHeight?: number;
158
+ };
159
+ eyebrow?: import("./types/index.js").ThemeEyebrow;
160
+ emphasis?: {
161
+ weight?: number;
162
+ };
163
+ };
164
+ surface: undefined;
165
+ seriesCount: undefined;
166
+ space: {
167
+ tierGap: number;
168
+ tierHeadingGap?: number;
169
+ canvas?: {
170
+ base?: Partial<import("./geometry.js").Margin>;
171
+ wide?: Partial<import("./geometry.js").Margin>;
172
+ };
173
+ gap?: {
174
+ titleSubtitle?: number;
175
+ subtitlePlot?: number;
176
+ subtitlePlotWide?: number;
177
+ axisFootnote?: number;
178
+ axisFootnoteWide?: number;
179
+ footnoteSource?: number;
180
+ legend?: number;
181
+ };
182
+ legendRowH?: number;
183
+ barRow?: {
184
+ thickness: number;
185
+ pitch: number;
186
+ };
187
+ footerFollows?: boolean;
188
+ facetGap: undefined;
189
+ labelPad: undefined;
190
+ };
191
+ };
8
192
  /** Output metadata from the final layout. Text roles are supplied by the text lanes. */
9
193
  export declare function presentationInfo(geometry: Geometry<object, object>, target: RenderTarget, inheritedClass?: TypeWidthClass, textScale?: number): PresentationInfo;
@@ -250,6 +250,8 @@ export interface SparklineData {
250
250
  values: Cell[];
251
251
  /** One name per value, used for the end labels and the hover records. */
252
252
  labels?: string[];
253
+ /** The name of the metric the line shows. The hover card names each value with it ("Orders: 18"); nothing on the chart prints it. */
254
+ label?: string;
253
255
  }
254
256
  export interface GridPanel {
255
257
  id: Id;
@@ -166,6 +166,10 @@ export interface StringsSpec {
166
166
  average?: string;
167
167
  /** Tolerance-band bounds. Fields: {v1}, {v2}. */
168
168
  valueLineRange?: string;
169
+ /** Key of a tolerance band on a column, bar or dot chart. Fields: {name}, {range}. */
170
+ valueLineRangeKey?: string;
171
+ /** Key of a tolerance band whose line has no name. Fields: {range}. */
172
+ valueLineRangeKeyPlain?: string;
169
173
  /** Text after a running category name in its key or note. */
170
174
  toDate?: string;
171
175
  /** Key for the forecast pattern. */
@@ -282,6 +286,12 @@ export interface StringsSpec {
282
286
  rebaseMissing?: string;
283
287
  /** Required note for incomplete 100% stacks without total100; {categories} is replaced. */
284
288
  knownPartsShares?: string;
289
+ /** Metric stack focus look: the base value after the change; {v1} is the base value. */
290
+ stackFrom?: string;
291
+ /** Metric stack focus look: the word between the focus and the base window in the header line. */
292
+ stackAgainst?: string;
293
+ /** Metric stack focus look: the header sentence when a window holds more than one category; {v1} is the grain. */
294
+ stackAverages?: string;
285
295
  }
286
296
  /** One step of a story: its panel text and the data ids it brings forward. No highlight is an intro step. */
287
297
  export interface StoryStepSpec {
@@ -110,6 +110,17 @@ export type ThemePaintSource = {
110
110
  kind: 'total-apart';
111
111
  apartFrom: Paint[];
112
112
  }
113
+ /**
114
+ * A column of the metric stack focus look in its state: the focus, the base window or another category.
115
+ * Step `index` of `count` stacked measures on the state's ramp (focusRampColors): the focus from the accent,
116
+ * the base from the strong neutral, the others from the light neutral, each toward the page.
117
+ */
118
+ | {
119
+ kind: 'focus-ramp';
120
+ state: 'focus' | 'base' | 'rest';
121
+ index: number;
122
+ count: number;
123
+ }
113
124
  /** A plain waterfall segment colour, tinted in the active theme where it reads too close to the total (segmentApartPaints). */
114
125
  | {
115
126
  kind: 'segment-apart';
@@ -259,6 +259,17 @@ export interface Theme {
259
259
  family?: string;
260
260
  weight?: number;
261
261
  };
262
+ /**
263
+ * The value of every panel in the metric stack focus look
264
+ * (`options.stack.variant: 'focus'`), in every readout layout: its size
265
+ * in px and its line height as a ratio of the size. It prints in the
266
+ * family and weight of `figure`. `type.scale` does not step it;
267
+ * `textScale` does. Absent means 36 px on a 1.11 line.
268
+ */
269
+ display?: {
270
+ size?: number;
271
+ lineHeight?: number;
272
+ };
262
273
  /**
263
274
  * The eyebrow of a KPI card, the label over the figure when the
264
275
  * card has no title: size and line height, weight, tracking in em of the
@@ -731,6 +742,8 @@ export interface ThemeTable {
731
742
  };
732
743
  /** True: density changes row height and cell padding only, never a type size. */
733
744
  fixedType?: boolean;
745
+ /** Px of air the compact density takes off each side of a body or total row. Absent: half of the row's regular air, rounded down. */
746
+ compactStep?: number;
734
747
  /** What a change against a previous column prints where the group has none. */
735
748
  noPrevious?: 'na' | 'missing';
736
749
  /** Which group rows carry the group ground when the table option `groupGround` is absent: 'expanded' (default), 'always' or 'none'. */
@@ -870,8 +883,19 @@ export interface ThemeTablePad {
870
883
  */
871
884
  export type ThemeRef = string | {
872
885
  preset: string;
873
- overrides?: DeepPartial<Theme>;
886
+ overrides?: ThemeOverrides;
874
887
  } | {
875
888
  preset?: never;
876
- overrides: DeepPartial<Theme>;
889
+ overrides: ThemeOverrides;
890
+ };
891
+ /**
892
+ * Theme overrides: every token is optional. A text role that a theme may
893
+ * leave out (secondary, micro) takes any subset of its fields; the fields an
894
+ * override leaves out keep the values the theme draws for that text.
895
+ */
896
+ export type ThemeOverrides = Omit<DeepPartial<Theme>, 'type'> & {
897
+ type?: Omit<DeepPartial<Theme['type']>, 'secondary' | 'micro'> & {
898
+ secondary?: Partial<FontSpec>;
899
+ micro?: Partial<FontSpec>;
900
+ };
877
901
  };
@@ -157,8 +157,12 @@ export declare function CustomCard({ input, theme, origin, label, contentId, loc
157
157
  * when the open record was picked, to the card `card`: the convex hull of the
158
158
  * point and the box. A pointer on its way to the card crosses other marks;
159
159
  * inside the corridor the open card stays. Client pixels.
160
+ *
161
+ * A pointer on the points' path (`path`, CSS pixels from the chart's
162
+ * `origin`) is on its way to another point, not to the card: there the
163
+ * pointer picks again, so the card never holds a point the pointer has left.
160
164
  */
161
- export declare function inCardCorridor(from: Point, card: Rect, point: Point): boolean;
165
+ export declare function inCardCorridor(from: Point, card: Rect, point: Point, path?: readonly Point[], origin?: Point): boolean;
162
166
  export interface TableCardAnchor {
163
167
  x: number;
164
168
  y: number;
@@ -90,6 +90,14 @@ export interface LabelCardInput {
90
90
  pointer?: Point;
91
91
  previousSide?: CardSide;
92
92
  band?: 'x' | 'y';
93
+ /**
94
+ * On a chart that picks its record by the pointer's position along an axis,
95
+ * the convex hull of its points: the area the pointer crosses on its way
96
+ * from one point to another. A seat keeps `PATH_PAD` clear of it.
97
+ */
98
+ path?: readonly Point[];
99
+ /** The pointed record's own mark, where `target` spans its whole category: a seat off `path` stays within `CLEAR_REACH` of it. */
100
+ mark?: Rect;
93
101
  /** Prefer clear table space; reading order breaks equal costs. */
94
102
  slots?: 'table';
95
103
  direction?: 'ltr' | 'rtl';
@@ -108,10 +116,20 @@ export interface LabelCardLayout extends LabelCardContent {
108
116
  scene: SceneNode[];
109
117
  decisions: PlaceDecision[];
110
118
  side?: CardSide;
119
+ /** The seat meets the points' path (`LabelCardInput.path`): the card lets the pointer through to the points under it. */
120
+ overPath?: boolean;
111
121
  }
112
122
  export type LabelCardGeometry = Pick<Geometry, 'type' | 'size' | 'scene' | 'legend' | 'a11y' | 'sizing' | 'mode'>;
113
123
  /** Crop an already measured card scene to its own rectangle for standalone rendering. */
114
124
  export declare function labelCardGeometry(layout: LabelCardLayout): LabelCardGeometry;
125
+ /**
126
+ * A unit that is a phrase in words ("cases per month", "% of started cases",
127
+ * "orders") names the number on the hover card. A sign, a code or a scale
128
+ * stays with the number: "$", "%", "pp", "kg", "ms", "USD", "EUR k", "$bn",
129
+ * "k orders" and "thousand per month" (the scale belongs to the number),
130
+ * "$ per share" (the sign goes in front of the number).
131
+ */
132
+ export declare function unitPhrase(unit: string | undefined): boolean;
115
133
  /**
116
134
  * Format only the existing record facts; never infer comparisons from rounded
117
135
  * strings. The value row, the field rows, the change and the share print the
@@ -135,6 +153,12 @@ export declare function sharedLabelCardContent(records: readonly InteractionReco
135
153
  export declare function describedWithCard(description: string, reading: string): string;
136
154
  /** Show a table card only when it contains facts beyond the cell's printed value. */
137
155
  export declare function shouldShowTableLabelCard(record: InteractionRecord, displayed: string | undefined, locale?: string): boolean;
156
+ /** Space a card keeps from the points' path, and the pointer's reach beside it that still reads as on the path. */
157
+ export declare const PATH_PAD = 8;
158
+ /** The convex hull of `points`, in order around it; one or two points stay as they are. */
159
+ export declare function pointsHull(points: readonly Point[]): Point[];
160
+ /** Whether `point` lies within `pad` of the hull `path`. */
161
+ export declare function nearPath(path: readonly Point[], point: Point, pad?: number): boolean;
138
162
  interface CardSlot extends SlotCandidate {
139
163
  side?: CardSide;
140
164
  fits?: boolean;
@@ -160,8 +184,9 @@ export declare function tableCardSlots(target: Rect, boundary: Rect, width: numb
160
184
  * A safe seat that covers fewer texts (`hidden`) wins over one that covers
161
185
  * more, whatever its phase: a covered number is lost to the reader. Only a
162
186
  * clear seat beyond its reach loses to any safe seat, whatever that seat hides.
187
+ * A seat `inWay` of the pointer's path is never safe, in any phase.
163
188
  */
164
- export declare function selectCardSlot(candidates: CardSlots, forbidden: readonly Rect[], cost: (slot: CardSlot) => number, pointer?: Point, clear?: (slot: CardSlot) => boolean, hidden?: (slot: CardSlot) => number): CardSlot;
189
+ export declare function selectCardSlot(candidates: CardSlots, forbidden: readonly Rect[], cost: (slot: CardSlot) => number, pointer?: Point, clear?: (slot: CardSlot) => boolean, hidden?: (slot: CardSlot) => number, inWay?: (slot: CardSlot) => boolean): CardSlot;
165
190
  export declare function activeCoverCost(rect: Rect, active?: readonly Rect[]): number;
166
191
  export declare function cardCoverCost(rect: Rect, occupied: LabelCardInput['occupied'], table?: boolean): number;
167
192
  /**
@@ -193,6 +218,12 @@ export declare function layoutLabelCardContent(input: LabelCardInput, content: L
193
218
  * Both searches stay near the mark. A card far from its mark reads as no card of
194
219
  * that mark, which is worse than a hidden label, so a clear seat beyond
195
220
  * `CLEAR_REACH` is taken only when no nearer seat is safe.
221
+ *
222
+ * With a points path, a seat off the path wins when it stands within
223
+ * `CLEAR_REACH` of the mark and hides no text; else the card takes the seat it
224
+ * would take without the path, and `overPath` says whether that seat meets the
225
+ * path. A host's own card (`strict`) always keeps off the path, as it takes
226
+ * the pointer.
196
227
  */
197
- export declare function placeLabelCard(input: LabelCardInput, width: number, height: number): Pick<LabelCardLayout, 'placement' | 'rect' | 'side' | 'decisions'>;
228
+ export declare function placeLabelCard(input: LabelCardInput, width: number, height: number, strict?: boolean): Pick<LabelCardLayout, 'placement' | 'rect' | 'side' | 'decisions' | 'overPath'>;
198
229
  export {};
@@ -34,6 +34,17 @@ export interface OverlayInputs {
34
34
  plot: Rect;
35
35
  occupied: OccupiedRect[];
36
36
  panels?: PanelOverlayInput[];
37
+ /**
38
+ * A metric stack's focus look: the band of the plots, one equal column per category, and each panel's plot.
39
+ * A pointer in a category's column addresses that category in every panel.
40
+ */
41
+ focusBand?: {
42
+ rect: Rect;
43
+ panels: {
44
+ panel: string;
45
+ plot: Rect;
46
+ }[];
47
+ };
37
48
  }
38
49
  /** Match drawn labels by identity and panel, then use their layout-owned rectangles. */
39
50
  export declare function activeLabelBounds(active: readonly InteractionRecord[], scene: readonly SceneNode[], occupied: readonly OccupiedRect[]): Rect[];
@@ -1,4 +1,4 @@
1
- import { resolveChartRequest, planResolvedRequest, measureResolvedRequest, type ChartRequest, type RequestInputOptions } from '../core/request.js';
1
+ import { resolveChartRequest, planResolvedRequest, tableViewportFrame, measureResolvedRequest, type ChartRequest, type RequestInputOptions } from '../core/request.js';
2
2
  import { type PreparedChart } from './prepared.js';
3
3
  import { type PreparedTable } from './preparedTable.js';
4
4
  import type { BoardplotThemeOptions } from './themeContext.js';
@@ -27,6 +27,7 @@ export declare function prepareChart(input: PrepareChartRequest, context?: Board
27
27
  export declare function loadChartPlanner(input: Pick<ChartRequest, 'type' | 'data'>): Promise<{
28
28
  resolve: typeof resolveChartRequest;
29
29
  layout: typeof planResolvedRequest;
30
+ tableViewportFrame: typeof tableViewportFrame;
30
31
  measure: typeof measureResolvedRequest;
31
32
  }>;
32
33
  /** JSON text safe for an application/json script element; this is not a verification receipt. */
@@ -97,4 +97,5 @@ export declare function useHover(input: {
97
97
  keys: boolean;
98
98
  cursor: KeyCursor | undefined;
99
99
  cardRef: (node: HTMLElement | null) => void;
100
+ focusCategory: string | undefined;
100
101
  };
@@ -1,5 +1,5 @@
1
1
  export { registerTheme, resolveTheme, typeForTarget } from './core/theme.js';
2
2
  /** @internal A host sizes a table with it, with no scene and no hidden render. */
3
3
  export { themeGeometryTokens } from './core/themeGeometry.js';
4
- export type { Theme, ThemeRef } from './core/types/theme.js';
4
+ export type { Theme, ThemeOverrides, ThemeRef } from './core/types/theme.js';
5
5
  export type { RenderTarget } from './core/types/options.js';
package/dist/validate.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  parseThemeJson
3
- } from "./chunk-UHFSDVW2.js";
3
+ } from "./chunk-QEEE2WH5.js";
4
4
  import {
5
5
  registerCatalogue
6
- } from "./chunk-6IRPZUWJ.js";
6
+ } from "./chunk-ITPXKZXT.js";
7
+
7
8
 
8
9
 
9
10
 
@@ -151,7 +152,7 @@ import {
151
152
 
152
153
  import {
153
154
  linkAnnotateEngine
154
- } from "./chunk-MA57XWZA.js";
155
+ } from "./chunk-47IEMR6C.js";
155
156
 
156
157
 
157
158
 
@@ -191,7 +192,7 @@ import {
191
192
 
192
193
  import {
193
194
  linkThemeShapeRules
194
- } from "./chunk-L2VWHKTJ.js";
195
+ } from "./chunk-4XDWZJUX.js";
195
196
 
196
197
 
197
198
 
@@ -205,7 +206,7 @@ import {
205
206
  import {
206
207
  getChartDefinition,
207
208
  listCharts
208
- } from "./chunk-NF74JTTK.js";
209
+ } from "./chunk-PM5D5KYQ.js";
209
210
 
210
211
 
211
212
 
@@ -223,7 +224,8 @@ import {
223
224
 
224
225
  import {
225
226
  validateTheme
226
- } from "./chunk-BQBD6Q5J.js";
227
+ } from "./chunk-6RRK3VFP.js";
228
+
227
229
 
228
230
 
229
231
 
package/docs/manual.md CHANGED
@@ -368,11 +368,13 @@ Gantt and ordinary grid compositions have no numeric value labels of their own.
368
368
 
369
369
  Use `grid` with `options.stack: {}` for two to five measures over the same cohorts or periods. Panels follow the data array from top to bottom. Each panel starts at zero on its own scale. One category axis and an optional period row sit below all panels. See [the metric stack section in the grid reference](reference/grid.md#metric-stack).
370
370
 
371
- Store counts once in `data.measures`. Each panel names either a sum or a numerator and denominator. `readout: "change"` compares `data.windows.base` and `compare`: the percent change of average counts per category, or the percentage-point change of weighted rates. `readout: { "base": "measure-id" }` gives a weighted mature step rate and the remaining-per-100 chain. A panel that sets neither `divisor` nor `decimals` prints its readout by the default number rule, from the unrounded rates: a change prints two digits (`−2.7%`, `+1.4pp`), and the step rates and chain ends of all such panels in a stack form one percent set (`4.75%`, `100 → 4.75`). A panel that sets one of them prints a count change as a whole percent (`−3%`), a rate change as the difference of the rates rounded to one decimal (`+1.3pp`), and step rates and chain ends at one decimal (`4.7%`, `100 → 4.7`). The engine computes these figures from the same counts as the marks. `reading.metricStack.readouts[]` gives their inputs and category windows. Each readout has a `method` and `grain`. Count changes use `average-change`; rate changes use `rounded-rate-change`; step rates use `weighted-rate`. Grain is day, week, month, quarter, year or category. It comes from `data.windows.grain` or the category ids; unrecognised ids use category.
371
+ Store counts and amounts, such as spend, once in `data.measures`. Each panel names a sum (`{ "sum": ["orders"] }`), a numerator and denominator (`{ "numerator": ["booked"], "denominator": "qualified" }`), or an amount per unit (`{ "ratio": ["spend"], "per": "orders" }`). An amount per unit divides the sum of the `ratio` measures by the `per` measure in each category, with no factor 100. A window divides the sum of `ratio` over its categories by the sum of `per`, never the mean of the category values: spend 100 and 300 on 10 and 20 orders is 13.33 per order. `readout: "change"` compares `data.windows.base` and `compare`: the percent change of average counts per category, the percent change of the two window values of an amount per unit, or the percentage-point change of weighted rates. `readout: { "base": "measure-id" }` gives a weighted mature step rate and the remaining-per-100 chain. A panel that sets neither `divisor` nor `decimals` prints its readout by the default number rule, from the unrounded rates: a change prints two digits (`−2.7%`, `+1.4pp`), and the step rates and chain ends of all such panels in a stack form one percent set (`4.75%`, `100 → 4.75`). A panel that sets one of them prints a count change as a whole percent (`−3%`), a rate change as the difference of the unrounded rates, rounded once to the panel `decimals`, one by default (`0.85% → 0.74%` reads `−0.1pp`), and step rates and chain ends at one decimal (`4.7%`, `100 → 4.7`). The engine computes these figures from the same counts as the marks. `reading.metricStack.readouts[]` gives their inputs and category windows. Each readout has a `method` and `grain`. Count changes use `average-change`; changes of an amount per unit use `ratio-change`; rate changes use `rounded-rate-change`; step rates use `weighted-rate`. Grain is day, week, month, quarter, year or category. It comes from `data.windows.grain` or the category ids; unrecognised ids use category.
372
372
 
373
373
  Mark a running category `partial: true`. Declare unavailable outcome panels in `data.states.partial.panels`. Declare the maturing range and its affected panels in `data.states.maturing`. The grid draws one continuous band across those panels. Provisional bars use light fills and dashed outlines. Provisional lines use grey dashes and hollow points. Partial points never connect. Dashes denote projected or provisional data. One panel may set `emphasis: true`.
374
374
 
375
- The engine owns label space, one panel gap and one shared readout gutter. Use `stack.heights` for plot heights in layout pixels, or `rows` for proportional heights. Too-small authored gaps, gutters or heights are refused. A width-only size grows to the content height. On a fixed height shorter than that, default plot heights shrink to their readout floor. Below the floor, the readout puts the unit beside the name and the headline and span on one line, and the panels sit closer together. Slide text can need more height than report text. The example fixtures are `metric-stack-volume` and `metric-stack-steps`. Existing grids keep their current layout.
375
+ The engine owns label space, one panel gap and one shared readout gutter. Use `stack.heights` for plot heights in layout pixels, or `rows` for proportional heights. Too-small authored gaps, gutters or heights are refused. A width-only size grows to the content height. On a fixed height shorter than that, default plot heights shrink to their readout floor. Below the floor, the readout puts the unit beside the name and the headline and span on one line, and the panels sit closer together. Slide text can need more height than report text. The example fixtures are `metric-stack-volume`, `metric-stack-steps` and `metric-stack-per-unit`. Existing grids keep their current layout.
376
+
377
+ `options.stack.variant: 'focus'` draws the value-first look, with the compare window as the focus. Each panel prints the value of the focus first, then the change and the base value (`+86% from $272`). `type.display.size` sets the size of the stack values, for example `theme: { preset: 'standard', overrides: { type: { display: { size: 48, lineHeight: 1.08 } } } }`. A stacked panel keys each measure with its share of the focus value, in whole percent that add up to 100, under an optional `keyTitle` such as `By plan`. With `segmentShares: true` on that panel, the base and the focus columns also print each segment's share inside the segment, where it fits. The header line names the focus against the base window. The focus categories take the accent, the base window a dark neutral and the rest a light neutral, and a dashed line marks the base value in each plot. Only the focus prints its values, on a plate in the page colour. With `data.periods` the period row is the axis and no category prints its name, so about 30 weekly columns fit beside the readout at 1,184 px. In React, with `hover` on, the pointer or the keyboard moves the focus to the category under it, and the plots stay in place. The look needs `data.windows` and `readout: "change"` in every panel; on a stack of `{ base }` readouts it does nothing and warns `option-ignored`. The example fixture is `metric-stack-focus`.
376
378
 
377
379
  ## Getting a chart with the CLI
378
380
 
@@ -84,7 +84,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
84
84
  | series | array | yes | Series supplying values for each category, with optional reference series for comparisons. |
85
85
  | series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
86
86
  | series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
87
- | series[].label | string | | Displayed series name; defaults to the series id. |
87
+ | series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
88
88
  | series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. In a football field, null cells and cells without a range are left out with a warning and a note, provided at least one method has a range. |
89
89
  | series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
90
90
  | series[].direction | string | | Whether increases are favorable; defaults to higherIsBetter for directional comparisons. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
@@ -142,7 +142,7 @@ An annotation anchor is a category or item id string, or an object with category
142
142
 
143
143
  | Kind | Purpose | Required | Anchors | Optional fields | Notes |
144
144
  |---|---|---|---|---|---|
145
- | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
145
+ | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
146
146
  | indicator100 | Maps 100 through the chart's value scale and draws a side tick with a 100% label. | | | side: left \| right, default left. Side of the plot the 100% mark sits on. | No anchor is required. The chart needs a value scale that can represent 100. |
147
147
  | callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | Drawn reference series accept anchors. |
148
148
  | note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | Drawn reference series accept anchors. |
@@ -83,7 +83,7 @@ An annotation anchor is a category or item id string, or an object with category
83
83
  | abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | |
84
84
  | diff | Draws a level-difference arrow between two anchors and computes either percent change or their signed value difference. | from, to | from: AnchorRef; to: AnchorRef | mode: relative \| absolute \| reversed \| both, default relative. relative prints the percent change from 'from' to 'to', reversed the change from 'to' to 'from', absolute the value difference, both the value difference with the percent change beside it. | Mode defaults to relative. Relative and reversed changes need a nonzero base; negative bases use its absolute magnitude and emit a warning. Absolute mode reports the raw value difference. A hidden label removes its arm. |
85
85
  | cagr | Draws a growth arrow between two anchored points and computes the compound annual growth rate from their values and ISO-date span. | | from: AnchorRef (optional); to: AnchorRef (optional) | suffix: string, default 'p.a.'. Text after the rate. period: boolean. Print the period before the rate from the anchors' category labels, '2014–2019: +5.8% p.a.'. Default true when the chart carries two or more CAGRs, so nested brackets are told apart by their text, false otherwise. An arrow's ends show its span, so an arrow prints the rate alone unless period is true. shape: bracket \| arrow, default bracket. arrow draws one straight arrow over the marks with the rate in an oval on it, lifted until it clears them. Where no straight line clears the chart, the span is too short for the oval, a stack's inner layer is the anchor or the chart lays comparisons out itself, it draws the bracket and warns cagr-arrow-no-room. | Omitted endpoints span the first to the last category, or the first to the last total on a waterfall. Resolved endpoints need a positive date interval from ISO dates or year-bearing labels and a positive start value; an end of zero reads -100%, and a start at or below zero or a negative end omits the rate and warns cagr-undefined. On a continuous time axis the years are the exact span between the two readings. An anchor on one series of several (seriesId, or a category of an unstacked line, which reads the first drawn series; on a stack a category reads the stack total) names that series in the label, "Product B +10.1% p.a.", and the arm runs from that series' segment or point. In text, ${value} prints the rate with its suffix, so "CAGR 2014–2019: ${value}" keeps the computed number. |
86
- | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
86
+ | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
87
87
  | band | Draws an inclusive category span as a shaded band or bracket, or a value-axis plan corridor, tolerance band or attainment fill, with a collision-managed label. | | from: categoryId (optional); to: categoryId (optional) | | Era shade/bracket needs inclusive category IDs. Corridor and tolerance use finite low/high on the value scale, with optional from/to as a category clip. Attainment needs a plan value and shades each resolved actual; missing cells are skipped. Divider applies only to bracket bands. Scenario AC/PY/PL/FC paints a plan corridor (default PL). |
88
88
  | text | Places authored text at a point through the label solver: on the point, or above, below, right or left of it. The text prints as written. | at, text | at: AnchorRef \| { categoryId, value } | | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. The text prints as written, ${value} included. It takes id and priority, and no other field. |
89
89
  | line | Draws a straight line between two points or from a text annotation, in the ink and rule width of a bracket; a stretch that would cross text is cut. | from, to | from: AnchorRef \| { categoryId, value } \| { annotationId }; to: AnchorRef \| { categoryId, value } \| { annotationId } | dashed: boolean, default false. Draws the line in the dash of a reference line. | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. An end { annotationId } names a text annotation: the line starts or ends at the nearest edge of that text, at every size, and is not drawn when the text is not. A { categoryId, value } end stands on the category's centre. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field. |
@@ -54,7 +54,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
54
54
  | series | array | yes | Series containing the two pane values selected by options.a and options.b. |
55
55
  | series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
56
56
  | series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
57
- | series[].label | string | | Displayed series name; defaults to the series id. |
57
+ | series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
58
58
  | series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
59
59
  | series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. |
60
60
  | series[].colorRole | string | | Theme color role used for this series when no explicit fill takes precedence. One of good, bad, warn, neutral, neutralLight, highlight, total, others; series-N for step N of the theme ramp, 1-based (series-2 is color.series[1]); or status-<key> for a theme status colour. A hex colour goes in fill. |
@@ -54,7 +54,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
54
54
  | series[].axis | string | | Accepted for combo-shaped data. Ignored here. A kind that differs from the chart type is refused. One of `'primary'`, `'secondary'`. |
55
55
  | series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
56
56
  | series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
57
- | series[].label | string | | Displayed series name; defaults to the series id. |
57
+ | series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
58
58
  | series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
59
59
  | series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
60
60
  | series[].direction | string | | Whether increases are favorable; defaults to higherIsBetter for directional comparisons. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
@@ -149,7 +149,7 @@ An annotation anchor is a category or item id string, or an object with category
149
149
  | delta | Computes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor. | at, vs | at: AnchorRef; vs: AnchorRef \| number | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. | Drawn reference series accept anchors. |
150
150
  | note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | Drawn reference series accept anchors. |
151
151
  | callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | Drawn reference series accept anchors. |
152
- | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
152
+ | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
153
153
  | indicator100 | Maps 100 through the chart's value scale and draws a side tick with a 100% label. | | | side: left \| right, default left. Side of the plot the 100% mark sits on. | No anchor is required. The chart needs a value scale that can represent 100. |
154
154
  | abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | Drawn reference series accept anchors. |
155
155
  | event | Places a dated event in the lane above the plot as a block with a pole to the data, or, when it does not fit, as a numbered marker with an entry in the event key below the plot; periods draw a thin bar. | label | at: categoryId (optional) | date: ISO date yyyy-mm-dd, in place of at: the event sits at the last category whose date is on or before it, and the block header and the key print it as d MMM. Every category needs an ISO date; a date outside the categories warns event-out-of-range. end: ISO date, with date: the event is a period, drawn as a thin bar to the end of that day. to: Category id, with at: the event is a period to the end of that category. group: Id of a group in options.events.groups, which gives the kind label, tone and glyph. detail: string \| string[]. Authored lines under the title, at most three in the lane; nothing is cut, a longer block moves to the key. items: { label, detail? }[]. More changes on the same date, after this event's own label and detail. The lane and the key draw a compact +N after the title; the hover card, the SVG title and description, and the interaction records list every item in full. placement: auto \| key, default options.events.placement. key numbers this event into the key below the plot. tone: neutral \| bad \| good, default the group tone, else neutral. Column, combo and line paint the glyph, the marker ring and the period bar in it; gantt paints a bad rule. | Exactly one of at (a category id) and date (an ISO date) places the event; end or to makes it a period. The event lane above the plot sets a block of group and date, title and detail with a thin pole to the data; an event that does not fit, a second event on one category and every event under options.events.placement 'key' get a numbered marker and an entry in the key below the plot, numbered in time order; under footnotes: false they are left off and listed in the footnotes-off lint. The full date, title and detail of every event stay in the SVG title and description, the interaction records and the hover card, whether or not the lane or the key prints the detail. In compact mode the lane is one row of numbered markers and the key packs "n date title" into as few lines as the width allows; where the plot would still fall under 80px the key keeps "n title" and the info lint event-lane-compact says so. options.events.rows sets the lane rows (default by canvas width: 1 under 1080px, 2 from 1080px); a row gives way while the plot band left under the lane would keep less than 40% of the canvas height. |
@@ -67,7 +67,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
67
67
  | series | array | yes | Series supplying values for each category, with optional reference series for comparisons. |
68
68
  | series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
69
69
  | series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
70
- | series[].label | string | | Displayed series name; defaults to the series id. |
70
+ | series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
71
71
  | series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
72
72
  | series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
73
73
  | series[].role | string | | Data series or comparison-only reference series; references are excluded from the main plotted data. One of `'data'`, `'reference'`. |
@@ -151,7 +151,7 @@ An annotation anchor is a category or item id string, or an object with category
151
151
  | delta | Computes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor. | at, vs | at: AnchorRef; vs: AnchorRef \| number | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. | Drawn reference series accept anchors. |
152
152
  | note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | Drawn reference series accept anchors. |
153
153
  | callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | Drawn reference series accept anchors. |
154
- | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. axis: primary \| secondary, default primary. Scale of value; secondary needs an acknowledged secondary axis. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
154
+ | valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. axis: primary \| secondary, default primary. Scale of value; secondary needs an acknowledged secondary axis. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
155
155
  | abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | Drawn reference series accept anchors. |
156
156
  | event | Places a dated event in the lane above the plot as a block with a pole to the data, or, when it does not fit, as a numbered marker with an entry in the event key below the plot; periods draw a thin bar. | label | at: categoryId (optional) | date: ISO date yyyy-mm-dd, in place of at: the event sits at the last category whose date is on or before it, and the block header and the key print it as d MMM. Every category needs an ISO date; a date outside the categories warns event-out-of-range. end: ISO date, with date: the event is a period, drawn as a thin bar to the end of that day. to: Category id, with at: the event is a period to the end of that category. group: Id of a group in options.events.groups, which gives the kind label, tone and glyph. detail: string \| string[]. Authored lines under the title, at most three in the lane; nothing is cut, a longer block moves to the key. items: { label, detail? }[]. More changes on the same date, after this event's own label and detail. The lane and the key draw a compact +N after the title; the hover card, the SVG title and description, and the interaction records list every item in full. placement: auto \| key, default options.events.placement. key numbers this event into the key below the plot. tone: neutral \| bad \| good, default the group tone, else neutral. Column, combo and line paint the glyph, the marker ring and the period bar in it; gantt paints a bad rule. | Exactly one of at (a category id) and date (an ISO date) places the event; end or to makes it a period. The event lane above the plot sets a block of group and date, title and detail with a thin pole to the data; an event that does not fit, a second event on one category and every event under options.events.placement 'key' get a numbered marker and an entry in the key below the plot, numbered in time order; under footnotes: false they are left off and listed in the footnotes-off lint. The full date, title and detail of every event stay in the SVG title and description, the interaction records and the hover card, whether or not the lane or the key prints the detail. In compact mode the lane is one row of numbered markers and the key packs "n date title" into as few lines as the width allows; where the plot would still fall under 80px the key keeps "n title" and the info lint event-lane-compact says so. options.events.rows sets the lane rows (default by canvas width: 1 under 1080px, 2 from 1080px); a row gives way while the plot band left under the lane would keep less than 40% of the canvas height. |
157
157
  | band | Draws an inclusive category span as a shaded band or bracket, or a value-axis plan corridor, tolerance band or attainment fill, with a collision-managed label. | | from: categoryId (optional); to: categoryId (optional) | | Era shade/bracket needs inclusive category IDs. Corridor and tolerance use finite low/high on the value scale, with optional from/to as a category clip. Attainment needs a plan value and shades each resolved actual; missing cells are skipped. Divider applies only to bracket bands. Scenario AC/PY/PL/FC paints a plan corridor (default PL). |