boardplot 0.60.0 → 0.61.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 +30 -0
- package/dist/{ReaderBox-JJX4J7GC.js → ReaderBox-75LYQMSA.js} +3 -3
- package/dist/{annotateEngine-KNRKDLY3.js → annotateEngine-CL6ZSRGG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-ETSWVJB6.js → chunk-24O6BRKD.js} +1 -1
- package/dist/{chunk-7KIULDTU.js → chunk-2BF6HZV7.js} +4 -4
- package/dist/{chunk-N5DPRWQ6.js → chunk-2KGF6AIK.js} +14 -14
- package/dist/{chunk-RF6ZHX5F.js → chunk-2T22INLD.js} +1 -1
- package/dist/{chunk-HLQ74GAX.js → chunk-2X6672YL.js} +4 -4
- package/dist/{chunk-IRCLNPLJ.js → chunk-32FGSRR3.js} +4 -4
- package/dist/{chunk-64M7YDMJ.js → chunk-352V2W5P.js} +2 -2
- package/dist/{chunk-FWPPZB4G.js → chunk-3553PK6F.js} +2 -2
- package/dist/{chunk-XUEX5WTR.js → chunk-35RSAHLK.js} +1 -1
- package/dist/{chunk-YHIBABKS.js → chunk-36KGPRMX.js} +9 -9
- package/dist/{chunk-IDVHLD2L.js → chunk-3GL23VOF.js} +5 -3
- package/dist/{chunk-PGZGBVTS.js → chunk-4ORV4RGE.js} +5 -5
- package/dist/chunk-4ZIFMZO4.js +63 -0
- package/dist/{chunk-6RQCZA7X.js → chunk-533SNVDD.js} +4 -4
- package/dist/{chunk-HPNQ3GKK.js → chunk-55BVHNZQ.js} +4 -4
- package/dist/{chunk-CLZPPLDA.js → chunk-56PPEORW.js} +52 -28
- package/dist/{chunk-RTN422GQ.js → chunk-57XHIICM.js} +5 -5
- package/dist/{chunk-2KDELDD4.js → chunk-5DH5ACTO.js} +17 -17
- package/dist/{chunk-JXMOPQXC.js → chunk-5EU5DLA3.js} +2 -2
- package/dist/{chunk-CROGQZFW.js → chunk-5JZQXMXU.js} +6 -6
- package/dist/{chunk-UIOZDIUB.js → chunk-5ZGCGIHG.js} +2 -2
- package/dist/{chunk-2OKDNNCY.js → chunk-64577PGJ.js} +4 -4
- package/dist/{chunk-GZYMHC44.js → chunk-6JOLPUTW.js} +2 -2
- package/dist/{chunk-MYBBZNYN.js → chunk-6QUQEN75.js} +2 -2
- package/dist/{chunk-52YYGKXG.js → chunk-6R6LM337.js} +12 -12
- package/dist/{chunk-UKEI7JDA.js → chunk-6U4J3T2G.js} +3 -2
- package/dist/{chunk-E4XQSRH6.js → chunk-6U7VIQLV.js} +6 -6
- package/dist/{chunk-ZNA4JHHG.js → chunk-757IKZZU.js} +2 -2
- package/dist/{chunk-3HKY4LAR.js → chunk-7D65YEEY.js} +4 -4
- package/dist/{chunk-XDGAJVCG.js → chunk-7JM235F7.js} +8 -8
- package/dist/{chunk-TDVNIVU4.js → chunk-7SSN5ECA.js} +1 -1
- package/dist/{chunk-ENVV7LI4.js → chunk-7WC2N4QZ.js} +2 -2
- package/dist/{chunk-ZOQRX5V7.js → chunk-7ZHM37LQ.js} +3 -3
- package/dist/{chunk-2ZDFX75P.js → chunk-7ZPHJOG6.js} +1 -1
- package/dist/{chunk-MZCJ22O4.js → chunk-A4UL5GIM.js} +1 -1
- package/dist/{chunk-VRG7GG7T.js → chunk-ASRICUAD.js} +2 -2
- package/dist/{chunk-LUYV7PHY.js → chunk-B62SEOJC.js} +6 -6
- package/dist/{chunk-ZCOGCNT7.js → chunk-B76O5YXI.js} +1 -1
- package/dist/{chunk-DP5CXMZW.js → chunk-BF6KECQD.js} +6 -6
- package/dist/{chunk-5HOIOQK3.js → chunk-BJ5GI5ZB.js} +1 -1
- package/dist/{chunk-CQ6WHTRL.js → chunk-BKUTKQMT.js} +38 -2
- package/dist/chunk-BOQQARLT.js +89 -0
- package/dist/{chunk-O6E2LWGK.js → chunk-BVE5LPOA.js} +4 -4
- package/dist/{chunk-TZOHCW4R.js → chunk-CVUHCNQO.js} +1 -1
- package/dist/{chunk-D4SXBDA4.js → chunk-CWP5ZYVQ.js} +1 -1
- package/dist/{chunk-T52ZPSGL.js → chunk-CYMSES53.js} +1 -1
- package/dist/{chunk-3HKL6KJ6.js → chunk-DOVEWKJ6.js} +1 -1
- package/dist/{chunk-ZT7QX7UQ.js → chunk-E6IN6QDF.js} +5 -5
- package/dist/{chunk-T73SF424.js → chunk-E7FWHKCI.js} +2 -2
- package/dist/{chunk-I5LFCHNQ.js → chunk-EAMZDY55.js} +1 -1
- package/dist/{chunk-LCTLW4ZW.js → chunk-EIQTUVJT.js} +1 -1
- package/dist/{chunk-CPKPQQV6.js → chunk-EKYVRXTE.js} +1 -1
- package/dist/{chunk-GDS7LEGY.js → chunk-EL5E6O3K.js} +7 -7
- package/dist/{chunk-IF4PERIE.js → chunk-EM33NXGZ.js} +2 -2
- package/dist/{chunk-FPWADEL6.js → chunk-EOPDGMDS.js} +1 -1
- package/dist/{chunk-PSUSHJFV.js → chunk-EQDLZGZO.js} +1 -1
- package/dist/{chunk-JUVSZGY7.js → chunk-ESZIJ5Z6.js} +3 -3
- package/dist/{chunk-QCDJGYFU.js → chunk-EU45YU5W.js} +1 -1
- package/dist/{chunk-C63YFMCB.js → chunk-EV3GY7Y3.js} +4 -4
- package/dist/{chunk-TLKRYDH3.js → chunk-EV7AATQM.js} +2 -2
- package/dist/{chunk-E7GO4KFZ.js → chunk-EWG3PCYJ.js} +41 -29
- package/dist/{chunk-7KZN3TXQ.js → chunk-F2IHSUPI.js} +2 -2
- package/dist/{chunk-RPS7G77V.js → chunk-F2WMTUWC.js} +2 -2
- package/dist/{chunk-5DTMIKDX.js → chunk-F37PADCM.js} +2 -2
- package/dist/{chunk-LVC2YJGV.js → chunk-FBUAKQAI.js} +20 -20
- package/dist/{chunk-UNBUFCQT.js → chunk-FKRL2ZB2.js} +1 -1
- package/dist/{chunk-MF6XGFHB.js → chunk-FNDDKZ4Z.js} +6 -2
- package/dist/{chunk-ISNHKFCU.js → chunk-FTIQ6TI2.js} +2 -2
- package/dist/{chunk-NF74JTTK.js → chunk-FY3VV7TF.js} +4 -4
- package/dist/{chunk-6IRPZUWJ.js → chunk-G3CVCW5K.js} +80 -79
- package/dist/{chunk-PLVYTK2H.js → chunk-GCZHZVNX.js} +6 -6
- package/dist/{chunk-GNK7RTO4.js → chunk-GEQSZ5RE.js} +4 -4
- package/dist/{chunk-QTT4AJY5.js → chunk-GNB4JQTB.js} +10 -10
- package/dist/{chunk-BNBCHZ6D.js → chunk-GRMAYSIG.js} +8 -8
- package/dist/{chunk-PZZAVTLQ.js → chunk-GSR6UO7H.js} +2 -2
- package/dist/{chunk-AH2L44TR.js → chunk-GZ6MPJKY.js} +3 -3
- package/dist/{chunk-TTY4CA7M.js → chunk-H26UA4UM.js} +6 -6
- package/dist/{chunk-2FSJFKUH.js → chunk-H5YDEIY2.js} +4 -4
- package/dist/{chunk-LWRLVDFU.js → chunk-HS4DLZ6H.js} +11 -11
- package/dist/{chunk-XLX3TUFO.js → chunk-HTLEHU5D.js} +2 -2
- package/dist/{chunk-VCENIUYM.js → chunk-HUCUNGHB.js} +5 -5
- package/dist/{chunk-3PFNYRBD.js → chunk-I3GRAQHO.js} +9 -9
- package/dist/{chunk-E6KUWZ5W.js → chunk-I4A4MY3S.js} +4 -4
- package/dist/{chunk-VSAX2PYB.js → chunk-IIKM6NXU.js} +4 -4
- package/dist/{chunk-W74Y5AUG.js → chunk-IKH3DWS2.js} +10 -10
- package/dist/{chunk-TSGSZAAN.js → chunk-IKTAVMF2.js} +10 -10
- package/dist/{chunk-7BQK2UDV.js → chunk-IXCDKCYE.js} +1 -1
- package/dist/{chunk-3ADWX4BM.js → chunk-JE54IO26.js} +14 -14
- package/dist/{chunk-4S3DTNEQ.js → chunk-JEAUVQTV.js} +23 -23
- package/dist/{chunk-YCTBPRV4.js → chunk-JG35YUYX.js} +3 -3
- package/dist/{chunk-TMY4PWDQ.js → chunk-JIVNJBXI.js} +4 -4
- package/dist/{chunk-ID65JMYY.js → chunk-JLJ4QRAE.js} +12 -12
- package/dist/{chunk-WWFUZXCW.js → chunk-JLZFXNUE.js} +4 -4
- package/dist/{chunk-B7UWG6XJ.js → chunk-JTCXK7AG.js} +1 -1
- package/dist/{chunk-HXAWJC32.js → chunk-JUTMQGKU.js} +4 -4
- package/dist/{chunk-5OV7VOGV.js → chunk-JXHTZVSV.js} +2 -2
- package/dist/{chunk-SDAVHADX.js → chunk-JZK6ZPUM.js} +2 -2
- package/dist/{chunk-VHZ4MXJO.js → chunk-K2RZKPQ2.js} +1 -1
- package/dist/{chunk-HMWN6FTW.js → chunk-KJF7SLOA.js} +1 -1
- package/dist/{chunk-GYEBEF4S.js → chunk-KTFUYWN2.js} +5 -5
- package/dist/{chunk-C7SY7RYQ.js → chunk-KY5MSTME.js} +4 -4
- package/dist/{chunk-PS45RNDC.js → chunk-L5RZFP5B.js} +3 -3
- package/dist/{chunk-U75MMLNQ.js → chunk-L6OMA45Q.js} +4 -4
- package/dist/{chunk-PYJZ7CCP.js → chunk-LEPXK7RN.js} +2 -2
- package/dist/{chunk-7XO74NDR.js → chunk-LFL4KMKF.js} +1 -1
- package/dist/{chunk-IFRDI7EF.js → chunk-LH5URXDJ.js} +10 -10
- package/dist/{chunk-ZH4DRVFN.js → chunk-LHQFDRQV.js} +4 -4
- package/dist/{chunk-FG2VET62.js → chunk-LL7ZU6BT.js} +12 -12
- package/dist/{chunk-5SPL5QEB.js → chunk-LLHCEZV2.js} +3 -3
- package/dist/{chunk-UHFSDVW2.js → chunk-LMDU5MNF.js} +2 -2
- package/dist/{chunk-BHYY6VMQ.js → chunk-LT7IY2L3.js} +7 -7
- package/dist/{chunk-STRN4XOX.js → chunk-LTYDEWKW.js} +3 -3
- package/dist/{chunk-7TGG57QF.js → chunk-M2LYZUQA.js} +3 -3
- package/dist/{chunk-DXSYY6XR.js → chunk-M4IIJ24E.js} +2 -2
- package/dist/{chunk-NGKZRGQL.js → chunk-MBRVSKFJ.js} +6 -6
- package/dist/{chunk-AGR4VJ2Y.js → chunk-MM2ADIPB.js} +1 -1
- package/dist/{chunk-OMUW75ZR.js → chunk-MNPNLXSI.js} +3 -3
- package/dist/{chunk-RLRVSX4I.js → chunk-MNVMTW7K.js} +11 -11
- package/dist/{chunk-EGCELTRX.js → chunk-MYYDNK72.js} +4 -4
- package/dist/{chunk-RQT52BP4.js → chunk-NCKINI7K.js} +2 -2
- package/dist/{chunk-BIQ5LJEC.js → chunk-NHQKHMIS.js} +4 -4
- package/dist/{chunk-34XJCEPN.js → chunk-NJKUODK3.js} +1 -1
- package/dist/{chunk-DXKMCMIH.js → chunk-NJVXE2DU.js} +2 -2
- package/dist/{chunk-MOPY5REE.js → chunk-NNOKYAFB.js} +3 -3
- package/dist/{chunk-4VKYFELK.js → chunk-NSQBT4CM.js} +4 -4
- package/dist/{chunk-HTXICOSJ.js → chunk-NWJ4DXAZ.js} +11 -11
- package/dist/{chunk-JOX252XQ.js → chunk-OGD23BIK.js} +3 -1
- package/dist/{chunk-ZQ6AEWKM.js → chunk-OIMT2SSN.js} +2 -2
- package/dist/{chunk-OJWJMG6B.js → chunk-OIPBVU7G.js} +11 -11
- package/dist/chunk-OLAPTOUH.js +69 -0
- package/dist/{chunk-UNO3WZR2.js → chunk-OLEUVUH3.js} +4 -4
- package/dist/{chunk-BIRB4FIZ.js → chunk-OP7K5NSS.js} +4 -4
- package/dist/{chunk-Q4SQGAEI.js → chunk-OQKVFWAO.js} +4 -4
- package/dist/{chunk-5PC6VOEW.js → chunk-OR7KKODW.js} +9 -9
- package/dist/{chunk-BG2RBCJP.js → chunk-OUSYBIGE.js} +4 -4
- package/dist/{chunk-J5QVU7GS.js → chunk-OYCEFOIW.js} +18 -14
- package/dist/{chunk-TUYKMVYV.js → chunk-P2QIWGFU.js} +9 -9
- package/dist/{chunk-MA57XWZA.js → chunk-P3CZFAFA.js} +68 -66
- package/dist/{chunk-AXKZLSON.js → chunk-P3TOPI3M.js} +1 -1
- package/dist/{chunk-Y5ROVCMQ.js → chunk-PCHV6KYJ.js} +3 -3
- package/dist/{chunk-NJNMKQHG.js → chunk-PGKGK43I.js} +112 -24
- package/dist/{chunk-UGAZT73S.js → chunk-PH274WAF.js} +3 -3
- package/dist/{chunk-GGXAAOKT.js → chunk-QER2YJHC.js} +4 -4
- package/dist/{chunk-ZS24JHBP.js → chunk-QJPI55S5.js} +4 -4
- package/dist/{chunk-OL6HVC6K.js → chunk-QK2OFTEB.js} +1 -1
- package/dist/{chunk-K7CONTAT.js → chunk-QSMKLDAO.js} +2 -2
- package/dist/{chunk-NOC5PYN3.js → chunk-R3IPQHWC.js} +1 -1
- package/dist/{chunk-L2VWHKTJ.js → chunk-RD24ORGR.js} +1 -0
- package/dist/{chunk-A3AKNPLZ.js → chunk-RMBWY5JE.js} +4 -4
- package/dist/{chunk-EFU2RCCR.js → chunk-RT4V47U6.js} +1 -1
- package/dist/{chunk-N7BPP6ZZ.js → chunk-RTSSUQ25.js} +1 -1
- package/dist/{chunk-PP23D6QV.js → chunk-RV6JDD6S.js} +4 -4
- package/dist/{chunk-WPHEUEO3.js → chunk-RXC3XU62.js} +7 -5
- package/dist/{chunk-L3B46VGP.js → chunk-RZQU5DHD.js} +10 -10
- package/dist/{chunk-Y4BJ7D5F.js → chunk-S7AHPU2N.js} +1 -1
- package/dist/{chunk-PL43U5GM.js → chunk-SGTSTGIP.js} +1 -1
- package/dist/{chunk-OYLZRQTX.js → chunk-SJORKHHL.js} +5 -5
- package/dist/{chunk-7OLE7R46.js → chunk-SSVOJXFR.js} +3 -3
- package/dist/{chunk-XVFUJRRC.js → chunk-T2DGSOAH.js} +1 -1
- package/dist/{chunk-SC2363Q7.js → chunk-T6XSXJDQ.js} +66 -38
- package/dist/{chunk-MXC5QMPC.js → chunk-TB734IYI.js} +4 -4
- package/dist/{chunk-X5I3LGHD.js → chunk-TFYVBPGR.js} +1 -1
- package/dist/{chunk-XKKII2K5.js → chunk-THKVAXTQ.js} +8 -8
- package/dist/{chunk-QF6NFIBD.js → chunk-TI5PPS3L.js} +16 -16
- package/dist/{chunk-VTUSC24F.js → chunk-TIVUSWGT.js} +2 -2
- package/dist/{chunk-GOVRBONO.js → chunk-TL5ICZT2.js} +2 -2
- package/dist/{chunk-66FOKRUF.js → chunk-TS472T4D.js} +4 -4
- package/dist/{chunk-BLTQ2L6U.js → chunk-TWMVAPG2.js} +4 -4
- package/dist/{chunk-ZXT3OS6U.js → chunk-U2YWY6FH.js} +1 -1
- package/dist/{chunk-K7NCVUIB.js → chunk-UERGJOG4.js} +12 -12
- package/dist/{chunk-X725AGYP.js → chunk-UFKLGMYZ.js} +2 -2
- package/dist/{chunk-LGNAFFIL.js → chunk-UGH3CLTZ.js} +4 -4
- package/dist/{chunk-C26Z5AEW.js → chunk-ULXSTWJF.js} +3 -3
- package/dist/{chunk-CVLTU3T4.js → chunk-USK77VAZ.js} +4 -4
- package/dist/{chunk-HOQJIUTX.js → chunk-UXAON5DO.js} +2 -2
- package/dist/{chunk-CDFZV6LR.js → chunk-V3YQQDR4.js} +4 -4
- package/dist/{chunk-6BAUUBP2.js → chunk-V4XTBNZD.js} +2 -2
- package/dist/{chunk-LUIHWUZB.js → chunk-VE6P436Y.js} +12 -12
- package/dist/{chunk-BXZNLMMH.js → chunk-VFXGAEUO.js} +2 -2
- package/dist/{chunk-XWGAANY4.js → chunk-VITZVVCD.js} +2 -2
- package/dist/{chunk-A2RKEC66.js → chunk-VJAZFGBY.js} +15 -15
- package/dist/{chunk-OVYQJDRW.js → chunk-VR3HLYAT.js} +2 -2
- package/dist/{chunk-AE6X6RRH.js → chunk-W2QJDTAR.js} +2 -2
- package/dist/{chunk-6USMWXB3.js → chunk-WBIMWGV7.js} +4 -4
- package/dist/{chunk-ZIC22PSH.js → chunk-WK6LQCUT.js} +6 -6
- package/dist/{chunk-SBYKLBDV.js → chunk-WOTRCVA5.js} +4 -4
- package/dist/{chunk-XMRLQDOR.js → chunk-WQPMBAG2.js} +37 -37
- package/dist/{chunk-UF7OWARN.js → chunk-WSHSR3B2.js} +4 -4
- package/dist/{chunk-EH23CIC5.js → chunk-WVYC6MR6.js} +2 -2
- package/dist/{chunk-ZLH7XSHV.js → chunk-WY7FHINS.js} +3 -3
- package/dist/{chunk-J3GYX5BJ.js → chunk-X4NDN6PQ.js} +10 -10
- package/dist/{chunk-RYH3JFCL.js → chunk-XC53YNZG.js} +2 -2
- package/dist/{chunk-WQ2TZNGR.js → chunk-XGJZRPHC.js} +7 -7
- package/dist/{chunk-GEFUIQUO.js → chunk-XLP6U3FG.js} +2 -2
- package/dist/{chunk-2E2MK4XM.js → chunk-XMI7SCPX.js} +2 -2
- package/dist/{chunk-RWVM4EVE.js → chunk-XTECBM5K.js} +2 -2
- package/dist/{chunk-5XAU6JH5.js → chunk-Y7O3T4DF.js} +23 -23
- package/dist/{chunk-DEUOC3IL.js → chunk-YBMYW7LD.js} +1 -1
- package/dist/{chunk-2KICOGFN.js → chunk-YO7LCXKN.js} +2 -2
- package/dist/{chunk-BJS6TLLE.js → chunk-YRWJBS6C.js} +1 -1
- package/dist/{chunk-Q53IWBTJ.js → chunk-YSKLERPF.js} +6 -6
- package/dist/{chunk-FP4INYSU.js → chunk-YUEJZBME.js} +4 -4
- package/dist/{chunk-3WC2TA6C.js → chunk-YUJK6ZYO.js} +2 -2
- package/dist/{chunk-76IZNTNL.js → chunk-YXHSM7QL.js} +5 -5
- package/dist/{chunk-D7FFMBHF.js → chunk-YZW4VLSO.js} +4 -4
- package/dist/{chunk-Q7GDGSTK.js → chunk-Z2WGJH2P.js} +3 -3
- package/dist/{chunk-PCITI5ED.js → chunk-ZMZNMVPR.js} +6 -6
- package/dist/{chunk-DEJKDFS3.js → chunk-ZT5Q6BRT.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{core-W4NG6WON.js → core-2IWCOLCX.js} +1 -1
- package/dist/{core-L4EGZ73S.js → core-2SCAWP7F.js} +2 -1
- package/dist/{core-YTTTVHUH.js → core-2ZRSLX2J.js} +2 -1
- package/dist/{core-2JHH5LLH.js → core-3H2PZVYN.js} +2 -1
- package/dist/{core-RYEENVFZ.js → core-4SX63YE4.js} +1 -1
- package/dist/{core-AAC2ESXF.js → core-76KPBWTL.js} +1 -1
- package/dist/{core-X4SPCV6G.js → core-7LODBY2T.js} +2 -1
- package/dist/{core-GCYDQRFM.js → core-7PNZRGK7.js} +1 -1
- package/dist/{core-56KTQ7DK.js → core-7RSXZIVD.js} +1 -1
- package/dist/{core-W3XIUTU7.js → core-B7TS5HK6.js} +3 -1
- package/dist/{core-XHSGRJDP.js → core-BEBRTX5W.js} +2 -1
- package/dist/{core-OZLK2EJW.js → core-CTI37JP5.js} +1 -1
- package/dist/{core-F7ASDBXB.js → core-DICZFWV4.js} +1 -1
- package/dist/{core-TBQAFBDU.js → core-DZVYQFBX.js} +2 -1
- package/dist/{core-FLCLKSGA.js → core-E6Q3H52Q.js} +1 -1
- package/dist/{core-J5DSGZZR.js → core-EQP4ERQK.js} +1 -1
- package/dist/{core-CELQJZJB.js → core-FZJOKAFE.js} +1 -1
- package/dist/{core-BTKBKGCU.js → core-GGKGWGHO.js} +2 -1
- package/dist/{core-6GE3EMCB.js → core-J7ZHSASB.js} +1 -1
- package/dist/{core-6N5ONDKG.js → core-LCX7EK3Y.js} +2 -1
- package/dist/{core-V2RMMBMO.js → core-LSN2YKO4.js} +1 -1
- package/dist/{core-32KM4AJG.js → core-NL6TMYOZ.js} +1 -1
- package/dist/{core-FRVHGKYW.js → core-NPCHUGTV.js} +1 -1
- package/dist/{core-7II27MGX.js → core-OO22DXBW.js} +1 -1
- package/dist/{core-REYW2XB3.js → core-QACGDEDF.js} +2 -1
- package/dist/{core-COGECGZY.js → core-RZ5ZDSQL.js} +1 -1
- package/dist/{core-HRHUGQNB.js → core-S56FGRAT.js} +1 -1
- package/dist/{core-255NAAUA.js → core-SERUDXVA.js} +1 -1
- package/dist/{core-QYAXEGWD.js → core-UOATHRZG.js} +1 -1
- package/dist/{core-JFORSZQS.js → core-UPPUXBWO.js} +1 -1
- package/dist/{core-SUFLQLWC.js → core-UYTRLCZY.js} +1 -1
- package/dist/{core-YVWLKGAN.js → core-V55HGH7X.js} +1 -1
- package/dist/{core-GETUMW6I.js → core-W5WF7FHA.js} +2 -1
- package/dist/{core-STATMGC7.js → core-XINQIYQ6.js} +1 -1
- package/dist/{core-NARJSEGI.js → core-Y3WI32MB.js} +4 -1
- package/dist/{core-QLJQOZGJ.js → core-ZFXHFRWI.js} +3 -1
- package/dist/{core-WU6DBIAM.js → core-ZYLCLTFQ.js} +1 -1
- package/dist/{dataTable-OI4CVMFJ.js → dataTable-72HO6PCW.js} +2 -2
- package/dist/{engine-3SQQ2S5U.js → engine-UCMXMWGA.js} +26 -13
- package/dist/fixtures.js +1 -1
- package/dist/index.js +12 -12
- package/dist/{main-TWTT3Q2R.js → main-NS5NPNQ7.js} +6 -6
- package/dist/mcp/server.js +11 -11
- package/dist/react/bar.js +3 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +1 -1
- package/dist/react/bullet.js +2 -1
- package/dist/react/butterfly.js +1 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +1 -1
- package/dist/react/column.js +2 -1
- package/dist/react/combo.js +2 -1
- package/dist/react/creative.js +1 -1
- package/dist/react/diagram.js +1 -1
- package/dist/react/dimswitch.js +1 -1
- package/dist/react/dot.js +4 -1
- package/dist/react/export.js +15 -15
- package/dist/react/funnel.js +1 -1
- package/dist/react/gantt.js +1 -1
- package/dist/react/grid.js +1 -1
- package/dist/react/heatmap.js +1 -1
- package/dist/react/histogram.js +2 -1
- package/dist/react/index.js +83 -83
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +3 -1
- package/dist/react/line.js +1 -1
- package/dist/react/mekko.js +2 -1
- package/dist/react/pareto.js +1 -1
- package/dist/react/pie.js +1 -1
- package/dist/react/prepare.js +20 -20
- package/dist/react/pvm.js +2 -1
- package/dist/react/pyramid.js +1 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +1 -1
- package/dist/react/slope.js +2 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +8 -8
- package/dist/react/status.js +1 -1
- package/dist/react/story.js +1 -1
- package/dist/react/table.js +1 -1
- package/dist/react/theme.js +2 -2
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +2 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +2 -1
- package/dist/{rowsModule-BULW5KS2.js → rowsModule-QGCXTE6X.js} +1 -1
- package/dist/{schema-NNNG7CWG.js → schema-2BFNQ5GW.js} +1 -1
- package/dist/{schema-VH4AW62Z.js → schema-2XGHH7PU.js} +1 -1
- package/dist/{schema-XKPUXAVB.js → schema-3IXLM7X4.js} +1 -1
- package/dist/{schema-PBMYZKBK.js → schema-4SRLAXUP.js} +1 -1
- package/dist/{schema-IYLRZNFB.js → schema-6PLNMFVY.js} +1 -1
- package/dist/{schema-FPDLOIA6.js → schema-6WNG4LCV.js} +1 -1
- package/dist/{schema-A4U4RDKJ.js → schema-7WNRP7FW.js} +1 -1
- package/dist/{schema-IYBZPCM4.js → schema-7XQMEJII.js} +1 -1
- package/dist/{schema-LGYHJPXU.js → schema-AGKSRVXN.js} +1 -1
- package/dist/{schema-FQWENOJY.js → schema-AMIFJ2JX.js} +1 -1
- package/dist/{schema-SQ2GYLMI.js → schema-BK2TU6XT.js} +1 -1
- package/dist/{schema-AM2KS6ZC.js → schema-C3PYINCY.js} +1 -1
- package/dist/{schema-D3ELHESU.js → schema-CWOPBOK4.js} +1 -1
- package/dist/{schema-FBIEOKO2.js → schema-E2WWDYU5.js} +1 -1
- package/dist/{schema-LX4EXDTI.js → schema-EAYC5DVH.js} +1 -1
- package/dist/{schema-GTLGAPCU.js → schema-ENLWEZOI.js} +1 -1
- package/dist/{schema-HAMPGUH3.js → schema-ETH6WXZU.js} +1 -1
- package/dist/{schema-CBLNGK2F.js → schema-FOBGNU5I.js} +1 -1
- package/dist/{schema-GYVYJEL3.js → schema-FSX7WR7M.js} +1 -1
- package/dist/{schema-5SVPR3EU.js → schema-G6KGEQRD.js} +1 -1
- package/dist/{schema-SUDJBIHX.js → schema-GAUZZRA4.js} +1 -1
- package/dist/{schema-2ACHQTR3.js → schema-GFRB4BJW.js} +1 -1
- package/dist/{schema-KBV2JB2A.js → schema-GQPXSWIR.js} +1 -1
- package/dist/{schema-WDKBCN3V.js → schema-JJIXQIBN.js} +1 -1
- package/dist/{schema-C25ECGJL.js → schema-JKZBRZSI.js} +1 -1
- package/dist/{schema-4YIYGGOJ.js → schema-MCA4J2BP.js} +1 -1
- package/dist/{schema-P2JYSV32.js → schema-MM7JPYI7.js} +1 -1
- package/dist/{schema-KPZVLE6A.js → schema-O5HGNE3W.js} +2 -2
- package/dist/{schema-YVBUY7NH.js → schema-OIY565PO.js} +1 -1
- package/dist/{schema-TRPPZCIR.js → schema-PVUWOLUB.js} +1 -1
- package/dist/{schema-PAKZIYQF.js → schema-RRZXOF5G.js} +1 -1
- package/dist/{schema-4HGZZNUL.js → schema-UEZQN4WK.js} +1 -1
- package/dist/{schema-GYTWCCNA.js → schema-WWWWEQAR.js} +1 -1
- package/dist/{schema-3LRC5TOZ.js → schema-XQSP5QAX.js} +1 -1
- package/dist/{schema-NI5B642U.js → schema-YUMFWHIE.js} +1 -1
- package/dist/{schema-5OLQ54J5.js → schema-ZBIIPJAI.js} +1 -1
- package/dist/{schema-YCKUQ3FF.js → schema-ZFUX3UIO.js} +1 -1
- package/dist/{specValidation-5J6DDCHF.js → specValidation-5AI56FM3.js} +1 -1
- package/dist/theme.js +3 -3
- package/dist/{themeShapeRules-MOUDTDUB.js → themeShapeRules-GGBYWZY7.js} +1 -1
- package/dist/types/core/annotate.d.ts +9 -0
- package/dist/types/core/annotateFields.d.ts +36 -1
- package/dist/types/core/annotateTargets.d.ts +2 -0
- package/dist/types/core/types/data.d.ts +2 -0
- package/dist/types/core/types/options.d.ts +4 -0
- package/dist/types/core/types/theme.d.ts +15 -2
- package/dist/types/react/hover/engine.d.ts +5 -1
- package/dist/types/react/hover/labelCard.d.ts +33 -2
- package/dist/types/theme.d.ts +1 -1
- package/dist/validate.js +5 -5
- package/docs/reference/bar.md +2 -2
- package/docs/reference/bullet.md +1 -1
- package/docs/reference/butterfly.md +1 -1
- package/docs/reference/column.md +2 -2
- package/docs/reference/combo.md +2 -2
- package/docs/reference/dot.md +2 -2
- package/docs/reference/grid.md +2 -2
- package/docs/reference/heatmap.md +1 -1
- package/docs/reference/line.md +2 -2
- package/docs/reference/mekko.md +2 -2
- package/docs/reference/options.md +3 -1
- package/docs/reference/pvm.md +1 -1
- package/docs/reference/react.md +2 -2
- package/docs/reference/scatter.md +1 -1
- package/docs/reference/slope.md +2 -2
- package/docs/reference/sparkline.md +1 -0
- package/docs/reference/table.md +1 -1
- package/docs/reference/theme.md +1 -0
- package/docs/reference/variance.md +1 -1
- package/docs/reference/waterfall.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AIHN5S6.js +0 -89
- package/dist/chunk-CDZHNLO6.js +0 -42
- package/dist/chunk-QPWRHDLZ.js +0 -17
|
@@ -22,9 +22,44 @@ export type CategoryBand = {
|
|
|
22
22
|
};
|
|
23
23
|
export declare function categoryBandFromCenters(ids: Id[], plot: Rect, centerOf: (index: number) => number, axis: 'x' | 'y'): (categoryId: Id) => CategoryBand | null;
|
|
24
24
|
export declare function categoryTargetFields(ids: Id[], plot: Rect, centerOf: (index: number) => number, axis: 'x' | 'y'): Pick<TargetScaleInput, 'categoryIds' | 'resolveCategoryBand' | 'bandPlot'>;
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Puts the band and attainment fills of the annotation pass behind the chart's marks, gridlines
|
|
27
|
+
* and lines, and the other annotation nodes on top. `owners`, when given, limits the fills that
|
|
28
|
+
* move behind to those annotations; the rest stay on top, as a chart that drew them there had them.
|
|
29
|
+
*/
|
|
30
|
+
export declare function spliceAnnotationNodes(nodes: SceneNode[], annotationNodes: SceneNode[], owners?: ReadonlySet<Id>): void;
|
|
26
31
|
export declare function isCategoryAlongY(band: CategoryBand): band is {
|
|
27
32
|
y: number;
|
|
28
33
|
h: number;
|
|
29
34
|
};
|
|
30
35
|
export declare function valueLineHasTargetExtras(ann: Annotation): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* A valueLine that bar and dot leave to the shared annotate pass, as column
|
|
38
|
+
* draws it: one with a category span, a series scope, a tolerance or an
|
|
39
|
+
* attainment. The pass clips the band to the span, warns on a span it cannot
|
|
40
|
+
* resolve and omits a scoped line it cannot honour. Their own vertical
|
|
41
|
+
* drawing knows none of this, so it takes only the plain line.
|
|
42
|
+
*/
|
|
43
|
+
export declare function valueLineNeedsSharedPass(ann: Annotation): boolean;
|
|
44
|
+
export declare function finitePair(low: unknown, high: unknown): {
|
|
45
|
+
low: number;
|
|
46
|
+
high: number;
|
|
47
|
+
} | null;
|
|
48
|
+
/**
|
|
49
|
+
* The bounds of a valueLine's tolerance band, or the reason it has none. A
|
|
50
|
+
* layout reads them to size its value axis before the annotation pass loads,
|
|
51
|
+
* so they stand here and not beside the pass that draws the band.
|
|
52
|
+
*/
|
|
53
|
+
export declare function toleranceBounds(value: number, tolerance: NonNullable<Extract<Annotation, {
|
|
54
|
+
kind: 'valueLine';
|
|
55
|
+
}>['tolerance']>): {
|
|
56
|
+
low: number;
|
|
57
|
+
high: number;
|
|
58
|
+
} | string;
|
|
59
|
+
/** A bound as the chart prints its numbers: without a format a late value of the chart's levels, else a set of its own. The band's key prints the same text. */
|
|
60
|
+
export declare function bandBoundText(input: Pick<TargetScaleInput, 'format' | 'locale' | 'levelSpec'>, v: number): string;
|
|
61
|
+
/** The fill of a value line's tolerance band, and of its key. */
|
|
62
|
+
export declare const TOLERANCE_FILL: {
|
|
63
|
+
readonly token: 'others';
|
|
64
|
+
readonly tint: 0.45;
|
|
65
|
+
};
|
|
@@ -40,6 +40,8 @@ export interface TargetScaleInput {
|
|
|
40
40
|
levelSpec?: NumberFormatSpec;
|
|
41
41
|
/** Caller wording, so a band's range words match its hover card. */
|
|
42
42
|
strings?: StringsSpec;
|
|
43
|
+
/** Value lines whose tolerance band the chart's key names with its bounds: such a band prints no bounds of its own. */
|
|
44
|
+
toleranceKeyed?: ReadonlySet<Id>;
|
|
43
45
|
}
|
|
44
46
|
export declare function isCeilingClaim(o: OccupiedRect, ceilingRects?: readonly Rect[]): boolean;
|
|
45
47
|
export declare function valueMapper(input: Pick<TargetScaleInput, 'yScale' | 'xScale'>): {
|
|
@@ -250,6 +250,8 @@ export interface SparklineData {
|
|
|
250
250
|
values: Cell[];
|
|
251
251
|
/** One name per value, used for the end labels and the hover records. */
|
|
252
252
|
labels?: string[];
|
|
253
|
+
/** The name of the metric the line shows. The hover card names each value with it ("Orders: 18"); nothing on the chart prints it. */
|
|
254
|
+
label?: string;
|
|
253
255
|
}
|
|
254
256
|
export interface GridPanel {
|
|
255
257
|
id: Id;
|
|
@@ -166,6 +166,10 @@ export interface StringsSpec {
|
|
|
166
166
|
average?: string;
|
|
167
167
|
/** Tolerance-band bounds. Fields: {v1}, {v2}. */
|
|
168
168
|
valueLineRange?: string;
|
|
169
|
+
/** Key of a tolerance band on a column, bar or dot chart. Fields: {name}, {range}. */
|
|
170
|
+
valueLineRangeKey?: string;
|
|
171
|
+
/** Key of a tolerance band whose line has no name. Fields: {range}. */
|
|
172
|
+
valueLineRangeKeyPlain?: string;
|
|
169
173
|
/** Text after a running category name in its key or note. */
|
|
170
174
|
toDate?: string;
|
|
171
175
|
/** Key for the forecast pattern. */
|
|
@@ -731,6 +731,8 @@ export interface ThemeTable {
|
|
|
731
731
|
};
|
|
732
732
|
/** True: density changes row height and cell padding only, never a type size. */
|
|
733
733
|
fixedType?: boolean;
|
|
734
|
+
/** Px of air the compact density takes off each side of a body or total row. Absent: half of the row's regular air, rounded down. */
|
|
735
|
+
compactStep?: number;
|
|
734
736
|
/** What a change against a previous column prints where the group has none. */
|
|
735
737
|
noPrevious?: 'na' | 'missing';
|
|
736
738
|
/** Which group rows carry the group ground when the table option `groupGround` is absent: 'expanded' (default), 'always' or 'none'. */
|
|
@@ -870,8 +872,19 @@ export interface ThemeTablePad {
|
|
|
870
872
|
*/
|
|
871
873
|
export type ThemeRef = string | {
|
|
872
874
|
preset: string;
|
|
873
|
-
overrides?:
|
|
875
|
+
overrides?: ThemeOverrides;
|
|
874
876
|
} | {
|
|
875
877
|
preset?: never;
|
|
876
|
-
overrides:
|
|
878
|
+
overrides: ThemeOverrides;
|
|
879
|
+
};
|
|
880
|
+
/**
|
|
881
|
+
* Theme overrides: every token is optional. A text role that a theme may
|
|
882
|
+
* leave out (secondary, micro) takes any subset of its fields; the fields an
|
|
883
|
+
* override leaves out keep the values the theme draws for that text.
|
|
884
|
+
*/
|
|
885
|
+
export type ThemeOverrides = Omit<DeepPartial<Theme>, 'type'> & {
|
|
886
|
+
type?: Omit<DeepPartial<Theme['type']>, 'secondary' | 'micro'> & {
|
|
887
|
+
secondary?: Partial<FontSpec>;
|
|
888
|
+
micro?: Partial<FontSpec>;
|
|
889
|
+
};
|
|
877
890
|
};
|
|
@@ -157,8 +157,12 @@ export declare function CustomCard({ input, theme, origin, label, contentId, loc
|
|
|
157
157
|
* when the open record was picked, to the card `card`: the convex hull of the
|
|
158
158
|
* point and the box. A pointer on its way to the card crosses other marks;
|
|
159
159
|
* inside the corridor the open card stays. Client pixels.
|
|
160
|
+
*
|
|
161
|
+
* A pointer on the points' path (`path`, CSS pixels from the chart's
|
|
162
|
+
* `origin`) is on its way to another point, not to the card: there the
|
|
163
|
+
* pointer picks again, so the card never holds a point the pointer has left.
|
|
160
164
|
*/
|
|
161
|
-
export declare function inCardCorridor(from: Point, card: Rect, point: Point): boolean;
|
|
165
|
+
export declare function inCardCorridor(from: Point, card: Rect, point: Point, path?: readonly Point[], origin?: Point): boolean;
|
|
162
166
|
export interface TableCardAnchor {
|
|
163
167
|
x: number;
|
|
164
168
|
y: number;
|
|
@@ -90,6 +90,14 @@ export interface LabelCardInput {
|
|
|
90
90
|
pointer?: Point;
|
|
91
91
|
previousSide?: CardSide;
|
|
92
92
|
band?: 'x' | 'y';
|
|
93
|
+
/**
|
|
94
|
+
* On a chart that picks its record by the pointer's position along an axis,
|
|
95
|
+
* the convex hull of its points: the area the pointer crosses on its way
|
|
96
|
+
* from one point to another. A seat keeps `PATH_PAD` clear of it.
|
|
97
|
+
*/
|
|
98
|
+
path?: readonly Point[];
|
|
99
|
+
/** The pointed record's own mark, where `target` spans its whole category: a seat off `path` stays within `CLEAR_REACH` of it. */
|
|
100
|
+
mark?: Rect;
|
|
93
101
|
/** Prefer clear table space; reading order breaks equal costs. */
|
|
94
102
|
slots?: 'table';
|
|
95
103
|
direction?: 'ltr' | 'rtl';
|
|
@@ -108,10 +116,20 @@ export interface LabelCardLayout extends LabelCardContent {
|
|
|
108
116
|
scene: SceneNode[];
|
|
109
117
|
decisions: PlaceDecision[];
|
|
110
118
|
side?: CardSide;
|
|
119
|
+
/** The seat meets the points' path (`LabelCardInput.path`): the card lets the pointer through to the points under it. */
|
|
120
|
+
overPath?: boolean;
|
|
111
121
|
}
|
|
112
122
|
export type LabelCardGeometry = Pick<Geometry, 'type' | 'size' | 'scene' | 'legend' | 'a11y' | 'sizing' | 'mode'>;
|
|
113
123
|
/** Crop an already measured card scene to its own rectangle for standalone rendering. */
|
|
114
124
|
export declare function labelCardGeometry(layout: LabelCardLayout): LabelCardGeometry;
|
|
125
|
+
/**
|
|
126
|
+
* A unit that is a phrase in words ("cases per month", "% of started cases",
|
|
127
|
+
* "orders") names the number on the hover card. A sign, a code or a scale
|
|
128
|
+
* stays with the number: "$", "%", "pp", "kg", "ms", "USD", "EUR k", "$bn",
|
|
129
|
+
* "k orders" and "thousand per month" (the scale belongs to the number),
|
|
130
|
+
* "$ per share" (the sign goes in front of the number).
|
|
131
|
+
*/
|
|
132
|
+
export declare function unitPhrase(unit: string | undefined): boolean;
|
|
115
133
|
/**
|
|
116
134
|
* Format only the existing record facts; never infer comparisons from rounded
|
|
117
135
|
* strings. The value row, the field rows, the change and the share print the
|
|
@@ -135,6 +153,12 @@ export declare function sharedLabelCardContent(records: readonly InteractionReco
|
|
|
135
153
|
export declare function describedWithCard(description: string, reading: string): string;
|
|
136
154
|
/** Show a table card only when it contains facts beyond the cell's printed value. */
|
|
137
155
|
export declare function shouldShowTableLabelCard(record: InteractionRecord, displayed: string | undefined, locale?: string): boolean;
|
|
156
|
+
/** Space a card keeps from the points' path, and the pointer's reach beside it that still reads as on the path. */
|
|
157
|
+
export declare const PATH_PAD = 8;
|
|
158
|
+
/** The convex hull of `points`, in order around it; one or two points stay as they are. */
|
|
159
|
+
export declare function pointsHull(points: readonly Point[]): Point[];
|
|
160
|
+
/** Whether `point` lies within `pad` of the hull `path`. */
|
|
161
|
+
export declare function nearPath(path: readonly Point[], point: Point, pad?: number): boolean;
|
|
138
162
|
interface CardSlot extends SlotCandidate {
|
|
139
163
|
side?: CardSide;
|
|
140
164
|
fits?: boolean;
|
|
@@ -160,8 +184,9 @@ export declare function tableCardSlots(target: Rect, boundary: Rect, width: numb
|
|
|
160
184
|
* A safe seat that covers fewer texts (`hidden`) wins over one that covers
|
|
161
185
|
* more, whatever its phase: a covered number is lost to the reader. Only a
|
|
162
186
|
* clear seat beyond its reach loses to any safe seat, whatever that seat hides.
|
|
187
|
+
* A seat `inWay` of the pointer's path is never safe, in any phase.
|
|
163
188
|
*/
|
|
164
|
-
export declare function selectCardSlot(candidates: CardSlots, forbidden: readonly Rect[], cost: (slot: CardSlot) => number, pointer?: Point, clear?: (slot: CardSlot) => boolean, hidden?: (slot: CardSlot) => number): CardSlot;
|
|
189
|
+
export declare function selectCardSlot(candidates: CardSlots, forbidden: readonly Rect[], cost: (slot: CardSlot) => number, pointer?: Point, clear?: (slot: CardSlot) => boolean, hidden?: (slot: CardSlot) => number, inWay?: (slot: CardSlot) => boolean): CardSlot;
|
|
165
190
|
export declare function activeCoverCost(rect: Rect, active?: readonly Rect[]): number;
|
|
166
191
|
export declare function cardCoverCost(rect: Rect, occupied: LabelCardInput['occupied'], table?: boolean): number;
|
|
167
192
|
/**
|
|
@@ -193,6 +218,12 @@ export declare function layoutLabelCardContent(input: LabelCardInput, content: L
|
|
|
193
218
|
* Both searches stay near the mark. A card far from its mark reads as no card of
|
|
194
219
|
* that mark, which is worse than a hidden label, so a clear seat beyond
|
|
195
220
|
* `CLEAR_REACH` is taken only when no nearer seat is safe.
|
|
221
|
+
*
|
|
222
|
+
* With a points path, a seat off the path wins when it stands within
|
|
223
|
+
* `CLEAR_REACH` of the mark and hides no text; else the card takes the seat it
|
|
224
|
+
* would take without the path, and `overPath` says whether that seat meets the
|
|
225
|
+
* path. A host's own card (`strict`) always keeps off the path, as it takes
|
|
226
|
+
* the pointer.
|
|
196
227
|
*/
|
|
197
|
-
export declare function placeLabelCard(input: LabelCardInput, width: number, height: number): Pick<LabelCardLayout, 'placement' | 'rect' | 'side' | 'decisions'>;
|
|
228
|
+
export declare function placeLabelCard(input: LabelCardInput, width: number, height: number, strict?: boolean): Pick<LabelCardLayout, 'placement' | 'rect' | 'side' | 'decisions' | 'overPath'>;
|
|
198
229
|
export {};
|
package/dist/types/theme.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { registerTheme, resolveTheme, typeForTarget } from './core/theme.js';
|
|
2
2
|
/** @internal A host sizes a table with it, with no scene and no hidden render. */
|
|
3
3
|
export { themeGeometryTokens } from './core/themeGeometry.js';
|
|
4
|
-
export type { Theme, ThemeRef } from './core/types/theme.js';
|
|
4
|
+
export type { Theme, ThemeOverrides, ThemeRef } from './core/types/theme.js';
|
|
5
5
|
export type { RenderTarget } from './core/types/options.js';
|
package/dist/validate.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseThemeJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LMDU5MNF.js";
|
|
4
4
|
import {
|
|
5
5
|
registerCatalogue
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G3CVCW5K.js";
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
|
|
152
152
|
import {
|
|
153
153
|
linkAnnotateEngine
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-P3CZFAFA.js";
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
|
|
192
192
|
import {
|
|
193
193
|
linkThemeShapeRules
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-RD24ORGR.js";
|
|
195
195
|
|
|
196
196
|
|
|
197
197
|
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
import {
|
|
206
206
|
getChartDefinition,
|
|
207
207
|
listCharts
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-FY3VV7TF.js";
|
|
209
209
|
|
|
210
210
|
|
|
211
211
|
|
package/docs/reference/bar.md
CHANGED
|
@@ -84,7 +84,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
84
84
|
| series | array | yes | Series supplying values for each category, with optional reference series for comparisons. |
|
|
85
85
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
86
86
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
87
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
87
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
88
88
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. In a football field, null cells and cells without a range are left out with a warning and a note, provided at least one method has a range. |
|
|
89
89
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
|
|
90
90
|
| series[].direction | string | | Whether increases are favorable; defaults to higherIsBetter for directional comparisons. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
@@ -142,7 +142,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
142
142
|
|
|
143
143
|
| Kind | Purpose | Required | Anchors | Optional fields | Notes |
|
|
144
144
|
|---|---|---|---|---|---|
|
|
145
|
-
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
145
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
146
146
|
| indicator100 | Maps 100 through the chart's value scale and draws a side tick with a 100% label. | | | side: left \| right, default left. Side of the plot the 100% mark sits on. | No anchor is required. The chart needs a value scale that can represent 100. |
|
|
147
147
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | Drawn reference series accept anchors. |
|
|
148
148
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | Drawn reference series accept anchors. |
|
package/docs/reference/bullet.md
CHANGED
|
@@ -83,7 +83,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
83
83
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | |
|
|
84
84
|
| diff | Draws a level-difference arrow between two anchors and computes either percent change or their signed value difference. | from, to | from: AnchorRef; to: AnchorRef | mode: relative \| absolute \| reversed \| both, default relative. relative prints the percent change from 'from' to 'to', reversed the change from 'to' to 'from', absolute the value difference, both the value difference with the percent change beside it. | Mode defaults to relative. Relative and reversed changes need a nonzero base; negative bases use its absolute magnitude and emit a warning. Absolute mode reports the raw value difference. A hidden label removes its arm. |
|
|
85
85
|
| cagr | Draws a growth arrow between two anchored points and computes the compound annual growth rate from their values and ISO-date span. | | from: AnchorRef (optional); to: AnchorRef (optional) | suffix: string, default 'p.a.'. Text after the rate. period: boolean. Print the period before the rate from the anchors' category labels, '2014–2019: +5.8% p.a.'. Default true when the chart carries two or more CAGRs, so nested brackets are told apart by their text, false otherwise. An arrow's ends show its span, so an arrow prints the rate alone unless period is true. shape: bracket \| arrow, default bracket. arrow draws one straight arrow over the marks with the rate in an oval on it, lifted until it clears them. Where no straight line clears the chart, the span is too short for the oval, a stack's inner layer is the anchor or the chart lays comparisons out itself, it draws the bracket and warns cagr-arrow-no-room. | Omitted endpoints span the first to the last category, or the first to the last total on a waterfall. Resolved endpoints need a positive date interval from ISO dates or year-bearing labels and a positive start value; an end of zero reads -100%, and a start at or below zero or a negative end omits the rate and warns cagr-undefined. On a continuous time axis the years are the exact span between the two readings. An anchor on one series of several (seriesId, or a category of an unstacked line, which reads the first drawn series; on a stack a category reads the stack total) names that series in the label, "Product B +10.1% p.a.", and the arm runs from that series' segment or point. In text, ${value} prints the rate with its suffix, so "CAGR 2014–2019: ${value}" keeps the computed number. |
|
|
86
|
-
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
86
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
87
87
|
| band | Draws an inclusive category span as a shaded band or bracket, or a value-axis plan corridor, tolerance band or attainment fill, with a collision-managed label. | | from: categoryId (optional); to: categoryId (optional) | | Era shade/bracket needs inclusive category IDs. Corridor and tolerance use finite low/high on the value scale, with optional from/to as a category clip. Attainment needs a plan value and shades each resolved actual; missing cells are skipped. Divider applies only to bracket bands. Scenario AC/PY/PL/FC paints a plan corridor (default PL). |
|
|
88
88
|
| text | Places authored text at a point through the label solver: on the point, or above, below, right or left of it. The text prints as written. | at, text | at: AnchorRef \| { categoryId, value } | | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. The text prints as written, ${value} included. It takes id and priority, and no other field. |
|
|
89
89
|
| line | Draws a straight line between two points or from a text annotation, in the ink and rule width of a bracket; a stretch that would cross text is cut. | from, to | from: AnchorRef \| { categoryId, value } \| { annotationId }; to: AnchorRef \| { categoryId, value } \| { annotationId } | dashed: boolean, default false. Draws the line in the dash of a reference line. | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. An end { annotationId } names a text annotation: the line starts or ends at the nearest edge of that text, at every size, and is not drawn when the text is not. A { categoryId, value } end stands on the category's centre. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field. |
|
|
@@ -54,7 +54,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
54
54
|
| series | array | yes | Series containing the two pane values selected by options.a and options.b. |
|
|
55
55
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
56
56
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
57
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
57
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
58
58
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
59
59
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. |
|
|
60
60
|
| series[].colorRole | string | | Theme color role used for this series when no explicit fill takes precedence. One of good, bad, warn, neutral, neutralLight, highlight, total, others; series-N for step N of the theme ramp, 1-based (series-2 is color.series[1]); or status-<key> for a theme status colour. A hex colour goes in fill. |
|
package/docs/reference/column.md
CHANGED
|
@@ -54,7 +54,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
54
54
|
| series[].axis | string | | Accepted for combo-shaped data. Ignored here. A kind that differs from the chart type is refused. One of `'primary'`, `'secondary'`. |
|
|
55
55
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
56
56
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
57
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
57
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
58
58
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
59
59
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
|
|
60
60
|
| series[].direction | string | | Whether increases are favorable; defaults to higherIsBetter for directional comparisons. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
@@ -149,7 +149,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
149
149
|
| delta | Computes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor. | at, vs | at: AnchorRef; vs: AnchorRef \| number | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. | Drawn reference series accept anchors. |
|
|
150
150
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | Drawn reference series accept anchors. |
|
|
151
151
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | Drawn reference series accept anchors. |
|
|
152
|
-
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
152
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
153
153
|
| indicator100 | Maps 100 through the chart's value scale and draws a side tick with a 100% label. | | | side: left \| right, default left. Side of the plot the 100% mark sits on. | No anchor is required. The chart needs a value scale that can represent 100. |
|
|
154
154
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | Drawn reference series accept anchors. |
|
|
155
155
|
| event | Places a dated event in the lane above the plot as a block with a pole to the data, or, when it does not fit, as a numbered marker with an entry in the event key below the plot; periods draw a thin bar. | label | at: categoryId (optional) | date: ISO date yyyy-mm-dd, in place of at: the event sits at the last category whose date is on or before it, and the block header and the key print it as d MMM. Every category needs an ISO date; a date outside the categories warns event-out-of-range. end: ISO date, with date: the event is a period, drawn as a thin bar to the end of that day. to: Category id, with at: the event is a period to the end of that category. group: Id of a group in options.events.groups, which gives the kind label, tone and glyph. detail: string \| string[]. Authored lines under the title, at most three in the lane; nothing is cut, a longer block moves to the key. items: { label, detail? }[]. More changes on the same date, after this event's own label and detail. The lane and the key draw a compact +N after the title; the hover card, the SVG title and description, and the interaction records list every item in full. placement: auto \| key, default options.events.placement. key numbers this event into the key below the plot. tone: neutral \| bad \| good, default the group tone, else neutral. Column, combo and line paint the glyph, the marker ring and the period bar in it; gantt paints a bad rule. | Exactly one of at (a category id) and date (an ISO date) places the event; end or to makes it a period. The event lane above the plot sets a block of group and date, title and detail with a thin pole to the data; an event that does not fit, a second event on one category and every event under options.events.placement 'key' get a numbered marker and an entry in the key below the plot, numbered in time order; under footnotes: false they are left off and listed in the footnotes-off lint. The full date, title and detail of every event stay in the SVG title and description, the interaction records and the hover card, whether or not the lane or the key prints the detail. In compact mode the lane is one row of numbered markers and the key packs "n date title" into as few lines as the width allows; where the plot would still fall under 80px the key keeps "n title" and the info lint event-lane-compact says so. options.events.rows sets the lane rows (default by canvas width: 1 under 1080px, 2 from 1080px); a row gives way while the plot band left under the lane would keep less than 40% of the canvas height. |
|
package/docs/reference/combo.md
CHANGED
|
@@ -67,7 +67,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
67
67
|
| series | array | yes | Series supplying values for each category, with optional reference series for comparisons. |
|
|
68
68
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
69
69
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
70
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
70
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
71
71
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
72
72
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
|
|
73
73
|
| series[].role | string | | Data series or comparison-only reference series; references are excluded from the main plotted data. One of `'data'`, `'reference'`. |
|
|
@@ -151,7 +151,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
151
151
|
| delta | Computes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor. | at, vs | at: AnchorRef; vs: AnchorRef \| number | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. | Drawn reference series accept anchors. |
|
|
152
152
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | Drawn reference series accept anchors. |
|
|
153
153
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | Drawn reference series accept anchors. |
|
|
154
|
-
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. axis: primary \| secondary, default primary. Scale of value; secondary needs an acknowledged secondary axis. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
154
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. axis: primary \| secondary, default primary. Scale of value; secondary needs an acknowledged secondary axis. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
155
155
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | Drawn reference series accept anchors. |
|
|
156
156
|
| event | Places a dated event in the lane above the plot as a block with a pole to the data, or, when it does not fit, as a numbered marker with an entry in the event key below the plot; periods draw a thin bar. | label | at: categoryId (optional) | date: ISO date yyyy-mm-dd, in place of at: the event sits at the last category whose date is on or before it, and the block header and the key print it as d MMM. Every category needs an ISO date; a date outside the categories warns event-out-of-range. end: ISO date, with date: the event is a period, drawn as a thin bar to the end of that day. to: Category id, with at: the event is a period to the end of that category. group: Id of a group in options.events.groups, which gives the kind label, tone and glyph. detail: string \| string[]. Authored lines under the title, at most three in the lane; nothing is cut, a longer block moves to the key. items: { label, detail? }[]. More changes on the same date, after this event's own label and detail. The lane and the key draw a compact +N after the title; the hover card, the SVG title and description, and the interaction records list every item in full. placement: auto \| key, default options.events.placement. key numbers this event into the key below the plot. tone: neutral \| bad \| good, default the group tone, else neutral. Column, combo and line paint the glyph, the marker ring and the period bar in it; gantt paints a bad rule. | Exactly one of at (a category id) and date (an ISO date) places the event; end or to makes it a period. The event lane above the plot sets a block of group and date, title and detail with a thin pole to the data; an event that does not fit, a second event on one category and every event under options.events.placement 'key' get a numbered marker and an entry in the key below the plot, numbered in time order; under footnotes: false they are left off and listed in the footnotes-off lint. The full date, title and detail of every event stay in the SVG title and description, the interaction records and the hover card, whether or not the lane or the key prints the detail. In compact mode the lane is one row of numbered markers and the key packs "n date title" into as few lines as the width allows; where the plot would still fall under 80px the key keeps "n title" and the info lint event-lane-compact says so. options.events.rows sets the lane rows (default by canvas width: 1 under 1080px, 2 from 1080px); a row gives way while the plot band left under the lane would keep less than 40% of the canvas height. |
|
|
157
157
|
| band | Draws an inclusive category span as a shaded band or bracket, or a value-axis plan corridor, tolerance band or attainment fill, with a collision-managed label. | | from: categoryId (optional); to: categoryId (optional) | | Era shade/bracket needs inclusive category IDs. Corridor and tolerance use finite low/high on the value scale, with optional from/to as a category clip. Attainment needs a plan value and shades each resolved actual; missing cells are skipped. Divider applies only to bracket bands. Scenario AC/PY/PL/FC paints a plan corridor (default PL). |
|
package/docs/reference/dot.md
CHANGED
|
@@ -46,7 +46,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
46
46
|
| series | array | yes | Values and optional ranges to compare across each category row. |
|
|
47
47
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
48
48
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
49
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
49
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
50
50
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
51
51
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. |
|
|
52
52
|
| series[].direction | string | | Declared preference for higher or lower values in directional comparisons. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
@@ -88,7 +88,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
88
88
|
|
|
89
89
|
| Kind | Purpose | Required | Anchors | Optional fields | Notes |
|
|
90
90
|
|---|---|---|---|---|---|
|
|
91
|
-
| 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. | 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. |
|
|
91
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
92
92
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | |
|
|
93
93
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | |
|
|
94
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 | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. | |
|
package/docs/reference/grid.md
CHANGED
|
@@ -101,8 +101,8 @@ Facets, variance tiers and metric stacks with shared categories and computed rea
|
|
|
101
101
|
| panels ( branch 3) | array | yes | Two to five panels in top-down reading order. |
|
|
102
102
|
| panels[].id ( branch 3) | string | yes | Unique panel id; state scopes use this id. |
|
|
103
103
|
| panels[].type ( branch 3) | string | yes | Columns, stacked columns for a multi-measure sum, or a line with points. One of `'column'`, `'line'`. |
|
|
104
|
-
| panels[].title ( branch 3) | string | yes | Measure name in the shared readout gutter. |
|
|
105
|
-
| panels[].unit ( branch 3) | string | yes | Measure unit in the readout gutter. |
|
|
104
|
+
| panels[].title ( branch 3) | string | yes | Measure name in the shared readout gutter. The hover card names each value with it when the unit is a sign or code. |
|
|
105
|
+
| panels[].unit ( branch 3) | string | yes | Measure unit in the readout gutter. A unit in words names each value on the hover card ('Cases per month: 800'); a sign or code such as '$' or 'EUR k' stays on the number. |
|
|
106
106
|
| panels[].measure ( branch 3) | object | yes | Engine-computed panel measure. |
|
|
107
107
|
| panels[].measure.sum ( branch 3; panels[].measure branch 1) | array | yes | Measures added for each category. Columns stack the inputs in order. |
|
|
108
108
|
| panels[].measure.numerator ( branch 3; panels[].measure branch 2) | array | yes | Measures summed for the rate numerator. |
|
|
@@ -53,7 +53,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
53
53
|
| series | array | yes | Matrix rows, each supplying one cell value per category. |
|
|
54
54
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
55
55
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
56
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
56
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
57
57
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
58
58
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
|
|
59
59
|
| series[].direction | string | | Declares this row's judgment for the continuous scale and PINS the whole matrix on the good/bad valence ramp (like table heat's signed flag) — declaring 'higherIsBetter' is therefore not a paint no-op on an all-positive matrix. 'lowerIsBetter' inverts the row's poles. Breaks bins go bad to good; under a breaks key every row needs the same direction (else refused). Ignored by the plain discrete ladder and harvey glyphs (warned). One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
package/docs/reference/line.md
CHANGED
|
@@ -96,7 +96,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
96
96
|
| series[].axis | string | | Accepted for combo-shaped data. Ignored here. A kind that differs from the chart type is refused. One of `'primary'`, `'secondary'`. |
|
|
97
97
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
98
98
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
99
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
99
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
100
100
|
| series[].shortLabel | string | | Short end-label name. End labels get 18% of the effective width: Boardplot tries the full label on one line, then on two, then shortLabel with a full-name legend key, then a legend with value-only end labels. legend 'none' removes the shortLabel and legend steps, a labelPlacements pin the legend step. Boardplot adds no abbreviation or ellipsis. |
|
|
101
101
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
102
102
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions. |
|
|
@@ -237,7 +237,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
237
237
|
| delta | Computes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor. | at, vs | at: AnchorRef; vs: AnchorRef \| number | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. placement: auto \| label \| bracket, default auto. With both ends on two different series at the last category, bracket draws the gap bracket in the right margin: an open ring on each end point, a dashed guide from each ring to the margin, a bracket with an arrowhead toward the measured end, and the gap as a large number beside it; the end values sit just over and under their guides. auto draws the bracket where gapFill washes the same two series and the label elsewhere. label keeps the label at the anchor. On a bar chart a diff between two categories of one series rides in the shorter bar's row under auto: an arrow from the longer bar's end to the to end, with the number in a break of the shaft; label keeps the arrow off the rows with the number beside it. bracket on other anchors, or on stacked variants (stacked-area, stacked100-area), warns gap-bracket-unavailable and keeps the label. caption: string. A short line under the bracket number that says what it measures, right-aligned in muted ink. Only a gap bracket prints it; elsewhere it warns gap-caption-ignored. | Drawn reference series accept anchors. Bad anchors report the cause and valid ids. |
|
|
238
238
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | Drawn reference series accept anchors. Bad anchors report the cause and valid ids. |
|
|
239
239
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | Drawn reference series accept anchors. Bad anchors report the cause and valid ids. |
|
|
240
|
-
| 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. seriesId: string. Series whose mean is measured. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
240
|
+
| 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. seriesId: string. Series whose mean is measured. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean \| { seriesId, direction }. Shades each category between its actual and the line. | No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals. |
|
|
241
241
|
| indicator100 | Maps 100 through the chart's value scale and draws a side tick with a 100% label. | | | side: left \| right, default left. Side of the plot the 100% mark sits on. | No anchor is required. The chart needs a value scale that can represent 100. |
|
|
242
242
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | Drawn reference series accept anchors. Bad anchors report the cause and valid ids. |
|
|
243
243
|
| event | Places a dated event in the lane above the plot as a block with a pole to the data, or, when it does not fit, as a numbered marker with an entry in the event key below the plot; periods draw a thin bar. | label | at: categoryId (optional) | date: ISO date yyyy-mm-dd, in place of at: the event sits at the last category whose date is on or before it, and the block header and the key print it as d MMM. Every category needs an ISO date; a date outside the categories warns event-out-of-range. end: ISO date, with date: the event is a period, drawn as a thin bar to the end of that day. to: Category id, with at: the event is a period to the end of that category. group: Id of a group in options.events.groups, which gives the kind label, tone and glyph. detail: string \| string[]. Authored lines under the title, at most three in the lane; nothing is cut, a longer block moves to the key. items: { label, detail? }[]. More changes on the same date, after this event's own label and detail. The lane and the key draw a compact +N after the title; the hover card, the SVG title and description, and the interaction records list every item in full. placement: auto \| key, default options.events.placement. key numbers this event into the key below the plot. tone: neutral \| bad \| good, default the group tone, else neutral. Column, combo and line paint the glyph, the marker ring and the period bar in it; gantt paints a bad rule. labelPlacement: top \| inline \| badge, default top. inline (line) sets the block beside its rule inside the plot. badge (gantt) draws the label, at most 3 characters, in a filled circle at the top of its rule; badge events never go to the numbered key. | Exactly one of at (a category id) and date (an ISO date) places the event; end or to makes it a period. The event lane above the plot sets a block of group and date, title and detail with a thin pole to the data; an event that does not fit, a second event on one category and every event under options.events.placement 'key' get a numbered marker and an entry in the key below the plot, numbered in time order; under footnotes: false they are left off and listed in the footnotes-off lint. The full date, title and detail of every event stay in the SVG title and description, the interaction records and the hover card, whether or not the lane or the key prints the detail. In compact mode the lane is one row of numbered markers and the key packs "n date title" into as few lines as the width allows; where the plot would still fall under 80px the key keeps "n title" and the info lint event-lane-compact says so. options.events.rows sets the lane rows (default by canvas width: 1 under 1080px, 2 from 1080px); a row gives way while the plot band left under the lane would keep less than 40% of the canvas height. |
|
package/docs/reference/mekko.md
CHANGED
|
@@ -54,7 +54,7 @@ A `cell` is a number, null or a value object; see [Value cell](options.md#value-
|
|
|
54
54
|
| series | array | yes | Stack components and optional reference series supplying widths. |
|
|
55
55
|
| series[].valueKind | string | | Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of `'fraction'`. |
|
|
56
56
|
| series[].id | string | yes | Series identity used by keyed options, annotations and legend entries. |
|
|
57
|
-
| series[].label | string | | Displayed series name; defaults to the series id. |
|
|
57
|
+
| series[].label | string | | Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8"). |
|
|
58
58
|
| series[].values | (cell \| { categoryId, value: cell })[] | yes | Values in category order, or keyed entries pairing a categoryId with its value. |
|
|
59
59
|
| series[].scenario | string | | AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. |
|
|
60
60
|
| series[].direction | string | | Declared preference for higher or lower values in directional comparisons. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
@@ -87,7 +87,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
87
87
|
| delta | Computes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor. | at, vs | at: AnchorRef; vs: AnchorRef \| number | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. | |
|
|
88
88
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | |
|
|
89
89
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | |
|
|
90
|
-
| 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. |
|
|
90
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. | 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. |
|
|
91
91
|
| indicator100 | Maps 100 through the chart's value scale and draws a side tick with a 100% label. | | | side: left \| right, default left. Side of the plot the 100% mark sits on. | No anchor is required. The chart needs a value scale that can represent 100. |
|
|
92
92
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | |
|
|
93
93
|
| text | Places authored text at a point through the label solver: on the point, or above, below, right or left of it. The text prints as written. | at, text | at: AnchorRef \| { categoryId, value } | | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. The text prints as written, ${value} included. It takes id and priority, and no other field. |
|
|
@@ -42,7 +42,7 @@ These options are shared across chart types. Each type page names its exceptions
|
|
|
42
42
|
| subtitle.measure | string | | | Measure named by the subtitle; options.unit supplies its unit. |
|
|
43
43
|
| subtitle.period | string | | | Reporting period text after the measure. |
|
|
44
44
|
| subtitle.scenarios | array | | | Scenario captions in authored order, printed as their own segment joined with "vs": "… · 6 Jul to 4 Oct · AC vs PL". |
|
|
45
|
-
| unit | string | | | Chart unit, composed into the subtitle where supported; individual series may declare their own units. A unit prints as text after the number, so unit 'USD' reads 2,456 USD. For a currency sign, set format instead, such as '$1,234'; a unit the format already prints warns unit-in-format, and a unit that names another currency than the format's sign warns unit-format-conflict. |
|
|
45
|
+
| unit | string | | | Chart unit, composed into the subtitle where supported; individual series may declare their own units. A unit prints as text after the number, so unit 'USD' reads 2,456 USD. For a currency sign, set format instead, such as '$1,234'; a unit the format already prints warns unit-in-format, and a unit that names another currency than the format's sign warns unit-format-conflict. A unit in words, such as 'orders', names the number on the hover card ('Orders: 76'); a sign, code or scale such as '%', 'kg' or 'k orders' stays on the number. |
|
|
46
46
|
| unitShown | boolean | | | True when the host prints the unit beside the chart: no unit line, no unit beside a kpi value; line end labels, a table head and the legend check treat the unit as shown. Number formatting does not change. Default false. |
|
|
47
47
|
| source | string \| array | | | Source credit rendered in the chart frame. An array of strings joins with '; ' in one source line. An empty array prints no source. `**text**` draws bold and a single `*` stays literal. |
|
|
48
48
|
| footnotes | array \| false \| string | `false` (or another value of its type) | | A string is one footnote. Footnotes in authored order. `**text**` draws bold and a single `*` stays literal. The frame prints them within notes.maxLines and the rest go to the notes list. false leaves notes and the pointer off the frame; disclosures that notes.show prints, the source line and a required map credit stay. |
|
|
@@ -113,6 +113,8 @@ These options are shared across chart types. Each type page names its exceptions
|
|
|
113
113
|
| strings.belowSeries | string | | | Negative line gap key. |
|
|
114
114
|
| strings.average | string | | | Name before a computed mean; English Average, German Ø. |
|
|
115
115
|
| strings.valueLineRange | string | | | Tolerance-band bounds; {v1} and {v2} are the formatted bounds. |
|
|
116
|
+
| strings.valueLineRangeKey | string | | | Key of a tolerance band on a column, bar or dot chart; {name} is the line's name and {range} the bounds. |
|
|
117
|
+
| strings.valueLineRangeKeyPlain | string | | | Key of a tolerance band whose line has no name; {range} is the bounds. |
|
|
116
118
|
| strings.toDate | string | | | Text after a running category name in its key or note. |
|
|
117
119
|
| strings.forecast | string | | | Key for the forecast pattern. |
|
|
118
120
|
| strings.plan | string | | | Key for the plan outline. |
|
package/docs/reference/pvm.md
CHANGED
|
@@ -91,7 +91,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
91
91
|
| delta | Computes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor. | at, vs | at: AnchorRef; vs: AnchorRef \| number | mode: absolute \| relative \| both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs. | |
|
|
92
92
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | |
|
|
93
93
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | |
|
|
94
|
-
| 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. |
|
|
94
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. | 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. |
|
|
95
95
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | |
|
|
96
96
|
| text | Places authored text at a point through the label solver: on the point, or above, below, right or left of it. The text prints as written. | at, text | at: AnchorRef \| { categoryId, value } | | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. The text prints as written, ${value} included. It takes id and priority, and no other field. |
|
|
97
97
|
| line | Draws a straight line between two points or from a text annotation, in the ink and rule width of a bracket; a stretch that would cross text is cut. | from, to | from: AnchorRef \| { categoryId, value } \| { annotationId }; to: AnchorRef \| { categoryId, value } \| { annotationId } | dashed: boolean, default false. Draws the line in the dash of a reference line. | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. An end { annotationId } names a text annotation: the line starts or ends at the nearest edge of that text, at every size, and is not drawn when the text is not. A { categoryId, value } end stands on the category's centre. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field. |
|
package/docs/reference/react.md
CHANGED
|
@@ -534,9 +534,9 @@ export function RegionRevenue() {
|
|
|
534
534
|
}
|
|
535
535
|
```
|
|
536
536
|
|
|
537
|
-
`records` lists every record the card covers, the pointed one first (a category band brings its other series). `source` is `'pointer'` or `'keyboard'`. The card keeps the theme's surface, radius, shadow, font and ink, with no padding of its own, because `defaultContent` brings its own; CSS custom properties give your content the theme values: `--bp-card-pad-x`, `--bp-card-pad-y`, `--bp-card-ink`, `--bp-card-muted` and `--bp-card-rule`. The card is measured after it renders and takes the seat the default card would take for a box of its size, inside the viewport
|
|
537
|
+
`records` lists every record the card covers, the pointed one first (a category band brings its other series). `source` is `'pointer'` or `'keyboard'`. The card keeps the theme's surface, radius, shadow, font and ink, with no padding of its own, because `defaultContent` brings its own; CSS custom properties give your content the theme values: `--bp-card-pad-x`, `--bp-card-pad-y`, `--bp-card-ink`, `--bp-card-muted` and `--bp-card-rule`. The card is measured after it renders and takes the seat the default card would take for a box of its size, inside the viewport. On a line, area, combo or sparkline chart it always keeps off the area between the points, so it never stands in the way of a pointer that moves from point to point. A taller card scrolls inside itself.
|
|
538
538
|
|
|
539
|
-
|
|
539
|
+
Your card always takes the pointer, also where the default card lets it through to the points under it: moving the pointer from the mark to the card keeps it open while the pointer heads for it, even across other marks, and a pointer that rests on the way for 250 ms picks the mark under it. Leaving the chart closes the card after 150 ms unless the pointer reaches it, and a card that holds the focus stays open. A click or tap inside the card is yours: it fires no `onRecordClick` and does not move the card. A tap outside the chart and the card closes it.
|
|
540
540
|
|
|
541
541
|
Keyboard: focus on the chart's tab stop opens your card for the focused record, as for the default card. When the card holds a link, a button or another focusable element, Tab moves into it, Shift+Tab returns to the record, and Tab past its last element leaves the chart and closes the card. Escape in the card closes it and returns the focus to what opened it, the record stop or an event marker. Keys inside the card are yours. In a browser without popover support the card sits in the chart's own box, so the same Tab order holds; an `overflow: hidden` ancestor can clip it there.
|
|
542
542
|
|
|
@@ -157,7 +157,7 @@ An annotation anchor is a category or item id string, or an object with category
|
|
|
157
157
|
| abs | Reads the anchored data value and places its formatted absolute value in a collision-managed label. | at | at: AnchorRef | | |
|
|
158
158
|
| note | Places authored text at an anchored data element through collision avoidance, with an optional icon or status chip. | at, text | at: AnchorRef | | |
|
|
159
159
|
| callout | Places authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side. | at, text | at: AnchorRef | preferSide: left \| right \| above \| below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true. | |
|
|
160
|
-
| 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. |
|
|
160
|
+
| valueLine | Draws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals. | | from: categoryId (optional); to: categoryId (optional) | value: number \| 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string \| false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left \| right, default right. Side of the plot the label sits on. tolerance: number \| { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. | 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. |
|
|
161
161
|
| text | Places authored text at a point through the label solver: on the point, or above, below, right or left of it. The text prints as written. | at, text | at: AnchorRef \| { categoryId, value } | | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. The text prints as written, ${value} included. It takes id and priority, and no other field. |
|
|
162
162
|
| line | Draws a straight line between two points or from a text annotation, in the ink and rule width of a bracket; a stretch that would cross text is cut. | from, to | from: AnchorRef \| { categoryId, value } \| { annotationId }; to: AnchorRef \| { categoryId, value } \| { annotationId } | dashed: boolean, default false. Draws the line in the dash of a reference line. | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. An end { annotationId } names a text annotation: the line starts or ends at the nearest edge of that text, at every size, and is not drawn when the text is not. A { categoryId, value } end stands on the category's centre. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field. |
|
|
163
163
|
| arrow | Draws a straight arrow between two points or from a text annotation to a point, in the theme arrow look (`marks.arrow`); a stretch that would cross text is cut. | from, to | from: AnchorRef \| { categoryId, value } \| { annotationId }; to: AnchorRef \| { categoryId, value } \| { annotationId } | dashed: boolean, default false. Draws the shaft in the dash of a reference line. | A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. An end { annotationId } names a text annotation: the arrow starts or ends at the nearest edge of that text, at every size, and is not drawn when the text is not. A { categoryId, value } end stands on the category's centre. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field. |
|