boardplot 0.54.0 → 0.56.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.
- package/CHANGELOG.md +491 -0
- package/README.md +4 -4
- package/dist/{ReaderBox-YXC5XK7D.js → ReaderBox-GLCKYXBU.js} +14 -10
- package/dist/{annotateEngine-5O3IRSQL.js → annotateEngine-QVNAE3EH.js} +3 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-MT4MP3UZ.js → chunk-27OIGDRK.js} +1 -1
- package/dist/{chunk-OD3IH6FG.js → chunk-2DOEZ5QY.js} +39 -21
- package/dist/{chunk-WUKSZNHL.js → chunk-2FKEF2AC.js} +32 -21
- package/dist/{chunk-GYNZ72GO.js → chunk-2HTYGMMG.js} +2 -2
- package/dist/chunk-2NN676RI.js +25 -0
- package/dist/{chunk-4MREJWRM.js → chunk-2NRHD2G7.js} +5 -4
- package/dist/{chunk-3UBTO342.js → chunk-2NSQIPAA.js} +77 -38
- package/dist/{chunk-T7ZCYYQZ.js → chunk-2YO4WRJN.js} +25 -7
- package/dist/{chunk-SHH2AHIU.js → chunk-32LLDRPI.js} +64 -42
- package/dist/{chunk-WEPAE4KG.js → chunk-3465633G.js} +4 -4
- package/dist/{chunk-WGIO6AHP.js → chunk-37PKNVLS.js} +3 -3
- package/dist/chunk-3V62N3Z7.js +24 -0
- package/dist/{chunk-S6CRZKPO.js → chunk-43GGVT7W.js} +5 -5
- package/dist/{chunk-VDAZPGR2.js → chunk-4DZFR52I.js} +2 -2
- package/dist/{chunk-WDONXBQE.js → chunk-4JC3SE4G.js} +1 -1
- package/dist/{chunk-EHVESNLV.js → chunk-4JGBCBDZ.js} +1 -1
- package/dist/{chunk-G6XCUX3I.js → chunk-4JHMCXOB.js} +60 -13
- package/dist/{chunk-GGO43PHB.js → chunk-4KMZAK6J.js} +6 -5
- package/dist/{chunk-GVKFFJ23.js → chunk-4KQHKPB3.js} +462 -149
- package/dist/{chunk-AHQ4L3BE.js → chunk-4LTN7SND.js} +2 -2
- package/dist/{chunk-MZJBPDIL.js → chunk-52WNCUIN.js} +1 -1
- package/dist/{chunk-JAKRPSWP.js → chunk-54ROMBU7.js} +164 -51
- package/dist/{chunk-OZUTYDV4.js → chunk-5DTCOOLU.js} +2 -2
- package/dist/{chunk-DDI2W4TR.js → chunk-5P2TTHBZ.js} +3 -3
- package/dist/{chunk-U2HQELXL.js → chunk-5PPQIF4D.js} +2 -2
- package/dist/{chunk-K4K6KGEF.js → chunk-5S3JQ5AT.js} +241 -195
- package/dist/chunk-5TWY3ZIC.js +19 -0
- package/dist/{chunk-BXEM2CVW.js → chunk-6364WO5D.js} +3 -3
- package/dist/{chunk-ZNHF2XCP.js → chunk-63Y3ROZ7.js} +50 -36
- package/dist/{chunk-VAEC53B3.js → chunk-64LJDGJH.js} +3 -3
- package/dist/{chunk-WZBMTZBM.js → chunk-67QSW5RW.js} +4 -4
- package/dist/{chunk-HGGLJYPZ.js → chunk-6AMN7IKJ.js} +89 -57
- package/dist/{chunk-24BHMKDD.js → chunk-6EYTD777.js} +25 -2
- package/dist/{chunk-HZG5NB7Q.js → chunk-6MJUW5R5.js} +159 -86
- package/dist/{chunk-NGRIT3CY.js → chunk-6QDMRPXI.js} +113 -128
- package/dist/{chunk-HZZH3MQI.js → chunk-6WHWXCHJ.js} +7 -3
- package/dist/{chunk-T3PNYRDM.js → chunk-75WIUG2W.js} +394 -141
- package/dist/{chunk-ZTH6YSVA.js → chunk-76Q7E3TM.js} +117 -102
- package/dist/chunk-7ADUVRG5.js +14 -0
- package/dist/{chunk-U4P6TQRW.js → chunk-7DAH2E4T.js} +2 -2
- package/dist/{chunk-43OQ26TL.js → chunk-7FKY6YWU.js} +8 -8
- package/dist/{chunk-CPKHL7FK.js → chunk-7KSUMFBK.js} +1 -1
- package/dist/{chunk-KL2XJQAA.js → chunk-7M2GK7XQ.js} +1729 -196
- package/dist/{chunk-RZB4RPPD.js → chunk-7PPMT5EJ.js} +155 -151
- package/dist/{chunk-JFBEAUJ6.js → chunk-7Q37C6GZ.js} +1 -1
- package/dist/chunk-7STMIK2X.js +94 -0
- package/dist/{chunk-KFWEO4UA.js → chunk-7VMEM3LN.js} +254 -142
- package/dist/{chunk-GSMWHKOW.js → chunk-7VVHTOE7.js} +7 -7
- package/dist/{chunk-KBFPMESI.js → chunk-A2GAWGVJ.js} +246 -79
- package/dist/{chunk-23RWLBZF.js → chunk-AGDDH6XY.js} +3 -3
- package/dist/chunk-AMR4SUAN.js +25 -0
- package/dist/{chunk-6I7YZTY7.js → chunk-BDGLMWPO.js} +12 -4
- package/dist/{chunk-JJJ2KAHR.js → chunk-BIGQKCU7.js} +20 -9
- package/dist/{chunk-LTMF75MR.js → chunk-BISJK67O.js} +208 -62
- package/dist/{chunk-FILDYFT4.js → chunk-BIVL764T.js} +2 -2
- package/dist/{chunk-RNOJSEES.js → chunk-BK6P6KMW.js} +1 -1
- package/dist/{chunk-XB4KZ6WO.js → chunk-BSATR6ZO.js} +40 -13
- package/dist/{chunk-MYCLO35J.js → chunk-BTDGWHGJ.js} +50 -12
- package/dist/{chunk-PDG4IM3L.js → chunk-BVYIKLQ5.js} +1 -1
- package/dist/{chunk-TNHD4UTC.js → chunk-BYCJ6TKI.js} +13 -3
- package/dist/{chunk-NQSDIDRO.js → chunk-CAJ54IEP.js} +5 -5
- package/dist/{chunk-E42JZ2DA.js → chunk-CB4CERXZ.js} +4 -5
- package/dist/{chunk-ENOCOA3F.js → chunk-CCDXK5NA.js} +5 -5
- package/dist/{chunk-7X3UZM7F.js → chunk-CCJP6QZO.js} +1 -1
- package/dist/{chunk-ELPQZIGR.js → chunk-CF4NMRN7.js} +37 -13
- package/dist/{chunk-32X7JGH3.js → chunk-CHAS5A5B.js} +89 -69
- package/dist/{chunk-AVMKRVNP.js → chunk-CKGSGRP7.js} +14 -24
- package/dist/{chunk-3EZRM4YM.js → chunk-CPGASWNN.js} +25 -1
- package/dist/{chunk-BWTX7LUG.js → chunk-CXETOLPX.js} +9 -4
- package/dist/{chunk-D3D7XHBI.js → chunk-CYKXROFG.js} +6 -6
- package/dist/{chunk-DRTA6JG5.js → chunk-D2B3KP35.js} +26 -15
- package/dist/{chunk-TSPWXAAI.js → chunk-DD6RVD3S.js} +6 -7
- package/dist/{chunk-A5TY7H5T.js → chunk-DF3XEFQ7.js} +159 -53
- package/dist/{chunk-P52JHUUM.js → chunk-DLDDRXAI.js} +198 -88
- package/dist/{chunk-XNA6DATU.js → chunk-DLUNQHFO.js} +99 -56
- package/dist/{chunk-2THWIKRB.js → chunk-DMAMWUYY.js} +33 -16
- package/dist/chunk-DQ7YMQVX.js +26 -0
- package/dist/{chunk-4WK3CNW5.js → chunk-DRHQG44U.js} +11 -0
- package/dist/{chunk-WZGJSQKN.js → chunk-DZ3S4RPI.js} +15 -1
- package/dist/chunk-E2ZUBP4Q.js +24 -0
- package/dist/{chunk-G63ROSY5.js → chunk-E555EDOQ.js} +139 -72
- package/dist/{chunk-A7IEVBYI.js → chunk-E76U5H52.js} +1 -5
- package/dist/{chunk-J2ROMB7J.js → chunk-E7V3OHQQ.js} +64 -26
- package/dist/chunk-EBB4PYBN.js +24 -0
- package/dist/{chunk-FPPN5NAR.js → chunk-ECBUFKCP.js} +3 -3
- package/dist/{chunk-5PCCSSII.js → chunk-EGGDPDYJ.js} +1 -1
- package/dist/{chunk-F7X53SZM.js → chunk-EIL3KHAL.js} +12 -7
- package/dist/{chunk-MBVXROCI.js → chunk-EMFUZKYK.js} +20 -3
- package/dist/{chunk-TNNK4IIY.js → chunk-ETMHDCEH.js} +13 -12
- package/dist/{chunk-WMZCOGD6.js → chunk-EZZ533MH.js} +1 -1
- package/dist/{chunk-GEBGBJBD.js → chunk-F2EVCJ4U.js} +41 -34
- package/dist/{chunk-2IXDYW6O.js → chunk-F5BYLT3M.js} +195 -57
- package/dist/{chunk-NRHTC2SQ.js → chunk-F6OLHND5.js} +2 -2
- package/dist/{chunk-3FNY7ZCG.js → chunk-F77TMAUY.js} +141 -79
- package/dist/{chunk-QQNPU27R.js → chunk-FCECYJVA.js} +1 -1
- package/dist/{chunk-RGZGLKFB.js → chunk-FFJGC2DX.js} +418 -62
- package/dist/chunk-FG5L2LUK.js +89 -0
- package/dist/chunk-FMDNJ6PC.js +47 -0
- package/dist/{chunk-4WQ2MBE7.js → chunk-FNMH5WEY.js} +1 -1
- package/dist/{chunk-F35DA442.js → chunk-FNRPQIQE.js} +46 -27
- package/dist/{chunk-7EVIIADO.js → chunk-GC4WOLV3.js} +3 -1
- package/dist/{chunk-JB4YPOMT.js → chunk-GELSK76Y.js} +6 -7
- package/dist/{chunk-5SJQOPL7.js → chunk-GIHH6VC2.js} +4 -4
- package/dist/chunk-GLQ3KCTY.js +24 -0
- package/dist/{chunk-HHS6333D.js → chunk-GM3EGUYW.js} +2 -2
- package/dist/{chunk-PBYUJSEY.js → chunk-GQT2SY2S.js} +66 -43
- package/dist/{chunk-BUPLB3EX.js → chunk-H3IBJQ5A.js} +6 -2
- package/dist/{chunk-K4RCWNLC.js → chunk-HHXIVFAU.js} +11 -8
- package/dist/{chunk-B3F4TS3V.js → chunk-HJRNBKIT.js} +768 -69
- package/dist/chunk-HOU2MZHC.js +61 -0
- package/dist/{chunk-S4QSJAGY.js → chunk-HZUAEMN5.js} +1 -1
- package/dist/chunk-I7H5DU34.js +132 -0
- package/dist/{chunk-YS56RSTZ.js → chunk-IFQN4GKK.js} +161 -69
- package/dist/chunk-IGJ2G5C6.js +24 -0
- package/dist/{chunk-4ZGN4ZUN.js → chunk-IGNBQT23.js} +87 -3
- package/dist/{chunk-B6LHZLLK.js → chunk-IGVAWAOK.js} +31 -101
- package/dist/chunk-INHDHZNP.js +8 -0
- package/dist/chunk-IRXVV65V.js +24 -0
- package/dist/{chunk-IDDA5INB.js → chunk-IVRYF7QA.js} +7 -4
- package/dist/{chunk-3RMTPAEJ.js → chunk-JCAGVAB3.js} +810 -73
- package/dist/{chunk-OMVYFSOM.js → chunk-JCIXYOND.js} +2 -2
- package/dist/{chunk-6TJDWMZV.js → chunk-JEUL777U.js} +83 -9
- package/dist/{chunk-J33RA3YO.js → chunk-JFFREZGT.js} +5 -5
- package/dist/{chunk-AJHYXD5U.js → chunk-JGFHNAHS.js} +2 -2
- package/dist/chunk-JHWYG7V5.js +24 -0
- package/dist/{chunk-EP54VZI5.js → chunk-JIEVDGAF.js} +1 -1
- package/dist/{chunk-IDT7DJ7F.js → chunk-JKOEHRGV.js} +1 -1
- package/dist/chunk-JMGB444D.js +26 -0
- package/dist/{chunk-DSZUV3TM.js → chunk-JTC5SEAQ.js} +3 -3
- package/dist/chunk-JTFKRDDA.js +53 -0
- package/dist/{chunk-RKITD2UJ.js → chunk-JVZTKQFS.js} +6 -3
- package/dist/{chunk-BBL3R5YZ.js → chunk-JXBZIJCG.js} +1 -1
- package/dist/{chunk-WLZ54FWG.js → chunk-JYAZPMSA.js} +70 -1
- package/dist/chunk-K3VZ5QJK.js +19 -0
- package/dist/{chunk-EYLWVI26.js → chunk-KBJMLXNW.js} +165 -124
- package/dist/{chunk-KAQH75T6.js → chunk-KD5GOR2K.js} +82 -48
- package/dist/{chunk-LNKY5Z2X.js → chunk-KDSYZLF6.js} +2 -3
- package/dist/{chunk-7NWFKHSG.js → chunk-KF7HD3EH.js} +116 -42
- package/dist/{chunk-V7RAPZHX.js → chunk-KLB2QC24.js} +3 -3
- package/dist/chunk-KLIZXSBK.js +24 -0
- package/dist/{chunk-HDZGZJKR.js → chunk-KQCKK3LD.js} +100 -36
- package/dist/{chunk-4TPHMIE5.js → chunk-KTHFHD6C.js} +4 -2
- package/dist/{chunk-IYEFEBRN.js → chunk-KZJ5VM6E.js} +14 -3
- package/dist/{chunk-MEG4NMSI.js → chunk-L6YVK6VC.js} +2 -2
- package/dist/chunk-LGNJCPFP.js +28 -0
- package/dist/{chunk-7JQAUJOL.js → chunk-LKMFMNQX.js} +1 -1
- package/dist/{chunk-QY5ZKUWY.js → chunk-MAFPVR4G.js} +9 -3
- package/dist/{chunk-QR35TD2B.js → chunk-MD6DCQMA.js} +37 -37
- package/dist/{chunk-AA4U62G6.js → chunk-MJPXHCBW.js} +4 -4
- package/dist/{chunk-LYVOL4TQ.js → chunk-MOK3ZS6P.js} +2 -1
- package/dist/{chunk-MKVV7GVJ.js → chunk-MOS6WFWM.js} +13 -7
- package/dist/{chunk-2DR5MMDY.js → chunk-MPO5TVGF.js} +12 -6
- package/dist/{chunk-OU5K2JPF.js → chunk-MRAP2UVV.js} +102 -32
- package/dist/chunk-MS7O3KDJ.js +24 -0
- package/dist/{chunk-53OYF4ZT.js → chunk-MSYTF3DZ.js} +26 -11
- package/dist/{chunk-5A6MO4AR.js → chunk-MZACASZY.js} +7 -4
- package/dist/{chunk-H4H4O62O.js → chunk-N5HN5QGH.js} +1 -1
- package/dist/chunk-NCLRZQR6.js +211 -0
- package/dist/{chunk-C54QLNE4.js → chunk-NGA7ICG4.js} +1 -1
- package/dist/{chunk-SFQ5ADIG.js → chunk-NHC2ADGI.js} +315 -151
- package/dist/chunk-NMTWUYUF.js +30 -0
- package/dist/chunk-O36WX56O.js +13 -0
- package/dist/{chunk-FV32N6AF.js → chunk-O6ZTIDWB.js} +6 -4
- package/dist/{chunk-6BJQULXR.js → chunk-O7REHICC.js} +85 -39
- package/dist/{chunk-4FFCIQDG.js → chunk-OG2YUVBW.js} +4 -1
- package/dist/{chunk-CICWSCLC.js → chunk-OJ5CQV7H.js} +146 -69
- package/dist/{chunk-ULTSSIOU.js → chunk-OQQMDSCC.js} +1 -1
- package/dist/{chunk-PJWLKCFX.js → chunk-P4SMC4BY.js} +98 -90
- package/dist/{chunk-JEYJRJ7M.js → chunk-PJBEJR2U.js} +5 -4
- package/dist/{chunk-AZIRTSVP.js → chunk-PQLAZEQV.js} +122 -52
- package/dist/chunk-PZ46S2SY.js +69 -0
- package/dist/chunk-QB5HV4IY.js +24 -0
- package/dist/{chunk-IM4WUIR7.js → chunk-QGFKSDQO.js} +2 -2
- package/dist/chunk-QJWLNP64.js +24 -0
- package/dist/chunk-QLANK3VN.js +24 -0
- package/dist/chunk-QSMGZOT5.js +24 -0
- package/dist/{chunk-UYNAL3Y3.js → chunk-QWCLWFKC.js} +142 -68
- package/dist/chunk-QZIHKQRH.js +26 -0
- package/dist/{chunk-SZCPKGYG.js → chunk-R2IKOLBK.js} +3 -3
- package/dist/{chunk-BRPOSOK5.js → chunk-R5MEBBAA.js} +144 -71
- package/dist/{chunk-47BO6MYI.js → chunk-RJGCYGC3.js} +137 -70
- package/dist/chunk-RLMC5CUP.js +24 -0
- package/dist/{chunk-6NLH6TEP.js → chunk-RMC4OONA.js} +331 -143
- package/dist/{chunk-26P4WRQC.js → chunk-RPIKNMZA.js} +6 -3
- package/dist/{chunk-YF2PYLC4.js → chunk-RSCRIWAH.js} +1 -1
- package/dist/{chunk-DHWCFQNO.js → chunk-RT66UTLJ.js} +4 -18
- package/dist/{chunk-DAVHGK27.js → chunk-S7NRL66K.js} +46 -23
- package/dist/{chunk-VABRPZVC.js → chunk-SA46CNMS.js} +5 -1
- package/dist/chunk-SE7MJ2LQ.js +24 -0
- package/dist/{chunk-L7RHB734.js → chunk-SGDWLXUC.js} +1 -1
- package/dist/{chunk-E64MTTBC.js → chunk-SMHZXHHD.js} +45 -14
- package/dist/{chunk-AG2CJ4JY.js → chunk-SNQ7D5R7.js} +18 -1
- package/dist/{chunk-3V7AA3IZ.js → chunk-SPSGUFTI.js} +11 -3
- package/dist/{chunk-I2E3YDNZ.js → chunk-SRAV6FPB.js} +33 -9
- package/dist/chunk-SRUV7AT6.js +51 -0
- package/dist/{chunk-KJEZFOO6.js → chunk-SS4YGK3E.js} +91 -48
- package/dist/{chunk-WQ55QPEB.js → chunk-SXD3OYAR.js} +241 -118
- package/dist/{chunk-U7LLQ7XM.js → chunk-T2CYNDYU.js} +473 -109
- package/dist/{chunk-FMFCGYCE.js → chunk-T2YDWT54.js} +289 -300
- package/dist/{chunk-KORHKDJW.js → chunk-TE4M52AA.js} +2 -1
- package/dist/chunk-TUW5IYGA.js +24 -0
- package/dist/chunk-TXBO2LWM.js +25 -0
- package/dist/chunk-U3A6FMSI.js +28 -0
- package/dist/{chunk-EHDWWFNV.js → chunk-UBCVBBJJ.js} +3 -3
- package/dist/chunk-UPTXFTKH.js +25 -0
- package/dist/chunk-UREXN6WG.js +25 -0
- package/dist/chunk-UZLR25BW.js +24 -0
- package/dist/{chunk-JEL6665C.js → chunk-UZTQUPTB.js} +6 -6
- package/dist/{chunk-ISWU5YB3.js → chunk-V5JQQMFQ.js} +11 -5
- package/dist/chunk-V634AXDM.js +31 -0
- package/dist/{chunk-57ZGVAU3.js → chunk-V7F4F6JA.js} +39 -6
- package/dist/chunk-VJ7VBB6S.js +58 -0
- package/dist/{chunk-LVXOY5WL.js → chunk-VPL3JYC6.js} +6 -5
- package/dist/{chunk-VWYUUBBP.js → chunk-VVXKFU72.js} +83 -32
- package/dist/{chunk-XTGWCYAR.js → chunk-WBETBGSC.js} +430 -256
- package/dist/chunk-WI5VOSQX.js +125 -0
- package/dist/chunk-WIVFIVFZ.js +27 -0
- package/dist/{chunk-OURX73UJ.js → chunk-WN3HEU3P.js} +13 -11
- package/dist/{chunk-7EOLHBI6.js → chunk-WTQAG2OT.js} +81 -21
- package/dist/{chunk-G57ZO7DB.js → chunk-WWGPTEQB.js} +66 -26
- package/dist/{chunk-33PLBIMA.js → chunk-WXJ5MHLH.js} +3 -2
- package/dist/chunk-X23SZHV5.js +25 -0
- package/dist/{chunk-TKQKXBGC.js → chunk-X3KCQEYZ.js} +10 -8
- package/dist/chunk-X3YP4DUV.js +76 -0
- package/dist/chunk-XC5IRUEL.js +48 -0
- package/dist/{chunk-LFX7W4B7.js → chunk-XCROSJ2Z.js} +1 -1
- package/dist/{chunk-RK4S3VPS.js → chunk-XHRUXZD7.js} +3 -3
- package/dist/{chunk-S32YYDIB.js → chunk-XMP2DNLI.js} +4 -3
- package/dist/{chunk-C3O45JWU.js → chunk-XQMYQ4TN.js} +4 -4
- package/dist/{chunk-QKL7IY42.js → chunk-Y54LU4CU.js} +1 -1
- package/dist/chunk-YHD2FZFP.js +24 -0
- package/dist/{chunk-OMNQXHFF.js → chunk-YK2KWNTU.js} +31 -20
- package/dist/chunk-YMTXTQCN.js +24 -0
- package/dist/{chunk-SGD3ZHID.js → chunk-YOOHNQ3L.js} +15 -4
- package/dist/{chunk-JTJNQKPM.js → chunk-YPYD6OJ3.js} +2 -2
- package/dist/{chunk-3P4PJJND.js → chunk-YYJORENB.js} +6 -6
- package/dist/{chunk-NRF223FR.js → chunk-YZZLIYPA.js} +1 -1
- package/dist/{chunk-WJKVNRCR.js → chunk-Z55DXFWS.js} +18 -17
- package/dist/{chunk-UTQGZF37.js → chunk-ZEYBI47P.js} +1 -1
- package/dist/{chunk-WKWMOZNE.js → chunk-ZJFJ2IKQ.js} +226 -61
- package/dist/{chunk-QJ4WGAC6.js → chunk-ZKJ5L35C.js} +94 -21
- package/dist/{chunk-ZXOD37BE.js → chunk-ZL6IHMOW.js} +73 -39
- package/dist/chunk-ZMPH2OC4.js +24 -0
- package/dist/{chunk-EYZ6SLF3.js → chunk-ZVM5TFGR.js} +7 -7
- package/dist/chunk-ZWNRLIFT.js +24 -0
- package/dist/{chunk-VNLSTZES.js → chunk-ZY72LSQK.js} +314 -92
- package/dist/chunk-ZYQYX66L.js +24 -0
- package/dist/cli/index.js +3 -3
- package/dist/{core-MN45UFF4.js → core-3KLQSYWB.js} +3 -1
- package/dist/{core-DAFZ7YJW.js → core-4HFVG4CP.js} +2 -1
- package/dist/{core-34KIMTK6.js → core-4RR6VSXM.js} +2 -1
- package/dist/{core-7R3ARYNI.js → core-5UF44NDI.js} +5 -1
- package/dist/{core-3CWPIFAL.js → core-7S3XMW5O.js} +3 -1
- package/dist/{core-ONNGSKWQ.js → core-7Y5BZZON.js} +5 -1
- package/dist/{core-AEYGGH7X.js → core-A5AKUB7H.js} +4 -1
- package/dist/{core-YPH723Z7.js → core-AR2T32Y3.js} +8 -1
- package/dist/{core-CJZXX2V3.js → core-BBNY2BX4.js} +2 -1
- package/dist/{core-CJ7FFPDU.js → core-BLHEJ5OK.js} +5 -1
- package/dist/{core-KII4CH3W.js → core-BOG33BFD.js} +3 -1
- package/dist/{core-O2K4BDYH.js → core-DD62MWEW.js} +4 -1
- package/dist/{core-WJSKT5XM.js → core-DFZMOO7E.js} +5 -1
- package/dist/{core-QXIAQFHM.js → core-E2XOSHPR.js} +3 -1
- package/dist/{core-R27R6J5M.js → core-G3LXHW73.js} +3 -1
- package/dist/{core-V7I4F6JW.js → core-GLOZY6Z7.js} +5 -1
- package/dist/{core-KZK3WCUG.js → core-GSILPKUR.js} +3 -1
- package/dist/{core-GEUPUZUY.js → core-H5HO2CED.js} +3 -1
- package/dist/{core-W7AZNHOX.js → core-HDNWVLJW.js} +3 -1
- package/dist/{core-L7Y7YXWR.js → core-HTD5RHE7.js} +1 -1
- package/dist/{core-WHI4ABF2.js → core-ILPXXC2Z.js} +1 -1
- package/dist/{core-RGLOYY73.js → core-J2JD5ODO.js} +6 -1
- package/dist/{core-ASBJZZTP.js → core-JDFUZFRH.js} +2 -1
- package/dist/{core-XKV7GMPG.js → core-K3JX5WPM.js} +2 -1
- package/dist/{core-L5KTPXHC.js → core-LB5M7XL4.js} +3 -1
- package/dist/{core-KCORN7F7.js → core-LGJZUP6H.js} +3 -1
- package/dist/{core-DJPGSTXB.js → core-MU4ALRR7.js} +8 -1
- package/dist/{core-MNUVP5IJ.js → core-QPSAYRFT.js} +5 -1
- package/dist/{core-YVNOHIQ4.js → core-RR2CAZC5.js} +3 -1
- package/dist/{core-KF6GJOGW.js → core-TCSW24N6.js} +7 -1
- package/dist/{core-JLXFDYHX.js → core-TKZZZ6UW.js} +4 -1
- package/dist/{core-7YKLT7KY.js → core-VKZSQFRG.js} +4 -1
- package/dist/{core-EAIFSTDE.js → core-WJNK7F2J.js} +3 -1
- package/dist/{core-JLJTP7P6.js → core-WZ4CHVYL.js} +3 -1
- package/dist/{core-PFXIBWLD.js → core-XW7UJFJZ.js} +4 -1
- package/dist/{core-RCFFJANI.js → core-YMXYUGF5.js} +5 -1
- package/dist/{core-DKJUX7Q4.js → core-ZLSQHZ3I.js} +3 -1
- package/dist/{dataTable-VKEHFLJM.js → dataTable-CNDRVGA5.js} +4 -2
- package/dist/{engine-PPXKJJFI.js → engine-FVEIM3WV.js} +59 -32
- package/dist/fixtures.js +6 -1
- package/dist/{fontTables-WYCZNRE7.js → fontTables-ZPZQ6IR3.js} +1 -1
- package/dist/fonts.js +2 -1
- package/dist/geo/dach.js +3 -1
- package/dist/geo/de-states.js +3 -1
- package/dist/geo/eu27.js +3 -1
- package/dist/geo/europe.js +3 -1
- package/dist/geo/index.js +4 -2
- package/dist/geo/us-states.js +3 -1
- package/dist/geo/world.js +3 -1
- package/dist/index.js +31 -26
- package/dist/{main-53MXACOU.js → main-THU6VIVU.js} +55 -24
- package/dist/mcp/server.js +50 -22
- package/dist/{module-SVEW5ZUE.js → module-ZSR7KTAS.js} +1 -1
- package/dist/react/bar.js +6 -1
- package/dist/react/bartable.js +6 -1
- package/dist/react/box.js +6 -1
- package/dist/react/bullet.js +4 -1
- package/dist/react/butterfly.js +5 -1
- package/dist/react/choropleth.js +4 -1
- package/dist/react/cohort.js +4 -1
- package/dist/react/column.js +9 -1
- package/dist/react/combo.js +3 -1
- package/dist/react/creative.js +2 -1
- package/dist/react/diagram.js +3 -1
- package/dist/react/dimswitch.js +4 -1
- package/dist/react/dot.js +9 -1
- package/dist/react/export.js +33 -30
- package/dist/react/funnel.js +4 -1
- package/dist/react/gantt.js +4 -1
- package/dist/react/grid.js +4 -1
- package/dist/react/heatmap.js +4 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +95 -90
- package/dist/react/kpi.js +2 -1
- package/dist/react/likert.js +7 -1
- package/dist/react/line.js +4 -1
- package/dist/react/mekko.js +5 -1
- package/dist/react/pareto.js +3 -1
- package/dist/react/pie.js +5 -1
- package/dist/react/prepare.js +33 -27
- package/dist/react/pvm.js +4 -1
- package/dist/react/pyramid.js +5 -1
- package/dist/react/sankey.js +4 -1
- package/dist/react/scatter.js +4 -1
- package/dist/react/slope.js +6 -1
- package/dist/react/sparkline.js +4 -1
- package/dist/react/spec.js +25 -32
- package/dist/react/status.js +8 -1
- package/dist/react/story.js +6 -4
- package/dist/react/table.js +4 -1
- package/dist/react/theme.js +6 -3
- package/dist/react/tilemap.js +4 -1
- package/dist/react/treemap.js +3 -1
- package/dist/react/variance.js +5 -1
- package/dist/react/waffle.js +3 -1
- package/dist/react/waterfall.js +4 -1
- package/dist/{resvg-ZOVDIZTV.js → resvg-VB7S5HRF.js} +1 -1
- package/dist/rows.js +2 -3
- package/dist/{rowsModule-L3MBGPBH.js → rowsModule-LI6KOS46.js} +2 -1
- package/dist/{schema-GVHM2HEF.js → schema-25INXAMY.js} +1 -1
- package/dist/{schema-ZCZCY34J.js → schema-5DUTAVO7.js} +1 -1
- package/dist/{schema-26YUL3MG.js → schema-5KDEQBBT.js} +1 -1
- package/dist/{schema-FT37ZEYY.js → schema-5ZTGVQAJ.js} +1 -3
- package/dist/{schema-CMXL5F5L.js → schema-72EEMYS3.js} +1 -1
- package/dist/{schema-6ZV532RM.js → schema-7NSV542V.js} +1 -1
- package/dist/{schema-HWU55RJL.js → schema-AMT7P7KB.js} +1 -1
- package/dist/{schema-AQD3H5VV.js → schema-AXRDF6ND.js} +1 -1
- package/dist/{schema-SY3MKF5S.js → schema-B2GCEYXD.js} +1 -1
- package/dist/{schema-QLH2DZFI.js → schema-BBTXTWYI.js} +1 -1
- package/dist/{schema-SLQPM32G.js → schema-BKUFZLLI.js} +1 -1
- package/dist/{schema-LYBOPAGQ.js → schema-CGQID64D.js} +1 -1
- package/dist/{schema-QNI6MNQ2.js → schema-FDFQKIO5.js} +1 -1
- package/dist/{schema-KH62LDYK.js → schema-GN6GAIU5.js} +1 -1
- package/dist/{schema-733PO52K.js → schema-GNTKL5DN.js} +1 -1
- package/dist/{schema-ZSYX76MO.js → schema-H2EC4GAQ.js} +1 -1
- package/dist/{schema-H7RKVTVO.js → schema-HH5HOORE.js} +1 -1
- package/dist/{schema-NOPOI5G2.js → schema-J7TNCZIP.js} +1 -1
- package/dist/{schema-WAKLKLBB.js → schema-JH57NFXJ.js} +1 -1
- package/dist/{schema-KFXLS67Q.js → schema-KPEPBGAX.js} +1 -1
- package/dist/{schema-GK6MD4EG.js → schema-L5U4OROI.js} +1 -1
- package/dist/{schema-IOWE3RQO.js → schema-LOQ3AFC7.js} +1 -1
- package/dist/{schema-GSE3QXUK.js → schema-M5JBHQIV.js} +5 -3
- package/dist/{schema-IOKAZVL7.js → schema-MMVPMJEF.js} +1 -1
- package/dist/{schema-B4GFRYIP.js → schema-OU35XA3Z.js} +1 -1
- package/dist/{schema-HRHNGOFC.js → schema-PL3EU6EQ.js} +2 -2
- package/dist/{schema-MNG24WU2.js → schema-PQZWO3BP.js} +1 -1
- package/dist/{schema-5E5J43CF.js → schema-QCIE6M2P.js} +2 -1
- package/dist/{schema-Q4IPIR6W.js → schema-QORUB6EK.js} +1 -1
- package/dist/{schema-33ZF6WKL.js → schema-QPOBZUAR.js} +1 -1
- package/dist/{schema-3W7IFXVN.js → schema-R5Y6NVBH.js} +1 -1
- package/dist/{schema-KHCLVE2V.js → schema-THXXFY6I.js} +1 -1
- package/dist/{schema-HGUBNXUY.js → schema-VYECMPON.js} +1 -1
- package/dist/{schema-PNUC54GC.js → schema-YLE4XXQQ.js} +1 -1
- package/dist/{schema-KORNUIC6.js → schema-ZEVJMFLV.js} +1 -1
- package/dist/{schema-4ZXJCRZR.js → schema-ZG6ZKFRZ.js} +1 -1
- package/dist/{schema-WCDYWS4K.js → schema-ZQSIR5UC.js} +1 -1
- package/dist/{specValidation-H5B4MQST.js → specValidation-VHLGDEME.js} +3 -1
- package/dist/theme.js +4 -2
- package/dist/{themeShapeRules-54U5EIZR.js → themeShapeRules-PW4BQHKL.js} +1 -1
- package/dist/types/core/a11y/recordsShared.d.ts +4 -0
- package/dist/types/core/annotate.d.ts +39 -0
- package/dist/types/core/annotateArms.d.ts +1 -1
- package/dist/types/core/axis.d.ts +2 -0
- package/dist/types/core/calendarLabels.d.ts +15 -0
- package/dist/types/core/charts/band/stacks.d.ts +71 -2
- package/dist/types/core/charts/bartable/types.d.ts +10 -0
- package/dist/types/core/charts/box/types.d.ts +2 -0
- package/dist/types/core/charts/choropleth/index.d.ts +7 -0
- package/dist/types/core/charts/choropleth/layout.d.ts +7 -0
- package/dist/types/core/charts/choropleth/schema.d.ts +36 -0
- package/dist/types/core/charts/cohort/types.d.ts +8 -1
- package/dist/types/core/charts/column/layout.d.ts +1 -1
- package/dist/types/core/charts/column/model.d.ts +4 -0
- package/dist/types/core/charts/combo/endpoints.d.ts +1 -1
- package/dist/types/core/charts/creative/types.d.ts +1 -1
- package/dist/types/core/charts/dimswitch/compile.d.ts +2 -0
- package/dist/types/core/charts/dimswitch/types.d.ts +8 -0
- package/dist/types/core/charts/grid/normalize.d.ts +18 -1
- package/dist/types/core/charts/heatmap/fixtures.d.ts +2 -2
- package/dist/types/core/charts/histogram/types.d.ts +14 -2
- package/dist/types/core/charts/likert/layout.d.ts +14 -9
- package/dist/types/core/charts/logAxis.d.ts +55 -0
- package/dist/types/core/charts/pvm/types.d.ts +6 -0
- package/dist/types/core/charts/pyramid/types.d.ts +7 -4
- package/dist/types/core/charts/sankey/types.d.ts +3 -1
- package/dist/types/core/charts/scatter/clamp.d.ts +155 -0
- package/dist/types/core/charts/scatter/frontier.d.ts +21 -0
- package/dist/types/core/charts/scatter/index.d.ts +9 -0
- package/dist/types/core/charts/scatter/layout.d.ts +26 -0
- package/dist/types/core/charts/scatter/logAxis.d.ts +14 -0
- package/dist/types/core/charts/scatter/model.d.ts +258 -0
- package/dist/types/core/charts/scatter/schema.d.ts +57 -0
- package/dist/types/core/charts/scatter/trend.d.ts +54 -0
- package/dist/types/core/charts/scatter/valueLines.d.ts +47 -0
- package/dist/types/core/charts/sparkline/fixtures.d.ts +1 -1
- package/dist/types/core/charts/status/layout.d.ts +5 -3
- package/dist/types/core/charts/table/resolve.d.ts +0 -7
- package/dist/types/core/charts/tilemap/index.d.ts +6 -0
- package/dist/types/core/charts/tilemap/layout.d.ts +5 -0
- package/dist/types/core/charts/tilemap/schema.d.ts +4 -0
- package/dist/types/core/charts/treemap/types.d.ts +2 -2
- package/dist/types/core/charts/variance/fixtures.d.ts +2 -1
- package/dist/types/core/charts/waffle/types.d.ts +2 -0
- package/dist/types/core/dateFormat.d.ts +1 -1
- package/dist/types/core/doc/diagnostics.d.ts +8 -0
- package/dist/types/core/doc/document.d.ts +9 -1
- package/dist/types/core/doc/ownedDocumentCopy.d.ts +2 -1
- package/dist/types/core/fontMetrics/index.d.ts +1 -1
- package/dist/types/core/footer.d.ts +9 -1
- package/dist/types/core/format.d.ts +8 -1
- package/dist/types/core/formatSpec.d.ts +84 -6
- package/dist/types/core/frame.d.ts +41 -8
- package/dist/types/core/geo/packs/registry.d.ts +3 -2
- package/dist/types/core/geometry.d.ts +19 -0
- package/dist/types/core/icons.d.ts +11 -0
- package/dist/types/core/inputError.d.ts +3 -0
- package/dist/types/core/isoDate.d.ts +2 -0
- package/dist/types/core/label/categoryRow.d.ts +9 -1
- package/dist/types/core/label/occupied.d.ts +5 -0
- package/dist/types/core/label/solver.d.ts +31 -2
- package/dist/types/core/notes.d.ts +13 -1
- package/dist/types/core/ols.d.ts +38 -0
- package/dist/types/core/periodYears.d.ts +5 -1
- package/dist/types/core/registry.d.ts +12 -0
- package/dist/types/core/request.d.ts +3 -2
- package/dist/types/core/scale.d.ts +7 -0
- package/dist/types/core/schema/capability.d.ts +17 -20
- package/dist/types/core/schema/namedColumns.d.ts +6 -0
- package/dist/types/core/schema/refusals.d.ts +1 -4
- package/dist/types/core/shareRounding.d.ts +8 -0
- package/dist/types/core/sizing.d.ts +17 -12
- package/dist/types/core/story.d.ts +3 -0
- package/dist/types/core/target.d.ts +6 -0
- package/dist/types/core/text.d.ts +8 -0
- package/dist/types/core/theme.d.ts +52 -1
- package/dist/types/core/types/annotations.d.ts +15 -3
- package/dist/types/core/types/data.d.ts +4 -1
- package/dist/types/core/types/diagram.d.ts +81 -2
- package/dist/types/core/types/optionInput.d.ts +13 -0
- package/dist/types/core/types/options.d.ts +65 -24
- package/dist/types/core/types/scene.d.ts +79 -2
- package/dist/types/core/types/table.d.ts +11 -0
- package/dist/types/core/types/theme.d.ts +48 -3
- package/dist/types/index.d.ts +28 -27
- package/dist/types/optionTypes.d.ts +44 -0
- package/dist/types/react/DimSwitchChart.d.ts +2 -1
- package/dist/types/react/RefusalBoundary.d.ts +25 -0
- package/dist/types/react/SceneRenderer.d.ts +3 -1
- package/dist/types/react/SizePlaceholder.d.ts +2 -1
- package/dist/types/react/TableChart.d.ts +8 -4
- package/dist/types/react/barrelCharts.d.ts +1521 -1012
- package/dist/types/react/charts/bar.d.ts +36 -25
- package/dist/types/react/charts/bartable.d.ts +36 -25
- package/dist/types/react/charts/box.d.ts +36 -25
- package/dist/types/react/charts/bullet.d.ts +36 -25
- package/dist/types/react/charts/butterfly.d.ts +36 -25
- package/dist/types/react/charts/choropleth.d.ts +36 -25
- package/dist/types/react/charts/cohort.d.ts +76 -50
- package/dist/types/react/charts/column.d.ts +36 -25
- package/dist/types/react/charts/combo.d.ts +2 -1
- package/dist/types/react/charts/creative.d.ts +31 -25
- package/dist/types/react/charts/diagram.d.ts +302 -160
- package/dist/types/react/charts/dot.d.ts +36 -25
- package/dist/types/react/charts/funnel.d.ts +36 -25
- package/dist/types/react/charts/gantt.d.ts +36 -25
- package/dist/types/react/charts/grid.d.ts +38 -27
- package/dist/types/react/charts/heatmap.d.ts +36 -25
- package/dist/types/react/charts/histogram.d.ts +36 -25
- package/dist/types/react/charts/kpi.d.ts +36 -25
- package/dist/types/react/charts/likert.d.ts +36 -25
- package/dist/types/react/charts/line.d.ts +36 -25
- package/dist/types/react/charts/mekko.d.ts +36 -25
- package/dist/types/react/charts/pareto.d.ts +33 -25
- package/dist/types/react/charts/pie.d.ts +36 -25
- package/dist/types/react/charts/pvm.d.ts +36 -25
- package/dist/types/react/charts/pyramid.d.ts +33 -25
- package/dist/types/react/charts/sankey.d.ts +36 -25
- package/dist/types/react/charts/scatter.d.ts +36 -25
- package/dist/types/react/charts/slope.d.ts +36 -25
- package/dist/types/react/charts/sparkline.d.ts +36 -25
- package/dist/types/react/charts/status.d.ts +36 -25
- package/dist/types/react/charts/tilemap.d.ts +36 -25
- package/dist/types/react/charts/treemap.d.ts +36 -25
- package/dist/types/react/charts/variance.d.ts +36 -25
- package/dist/types/react/charts/waffle.d.ts +36 -25
- package/dist/types/react/charts/waterfall.d.ts +36 -25
- package/dist/types/react/createChartComponent.d.ts +11 -9
- package/dist/types/react/footerFrame.d.ts +1 -1
- package/dist/types/react/hover/engine.d.ts +2 -1
- package/dist/types/react/hover/labelCard.d.ts +20 -2
- package/dist/types/react/prepare.d.ts +2 -2
- package/dist/types/react/prepared.d.ts +5 -1
- package/dist/types/react/useContainerSize.d.ts +2 -0
- package/dist/types/rows.d.ts +1 -1
- package/dist/validate.js +13 -8
- package/docs/manual.md +139 -35
- package/docs/reference/bar.md +10 -7
- package/docs/reference/bartable.md +7 -3
- package/docs/reference/box.md +5 -2
- package/docs/reference/bullet.md +7 -5
- package/docs/reference/butterfly.md +12 -5
- package/docs/reference/choropleth.md +10 -8
- package/docs/reference/cohort.md +3 -2
- package/docs/reference/column.md +14 -7
- package/docs/reference/combo.md +8 -6
- package/docs/reference/creative.md +1 -1
- package/docs/reference/diagram.md +94 -18
- package/docs/reference/dimswitch.md +16 -13
- package/docs/reference/dot.md +7 -4
- package/docs/reference/fixtures.md +49 -5
- package/docs/reference/funnel.md +4 -3
- package/docs/reference/gantt.md +1 -1
- package/docs/reference/grid.md +1 -1
- package/docs/reference/heatmap.md +6 -4
- package/docs/reference/histogram.md +7 -4
- package/docs/reference/kpi.md +11 -8
- package/docs/reference/likert.md +7 -3
- package/docs/reference/line.md +9 -8
- package/docs/reference/mekko.md +4 -4
- package/docs/reference/options.md +34 -32
- package/docs/reference/pareto.md +4 -4
- package/docs/reference/pie.md +8 -7
- package/docs/reference/pvm.md +4 -2
- package/docs/reference/pyramid.md +4 -4
- package/docs/reference/react.md +20 -11
- package/docs/reference/sankey.md +5 -3
- package/docs/reference/scatter.md +3 -3
- package/docs/reference/slope.md +7 -6
- package/docs/reference/sparkline.md +6 -5
- package/docs/reference/status.md +6 -4
- package/docs/reference/table.md +28 -26
- package/docs/reference/theme.md +93 -85
- package/docs/reference/tilemap.md +8 -7
- package/docs/reference/treemap.md +6 -5
- package/docs/reference/variance.md +8 -5
- package/docs/reference/waffle.md +2 -1
- package/docs/reference/waterfall.md +12 -9
- package/docs/use-cases.md +25 -2
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/dist/chunk-2HXKW6U6.js +0 -24
- package/dist/chunk-35ZTANEK.js +0 -24
- package/dist/chunk-3CLLHMFF.js +0 -24
- package/dist/chunk-46ZPFJAM.js +0 -24
- package/dist/chunk-6BWSF5PS.js +0 -24
- package/dist/chunk-6K2TMVPF.js +0 -42
- package/dist/chunk-6KWIQ5KF.js +0 -18
- package/dist/chunk-6ZXMA4TY.js +0 -24
- package/dist/chunk-7HFUG25L.js +0 -24
- package/dist/chunk-7R5EV5MS.js +0 -24
- package/dist/chunk-7X65ZQN4.js +0 -38
- package/dist/chunk-ATUZTGZI.js +0 -25
- package/dist/chunk-BW5VLBSZ.js +0 -15
- package/dist/chunk-BYD7VLAI.js +0 -24
- package/dist/chunk-CEY646NZ.js +0 -28
- package/dist/chunk-D7GZPMHW.js +0 -24
- package/dist/chunk-FIANWJXX.js +0 -19
- package/dist/chunk-H4SYN3QA.js +0 -24
- package/dist/chunk-HC4NDND6.js +0 -24
- package/dist/chunk-HNVW3YDS.js +0 -25
- package/dist/chunk-HW7BPJNQ.js +0 -24
- package/dist/chunk-I5L3QTKQ.js +0 -24
- package/dist/chunk-IK4BHOPZ.js +0 -33
- package/dist/chunk-IMJXJHFW.js +0 -88
- package/dist/chunk-JDEVGTSX.js +0 -24
- package/dist/chunk-K2KU4HHT.js +0 -25
- package/dist/chunk-KDMKHR5A.js +0 -32
- package/dist/chunk-KNZD53L4.js +0 -24
- package/dist/chunk-KOJ5QETJ.js +0 -8
- package/dist/chunk-KSQEG6DX.js +0 -24
- package/dist/chunk-KVSJ2O4Q.js +0 -24
- package/dist/chunk-L3JWM7FR.js +0 -50
- package/dist/chunk-L7FSCT4M.js +0 -28
- package/dist/chunk-LMPZKCDM.js +0 -24
- package/dist/chunk-MONVTUHR.js +0 -24
- package/dist/chunk-NWQTSZYC.js +0 -24
- package/dist/chunk-OM67S6S4.js +0 -19
- package/dist/chunk-OTW5SEFS.js +0 -21
- package/dist/chunk-PGV25HTX.js +0 -25
- package/dist/chunk-QGCEHR6S.js +0 -13
- package/dist/chunk-T3IGJARD.js +0 -22
- package/dist/chunk-U2ES66IN.js +0 -26
- package/dist/chunk-U6CJPTOB.js +0 -19
- package/dist/chunk-VDVXGAIP.js +0 -24
- package/dist/chunk-VGWWUCAB.js +0 -24
- package/dist/chunk-X4U6PT3Z.js +0 -33
- package/dist/chunk-XXNLNZ7E.js +0 -24
- package/dist/chunk-ZBJNEJSL.js +0 -24
- package/dist/chunk-ZWJTHFWB.js +0 -27
- /package/dist/{DiagnosticDetails-UNYNYCAH.js → DiagnosticDetails-JFBBXOT2.js} +0 -0
|
@@ -59,27 +59,29 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
59
59
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
60
60
|
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
61
61
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
62
|
-
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST). Read only on the variance.vs series, where it names the tier (ΔPL). Every data value draws as the actual, so name a forecast or plan value in its category label or a footnote. |
|
|
62
|
+
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Read only on the variance.vs series, where it names the tier (ΔPL). Every data value draws as the actual, so name a forecast or plan value in its category label or a footnote. In a grid tier, a category whose values are all FC draws hatched, like a partial one. |
|
|
63
63
|
| series[].direction | string | | Whether increases are favorable; defaults to higherIsBetter for directional comparisons. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
64
64
|
| series[].role | string | | Data series or comparison-only reference series; references are excluded from the main plotted data. One of `'data'`, `'reference'`. |
|
|
65
65
|
| series[].colorRole | string | | Theme color role of the integrated actual columns and their key when this series is the actual and sets no fill; no effect in the other modes or on a reference series. 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. |
|
|
66
66
|
| series[].fill | string | | CSS fill of the integrated actual columns and their key when this series is the actual; a cell fill wins. No effect in the other modes or on a reference series. |
|
|
67
|
-
| series[].unit | string | | Unit of this series' values, read
|
|
67
|
+
| series[].unit | string | | Unit of this series' values, read by the grid shared-scale check and the hover card; the drawn labels print options.unit. |
|
|
68
68
|
| series[].format | string | | Format-by-example for this series values, for example 1,234 or 1.2%. |
|
|
69
69
|
|
|
70
70
|
## Options
|
|
71
71
|
|
|
72
72
|
| Path | Type | Values | Default | Meaning |
|
|
73
73
|
|---|---|---|---|---|
|
|
74
|
+
| sort | object \| string \| true | `'sheet'`, `'asc'`, `'desc'`, `'reverse'`, `true` (or another value of its type) | | Category ranking value: the signed drawn difference, delta percent in relative mode and absolute difference otherwise. desc puts the largest positive difference first, asc the smallest; stable ties and missing values last. sheet keeps authored order and reverse reverses it. Dated categories keep authored order when a growth or difference annotation spans periods. |
|
|
75
|
+
| topN | object \| integer | | | Keep the n largest drawn differences by absolute size, delta percent in relative mode and absolute difference otherwise, before sorting. Missing differences count as zero. No Others row is drawn; omitted category names are disclosed. Authored rest: true, restLabel, showRestCount or threshold warns that it is ignored when categories are omitted. |
|
|
74
76
|
| axisTitles | object | | | Title of the value axis when it is drawn: over the value axis, in the top row left of the plot, when valueAxis.show draws it. Drawn only when authored. |
|
|
75
77
|
| axisTitles.primary | string | | | 'Measure, unit' title of the value axis, e.g. 'Margin, %'. |
|
|
76
78
|
| variant | string | `'absolute'`, `'relative'`, `'integrated'` | | Show raw differences, relative percentage differences, or an integrated comparison with the absolute values. The key builds its entries from the scenario code of the variance.vs series (AC, PY, PL or FC), or from its label when it has no scenario, here PY. absolute and relative: 'Better than PY' and 'Worse than PY', with (lower) and (higher) for a lowerIsBetter series. integrated: the compared series, then 'Above PY' and 'Below PY' for the caps, the same wording at every width, and 'Within rounding of PY' for a muted cap that prints as zero. On report, dashboard, slide and print, the actual value label sits inside the column at its foot; a column too short for it uses the actual edge, then a side position at the same height. |
|
|
77
79
|
| variance | object | | | Required comparison identifying the measured quantity and the reference series. |
|
|
78
80
|
| variance.of | string | `'total'` (or another value of its type) | | Compared series id, or total for the sum of data series. Defaults to total. |
|
|
79
81
|
| variance.vs | string | | | Reference-series id; its scenario names the comparison tier. |
|
|
80
|
-
| missingMark | string | `'dash'`, `'none'` | | What a category with no prior value leaves behind. 'dash' prints an en dash in the muted ink, at the baseline or, over an integrated actual column, where the cap would sit, so a missing reference reads as missing and not as no difference; 'none' (the default) draws nothing. A reference that exists and is not positive keeps its own 'n.m.' glyph. |
|
|
82
|
+
| missingMark | string | `'dash'`, `'none'` | | What a category with no prior value leaves behind. 'dash' prints an en dash in the muted ink, at the baseline or, over an integrated actual column, where the cap would sit, so a missing reference reads as missing and not as no difference; 'none' (the default) draws nothing. A reference that exists and is not positive keeps its own 'n.m.' glyph. A category with a blank part in its actual total leaves the same mark and the info warning missing-value. |
|
|
81
83
|
|
|
82
|
-
Plus the [shared options](options.md). This type does not accept `detailFields`, `
|
|
84
|
+
Plus the [shared options](options.md). This type does not accept `detailFields`, `valueAxis.log`, `valueAxis.reverse`, `valueAxis.break`, `hatchStrength`, `rounding`. This type ignores `animate`, `debug`, `rowLabels`, `categoryAxis`, `categoryLabels`, `secondaryAxis` with an `option-ignored` warning.
|
|
83
85
|
|
|
84
86
|
## Annotations
|
|
85
87
|
|
|
@@ -87,7 +89,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
87
89
|
|
|
88
90
|
| Kind | Purpose | Required | Anchors | Optional fields | Notes |
|
|
89
91
|
|---|---|---|---|---|---|
|
|
90
|
-
| 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. | 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 line category, which reads the first drawn series) 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. |
|
|
92
|
+
| 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 line category, which reads the first drawn series) 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. |
|
|
91
93
|
| 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, default relative. relative prints the percent change from 'from' to 'to', reversed the change from 'to' to 'from', absolute the value difference. | 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. |
|
|
92
94
|
| 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 | | |
|
|
93
95
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | |
|
|
@@ -109,6 +111,7 @@ Below the floor a render is refused with `size-below-floor` and the pixels it ne
|
|
|
109
111
|
| dpy-absolute-regions | example | ΔPY absolute variance columns with forced signs |
|
|
110
112
|
| dpl-relative-pins | example | ΔPL% relative variance pins, ≤1 decimal, forced signs |
|
|
111
113
|
| integrated-fc-caps | example | Integrated variance: AC columns with ΔFC caps |
|
|
114
|
+
| integrated-solid-shortfall | example | Integrated variance with a solid shortfall cap (surface.shortfallCap) |
|
|
112
115
|
| ref-nonpositive-suppression | torture | Torture: REF zero and negative suppress Δ% with warnings |
|
|
113
116
|
| all-positive-deltas | torture | Total SaaS and services revenue growth by region versus prior year |
|
|
114
117
|
| all-negative-deltas | torture | Torture: all-negative ΔPL, labels mirrored below, category labels in one row under the bars |
|
package/docs/reference/waffle.md
CHANGED
|
@@ -58,6 +58,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
58
58
|
| grid.columns | integer | | `10` | Columns of cells in every panel, 1 to 50. |
|
|
59
59
|
| fillFrom | string | `'bottom'`, `'top'` | `'bottom'` | Where the fill starts. 'bottom' (default) starts at the bottom left, fills each row left to right and moves up. 'top' starts at the top left and moves down. A partly filled row fills from the left. |
|
|
60
60
|
| headline | string | `'value'`, `'none'` | | Automatic: a single-segment panel prints its value as a big number; several segments print their values in the key or below each grid. Authored 'value' prints a labelled total for several segments, in the format of the series or options.format. 'none' leaves the headline out. |
|
|
61
|
+
| heightFill | string | `'rows'`, `'none'` | `'rows'` | Spare canvas height of one panel with one series. 'rows' (default): a pinned canvas gives the grid the full plot height, with the value and the label beside the filled cells. 'none': the label, the value and the grid stack in a column. |
|
|
61
62
|
| cellNote | string | `'auto'`, `'none'` | | 'auto' (default) prints the note "One cell = 5%" under the chart when one cell is not 1% of the whole, so a coarse grid reads right. 'none' leaves it out. The wording comes from strings.cellNote, with '{value}' for the percent. |
|
|
62
63
|
| variant | string | `'cells'`, `'square'` | `'cells'` | 'cells' (default) draws the grid of cells. 'square' draws one solid square per panel whose AREA is the share (side = square root of the share × panel side), anchored at the fillFrom corner on the left, inside a pale tint of the same colour that stands for 100%. The headline prints under the panel. Square mode takes exactly one series (a nested second square would read as an L-shape, not a share) and refuses grid; there are no cells, so no cell note prints. Area understates differences (59% is 15 times 4% but only about 4 times as wide), so keep the headline. |
|
|
63
64
|
| reference | object | | | Square mode only. One reference share for ALL panels, drawn as a dashed square outline of that area in every panel (not in the reference panel itself) and named once in a key line above the panels (a note when legend is 'none' or a pinned size has no room). One reference keeps the outline meaning the same in every panel. |
|
|
@@ -74,7 +75,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
74
75
|
| subtotal.series | array | | | The summed segments: the first series and the ones right after it, in series order. |
|
|
75
76
|
| subtotal.label | string | | | What the sum stands for, such as 'within a day'; printed after the sum. |
|
|
76
77
|
|
|
77
|
-
Plus the [shared options](options.md). This type does not accept `detailFields`, `labels`, `
|
|
78
|
+
Plus the [shared options](options.md). This type does not accept `detailFields`, `labels`, `valueAxis.tickStep`, `valueAxis.log`, `valueAxis.reverse`, `valueAxis.break`, `highlight`, `story`, `hatchStrength`, `rounding`. This type ignores `animate`, `debug`, `rowLabels`, `categoryAxis`, `categoryLabels`, `secondaryAxis`, `sort`, `topN`, `bandFraction` with an `option-ignored` warning.
|
|
78
79
|
|
|
79
80
|
## Annotations
|
|
80
81
|
|
|
@@ -86,18 +86,18 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
86
86
|
| items[].segments[].label | string | | Displayed segment name; defaults to its id. |
|
|
87
87
|
| items[].segments[].value | cell | yes | Signed contribution of this segment to its item. |
|
|
88
88
|
| items[].segments[].colorRole | string | | Theme color role for this segment. 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. |
|
|
89
|
-
| items[].segments[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST). Scenario controlling this segment paint convention. |
|
|
89
|
+
| items[].segments[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Scenario controlling this segment paint convention. |
|
|
90
90
|
| items[].date | string | | ISO 8601 date associated with this bridge item. |
|
|
91
|
-
| items[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST). Scenario for this bridge item and its default segment styling. |
|
|
91
|
+
| items[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Scenario for this bridge item and its default segment styling. |
|
|
92
92
|
| items[].direction | string | | Under 'lowerIsBetter' a rise paints bad and a fall good (options.signColor). One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
93
|
-
| items[].toBaseline | boolean | | Start this
|
|
93
|
+
| items[].toBaseline | boolean | | Start this delta at zero and reset the accumulated contribution list. A subtotal draws the sum of the deltas since the last total or baseline subtotal, from zero; the running level carries on. |
|
|
94
94
|
| items[].values | cell[] | | With data.cases: one value per case, in case order, in place of value — the signed delta of each case, or a total's opening or check value. |
|
|
95
95
|
| connectors | array | | Authored connections between item levels; omission uses the default sequence. |
|
|
96
96
|
| connectors[].from | string | yes | Source waterfall item id. |
|
|
97
97
|
| connectors[].to | string | yes | Destination waterfall item id. |
|
|
98
98
|
| connectors[].anchor | string | | Connect at the item sum or a named segment boundary. One of `'sum'` (or another value of its type). |
|
|
99
99
|
| connectors[].hidden | boolean | | Hide this connector and start a new summation at the destination. |
|
|
100
|
-
| cases | array | | Two or three cases of the same bridge side by side in each step (scenarios): each item gives values, one per case, and each case runs its own levels in its own colour, named in the key. Case bars draw no connectors, since a line to a case's next bar would cross the other case's bar; items take no value or segments, and data.connectors
|
|
100
|
+
| cases | array | | Two or three cases of the same bridge side by side in each step (scenarios): each item gives values, one per case, and each case runs its own levels in its own colour, named in the key. Case bars draw no connectors, since a line to a case's next bar would cross the other case's bar; items take no value or segments, and data.connectors is refused. Under variant 'horizontal' each step's case bars stack in its row. |
|
|
101
101
|
| cases[].id | string | yes | Case identity without ':', which joins it to an item id ('<item>:<case>'); an annotation anchor names it as seriesId. |
|
|
102
102
|
| cases[].label | string | | Displayed case name in the key; defaults to the id. |
|
|
103
103
|
|
|
@@ -105,14 +105,14 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
105
105
|
|
|
106
106
|
| Path | Type | Values | Default | Meaning |
|
|
107
107
|
|---|---|---|---|---|
|
|
108
|
-
| legend | string \| object | `'top'`, `'bottom'`, `'none'`, `'auto'` (or another value of its type) | | Key position. Segment, case and scenario encodings keep their key because numeric bar labels do not name them. With these encodings, 'none' retains the key and reports waterfall-legend-required. A plain bridge keys its sign colours only when a lowerIsBetter step inverts them. |
|
|
108
|
+
| legend | string \| object | `'top'`, `'bottom'`, `'right'`, `'left'`, `'none'`, `'auto'` (or another value of its type) | | Key position. Segment, case and scenario encodings keep their key because numeric bar labels do not name them. With these encodings, 'none' retains the key and reports waterfall-legend-required. A plain bridge keys its sign colours only when a lowerIsBetter step inverts them. |
|
|
109
109
|
| axisTitles | object | | | Authored primary value-axis title above the vertical plot, using column title styling. Waterfall draws no value ticks. Horizontal mode accepts this key but does not print it. |
|
|
110
110
|
| axisTitles.primary | string | | | 'Measure, unit' title of the value axis, e.g. 'Margin, %'. |
|
|
111
|
-
| variant | string | `'vertical'`, `'horizontal'` |
|
|
111
|
+
| variant | string | `'vertical'`, `'horizontal'` | | Left out: vertical columns, turned into a horizontal bridge when the step names would rotate, shorten or drop, the horizontal bridge draws without a new finding, and the spec has no cases and no annotations. 'vertical' always keeps columns. A horizontal bridge draws no annotations: it suppresses them and warns horizontal-annotations-unsupported, so use vertical for annotations. |
|
|
112
112
|
| build | string | `'up'`, `'down'` | `'up'` | Build label in the accessible description; defaults to up. Item types and signed values determine accumulation in both modes. |
|
|
113
|
-
| signColor | boolean | | | Paint each plain step good or bad by sign × item direction, as column's signColor; zero is neutral. Default true unless the theme sets marks.bridge or a palette is named; false paints steps neutral. |
|
|
113
|
+
| signColor | boolean | | | Paint each plain step good or bad by sign × item direction, as column's signColor; zero is neutral. Default true unless the theme sets marks.bridge or a palette is named; false paints steps neutral. colorblindSafe paints signed steps, labels and key swatches with the theme's colour-blind pair. |
|
|
114
114
|
|
|
115
|
-
Plus the [shared options](options.md). This type does not accept `detailFields`, `labels`, `
|
|
115
|
+
Plus the [shared options](options.md). This type does not accept `detailFields`, `labels`, `valueAxis.min`, `valueAxis.max`, `valueAxis.tickStep`, `valueAxis.includeZero`, `valueAxis.percent`, `valueAxis.log`, `valueAxis.reverse`, `rounding`. This type ignores `animate`, `debug`, `rowLabels`, `categoryAxis`, `categoryLabels`, `secondaryAxis`, `sort`, `topN`, `valueAxis.show`, `valueAxis.gridlines` with an `option-ignored` warning.
|
|
116
116
|
|
|
117
117
|
## Annotations
|
|
118
118
|
|
|
@@ -120,13 +120,14 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
120
120
|
|
|
121
121
|
| Kind | Purpose | Required | Anchors | Optional fields | Notes |
|
|
122
122
|
|---|---|---|---|---|---|
|
|
123
|
-
| 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. | 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 line category, which reads the first drawn series) 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. |
|
|
123
|
+
| 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 line category, which reads the first drawn series) 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. |
|
|
124
124
|
| 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, default relative. relative prints the percent change from 'from' to 'to', reversed the change from 'to' to 'from', absolute the value difference. | 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. |
|
|
125
125
|
| 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 | | |
|
|
126
126
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | |
|
|
127
127
|
| 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. A thin arrow from the text to the anchored point; the first line sits level with the point, right or left of it, where there is room. Not with icon or status. Example: "arrow": true. | |
|
|
128
128
|
| 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. | 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. |
|
|
129
129
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | |
|
|
130
|
+
| bracket | Draws a bracket over an inclusive span of steps and prints the sum of their values, after an optional label. | from, to | from: categoryId; to: categoryId | label: string. Name printed before the sum, "Commercial +81". Without it the bracket prints the sum alone. | from and to are step ids, inclusive. The engine adds the steps up and prints the signed sum; every step in the span must be a delta, so a span that holds a total is refused with bracket-span-total. A step the bridge cannot add (an open start) refuses it with bracket-span-no-value. Brackets stand in one row above the steps. Vertical bridges only. |
|
|
130
131
|
|
|
131
132
|
## Sizing
|
|
132
133
|
|
|
@@ -142,6 +143,7 @@ Below the floor a render is refused with `size-below-floor` and the pixels it ne
|
|
|
142
143
|
| ebit-bridge | example | EBIT bridge FY21→FY24 |
|
|
143
144
|
| interview-status-buildup | example | Interview pipeline build-up by status |
|
|
144
145
|
| revenue-build-up | example | Revenue → EBIT build-up with diff arrow |
|
|
146
|
+
| step-brackets | example | Brackets over bridge steps print their sums |
|
|
145
147
|
| build-down | example | Build-down: revenue to net income |
|
|
146
148
|
| whole-axis-opt-out | example | Whole value axis kept with an explicit false |
|
|
147
149
|
| automatic-axis-break | example | Explicit automatic break makes small steps on a large base easier to compare |
|
|
@@ -160,5 +162,6 @@ Below the floor a render is refused with `size-below-floor` and the pixels it ne
|
|
|
160
162
|
| cost-bridge-lower-is-better | example | Cost bridge: a rise paints bad and a saving good under lowerIsBetter |
|
|
161
163
|
| neutral-steps | example | signColor false keeps every step in the neutral |
|
|
162
164
|
| two-case-budget-bridge | example | Two cases side by side in each step: a conservative and an aggressive budget |
|
|
165
|
+
| two-case-budget-bars | example | The two-case bridge as bars: each value stands past the end of its own bar |
|
|
163
166
|
| single-segment-authored-format | example | One segment prints one value at the authored precision |
|
|
164
167
|
| repeated-segment-key | torture | Equal segment names and colours share one key |
|
package/docs/use-cases.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This page shows how to get finished results from an AI agent such as Claude Code or Codex with Boardplot: a slide deck, an analysis page, a React dashboard, a Word report or a weekly report. Install Boardplot once, then name it in the prompt. The agent writes the chart specs, draws the charts with the Boardplot tools and puts them into the result.
|
|
4
4
|
|
|
5
|
-
Each use case has the same parts: what you get, example prompts to copy, what the agent does, tips for better results, and the limits. The [manual](manual.md) explains the spec, the tools and every option.
|
|
5
|
+
Each use case has the same parts: what you get, example prompts to copy, what the agent does, tips for better results, and the limits. Each use case also links a worked example in [examples](https://github.com/boardplot/boardplot/tree/main/docs/examples): the data, the specs, the finished file and the script that builds it, all with invented data. The [manual](manual.md) explains the spec, the tools and every option.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -65,6 +65,12 @@ The PNG has 2 pixels per layout pixel, the default `scale`, and records 192 dpi.
|
|
|
65
65
|
- Google Slides does not insert SVG files. Use PNG there.
|
|
66
66
|
- A PNG draws with the fonts installed on the machine that renders. For a brand font, see [Custom fonts](FONTS.md).
|
|
67
67
|
|
|
68
|
+
**Worked example:** [docs/examples/deck](https://github.com/boardplot/boardplot/tree/main/docs/examples/deck) builds an eight-slide board deck, `quarterly-review.pptx`, in a consulting layout: action titles, KPI tiles, a price-volume-mix bridge, CAGR labels, IBCS variance charts, a market map and a P&L table with computed variances. Each chart fills its slot beside editable takeaways. The revise case turns `board-update-before.pptx`, with native PowerPoint charts, into `board-update-after.pptx`: the same data drawn by Boardplot, in the same boxes, with the slide text unchanged.
|
|
69
|
+
|
|
70
|
+

|
|
71
|
+
|
|
72
|
+

|
|
73
|
+
|
|
68
74
|
## Analysis page or Claude artifact
|
|
69
75
|
|
|
70
76
|
**You get:** an analysis written as an HTML page, such as a Claude artifact or a report page, with the charts in the page.
|
|
@@ -97,6 +103,10 @@ Write a one-page HTML report on last month's marketing spend from exports/spend.
|
|
|
97
103
|
- The SVG is a static image: no hover cards or filters. Those need the React components.
|
|
98
104
|
- The SVG names the theme's font stack and embeds no font. The preset themes use system fonts. A brand web font must be loaded by the page.
|
|
99
105
|
|
|
106
|
+
**Worked example:** [docs/examples/analysis-page](https://github.com/boardplot/boardplot/tree/main/docs/examples/analysis-page) has `index.html`, a gross margin review with a margin bridge, a category table with bars and a price-volume scatter with quadrants. Its headline, key numbers and findings take their numbers from the data and the `reading` of each render.
|
|
107
|
+
|
|
108
|
+

|
|
109
|
+
|
|
100
110
|
## React dashboard
|
|
101
111
|
|
|
102
112
|
**You get:** a new React or Next.js dashboard with Boardplot charts, or an existing dashboard with its charts moved to Boardplot.
|
|
@@ -133,6 +143,10 @@ The [React reference](reference/react.md) has each part: [per-type components](r
|
|
|
133
143
|
- A parent that takes its width from its content keeps the chart at its fallback width. See [container sizing](reference/react.md#container-sizing).
|
|
134
144
|
- A strict content security policy needs a style nonce. See [content security policy](reference/react.md#content-security-policy).
|
|
135
145
|
|
|
146
|
+
**Worked example:** [docs/examples/react-dashboard](https://github.com/boardplot/boardplot/tree/main/docs/examples/react-dashboard) is a weekly trading dashboard in Vite and React: KPI tiles with sparklines, a channel KPI table that switches between two views, a region variance that compares with last year or plan, two weekly charts on one shared scale (`ScaleGroup`) and PNG and CSV export on each card. Run `npm install` and `npm run dev` in that folder.
|
|
147
|
+
|
|
148
|
+

|
|
149
|
+
|
|
136
150
|
## Word or PDF report
|
|
137
151
|
|
|
138
152
|
**You get:** a Word document or PDF with print-quality charts.
|
|
@@ -159,6 +173,10 @@ Turn this analysis into a PDF report on A4. Use Boardplot for all charts, 300 dp
|
|
|
159
173
|
- The charts are pictures. Colleagues cannot edit their data in Word.
|
|
160
174
|
- A PNG draws with the fonts installed on the machine that renders.
|
|
161
175
|
|
|
176
|
+
**Worked example:** [docs/examples/word-report](https://github.com/boardplot/boardplot/tree/main/docs/examples/word-report) has a three-page monthly management report, `report.docx`, and its PDF export, `report.pdf`: an executive summary, a P&L table with computed variances, monthly revenue with a forecast range, a price-volume-mix bridge and an EBIT bridge to budget, as print charts at 160 mm and 300 dpi.
|
|
177
|
+
|
|
178
|
+

|
|
179
|
+
|
|
162
180
|
## Recurring report
|
|
163
181
|
|
|
164
182
|
**You get:** the same report every week or month, such as a weekly business review, with charts from the latest query export.
|
|
@@ -183,11 +201,12 @@ boardplot render weekly-orders.json --rows exports/orders.csv \
|
|
|
183
201
|
--format png --out "out/$(date +%F)" --quiet
|
|
184
202
|
```
|
|
185
203
|
|
|
186
|
-
It writes `out/<date>/weekly-orders.png` and prints `{"ok":true,"outputs":[...]}` with the file path. The CLI exits 1 when it refuses the input, for example a renamed column (`missing-column`), and 2 for an internal error. Let the job fail on a non-zero exit.
|
|
204
|
+
It writes `out/<date>/weekly-orders.png`, named after the template's `name`, and prints `{"ok":true,"outputs":[...]}` with the file path. The CLI exits 1 when it refuses the input, for example a renamed column (`missing-column`), and 2 for an internal error. Let the job fail on a non-zero exit.
|
|
187
205
|
|
|
188
206
|
**Tips:**
|
|
189
207
|
|
|
190
208
|
- Keep the templates in the repository. Each run then draws the same charts with new data.
|
|
209
|
+
- Give every template a `name`. It names the output file. Without it each chart writes `chart.png`, and with `--overwrite` the next chart replaces it.
|
|
191
210
|
- Name every series with its label in the template. A series that only the rows name prints its raw id.
|
|
192
211
|
- Write each run to a dated folder, or pass `--overwrite`. A taken file name otherwise gets `-2`.
|
|
193
212
|
|
|
@@ -196,3 +215,7 @@ It writes `out/<date>/weekly-orders.png` and prints `{"ok":true,"outputs":[...]}
|
|
|
196
215
|
- The MCP server reads `rowsFile` only from its allowed folders: the client's roots, its working directory, the system temp folder and the folders in `BOARDPLOT_ROWS_ROOTS`. Other paths are refused with `rows-outside-roots`.
|
|
197
216
|
- PNG needs `@resvg/resvg-js`, an optional dependency, or Chrome. On a Linux server, install one of the fonts the manual lists, or the render returns only the SVG with the warning `raster-fonts-missing`. See [Getting a chart with MCP](manual.md#getting-a-chart-with-mcp).
|
|
198
217
|
- A CSV with grouping marks in numbers, such as `1.234,5`, is refused. Export plain numbers.
|
|
218
|
+
|
|
219
|
+
**Worked example:** [docs/examples/recurring-report](https://github.com/boardplot/boardplot/tree/main/docs/examples/recurring-report) is a weekly business review. `render.sh`, the CLI script for a scheduled job, draws three templates from three warehouse exports, including a table that computes the week-on-week, year-on-year and plan changes, and writes one page to send.
|
|
220
|
+
|
|
221
|
+

|
package/llms.txt
CHANGED
|
@@ -45,7 +45,7 @@ Every chart is one spec, `{ "type", "data", "options", "annotations", "theme" }`
|
|
|
45
45
|
- [box](docs/reference/box.md): Box plots of raw observations; rows category,value[,categoryLabel,date]
|
|
46
46
|
- [waffle](docs/reference/waffle.md): Share of a whole as a grid of cells
|
|
47
47
|
- [pyramid](docs/reference/pyramid.md): Mirrored bands on one scale
|
|
48
|
-
- [diagram](docs/reference/diagram.md): Node and edge diagrams
|
|
48
|
+
- [diagram](docs/reference/diagram.md): Node and edge diagrams, including system architecture
|
|
49
49
|
- [tilemap](docs/reference/tilemap.md): Equal-size region tiles
|
|
50
50
|
- [creative](docs/reference/creative.md): Ad-creative review card (early alpha)
|
|
51
51
|
|
package/package.json
CHANGED
package/dist/chunk-2HXKW6U6.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
gridCore
|
|
14
|
-
} from "./chunk-G63ROSY5.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredTypeWithPanelCores
|
|
17
|
-
} from "./chunk-IMJXJHFW.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/grid.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, includeZero: 0, percent: 0, gridlines: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, focus: sharedKeys5, hatchStrength: 0, interactive: 0, annotations: sharedKeys9, stack: { heights: 0 }, columns: 0, rows: 0, gutters: { rows: 0, columns: 0 }, anchors: { plotEdges: 0, baselines: 0, categories: 0 }, alignmentRules: { "[]": { id: 0, orientation: 0, at: { panelId: 0, anchor: 0, categoryId: 0 }, fromPanelId: 0, toPanelId: 0 } }, sharedAxis: 0, sharedScale: 0, panelOrder: 0, reflow: 0 } }), GridChart = createChartComponent(registeredTypeWithPanelCores(gridCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
GridChart
|
|
24
|
-
};
|
package/dist/chunk-35ZTANEK.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
ganttCore
|
|
14
|
-
} from "./chunk-RZB4RPPD.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredType
|
|
17
|
-
} from "./chunk-MZJBPDIL.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/gantt.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, interactive: 0, annotations: sharedKeys9, today: 0, elapsed: 0, weekends: 0, rowTint: 0, calendar: { weeks: 0, span: 0 }, colHeaders: 0 }, labels: ["valueLine", "annotation", "activity", "item"] }), GanttChart = createChartComponent(registeredType(ganttCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
GanttChart
|
|
24
|
-
};
|
package/dist/chunk-3CLLHMFF.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
kpiCore
|
|
14
|
-
} from "./chunk-SHH2AHIU.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredType
|
|
17
|
-
} from "./chunk-MZJBPDIL.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/kpi.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, focus: sharedKeys5, interactive: 0, annotations: sharedKeys9, density: 0, comparisons: 0 }, labels: ["category", "point", "total"] }), KpiChart = createChartComponent(registeredType(kpiCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
KpiChart
|
|
24
|
-
};
|
package/dist/chunk-46ZPFJAM.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
statusCore
|
|
14
|
-
} from "./chunk-KAQH75T6.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredType
|
|
17
|
-
} from "./chunk-MZJBPDIL.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/status.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, states: { "[]": { id: 0, label: 0, tone: { role: 0 }, pattern: 0 } }, columnLabels: 0 }, labels: ["category", "series"] }), StatusChart = createChartComponent(registeredType(statusCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
StatusChart
|
|
24
|
-
};
|
package/dist/chunk-6BWSF5PS.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
choroplethCore
|
|
14
|
-
} from "./chunk-T3PNYRDM.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredType
|
|
17
|
-
} from "./chunk-MZJBPDIL.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/choropleth.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, topN: { n: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, scale: { kind: 0, midpoint: 0, midpointLabel: 0, polarity: 0 }, classes: 0, steps: 0, regionValues: 0, labelRegions: 0, microStateMarkers: 0, smallRegionArea: 0, overlayTones: { good: 0, bad: 0, warn: 0, neutral: 0, info: 0 }, overlayMeasure: 0, keyTitle: 0, valueTable: 0, methodNote: 0 } }), ChoroplethChart = createChartComponent(registeredType(choroplethCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
ChoroplethChart
|
|
24
|
-
};
|
package/dist/chunk-6K2TMVPF.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
baseOptionsSchema,
|
|
3
|
-
refusedBaseOptions
|
|
4
|
-
} from "./chunk-ZTH6YSVA.js";
|
|
5
|
-
|
|
6
|
-
// src/core/charts/histogram/schema.ts
|
|
7
|
-
import * as z from "zod";
|
|
8
|
-
var histogramDataSchema = z.object({
|
|
9
|
-
observations: z.array(z.number().finite()).min(4).describe(
|
|
10
|
-
"Raw observations, at least four. Pre-binned counts and edges are rejected: bins the engine cannot recompute cannot be checked. Rows: value."
|
|
11
|
-
)
|
|
12
|
-
}).strict(), histogramOptionsSchema = baseOptionsSchema.safeExtend(refusedBaseOptions("histogram")).safeExtend({
|
|
13
|
-
axisTitles: z.strictObject({
|
|
14
|
-
y: z.string().trim().min(1).optional().describe("Title of the frequency axis, e.g. 'Orders'.")
|
|
15
|
-
}).optional().describe("Title of the frequency axis, drawn in the top row left of the plot while the axis is drawn. When every bin carries its count, the automatic axis gives way and this title leads the base note under the plot. The bin labels carry the measure and its unit."),
|
|
16
|
-
bins: z.union(
|
|
17
|
-
[
|
|
18
|
-
z.literal("auto"),
|
|
19
|
-
z.number().int().positive().max(250),
|
|
20
|
-
z.object({ width: z.number().positive().describe("Authored bin width in observation units; bypasses automatic width selection and snapping."), anchor: z.number().finite().optional().describe("Origin of the regularly spaced bin boundaries.") }).strict()
|
|
21
|
-
],
|
|
22
|
-
{
|
|
23
|
-
// A union reports "Invalid input" and nothing else, which sends an
|
|
24
|
-
// agent that guessed `bins: 'sturges'` straight into a retry loop.
|
|
25
|
-
// The accepted forms are cheaper to print than to guess.
|
|
26
|
-
error: "bins accepts 'auto' (the engine derives and states the rule), a positive integer bin COUNT (max 250), or { width, anchor? }. Named rules such as 'sturges', 'fd', 'scott' or 'rice' are not accepted: the engine picks between Freedman-Diaconis and Sturges itself and prints which one it used."
|
|
27
|
-
}
|
|
28
|
-
).optional().describe(
|
|
29
|
-
"Binning. 'auto' (default) takes the narrower of the Freedman-Diaconis and Sturges widths, then snaps it to a round number. A positive integer is an EXACT bin count: that many equal bins from the smallest to the largest observation, so the width is rarely round. { width } sets the width outright and skips the snap. Named rules such as 'sturges' or 'fd' are not accepted \u2014 the engine states which rule it used on the exhibit."
|
|
30
|
-
),
|
|
31
|
-
binSnap: z.boolean().optional().describe(
|
|
32
|
-
"Snap an 'auto' width onto the {1, 2, 2.5, 5} ladder so bin edges are round numbers. Default true; ignored for an authored count or width."
|
|
33
|
-
),
|
|
34
|
-
methodNote: z.boolean().optional().describe(
|
|
35
|
-
"Default false: the axis caption states the sample base n and the realized bins; without a caption, a method note carries them. true adds the binning rule, width, first edge and interval convention. footnotes: false hides method notes."
|
|
36
|
-
)
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
export {
|
|
40
|
-
histogramDataSchema,
|
|
41
|
-
histogramOptionsSchema
|
|
42
|
-
};
|
package/dist/chunk-6KWIQ5KF.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// src/core/stackAdds.ts
|
|
2
|
-
var NON_ADDITIVE = /%|\b(?:share|margin|rate)\b|\bper\s+/i, PERCENT = /%|\bpercent\b|^\s*pp\s*$/i;
|
|
3
|
-
function statedInPercent(label, unit, pctCells = !1) {
|
|
4
|
-
return pctCells || PERCENT.test(label) || PERCENT.test(unit) || unit === "" && NON_ADDITIVE.test(label);
|
|
5
|
-
}
|
|
6
|
-
function stackAdds(parts, chartUnit, sharesOfOneWhole) {
|
|
7
|
-
return parts.length <= 1 || sharesOfOneWhole === !0 || !parts.some((part) => statedInPercent(part.label, part.unit ?? chartUnit ?? "", part.pctCells));
|
|
8
|
-
}
|
|
9
|
-
var NO_STACK_TOTAL = "the stack has no total: its parts are percents of different wholes", NO_STACK_MEAN = "the stack has no sums to average: its parts are percents of different wholes", VALUELESS_ANCHOR_FIX = "anchor it on one series ({ categoryId, seriesId }), or set sharesOfOneWhole when every series is a share of the same whole", SHARES_OF_ONE_WHOLE_FIX = "set sharesOfOneWhole: true when every series is a share of the same whole, or scope it to one series";
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
statedInPercent,
|
|
13
|
-
stackAdds,
|
|
14
|
-
NO_STACK_TOTAL,
|
|
15
|
-
NO_STACK_MEAN,
|
|
16
|
-
VALUELESS_ANCHOR_FIX,
|
|
17
|
-
SHARES_OF_ONE_WHOLE_FIX
|
|
18
|
-
};
|
package/dist/chunk-6ZXMA4TY.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
dotCore
|
|
14
|
-
} from "./chunk-7NWFKHSG.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredType
|
|
17
|
-
} from "./chunk-MZJBPDIL.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/dot.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, includeZero: 0, percent: 0, gridlines: 0 }, scaleGroup: { y: 0, id: 0 }, rowLabels: { align: 0 }, sort: { categories: 0, segments: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, interactive: 0, annotations: sharedKeys9, axisTitles: { primary: 0 }, variant: 0, averageMarker: { scope: 0 }, arrow: 0, methodNote: 0, range: { label: 0, values: 0, midLabel: 0 } }, labels: ["category", "point"] }), DotChart = createChartComponent(registeredType(dotCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
DotChart
|
|
24
|
-
};
|
package/dist/chunk-7HFUG25L.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
pieCore
|
|
14
|
-
} from "./chunk-3FNY7ZCG.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredType
|
|
17
|
-
} from "./chunk-MZJBPDIL.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/pie.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, rounding: 0, interactive: 0, annotations: sharedKeys9, doughnut: 0, rotate: 0, explode: 0, colors: 0, othersShade: 0 }, labels: ["category", "total", "insidePie", "outsidePie"] }), PieChart = createChartComponent(registeredType(pieCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
PieChart
|
|
24
|
-
};
|
package/dist/chunk-7R5EV5MS.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
sharedKeys10,
|
|
3
|
-
sharedKeys5,
|
|
4
|
-
sharedKeys9
|
|
5
|
-
} from "./chunk-QGCEHR6S.js";
|
|
6
|
-
import {
|
|
7
|
-
optionKeyCheck
|
|
8
|
-
} from "./chunk-H4H4O62O.js";
|
|
9
|
-
import {
|
|
10
|
-
createChartComponent
|
|
11
|
-
} from "./chunk-KJEZFOO6.js";
|
|
12
|
-
import {
|
|
13
|
-
pvmCore
|
|
14
|
-
} from "./chunk-JJJ2KAHR.js";
|
|
15
|
-
import {
|
|
16
|
-
registeredType
|
|
17
|
-
} from "./chunk-MZJBPDIL.js";
|
|
18
|
-
|
|
19
|
-
// src/react/charts/pvm.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { break: { from: 0, to: 0, style: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, interactive: 0, annotations: sharedKeys9, interaction: 0, volumeMix: 0, methodNote: 0 } }), PvmChart = createChartComponent(registeredType(pvmCore), checkOptionKeys);
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
PvmChart
|
|
24
|
-
};
|
package/dist/chunk-7X65ZQN4.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// src/core/ols.ts
|
|
2
|
-
function olsMoments(points) {
|
|
3
|
-
let n = points.length, meanX = 0, meanY = 0;
|
|
4
|
-
for (let { x, y } of points)
|
|
5
|
-
meanX += x, meanY += y;
|
|
6
|
-
n > 0 && (meanX /= n, meanY /= n);
|
|
7
|
-
let sxx = 0, syy = 0, sxy = 0;
|
|
8
|
-
for (let { x, y } of points) {
|
|
9
|
-
let dx = x - meanX, dy = y - meanY;
|
|
10
|
-
sxx += dx * dx, syy += dy * dy, sxy += dx * dy;
|
|
11
|
-
}
|
|
12
|
-
return { n, meanX, meanY, sxx, syy, sxy };
|
|
13
|
-
}
|
|
14
|
-
function olsFit(m) {
|
|
15
|
-
let flat = (spread, mean) => spread <= m.n * (1e-12 * mean) ** 2;
|
|
16
|
-
if (m.n < 2 || flat(m.sxx, m.meanX)) return null;
|
|
17
|
-
let slope = m.sxy / m.sxx;
|
|
18
|
-
return {
|
|
19
|
-
slope,
|
|
20
|
-
intercept: m.meanY - slope * m.meanX,
|
|
21
|
-
r2: flat(m.syy, m.meanY) ? null : Math.min(1, m.sxy * m.sxy / (m.sxx * m.syy))
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
function clipTrendToDomain(fit, dx, dy) {
|
|
25
|
-
let lo = Math.max(fit.x0, dx[0]), hi = Math.min(fit.x1, dx[1]);
|
|
26
|
-
if (fit.slope !== 0) {
|
|
27
|
-
let a = (dy[0] - fit.intercept) / fit.slope, b = (dy[1] - fit.intercept) / fit.slope;
|
|
28
|
-
lo = Math.max(lo, Math.min(a, b)), hi = Math.min(hi, Math.max(a, b));
|
|
29
|
-
} else if (fit.intercept < dy[0] || fit.intercept > dy[1])
|
|
30
|
-
return null;
|
|
31
|
-
return lo < hi ? [lo, hi] : null;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export {
|
|
35
|
-
olsMoments,
|
|
36
|
-
olsFit,
|
|
37
|
-
clipTrendToDomain
|
|
38
|
-
};
|