boardplot 0.0.0-stage → 0.53.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 +49 -0
- package/LICENSE +201 -0
- package/NOTICE.md +180 -0
- package/README.md +208 -2
- package/THIRD_PARTY_NOTICES.md +1110 -0
- package/dist/DiagnosticDetails-UNYNYCAH.js +69 -0
- package/dist/ReaderBox-VOJSJ66R.js +137 -0
- package/dist/annotateEngine-DLMFJZ67.js +30 -0
- package/dist/build-identity.json +6 -0
- package/dist/chunk-24BHMKDD.js +83 -0
- package/dist/chunk-263SZKIL.js +8 -0
- package/dist/chunk-27QADBDV.js +211 -0
- package/dist/chunk-2CVH5E57.js +128 -0
- package/dist/chunk-2DOR5SS6.js +446 -0
- package/dist/chunk-2EQE4E3I.js +22 -0
- package/dist/chunk-2FNNAPCI.js +24 -0
- package/dist/chunk-2L2Q53EP.js +251 -0
- package/dist/chunk-2LMCD3ZR.js +6 -0
- package/dist/chunk-2ND7ZITT.js +3069 -0
- package/dist/chunk-2QT5ZUHO.js +2937 -0
- package/dist/chunk-2RSG7JYI.js +24 -0
- package/dist/chunk-2V6CLH33.js +1392 -0
- package/dist/chunk-2VWJ5BGO.js +566 -0
- package/dist/chunk-2WNYRWHG.js +51 -0
- package/dist/chunk-323YZWYJ.js +548 -0
- package/dist/chunk-33PB4V6K.js +382 -0
- package/dist/chunk-33PLBIMA.js +176 -0
- package/dist/chunk-3A2IEBCN.js +195 -0
- package/dist/chunk-3D3D3D23.js +25 -0
- package/dist/chunk-3EZRM4YM.js +92 -0
- package/dist/chunk-3H2W76TB.js +2353 -0
- package/dist/chunk-3JEQGGVD.js +19 -0
- package/dist/chunk-3QWZAEW5.js +26 -0
- package/dist/chunk-3SIRPKMP.js +12 -0
- package/dist/chunk-3SQCCESO.js +1592 -0
- package/dist/chunk-3XHJHQWU.js +42 -0
- package/dist/chunk-4G2O2ZPJ.js +83 -0
- package/dist/chunk-4JLBVIGW.js +24 -0
- package/dist/chunk-4RRNJLCM.js +746 -0
- package/dist/chunk-4UVW5WU6.js +76 -0
- package/dist/chunk-4X66BTP5.js +344 -0
- package/dist/chunk-53OYF4ZT.js +687 -0
- package/dist/chunk-57ZGVAU3.js +179 -0
- package/dist/chunk-5HECRVXJ.js +62 -0
- package/dist/chunk-5LGSRWFC.js +63 -0
- package/dist/chunk-5LYXD6ME.js +1112 -0
- package/dist/chunk-66RFKRGO.js +28 -0
- package/dist/chunk-6KWIQ5KF.js +18 -0
- package/dist/chunk-6OCR6ITN.js +72 -0
- package/dist/chunk-6RBTTCQD.js +802 -0
- package/dist/chunk-6Y7EXYLR.js +563 -0
- package/dist/chunk-7CTKTIPF.js +613 -0
- package/dist/chunk-7EVIIADO.js +185 -0
- package/dist/chunk-7X2ZYVAX.js +89 -0
- package/dist/chunk-7X65ZQN4.js +38 -0
- package/dist/chunk-A4QZXLXF.js +7 -0
- package/dist/chunk-A6CQPJWR.js +49 -0
- package/dist/chunk-A7IEVBYI.js +35 -0
- package/dist/chunk-ACXX2JNL.js +6 -0
- package/dist/chunk-ADKCLH3Z.js +98 -0
- package/dist/chunk-ADWSGPH5.js +23 -0
- package/dist/chunk-AG2CJ4JY.js +203 -0
- package/dist/chunk-AHQ4L3BE.js +30 -0
- package/dist/chunk-AOQ6VF5H.js +6 -0
- package/dist/chunk-AQROQDLR.js +3303 -0
- package/dist/chunk-AWTG3RFF.js +85 -0
- package/dist/chunk-B54RN2FD.js +692 -0
- package/dist/chunk-B67K6OWJ.js +48 -0
- package/dist/chunk-B6GFKYBZ.js +40 -0
- package/dist/chunk-BBL3R5YZ.js +186 -0
- package/dist/chunk-BBRBCMNR.js +28 -0
- package/dist/chunk-BIDIGDGH.js +6 -0
- package/dist/chunk-BLFWUMTD.js +12 -0
- package/dist/chunk-BM6SFFWF.js +6 -0
- package/dist/chunk-BMRD6MAH.js +24 -0
- package/dist/chunk-BPKXEMRE.js +197 -0
- package/dist/chunk-BUPLB3EX.js +129 -0
- package/dist/chunk-BW5VLBSZ.js +15 -0
- package/dist/chunk-BWGRWGVA.js +295 -0
- package/dist/chunk-BWLOXQDV.js +131 -0
- package/dist/chunk-BWTX7LUG.js +203 -0
- package/dist/chunk-C54QLNE4.js +69 -0
- package/dist/chunk-CAQ5P4VN.js +296 -0
- package/dist/chunk-CCCEBIUZ.js +296 -0
- package/dist/chunk-CDZHNLO6.js +42 -0
- package/dist/chunk-CJGSJKPO.js +25 -0
- package/dist/chunk-CN7JRHST.js +25 -0
- package/dist/chunk-CNX7EGSU.js +266 -0
- package/dist/chunk-COYOTQC2.js +75 -0
- package/dist/chunk-CRNMNZJD.js +1161 -0
- package/dist/chunk-CUVUDK4O.js +68 -0
- package/dist/chunk-CWDHCSL2.js +2919 -0
- package/dist/chunk-CYOJZ3GQ.js +631 -0
- package/dist/chunk-D4SOADBD.js +19 -0
- package/dist/chunk-D7SHZDA3.js +1808 -0
- package/dist/chunk-DAVHGK27.js +657 -0
- package/dist/chunk-DCCJRLAJ.js +422 -0
- package/dist/chunk-DCTCUZ5L.js +51 -0
- package/dist/chunk-DDCB7ZA5.js +2511 -0
- package/dist/chunk-DDI2W4TR.js +149 -0
- package/dist/chunk-DIHUGBZO.js +61 -0
- package/dist/chunk-DJHIQWSG.js +25 -0
- package/dist/chunk-DO5OZJAO.js +302 -0
- package/dist/chunk-DOFYKPTC.js +18 -0
- package/dist/chunk-DRTA6JG5.js +160 -0
- package/dist/chunk-DRW6KGBK.js +1062 -0
- package/dist/chunk-DU4A5AOY.js +1156 -0
- package/dist/chunk-DYS7EIXY.js +294 -0
- package/dist/chunk-E4IQ6M4S.js +24 -0
- package/dist/chunk-EFUWFB64.js +24 -0
- package/dist/chunk-EHBB2Z4D.js +290 -0
- package/dist/chunk-EHVESNLV.js +30 -0
- package/dist/chunk-EJPVVGD7.js +67 -0
- package/dist/chunk-EKQK5D6G.js +14 -0
- package/dist/chunk-EUADDXAV.js +30 -0
- package/dist/chunk-F6CNPC4L.js +47 -0
- package/dist/chunk-FBAYZSFC.js +2806 -0
- package/dist/chunk-FBB4BWKN.js +30 -0
- package/dist/chunk-FF23FYQD.js +1269 -0
- package/dist/chunk-FG6EDGMI.js +53 -0
- package/dist/chunk-FHA3KMFC.js +43 -0
- package/dist/chunk-FIANWJXX.js +19 -0
- package/dist/chunk-FIWNDOMO.js +6 -0
- package/dist/chunk-FV3VF36K.js +2721 -0
- package/dist/chunk-G5FMTRG5.js +37 -0
- package/dist/chunk-GCBOHVDZ.js +229 -0
- package/dist/chunk-GDOW2KNP.js +19 -0
- package/dist/chunk-GTG3IGLF.js +2674 -0
- package/dist/chunk-GZTNTHSW.js +21 -0
- package/dist/chunk-H4H4O62O.js +46 -0
- package/dist/chunk-H5G7T35P.js +24 -0
- package/dist/chunk-H63XQ3OO.js +942 -0
- package/dist/chunk-H67RTX46.js +43 -0
- package/dist/chunk-HA4IPWMM.js +841 -0
- package/dist/chunk-HKYTOJLV.js +33 -0
- package/dist/chunk-HOAH5XBR.js +542 -0
- package/dist/chunk-HTYFQHRC.js +24 -0
- package/dist/chunk-HYY5V2KL.js +19 -0
- package/dist/chunk-HZI56ASJ.js +79 -0
- package/dist/chunk-I6VAWNNU.js +24 -0
- package/dist/chunk-IBXXZVG7.js +80 -0
- package/dist/chunk-IDDA5INB.js +60 -0
- package/dist/chunk-IK4BHOPZ.js +33 -0
- package/dist/chunk-IL5T7I2A.js +27 -0
- package/dist/chunk-ILSXT6KT.js +24 -0
- package/dist/chunk-IV2UXZXX.js +16 -0
- package/dist/chunk-IYEFEBRN.js +41 -0
- package/dist/chunk-IYMI7YI4.js +829 -0
- package/dist/chunk-J6I2YFJH.js +58 -0
- package/dist/chunk-JFBEAUJ6.js +24 -0
- package/dist/chunk-JR7Y5ONB.js +27 -0
- package/dist/chunk-JSEYUJUQ.js +836 -0
- package/dist/chunk-JYBT2JNY.js +61 -0
- package/dist/chunk-K3HSQPSM.js +24 -0
- package/dist/chunk-KAXJFL7N.js +43 -0
- package/dist/chunk-KDMKHR5A.js +32 -0
- package/dist/chunk-KKWZWP67.js +24 -0
- package/dist/chunk-KOJ5QETJ.js +8 -0
- package/dist/chunk-KPKXJYQH.js +19 -0
- package/dist/chunk-KSJVENRU.js +113 -0
- package/dist/chunk-KZJOV4QW.js +33 -0
- package/dist/chunk-KZS46KDY.js +58 -0
- package/dist/chunk-L3JWM7FR.js +50 -0
- package/dist/chunk-L4S6UFTL.js +26 -0
- package/dist/chunk-L6DJ4ZY5.js +2008 -0
- package/dist/chunk-L7RHB734.js +23 -0
- package/dist/chunk-LCWJS34U.js +38 -0
- package/dist/chunk-LFTAMH7I.js +24 -0
- package/dist/chunk-LFX7W4B7.js +113 -0
- package/dist/chunk-LINZPU5D.js +8 -0
- package/dist/chunk-LIWLBLCT.js +83 -0
- package/dist/chunk-LNKY5Z2X.js +23 -0
- package/dist/chunk-LS7HVBI7.js +24 -0
- package/dist/chunk-M4EUXOLU.js +170 -0
- package/dist/chunk-M4SPKUZE.js +7 -0
- package/dist/chunk-M4YLED7M.js +17 -0
- package/dist/chunk-MBKZYJRC.js +1424 -0
- package/dist/chunk-MCYM3RNF.js +227 -0
- package/dist/chunk-MF6IVSBJ.js +48 -0
- package/dist/chunk-MIAPBQCA.js +24 -0
- package/dist/chunk-MJZHFH5R.js +1075 -0
- package/dist/chunk-MQFCG4KS.js +1467 -0
- package/dist/chunk-MVV6RQMG.js +128 -0
- package/dist/chunk-MYMT5KJL.js +1182 -0
- package/dist/chunk-MZL6LGKO.js +587 -0
- package/dist/chunk-N23YFPPI.js +47 -0
- package/dist/chunk-N3G2FYDL.js +300 -0
- package/dist/chunk-N3TPMXS3.js +161 -0
- package/dist/chunk-N73IBH55.js +58 -0
- package/dist/chunk-N7J7CZS6.js +43 -0
- package/dist/chunk-NCB3YLHF.js +28 -0
- package/dist/chunk-NHQGRKEA.js +63 -0
- package/dist/chunk-NKIYLFXZ.js +2774 -0
- package/dist/chunk-NOSDEJ3K.js +25934 -0
- package/dist/chunk-NQDVMUHX.js +433 -0
- package/dist/chunk-NSSNYY6Y.js +58 -0
- package/dist/chunk-NY5NUFDZ.js +117 -0
- package/dist/chunk-O3S2KNIW.js +25 -0
- package/dist/chunk-O3VN6BTL.js +24 -0
- package/dist/chunk-ONZLC47B.js +88 -0
- package/dist/chunk-OQEBOVUO.js +30 -0
- package/dist/chunk-OUEGGWH7.js +24 -0
- package/dist/chunk-OURX73UJ.js +728 -0
- package/dist/chunk-P25VEGGX.js +24 -0
- package/dist/chunk-P26Z62UV.js +24 -0
- package/dist/chunk-P5RNWMZC.js +2984 -0
- package/dist/chunk-P6KZIZDV.js +987 -0
- package/dist/chunk-PEUSKIFV.js +168 -0
- package/dist/chunk-PFVTYFSL.js +24 -0
- package/dist/chunk-PWROWDZS.js +137 -0
- package/dist/chunk-Q3CV2JJ2.js +3650 -0
- package/dist/chunk-QBR6IKIX.js +50 -0
- package/dist/chunk-QGCEHR6S.js +13 -0
- package/dist/chunk-QHRE2M6V.js +26 -0
- package/dist/chunk-QKL7IY42.js +38 -0
- package/dist/chunk-QO6HEXIZ.js +272 -0
- package/dist/chunk-QOIVXZUF.js +24 -0
- package/dist/chunk-QPWRHDLZ.js +17 -0
- package/dist/chunk-QSXK6PJL.js +19 -0
- package/dist/chunk-QTZVVZ2A.js +54 -0
- package/dist/chunk-QWXWVPNE.js +18 -0
- package/dist/chunk-QY5ZKUWY.js +383 -0
- package/dist/chunk-QZAT46PP.js +95 -0
- package/dist/chunk-RA66JA3D.js +24 -0
- package/dist/chunk-REOPXBUR.js +600 -0
- package/dist/chunk-RGZGLKFB.js +648 -0
- package/dist/chunk-RL3NUWMY.js +3378 -0
- package/dist/chunk-RNOJSEES.js +16 -0
- package/dist/chunk-ROXO4R3J.js +16 -0
- package/dist/chunk-RPIW5T55.js +40 -0
- package/dist/chunk-RQ5DNYLG.js +10 -0
- package/dist/chunk-RZNYW7UP.js +133 -0
- package/dist/chunk-S32YYDIB.js +420 -0
- package/dist/chunk-S4QSJAGY.js +44 -0
- package/dist/chunk-S6UX7KB6.js +335 -0
- package/dist/chunk-SDSONLMZ.js +2546 -0
- package/dist/chunk-SGD3ZHID.js +250 -0
- package/dist/chunk-SKRSCTT5.js +28 -0
- package/dist/chunk-SMCDXUIO.js +24 -0
- package/dist/chunk-SPTPFY4S.js +528 -0
- package/dist/chunk-SREWFAAJ.js +90 -0
- package/dist/chunk-SS42FJVN.js +3875 -0
- package/dist/chunk-SVZDXFPX.js +891 -0
- package/dist/chunk-SZPTTNW7.js +16 -0
- package/dist/chunk-T3IGJARD.js +22 -0
- package/dist/chunk-TA3TFKYZ.js +86 -0
- package/dist/chunk-TBGUEF3M.js +939 -0
- package/dist/chunk-TGK6KUGN.js +331 -0
- package/dist/chunk-TJSND556.js +1783 -0
- package/dist/chunk-TKOJZQAJ.js +24 -0
- package/dist/chunk-TM4OC53S.js +97 -0
- package/dist/chunk-TNEHPP3H.js +18 -0
- package/dist/chunk-TWOREVKJ.js +1760 -0
- package/dist/chunk-TXS3U77A.js +60 -0
- package/dist/chunk-UB6ODJHO.js +134 -0
- package/dist/chunk-UBZXQIDR.js +24 -0
- package/dist/chunk-ULTSSIOU.js +38 -0
- package/dist/chunk-UMDEWWXT.js +33 -0
- package/dist/chunk-V6O6KVOA.js +347 -0
- package/dist/chunk-VABRPZVC.js +43 -0
- package/dist/chunk-VDAKTZQP.js +18 -0
- package/dist/chunk-VDAZPGR2.js +79 -0
- package/dist/chunk-VERLFNWR.js +25 -0
- package/dist/chunk-VH2UUU7K.js +24 -0
- package/dist/chunk-VJ3FCGQF.js +12 -0
- package/dist/chunk-VK5ZDV67.js +47 -0
- package/dist/chunk-VKQNDOAI.js +40 -0
- package/dist/chunk-VTEV3WVF.js +690 -0
- package/dist/chunk-VXZFQKBJ.js +21 -0
- package/dist/chunk-WI5ITCOH.js +22 -0
- package/dist/chunk-WLZ54FWG.js +120 -0
- package/dist/chunk-WYJEOMNY.js +31 -0
- package/dist/chunk-WZGJSQKN.js +29 -0
- package/dist/chunk-WZL4EEBS.js +11 -0
- package/dist/chunk-X4YNDLVA.js +54 -0
- package/dist/chunk-X6SUFTD7.js +17 -0
- package/dist/chunk-XB4KZ6WO.js +81 -0
- package/dist/chunk-XJI6SWFS.js +569 -0
- package/dist/chunk-XJP5DKIL.js +29 -0
- package/dist/chunk-XN4ARQ2W.js +47 -0
- package/dist/chunk-XN7MQO45.js +359 -0
- package/dist/chunk-XQCQZBGX.js +100 -0
- package/dist/chunk-XXOHXA3A.js +69 -0
- package/dist/chunk-XZOHR765.js +127 -0
- package/dist/chunk-YCNLQYTC.js +133 -0
- package/dist/chunk-YCRGWQBS.js +526 -0
- package/dist/chunk-YF2PYLC4.js +210 -0
- package/dist/chunk-YG5GUELW.js +935 -0
- package/dist/chunk-YS6KMYM4.js +91 -0
- package/dist/chunk-YWP7XFKD.js +12 -0
- package/dist/chunk-Z2MGTKDR.js +20 -0
- package/dist/chunk-Z6CL7AR6.js +24 -0
- package/dist/chunk-Z7X3RGGA.js +22 -0
- package/dist/chunk-ZF43WRG3.js +29 -0
- package/dist/chunk-ZMF7WEGG.js +60 -0
- package/dist/chunk-ZNHFLJSY.js +375 -0
- package/dist/chunk-ZQ4VFQID.js +76 -0
- package/dist/chunk-ZQF34VPS.js +72 -0
- package/dist/chunk-ZU425HNM.js +24 -0
- package/dist/chunk-ZZU5R5UU.js +24 -0
- package/dist/cli/index.js +9 -0
- package/dist/core-3VCCUFVX.js +32 -0
- package/dist/core-4BZQQSHS.js +33 -0
- package/dist/core-4VT4MHNB.js +38 -0
- package/dist/core-5535KXRD.js +40 -0
- package/dist/core-5HQBPCHL.js +35 -0
- package/dist/core-6RYHWUJO.js +35 -0
- package/dist/core-7BZJCIXN.js +35 -0
- package/dist/core-AJTVU6X7.js +37 -0
- package/dist/core-C6YUSTZI.js +57 -0
- package/dist/core-EEB7HTCL.js +33 -0
- package/dist/core-EFMVDWNH.js +38 -0
- package/dist/core-ETAGQBZO.js +34 -0
- package/dist/core-FVR3WZEC.js +36 -0
- package/dist/core-GCTFVYMH.js +29 -0
- package/dist/core-GES44OTS.js +33 -0
- package/dist/core-GGQREDSI.js +47 -0
- package/dist/core-HRYOV6QD.js +38 -0
- package/dist/core-IKD3EE3S.js +38 -0
- package/dist/core-JM4R426L.js +32 -0
- package/dist/core-KKQS3WI2.js +40 -0
- package/dist/core-LA6XDYG7.js +40 -0
- package/dist/core-MJ7JWQT5.js +37 -0
- package/dist/core-MLROKJ2M.js +53 -0
- package/dist/core-MR52YBRX.js +31 -0
- package/dist/core-NP4VHWXL.js +29 -0
- package/dist/core-NQLNZDX5.js +41 -0
- package/dist/core-NSIJEKLI.js +44 -0
- package/dist/core-OJUQLIQ5.js +35 -0
- package/dist/core-PB3VUQSS.js +32 -0
- package/dist/core-Q6VLFFYC.js +56 -0
- package/dist/core-QY7AVIKZ.js +51 -0
- package/dist/core-SBQMHWTA.js +52 -0
- package/dist/core-UHECQHJ2.js +38 -0
- package/dist/core-V5FV4NWL.js +56 -0
- package/dist/core-WGM4XUN3.js +58 -0
- package/dist/core-WUQVFARS.js +34 -0
- package/dist/core-Z2F3IGSR.js +42 -0
- package/dist/dataTable-3CPPIHB3.js +58 -0
- package/dist/engine-FXFBCWHB.js +961 -0
- package/dist/fixtures.d.ts +1 -0
- package/dist/fixtures.js +41 -0
- package/dist/fontTables-WYCZNRE7.js +18 -0
- package/dist/fonts.d.ts +1 -0
- package/dist/fonts.js +19 -0
- package/dist/geo/dach.d.ts +1 -0
- package/dist/geo/dach.js +14 -0
- package/dist/geo/de-states.d.ts +1 -0
- package/dist/geo/de-states.js +14 -0
- package/dist/geo/eu27.d.ts +1 -0
- package/dist/geo/eu27.js +14 -0
- package/dist/geo/europe.d.ts +1 -0
- package/dist/geo/europe.js +14 -0
- package/dist/geo/index.d.ts +1 -0
- package/dist/geo/index.js +41 -0
- package/dist/geo/us-states.d.ts +1 -0
- package/dist/geo/us-states.js +14 -0
- package/dist/geo/world.d.ts +1 -0
- package/dist/geo/world.js +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +364 -0
- package/dist/main-YLKBTHJP.js +569 -0
- package/dist/mcp/server.js +1025 -0
- package/dist/module-SVEW5ZUE.js +137233 -0
- package/dist/react/bar.d.ts +1 -0
- package/dist/react/bar.js +81 -0
- package/dist/react/bartable.d.ts +1 -0
- package/dist/react/bartable.js +70 -0
- package/dist/react/box.d.ts +1 -0
- package/dist/react/box.js +65 -0
- package/dist/react/bullet.d.ts +1 -0
- package/dist/react/bullet.js +72 -0
- package/dist/react/butterfly.d.ts +1 -0
- package/dist/react/butterfly.js +66 -0
- package/dist/react/choropleth.d.ts +1 -0
- package/dist/react/choropleth.js +67 -0
- package/dist/react/cohort.d.ts +1 -0
- package/dist/react/cohort.js +70 -0
- package/dist/react/column.d.ts +1 -0
- package/dist/react/column.js +86 -0
- package/dist/react/combo.d.ts +1 -0
- package/dist/react/combo.js +86 -0
- package/dist/react/creative.d.ts +1 -0
- package/dist/react/creative.js +61 -0
- package/dist/react/diagram.d.ts +1 -0
- package/dist/react/diagram.js +60 -0
- package/dist/react/dimswitch.d.ts +1 -0
- package/dist/react/dimswitch.js +72 -0
- package/dist/react/dot.d.ts +1 -0
- package/dist/react/dot.js +70 -0
- package/dist/react/export.d.ts +1 -0
- package/dist/react/export.js +658 -0
- package/dist/react/funnel.d.ts +1 -0
- package/dist/react/funnel.js +63 -0
- package/dist/react/gantt.d.ts +1 -0
- package/dist/react/gantt.js +62 -0
- package/dist/react/grid.d.ts +1 -0
- package/dist/react/grid.js +67 -0
- package/dist/react/heatmap.d.ts +1 -0
- package/dist/react/heatmap.js +68 -0
- package/dist/react/histogram.d.ts +1 -0
- package/dist/react/histogram.js +86 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +504 -0
- package/dist/react/kpi.d.ts +1 -0
- package/dist/react/kpi.js +67 -0
- package/dist/react/likert.d.ts +1 -0
- package/dist/react/likert.js +83 -0
- package/dist/react/line.d.ts +1 -0
- package/dist/react/line.js +81 -0
- package/dist/react/mekko.d.ts +1 -0
- package/dist/react/mekko.js +71 -0
- package/dist/react/pareto.d.ts +1 -0
- package/dist/react/pareto.js +90 -0
- package/dist/react/pie.d.ts +1 -0
- package/dist/react/pie.js +64 -0
- package/dist/react/prepare.d.ts +1 -0
- package/dist/react/prepare.js +278 -0
- package/dist/react/pvm.d.ts +1 -0
- package/dist/react/pvm.js +68 -0
- package/dist/react/pyramid.d.ts +1 -0
- package/dist/react/pyramid.js +67 -0
- package/dist/react/sankey.d.ts +1 -0
- package/dist/react/sankey.js +59 -0
- package/dist/react/scatter.d.ts +1 -0
- package/dist/react/scatter.js +63 -0
- package/dist/react/slope.d.ts +1 -0
- package/dist/react/slope.js +64 -0
- package/dist/react/sparkline.d.ts +1 -0
- package/dist/react/sparkline.js +59 -0
- package/dist/react/spec.d.ts +1 -0
- package/dist/react/spec.js +379 -0
- package/dist/react/status.d.ts +1 -0
- package/dist/react/status.js +64 -0
- package/dist/react/story.d.ts +1 -0
- package/dist/react/story.js +140 -0
- package/dist/react/table.d.ts +1 -0
- package/dist/react/table.js +69 -0
- package/dist/react/theme.d.ts +1 -0
- package/dist/react/theme.js +53 -0
- package/dist/react/tilemap.d.ts +1 -0
- package/dist/react/tilemap.js +66 -0
- package/dist/react/treemap.d.ts +1 -0
- package/dist/react/treemap.js +61 -0
- package/dist/react/variance.d.ts +1 -0
- package/dist/react/variance.js +65 -0
- package/dist/react/waffle.d.ts +1 -0
- package/dist/react/waffle.js +62 -0
- package/dist/react/waterfall.d.ts +1 -0
- package/dist/react/waterfall.js +68 -0
- package/dist/resvg-ZOVDIZTV.js +23 -0
- package/dist/rows.d.ts +1 -0
- package/dist/rows.js +23 -0
- package/dist/rowsModule-YVLAROIP.js +27 -0
- package/dist/schema-2K6C3U24.js +23 -0
- package/dist/schema-2KIHLTYI.js +23 -0
- package/dist/schema-4HY2MWZC.js +30 -0
- package/dist/schema-4S5CXHAO.js +24 -0
- package/dist/schema-5BKQV56C.js +27 -0
- package/dist/schema-5HA5DSYN.js +24 -0
- package/dist/schema-5NKJPSBD.js +23 -0
- package/dist/schema-65FOKNHK.js +43 -0
- package/dist/schema-6OHZWHUI.js +23 -0
- package/dist/schema-6RYJS2GM.js +24 -0
- package/dist/schema-6W4M3WJ4.js +23 -0
- package/dist/schema-7TLSFG6M.js +24 -0
- package/dist/schema-AMFRKUFS.js +27 -0
- package/dist/schema-B7CZPPB4.js +28 -0
- package/dist/schema-BNRNHGHQ.js +26 -0
- package/dist/schema-E4MRCGPZ.js +24 -0
- package/dist/schema-F3WYTR65.js +26 -0
- package/dist/schema-FA6XIHTW.js +23 -0
- package/dist/schema-GZNOW4LX.js +23 -0
- package/dist/schema-HEIDGCSL.js +23 -0
- package/dist/schema-JB2H6KPA.js +23 -0
- package/dist/schema-MPXZNWV3.js +23 -0
- package/dist/schema-NHNQK6XO.js +23 -0
- package/dist/schema-NN6UPDPW.js +23 -0
- package/dist/schema-O4YNAGIY.js +23 -0
- package/dist/schema-O7AKK232.js +29 -0
- package/dist/schema-OJCML6LV.js +24 -0
- package/dist/schema-ORTRMYI6.js +24 -0
- package/dist/schema-PJ6P52BC.js +23 -0
- package/dist/schema-RTWES6NR.js +24 -0
- package/dist/schema-S36SRYGO.js +24 -0
- package/dist/schema-S3TCLTYD.js +23 -0
- package/dist/schema-SWWMOLOR.js +54 -0
- package/dist/schema-WOSEZNKG.js +26 -0
- package/dist/schema-Y6KBWUUR.js +23 -0
- package/dist/schema-YQYTLKSW.js +23 -0
- package/dist/schema-ZUUUY3QS.js +33 -0
- package/dist/specValidation-VNWIKLHH.js +49 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +24 -0
- package/dist/themeShapeRules-2D3KWSPQ.js +11 -0
- package/dist/types/core/a11y/accessibility.d.ts +43 -0
- package/dist/types/core/a11y/recordsShared.d.ts +44 -0
- package/dist/types/core/a11y/structuralRecords.d.ts +6 -0
- package/dist/types/core/a11y/types.d.ts +116 -0
- package/dist/types/core/annotate.d.ts +300 -0
- package/dist/types/core/annotateArms.d.ts +37 -0
- package/dist/types/core/annotateFields.d.ts +30 -0
- package/dist/types/core/annotateGapBracket.d.ts +66 -0
- package/dist/types/core/annotateLinks.d.ts +47 -0
- package/dist/types/core/annotateTargets.d.ts +90 -0
- package/dist/types/core/axis.d.ts +179 -0
- package/dist/types/core/bandSelect.d.ts +10 -0
- package/dist/types/core/bands.d.ts +14 -0
- package/dist/types/core/calendarLabels.d.ts +101 -0
- package/dist/types/core/charts/band/stacks.d.ts +155 -0
- package/dist/types/core/charts/bar/fixtures.d.ts +9 -0
- package/dist/types/core/charts/bar/layout.d.ts +95 -0
- package/dist/types/core/charts/bartable/fixtures.d.ts +4 -0
- package/dist/types/core/charts/bartable/types.d.ts +192 -0
- package/dist/types/core/charts/box/fixtures.d.ts +12 -0
- package/dist/types/core/charts/box/types.d.ts +110 -0
- package/dist/types/core/charts/bullet/fixtures.d.ts +11 -0
- package/dist/types/core/charts/butterfly/fixtures.d.ts +9 -0
- package/dist/types/core/charts/choropleth/fixtures.d.ts +3 -0
- package/dist/types/core/charts/choropleth/overlayTypes.d.ts +68 -0
- package/dist/types/core/charts/choropleth/types.d.ts +117 -0
- package/dist/types/core/charts/cohort/fixtures.d.ts +12 -0
- package/dist/types/core/charts/cohort/types.d.ts +165 -0
- package/dist/types/core/charts/column/anomaly.d.ts +204 -0
- package/dist/types/core/charts/column/fixtures.d.ts +12 -0
- package/dist/types/core/charts/column/layout.d.ts +116 -0
- package/dist/types/core/charts/column/model.d.ts +295 -0
- package/dist/types/core/charts/column/types.d.ts +56 -0
- package/dist/types/core/charts/combo/endpoints.d.ts +165 -0
- package/dist/types/core/charts/combo/fixtures.d.ts +12 -0
- package/dist/types/core/charts/combo/layout.d.ts +48 -0
- package/dist/types/core/charts/creative/fixtures.d.ts +4 -0
- package/dist/types/core/charts/creative/types.d.ts +73 -0
- package/dist/types/core/charts/diagram/fixtures.d.ts +3 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +20 -0
- package/dist/types/core/charts/dimswitch/fixtures.d.ts +3 -0
- package/dist/types/core/charts/dimswitch/types.d.ts +152 -0
- package/dist/types/core/charts/dot/fixtures.d.ts +11 -0
- package/dist/types/core/charts/funnel/fixtures.d.ts +11 -0
- package/dist/types/core/charts/gantt/fixtures.d.ts +9 -0
- package/dist/types/core/charts/gantt/layout.d.ts +63 -0
- package/dist/types/core/charts/grid/fixtures.d.ts +3 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +108 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +74 -0
- package/dist/types/core/charts/grid/normalize.d.ts +99 -0
- package/dist/types/core/charts/grid/schema.d.ts +168 -0
- package/dist/types/core/charts/heatmap/fixtures.d.ts +11 -0
- package/dist/types/core/charts/histogram/fixtures.d.ts +15 -0
- package/dist/types/core/charts/histogram/types.d.ts +98 -0
- package/dist/types/core/charts/kpi/fixtures.d.ts +9 -0
- package/dist/types/core/charts/likert/fixtures.d.ts +11 -0
- package/dist/types/core/charts/likert/layout.d.ts +111 -0
- package/dist/types/core/charts/line/fixtures.d.ts +16 -0
- package/dist/types/core/charts/line/types.d.ts +6 -0
- package/dist/types/core/charts/mekko/fixtures.d.ts +13 -0
- package/dist/types/core/charts/pareto/fixtures.d.ts +5 -0
- package/dist/types/core/charts/pareto/layout.d.ts +68 -0
- package/dist/types/core/charts/pie/fixtures.d.ts +14 -0
- package/dist/types/core/charts/pvm/fixtures.d.ts +13 -0
- package/dist/types/core/charts/pvm/types.d.ts +118 -0
- package/dist/types/core/charts/pyramid/fixtures.d.ts +4 -0
- package/dist/types/core/charts/pyramid/types.d.ts +92 -0
- package/dist/types/core/charts/sankey/fixtures.d.ts +4 -0
- package/dist/types/core/charts/sankey/types.d.ts +116 -0
- package/dist/types/core/charts/scatter/fixtures.d.ts +12 -0
- package/dist/types/core/charts/scatter/types.d.ts +58 -0
- package/dist/types/core/charts/slope/fixtures.d.ts +13 -0
- package/dist/types/core/charts/sparkline/fixtures.d.ts +9 -0
- package/dist/types/core/charts/status/fixtures.d.ts +8 -0
- package/dist/types/core/charts/status/layout.d.ts +71 -0
- package/dist/types/core/charts/table/fitFormats.d.ts +67 -0
- package/dist/types/core/charts/table/fixtures.d.ts +7 -0
- package/dist/types/core/charts/table/resolve.d.ts +72 -0
- package/dist/types/core/charts/table/view.d.ts +156 -0
- package/dist/types/core/charts/tilemap/fixtures.d.ts +3 -0
- package/dist/types/core/charts/tilemap/types.d.ts +94 -0
- package/dist/types/core/charts/treemap/fixtures.d.ts +4 -0
- package/dist/types/core/charts/treemap/types.d.ts +78 -0
- package/dist/types/core/charts/variance/fixtures.d.ts +12 -0
- package/dist/types/core/charts/waffle/fixtures.d.ts +5 -0
- package/dist/types/core/charts/waffle/types.d.ts +117 -0
- package/dist/types/core/charts/waterfall/fixtures.d.ts +9 -0
- package/dist/types/core/claims/browser.d.ts +49 -0
- package/dist/types/core/claims/manifest.d.ts +22 -0
- package/dist/types/core/dateFormat.d.ts +39 -0
- package/dist/types/core/deferred.d.ts +121 -0
- package/dist/types/core/diagnostics/describe.d.ts +149 -0
- package/dist/types/core/diagnostics/jsonPatch.d.ts +36 -0
- package/dist/types/core/doc/bareChart.d.ts +2 -0
- package/dist/types/core/doc/diagnostics.d.ts +124 -0
- package/dist/types/core/doc/docExpand.d.ts +39 -0
- package/dist/types/core/doc/document.d.ts +43 -0
- package/dist/types/core/doc/ownedDocumentCopy.d.ts +5 -0
- package/dist/types/core/doc/specError.d.ts +6 -0
- package/dist/types/core/emptyData.d.ts +27 -0
- package/dist/types/core/eventLane.d.ts +208 -0
- package/dist/types/core/fontMetrics/index.d.ts +47 -0
- package/dist/types/core/fontMetrics/injected.d.ts +40 -0
- package/dist/types/core/fontMetrics/tableDocument.d.ts +73 -0
- package/dist/types/core/fontMetrics/tables.generated.d.ts +17 -0
- package/dist/types/core/footer.d.ts +59 -0
- package/dist/types/core/format.d.ts +149 -0
- package/dist/types/core/formatPrecision.d.ts +136 -0
- package/dist/types/core/formatSpec.d.ts +304 -0
- package/dist/types/core/frame.d.ts +583 -0
- package/dist/types/core/geo/packs/all.d.ts +7 -0
- package/dist/types/core/geo/packs/dach.d.ts +16 -0
- package/dist/types/core/geo/packs/de-states.d.ts +16 -0
- package/dist/types/core/geo/packs/eu27.d.ts +16 -0
- package/dist/types/core/geo/packs/europe.d.ts +16 -0
- package/dist/types/core/geo/packs/index.d.ts +22 -0
- package/dist/types/core/geo/packs/registry.d.ts +37 -0
- package/dist/types/core/geo/packs/us-states.d.ts +16 -0
- package/dist/types/core/geo/packs/world.d.ts +16 -0
- package/dist/types/core/geo/tiles/eu27.generated.d.ts +412 -0
- package/dist/types/core/geo/tiles/europe.generated.d.ts +842 -0
- package/dist/types/core/geo/tiles/index.d.ts +8 -0
- package/dist/types/core/geo/tiles/types.d.ts +36 -0
- package/dist/types/core/geo/tiles/us-states.generated.d.ts +952 -0
- package/dist/types/core/geo/tiles/world.generated.d.ts +968 -0
- package/dist/types/core/geo/types.d.ts +146 -0
- package/dist/types/core/geometry.d.ts +102 -0
- package/dist/types/core/grid/sharedScale.d.ts +82 -0
- package/dist/types/core/icons.d.ts +227 -0
- package/dist/types/core/inputError.d.ts +14 -0
- package/dist/types/core/isoDate.d.ts +2 -0
- package/dist/types/core/isoTime.d.ts +7 -0
- package/dist/types/core/label/categoryRow.d.ts +332 -0
- package/dist/types/core/label/occupied.d.ts +41 -0
- package/dist/types/core/label/ownership.d.ts +83 -0
- package/dist/types/core/label/solver.d.ts +384 -0
- package/dist/types/core/label/tickRow.d.ts +78 -0
- package/dist/types/core/live/types.d.ts +50 -0
- package/dist/types/core/normalize/shared.d.ts +56 -0
- package/dist/types/core/notes.d.ts +174 -0
- package/dist/types/core/othersShade.d.ts +9 -0
- package/dist/types/core/periodYears.d.ts +9 -0
- package/dist/types/core/polyline.d.ts +11 -0
- package/dist/types/core/rangeRules.d.ts +19 -0
- package/dist/types/core/ratioTier.d.ts +120 -0
- package/dist/types/core/readerStrings.d.ts +13 -0
- package/dist/types/core/reading.d.ts +120 -0
- package/dist/types/core/registry.d.ts +178 -0
- package/dist/types/core/repaintGeometry.d.ts +19 -0
- package/dist/types/core/request.d.ts +124 -0
- package/dist/types/core/rows.d.ts +47 -0
- package/dist/types/core/scale.d.ts +106 -0
- package/dist/types/core/schema/capability.d.ts +229 -0
- package/dist/types/core/schema/namedColumns.d.ts +45 -0
- package/dist/types/core/schema/reference.d.ts +31 -0
- package/dist/types/core/schema/refusals.d.ts +45 -0
- package/dist/types/core/schema/unknownKeys.d.ts +45 -0
- package/dist/types/core/seriesIdentity.d.ts +120 -0
- package/dist/types/core/shareRounding.d.ts +49 -0
- package/dist/types/core/sizing.d.ts +330 -0
- package/dist/types/core/staticFooter.d.ts +6 -0
- package/dist/types/core/story.d.ts +41 -0
- package/dist/types/core/structureCounts.d.ts +10 -0
- package/dist/types/core/svg/renderSvg.d.ts +51 -0
- package/dist/types/core/target.d.ts +89 -0
- package/dist/types/core/text.d.ts +113 -0
- package/dist/types/core/theme.d.ts +478 -0
- package/dist/types/core/themeFields.d.ts +11 -0
- package/dist/types/core/themeRules.d.ts +111 -0
- package/dist/types/core/themeShape.d.ts +87 -0
- package/dist/types/core/themeValidate.d.ts +15 -0
- package/dist/types/core/timeAxis.d.ts +106 -0
- package/dist/types/core/types/annotations.d.ts +227 -0
- package/dist/types/core/types/cell.d.ts +82 -0
- package/dist/types/core/types/data.d.ts +314 -0
- package/dist/types/core/types/diagram.d.ts +234 -0
- package/dist/types/core/types/index.d.ts +8 -0
- package/dist/types/core/types/options.d.ts +1583 -0
- package/dist/types/core/types/scene.d.ts +990 -0
- package/dist/types/core/types/sizing.d.ts +51 -0
- package/dist/types/core/types/table.d.ts +873 -0
- package/dist/types/core/types/theme.d.ts +806 -0
- package/dist/types/core/zoom.d.ts +106 -0
- package/dist/types/fixtures/index.d.ts +40 -0
- package/dist/types/fixtures/registry.d.ts +15 -0
- package/dist/types/fonts.d.ts +10 -0
- package/dist/types/index.d.ts +70 -0
- package/dist/types/react/BoardplotTheme.d.ts +9 -0
- package/dist/types/react/DimSwitchChart.d.ts +36 -0
- package/dist/types/react/ScaleGroup.d.ts +31 -0
- package/dist/types/react/SceneRenderer.d.ts +23 -0
- package/dist/types/react/SizePlaceholder.d.ts +51 -0
- package/dist/types/react/StoryFrame.d.ts +42 -0
- package/dist/types/react/TableChart.d.ts +220 -0
- package/dist/types/react/a11ySurface.d.ts +20 -0
- package/dist/types/react/barrelCharts.d.ts +1023 -0
- package/dist/types/react/charts/bar.d.ts +28 -0
- package/dist/types/react/charts/bartable.d.ts +27 -0
- package/dist/types/react/charts/box.d.ts +27 -0
- package/dist/types/react/charts/bullet.d.ts +28 -0
- package/dist/types/react/charts/butterfly.d.ts +28 -0
- package/dist/types/react/charts/choropleth.d.ts +27 -0
- package/dist/types/react/charts/cohort.d.ts +52 -0
- package/dist/types/react/charts/column.d.ts +27 -0
- package/dist/types/react/charts/combo.d.ts +7 -0
- package/dist/types/react/charts/creative.d.ts +27 -0
- package/dist/types/react/charts/diagram.d.ts +162 -0
- package/dist/types/react/charts/dimswitch.d.ts +6 -0
- package/dist/types/react/charts/dot.d.ts +28 -0
- package/dist/types/react/charts/funnel.d.ts +28 -0
- package/dist/types/react/charts/gantt.d.ts +28 -0
- package/dist/types/react/charts/grid.d.ts +29 -0
- package/dist/types/react/charts/heatmap.d.ts +28 -0
- package/dist/types/react/charts/histogram.d.ts +27 -0
- package/dist/types/react/charts/kpi.d.ts +28 -0
- package/dist/types/react/charts/likert.d.ts +27 -0
- package/dist/types/react/charts/line.d.ts +28 -0
- package/dist/types/react/charts/mekko.d.ts +28 -0
- package/dist/types/react/charts/pareto.d.ts +28 -0
- package/dist/types/react/charts/pie.d.ts +28 -0
- package/dist/types/react/charts/pvm.d.ts +27 -0
- package/dist/types/react/charts/pyramid.d.ts +27 -0
- package/dist/types/react/charts/sankey.d.ts +27 -0
- package/dist/types/react/charts/scatter.d.ts +28 -0
- package/dist/types/react/charts/slope.d.ts +28 -0
- package/dist/types/react/charts/sparkline.d.ts +28 -0
- package/dist/types/react/charts/status.d.ts +27 -0
- package/dist/types/react/charts/table.d.ts +6 -0
- package/dist/types/react/charts/tilemap.d.ts +27 -0
- package/dist/types/react/charts/treemap.d.ts +27 -0
- package/dist/types/react/charts/variance.d.ts +28 -0
- package/dist/types/react/charts/waffle.d.ts +28 -0
- package/dist/types/react/charts/waterfall.d.ts +28 -0
- package/dist/types/react/createChartComponent.d.ts +135 -0
- package/dist/types/react/export/clipboard.d.ts +8 -0
- package/dist/types/react/export/csv.d.ts +2 -0
- package/dist/types/react/export/frame.d.ts +35 -0
- package/dist/types/react/export/index.d.ts +7 -0
- package/dist/types/react/export/png.d.ts +14 -0
- package/dist/types/react/export/svg.d.ts +5 -0
- package/dist/types/react/export/types.d.ts +69 -0
- package/dist/types/react/export/useExport.d.ts +17 -0
- package/dist/types/react/exportLink.d.ts +49 -0
- package/dist/types/react/footerFrame.d.ts +25 -0
- package/dist/types/react/hover/dataTable.d.ts +13 -0
- package/dist/types/react/hover/engine.d.ts +210 -0
- package/dist/types/react/hover/keyboard.d.ts +44 -0
- package/dist/types/react/hover/labelCard.d.ts +170 -0
- package/dist/types/react/hover/placement.d.ts +49 -0
- package/dist/types/react/index.d.ts +16 -0
- package/dist/types/react/parseChartSpec.d.ts +16 -0
- package/dist/types/react/prepare.d.ts +32 -0
- package/dist/types/react/prepared.d.ts +53 -0
- package/dist/types/react/preparedTable.d.ts +15 -0
- package/dist/types/react/rowsInput.d.ts +55 -0
- package/dist/types/react/rowsModule.d.ts +18 -0
- package/dist/types/react/rowsStore.d.ts +50 -0
- package/dist/types/react/scale-group.d.ts +2 -0
- package/dist/types/react/scaleGroupContext.d.ts +22 -0
- package/dist/types/react/scenePaint.d.ts +10 -0
- package/dist/types/react/scrollState.d.ts +26 -0
- package/dist/types/react/spec.d.ts +82 -0
- package/dist/types/react/specValidation.d.ts +45 -0
- package/dist/types/react/story.d.ts +15 -0
- package/dist/types/react/theme.d.ts +9 -0
- package/dist/types/react/themeContext.d.ts +44 -0
- package/dist/types/react/useChartLayout.d.ts +22 -0
- package/dist/types/react/useContainerSize.d.ts +57 -0
- package/dist/types/react/useHover.d.ts +100 -0
- package/dist/types/react/useZoom.d.ts +50 -0
- package/dist/types/rows.d.ts +63 -0
- package/dist/types/tableLooks.d.ts +6 -0
- package/dist/types/theme.d.ts +3 -0
- package/dist/types/validate.d.ts +3 -0
- package/dist/validate.d.ts +1 -0
- package/dist/validate.js +223 -0
- package/docs/FONTS.md +68 -0
- package/docs/TELEMETRY.md +94 -0
- package/docs/manual.md +850 -0
- package/docs/reference/bar.md +222 -0
- package/docs/reference/bartable.md +143 -0
- package/docs/reference/box.md +93 -0
- package/docs/reference/bullet.md +118 -0
- package/docs/reference/butterfly.md +117 -0
- package/docs/reference/choropleth.md +148 -0
- package/docs/reference/cohort.md +149 -0
- package/docs/reference/column.md +275 -0
- package/docs/reference/combo.md +219 -0
- package/docs/reference/creative.md +147 -0
- package/docs/reference/diagram.md +191 -0
- package/docs/reference/dimswitch.md +1395 -0
- package/docs/reference/dot.md +117 -0
- package/docs/reference/fixtures.md +1089 -0
- package/docs/reference/funnel.md +121 -0
- package/docs/reference/gantt.md +138 -0
- package/docs/reference/grid.md +302 -0
- package/docs/reference/heatmap.md +127 -0
- package/docs/reference/histogram.md +77 -0
- package/docs/reference/kpi.md +115 -0
- package/docs/reference/likert.md +113 -0
- package/docs/reference/line.md +436 -0
- package/docs/reference/mekko.md +114 -0
- package/docs/reference/options.md +313 -0
- package/docs/reference/pareto.md +102 -0
- package/docs/reference/pie.md +114 -0
- package/docs/reference/pvm.md +114 -0
- package/docs/reference/pyramid.md +99 -0
- package/docs/reference/react.md +706 -0
- package/docs/reference/reading.md +28 -0
- package/docs/reference/sankey.md +110 -0
- package/docs/reference/scatter.md +211 -0
- package/docs/reference/slope.md +126 -0
- package/docs/reference/sparkline.md +74 -0
- package/docs/reference/status.md +107 -0
- package/docs/reference/table.md +673 -0
- package/docs/reference/theme.md +361 -0
- package/docs/reference/tilemap.md +121 -0
- package/docs/reference/treemap.md +86 -0
- package/docs/reference/variance.md +126 -0
- package/docs/reference/waffle.md +106 -0
- package/docs/reference/waterfall.md +164 -0
- package/llms.txt +57 -0
- package/package.json +437 -4
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export declare const MAX_FORMAT_DECIMALS = 20;
|
|
2
|
+
/** Lift a label set together when different values round to the same text. */
|
|
3
|
+
export declare function distinctDecimalLift(entries: readonly {
|
|
4
|
+
value: number;
|
|
5
|
+
format: (extra: number) => string;
|
|
6
|
+
}[]): number;
|
|
7
|
+
export declare function checkedDecimals(value: number): number;
|
|
8
|
+
/**
|
|
9
|
+
* Round a non-negative number to `decimals` places the way a reader rounds:
|
|
10
|
+
* half away from zero on the DECIMAL digits. `toFixed` rounds the binary
|
|
11
|
+
* value, so 1.005 becomes "1.00" and 2.675 becomes "2.67" while the default
|
|
12
|
+
* formatter (Intl) prints 1.01 and 2.68 for the same inputs. Both engines
|
|
13
|
+
* share this one path. Numbers already in exponent form fall back to
|
|
14
|
+
* toFixed, where the decimal trick cannot be applied.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Business default for an unformatted value: whole numbers and anything at
|
|
18
|
+
* or above 100 print with no decimals; a small non-integer keeps one, so a
|
|
19
|
+
* 0.4 sliver never prints as "0". One rule, shared by every chart.
|
|
20
|
+
*/
|
|
21
|
+
export declare function autoDecimals(value: number): number;
|
|
22
|
+
/** The most decimals an automatic format prints, anywhere. */
|
|
23
|
+
export declare const AUTO_MAX_DECIMALS = 4;
|
|
24
|
+
/**
|
|
25
|
+
* The automatic precision of a column or series whose values are all below
|
|
26
|
+
* 1: the typical value is the LARGEST absolute value (as decimalCap reads
|
|
27
|
+
* it), and it keeps two significant digits: 0.0341 takes three decimals, so
|
|
28
|
+
* 0.0123 and 0.0051 print 0.012 and 0.005. No more decimals than the values
|
|
29
|
+
* carry (0.5 stays 0.5) and at most AUTO_MAX_DECIMALS. A smaller value
|
|
30
|
+
* prints its bound ("<0.001"). 0 when the largest value is 1 or more: the
|
|
31
|
+
* caller's own rule for larger values stands.
|
|
32
|
+
*/
|
|
33
|
+
export declare function typicalDecimals(values: Iterable<number>): number;
|
|
34
|
+
/**
|
|
35
|
+
* How an automatic format prints a nonzero value below its last shown digit
|
|
36
|
+
* (options.smallValues): 'bound' "<0.01" (default), 'zero' the format's own
|
|
37
|
+
* "0.00", 'scientific' "1.2 × 10⁻⁹". 'p-value' prints every value from 0 to
|
|
38
|
+
* 1 as APA 7 writes a p-value: three decimals, no leading zero, "<.001" below.
|
|
39
|
+
*/
|
|
40
|
+
export type SmallValues = 'bound' | 'zero' | 'scientific' | 'p-value';
|
|
41
|
+
/** The decimals of an APA p-value. */
|
|
42
|
+
export declare const P_VALUE_DECIMALS = 3;
|
|
43
|
+
/** True where an automatic value prints as an APA p-value (options.smallValues 'p-value'): from 0 to 1 only. */
|
|
44
|
+
export declare function printsPValue(value: number): boolean;
|
|
45
|
+
/** APA 7 drops the leading zero of a value that cannot exceed 1: "0.042" prints ".042", "<0.001" "<.001". */
|
|
46
|
+
export declare function withoutLeadingZero(text: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* How an automatic value that prints as 0 at `decimals` prints instead. At
|
|
49
|
+
* the AUTO_MAX_DECIMALS floor the bound gives way to scientific form: a
|
|
50
|
+
* series of values near 1e-13 would otherwise print "<0.0001" on every
|
|
51
|
+
* label and tick.
|
|
52
|
+
*/
|
|
53
|
+
export declare function belowPrecision(decimals: number): SmallValues;
|
|
54
|
+
/** The options.smallValues mode in force: a part of every cache key that keeps formatted text across layouts. */
|
|
55
|
+
export declare function currentSmallValues(): SmallValues;
|
|
56
|
+
/**
|
|
57
|
+
* Run one chart layout under its smallValues mode; undefined keeps the
|
|
58
|
+
* enclosing mode, so a grid panel follows its grid.
|
|
59
|
+
* Limit: module state for a synchronous layout, as withLayoutMemo; a formatter argument if layouts ever interleave.
|
|
60
|
+
*/
|
|
61
|
+
export declare function withSmallValues<T>(mode: SmallValues | undefined, run: () => T): T;
|
|
62
|
+
/**
|
|
63
|
+
* A nonzero value in scientific form, two significant digits and a power of
|
|
64
|
+
* ten as ISO 80000-1 and the SI Brochure write it: "1.2 × 10⁻⁹". `mantissa`
|
|
65
|
+
* prints the one-decimal mantissa with the format's marks.
|
|
66
|
+
*/
|
|
67
|
+
export declare function scientificText(abs: number, mantissa: (value: number) => string): string;
|
|
68
|
+
/** The two-significant-digit mantissa and the power of ten scientificText prints. */
|
|
69
|
+
export declare function scientificParts(abs: number): {
|
|
70
|
+
digits: number;
|
|
71
|
+
exponent: number;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Share precision for a computed share in percent points (stacked100, pie,
|
|
75
|
+
* mekko, stacked100-area): one decimal below 10 % and none from 10 % up, so a
|
|
76
|
+
* 0.4 % share never reads "0%". The magnitude-unit twin is
|
|
77
|
+
* NumberFormatSpec.wholeFrom.
|
|
78
|
+
*/
|
|
79
|
+
export declare function shareDecimals(percent: number): number;
|
|
80
|
+
/**
|
|
81
|
+
* One precision for the shares of one whole ("8 % beside 92 %", never
|
|
82
|
+
* "8.4 % beside 92 %"): whole percents, one decimal more for as long as a
|
|
83
|
+
* nonzero share would print as 0. For the lanes that print shares of one
|
|
84
|
+
* whole side by side (pie, mekko, stacked100).
|
|
85
|
+
*/
|
|
86
|
+
export declare function shareSetDecimals(percents: Iterable<number>): number;
|
|
87
|
+
/**
|
|
88
|
+
* `decimals`, raised for as long as a nonzero `value` would print as 0:
|
|
89
|
+
* 0.004 at two decimals takes three and prints "0.004". The one lift every
|
|
90
|
+
* reading that must not print a nonzero value as zero goes through.
|
|
91
|
+
*/
|
|
92
|
+
export declare function nonzeroDecimals(value: number, decimals: number): number;
|
|
93
|
+
/**
|
|
94
|
+
* Lifts made so far. A table layout reads it before and after one resolve:
|
|
95
|
+
* only a resolve that lifted lays out again to check the lift costs no width.
|
|
96
|
+
* Limit: a module counter, single-threaded; a returned flag if formatting ever runs concurrently.
|
|
97
|
+
*/
|
|
98
|
+
export declare const zeroLifts: {
|
|
99
|
+
count: number;
|
|
100
|
+
};
|
|
101
|
+
/** Keep normal rounding; lift only an automatic value that would print as zero. */
|
|
102
|
+
export declare function roundForDisplay(abs: number, decimals: number, automatic?: boolean): {
|
|
103
|
+
text: string;
|
|
104
|
+
decimals: number;
|
|
105
|
+
scientific?: true;
|
|
106
|
+
};
|
|
107
|
+
/** Preserve a nonzero source when division by a display magnitude underflows. */
|
|
108
|
+
export declare function underflowScientificText(value: number, divisor: number): string;
|
|
109
|
+
/**
|
|
110
|
+
* One precision for a set of values: the decimals the finest
|
|
111
|
+
* value needs, so 6 prints "6.0" beside "7.9" and never "6" beside it.
|
|
112
|
+
*/
|
|
113
|
+
export declare function valueSetDecimals(values: Iterable<number>): number;
|
|
114
|
+
/** The decimal places an authored number carries as written: 80.04 has 2, 1.5e-7 has 8, 1200 has 0. */
|
|
115
|
+
export declare function authoredDecimals(value: number): number;
|
|
116
|
+
export declare function roundHalfUp(abs: number, decimals: number): string;
|
|
117
|
+
export declare function checkedSignificantDigits(value: number): number;
|
|
118
|
+
/** Group an integer digit string with a thousands separator. Empty separator leaves digits untouched. */
|
|
119
|
+
export declare function groupInteger(intPart: string, thousandsSep: string): string;
|
|
120
|
+
/**
|
|
121
|
+
* Round a non-negative number to `sig` significant digits. Fraction digits
|
|
122
|
+
* are the ones a reader sees after the decimal; values that round into tens
|
|
123
|
+
* or hundreds keep zero fraction digits (1234 at 3 significant digits is 1230).
|
|
124
|
+
*/
|
|
125
|
+
export declare function roundSignificant(abs: number, sig: number): {
|
|
126
|
+
text: string;
|
|
127
|
+
decimals: number;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* True where `value` prints as zero at `decimals` places, rounded
|
|
131
|
+
* the way the formatters round. A value that rounds to zero at the precision
|
|
132
|
+
* it is shown at has no sign a reader can see, so it takes no judgment tone.
|
|
133
|
+
* The test reads the number, not the printed string: a digit in a unit affix
|
|
134
|
+
* ("0.0 CO2") does not hide the zero.
|
|
135
|
+
*/
|
|
136
|
+
export declare function roundsToZero(value: number, decimals: number): boolean;
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Format-by-example: users (and AI agents) supply an example like "$1.2M",
|
|
3
|
+
* "1.000,00", "(1,234)", "+20.5%", "EUR −1.234" — we infer the complete
|
|
4
|
+
* formatting spec from it. This avoids
|
|
5
|
+
* printf-style format strings entirely.
|
|
6
|
+
*/
|
|
7
|
+
import type { RenderTarget } from './types/options.js';
|
|
8
|
+
import type { LintWarning, PlacedLabel, SceneNode } from './types/scene.js';
|
|
9
|
+
/** A composing chart's generated example is still an automatic format. */
|
|
10
|
+
export declare const AUTOMATIC_FORMAT: unique symbol;
|
|
11
|
+
export type AutomaticFormatSource = {
|
|
12
|
+
[AUTOMATIC_FORMAT]?: true;
|
|
13
|
+
};
|
|
14
|
+
/** A composing chart's rows of one measure: they print in one magnitude, picked from their largest cell. */
|
|
15
|
+
export declare const MAGNITUDE_GROUP: unique symbol;
|
|
16
|
+
export type MagnitudeGroupSource = {
|
|
17
|
+
[MAGNITUDE_GROUP]?: string;
|
|
18
|
+
};
|
|
19
|
+
export interface NumberFormatSpec {
|
|
20
|
+
decimals: number;
|
|
21
|
+
/**
|
|
22
|
+
* Engine-selected format: a nonzero value must not print as zero. 'compact'
|
|
23
|
+
* prints such a value as its bound ("<0.1", ">−0.1") where the full digits cost width.
|
|
24
|
+
*/
|
|
25
|
+
automatic?: boolean | 'compact';
|
|
26
|
+
/** Locale for unauthored number formats; explicit examples keep their separators. */
|
|
27
|
+
locale?: string;
|
|
28
|
+
/** Maximum significant digits after magnitude scale. Overrides `decimals` when set. */
|
|
29
|
+
significantDigits?: number;
|
|
30
|
+
/** '' means no grouping. */
|
|
31
|
+
thousandsSep: '' | ',' | '.' | ' ' | "'";
|
|
32
|
+
decimalSep: '.' | ',';
|
|
33
|
+
magnitude: 'none' | 'k' | 'm' | 'bn' | 't';
|
|
34
|
+
/** Divisor applied before rendering (derived from magnitude). */
|
|
35
|
+
prefix: string;
|
|
36
|
+
suffix: string;
|
|
37
|
+
/** How negatives render. */
|
|
38
|
+
negative: 'minus' | 'parens';
|
|
39
|
+
/** Force '+' on positive values. */
|
|
40
|
+
signed: boolean;
|
|
41
|
+
/** Unit rule: values that round to at least this print without decimals. */
|
|
42
|
+
wholeFrom?: number;
|
|
43
|
+
/** A whole count prints without decimals beside fractional values of its raster (funnel counts: '1' beside '0.6'). */
|
|
44
|
+
wholeCounts?: boolean;
|
|
45
|
+
/** Unformatted currency on a new target: unscaled magnitudes of at least 1,000 print whole. */
|
|
46
|
+
currencyWhole?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Hold `magnitude` where it is instead of rolling it up at 1000.
|
|
49
|
+
* A table whose author forced one scale (`options.magnitude`) asked for
|
|
50
|
+
* exactly that: every derived money column in thousands, so the reader
|
|
51
|
+
* compares the numbers and not the letters after them. Parsing never sets
|
|
52
|
+
* this — only a caller who forced the scale does.
|
|
53
|
+
*/
|
|
54
|
+
lockMagnitude?: boolean;
|
|
55
|
+
/** A row chose its own scale and decimals; do not roll individual cells up. */
|
|
56
|
+
rollMagnitude?: false;
|
|
57
|
+
/**
|
|
58
|
+
* The engine chose `magnitude` from the largest value (no authored scale).
|
|
59
|
+
* A value below that magnitude prints at its own (k, or none): "20", not
|
|
60
|
+
* "0.00000002B" beside billions.
|
|
61
|
+
*/
|
|
62
|
+
autoMagnitude?: true;
|
|
63
|
+
/** The decimals every value under the engine scale shares at its own scale ("+0.50" beside "+0.04"). */
|
|
64
|
+
stepDecimals?: number;
|
|
65
|
+
/**
|
|
66
|
+
* The magnitude word as the example wrote it, with the space before it
|
|
67
|
+
* (" Mio.", "bn"): a value at that magnitude prints it. A value
|
|
68
|
+
* the formatter rolls to another magnitude prints that magnitude's local
|
|
69
|
+
* word (or letter for a letter example), so the word names the right scale.
|
|
70
|
+
*/
|
|
71
|
+
magnitudeWord?: {
|
|
72
|
+
magnitude: NumberFormatSpec['magnitude'];
|
|
73
|
+
text: string;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* A chart value formatter (exampleSpec) never prints a nonzero value as 0:
|
|
77
|
+
* a free scale rolls down its word family ("$1.0 billion", not "$0.0
|
|
78
|
+
* trillion"), a held scale lifts its decimals ("0.004k", not "0k"). A
|
|
79
|
+
* table names its scale in a head and lifts in fitFormats instead.
|
|
80
|
+
*/
|
|
81
|
+
nonzero?: true;
|
|
82
|
+
}
|
|
83
|
+
export declare function parseFormatExample(example: string, keepWord?: boolean): NumberFormatSpec;
|
|
84
|
+
/**
|
|
85
|
+
* Why `example` is not a format-by-example, with the example to write
|
|
86
|
+
* instead (the spreadsheet code's own grouping and decimals applied to
|
|
87
|
+
* 1234); undefined when it parses.
|
|
88
|
+
*/
|
|
89
|
+
export declare function formatExampleProblem(example: string): {
|
|
90
|
+
message: string;
|
|
91
|
+
replacement: string;
|
|
92
|
+
} | undefined;
|
|
93
|
+
export declare const MAGNITUDE_DIVISOR: Record<NumberFormatSpec['magnitude'], number>;
|
|
94
|
+
export declare const MAGNITUDE_LABEL: Record<NumberFormatSpec['magnitude'], string>;
|
|
95
|
+
/**
|
|
96
|
+
* Whether two unit strings name the same unit, ignoring case, spaces and the
|
|
97
|
+
* spelling of the magnitude: "$bn", "$ B" and "$b" are one unit, as are
|
|
98
|
+
* "€m", "€mn" and "€M". The formatters print one spelling (MAGNITUDE_SUFFIX),
|
|
99
|
+
* and an author may still write the others.
|
|
100
|
+
*/
|
|
101
|
+
export declare function sameUnit(a: string, b: string): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Whether two groups of values of one measure are in one scale: false when
|
|
104
|
+
* their medians are 1000 times or more apart. A spark given in
|
|
105
|
+
* millions beside a card in euros is a thousand-thousandfold off, and one
|
|
106
|
+
* format printed it as "€0.00B". A group with no finite value, or a median
|
|
107
|
+
* of zero, has no scale to compare, so it passes. A genuine difference below
|
|
108
|
+
* 1000x stays valid.
|
|
109
|
+
*/
|
|
110
|
+
export declare function sameScale(a: Iterable<number | null | undefined>, b: Iterable<number | null | undefined>): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* The unit a money format carries per cell ('€' + 'M' → '€M'), or null
|
|
113
|
+
* when there is nothing to hoist. Tables hoist this into the frame unit
|
|
114
|
+
* or the column header so cells show bare numbers (units once,
|
|
115
|
+
* not per cell). Percent suffixes stay in cells — signs are data.
|
|
116
|
+
*/
|
|
117
|
+
export declare function unitOfSpec(spec: NumberFormatSpec): string | null;
|
|
118
|
+
/** '%' is a level or a relative change. 'pp' is the difference of two percent levels. */
|
|
119
|
+
export declare function specUnitKind(spec: NumberFormatSpec): 'percent' | 'pp' | 'number';
|
|
120
|
+
/**
|
|
121
|
+
* A pinned magnitude ROLLS OVER at 1000 instead of printing four digits of
|
|
122
|
+
* itself: "$1000k" is a notation no reader should meet — the honest spelling
|
|
123
|
+
* is "$1.0M". The decision runs on the ROUNDED value, so 999.6k at zero
|
|
124
|
+
* decimals rolls too rather than rounding into "1000k" after the check.
|
|
125
|
+
* Rolled values below 10 keep one decimal ("$1.0M", not "$1M") so the scale
|
|
126
|
+
* continuity stays visible. formatWithSpec and roundedNumber MUST share this
|
|
127
|
+
* — a reader-facing 1.0M whose reconciliation number stayed 1,049,000 would
|
|
128
|
+
* fabricate a phantom gap (see roundedNumber's contract below).
|
|
129
|
+
*/
|
|
130
|
+
export declare function effectiveScale(value: number, spec: NumberFormatSpec): {
|
|
131
|
+
magnitude: NumberFormatSpec['magnitude'];
|
|
132
|
+
decimals: number;
|
|
133
|
+
};
|
|
134
|
+
/** The scale a spec without an authored word prints: the letter, or the local short form for B and T (magnitudeSuffix). */
|
|
135
|
+
export declare function magnitudeLabel(spec: NumberFormatSpec, magnitude: NumberFormatSpec['magnitude']): string;
|
|
136
|
+
export declare function formatWithSpec(value: number, spec: NumberFormatSpec): string;
|
|
137
|
+
/**
|
|
138
|
+
* The numeric value a reader SEES for `value` under `spec` — the exact same
|
|
139
|
+
* rounding path as formatWithSpec (toFixed on the magnitude-scaled abs,
|
|
140
|
+
* INCLUDING the 1000-rollover to the next magnitude). Reconciliation math
|
|
141
|
+
* must use THIS, never a reimplemented rounding: two rounding paths that
|
|
142
|
+
* disagree on one cell fabricate a phantom gap.
|
|
143
|
+
*/
|
|
144
|
+
export declare function roundedNumber(value: number, spec: NumberFormatSpec): number;
|
|
145
|
+
/**
|
|
146
|
+
* `spec` printed with the chart's marks (numberMarks.ts) when `locale` is a
|
|
147
|
+
* chart's marked tag; unchanged otherwise. For a spec parsed straight from an
|
|
148
|
+
* example.
|
|
149
|
+
*/
|
|
150
|
+
export declare function withChartMarks(spec: NumberFormatSpec, locale: string | undefined): NumberFormatSpec;
|
|
151
|
+
/**
|
|
152
|
+
* Marks under a chart locale (numberMarks.ts). Inside a chart the locale tag
|
|
153
|
+
* carries the chart's pair (locale.decimal and locale.thousands, default '.'
|
|
154
|
+
* and ','), which every number takes, authored or not. The example sets all
|
|
155
|
+
* else: the decimals, grouping on or off, prefix, suffix, magnitude word, sign
|
|
156
|
+
* and negative style. Outside a chart (no locale) the example's own marks stand.
|
|
157
|
+
*/
|
|
158
|
+
export declare function localized(spec: NumberFormatSpec, locale: string | undefined): NumberFormatSpec;
|
|
159
|
+
/**
|
|
160
|
+
* An authored example as every value formatter prints it: the
|
|
161
|
+
* authored magnitude word, the chart locale's separators, and the scale a
|
|
162
|
+
* unit states held at the example's own decimals ("$0.4k" and "$1000.0k"
|
|
163
|
+
* under "$k" for a "$1.2k" example, never "$1.0M").
|
|
164
|
+
*/
|
|
165
|
+
export declare function exampleSpec(example: string, locale?: string, unit?: string): NumberFormatSpec;
|
|
166
|
+
/** Parse an example and return a ready-to-use formatter. The chart locale is required (pass undefined for none), so no caller forgets it. */
|
|
167
|
+
export declare function formatterFromExample(example: string, locale: string | undefined, unit?: string): (value: number) => string;
|
|
168
|
+
/**
|
|
169
|
+
* An automatic format keeps its normal rounding and lifts only a zeroed value.
|
|
170
|
+
*/
|
|
171
|
+
export declare function formatNonzeroWithSpec(value: number, spec: NumberFormatSpec): string;
|
|
172
|
+
/**
|
|
173
|
+
* The derived-delta face of an example: '+' on a positive value, once, and
|
|
174
|
+
* no sign on a value that prints as zero. Prefixing '+' to the formatted
|
|
175
|
+
* text would print "++18.20" for a "+1.0" example and "+0" for 0.02.
|
|
176
|
+
*/
|
|
177
|
+
export declare function signedFormatterFromExample(example: string, locale: string | undefined, unit?: string): (value: number) => string;
|
|
178
|
+
/**
|
|
179
|
+
* The example a difference of two values prints with: the same, except that
|
|
180
|
+
* the difference of two percent levels is in percentage points.
|
|
181
|
+
*/
|
|
182
|
+
export declare function differenceExample(example: string): string;
|
|
183
|
+
/**
|
|
184
|
+
* The decimal cap for a set of scaled values: 2, lifted so that the largest
|
|
185
|
+
* magnitude keeps two significant digits, at most MAX_FORMAT_DECIMALS. At a
|
|
186
|
+
* flat cap of 2 an exhibit of values near 0.001 would print "0.00" on every label
|
|
187
|
+
* and tick. The largest value sets it, not the smallest: a tail that
|
|
188
|
+
* fades to 0.004 beside values of 25 still prints at the exhibit's precision
|
|
189
|
+
* and shares the zero label, instead of pushing "25.800" onto the rest.
|
|
190
|
+
*
|
|
191
|
+
* `authored` is the example's own decimal count, and lifts the cap too: an
|
|
192
|
+
* exchange rate under a "1.0000" example is a claim to four decimals, and the
|
|
193
|
+
* flat cap printed 1.0851 and 1.0853 as one "1.09". The example lifts only
|
|
194
|
+
* the cap, so "47.0" on an all-integer series still prints 47.
|
|
195
|
+
*/
|
|
196
|
+
export declare function decimalCap(scaled: Iterable<number>, authored?: number): number;
|
|
197
|
+
/**
|
|
198
|
+
* Decimals `value` actually needs to render exactly, capped (default 2).
|
|
199
|
+
* `scale` is the size below which a remainder counts as float noise: 1 for
|
|
200
|
+
* ordinary values, the exhibit's largest value when that is smaller, so a
|
|
201
|
+
* bridge of steps near 1e-13 is not read as whole numbers and printed as 0.
|
|
202
|
+
*
|
|
203
|
+
* A remainder under one part in 1e9 is float noise, unless the example's
|
|
204
|
+
* `authored` decimals reach that far: under a "1.0000000000" example the
|
|
205
|
+
* tenth decimal is a claim, and the fixed margin read 1.0000000001 as a
|
|
206
|
+
* whole 1.
|
|
207
|
+
*/
|
|
208
|
+
export declare function neededDecimals(value: number, cap?: number, scale?: number, authored?: number): number;
|
|
209
|
+
/**
|
|
210
|
+
* The one precision an exhibit's value labels share: the maximum any plotted
|
|
211
|
+
* value needs at the spec's display magnitude, capped at 2, at the example's
|
|
212
|
+
* own decimals, or at the decimals that keep the smallest value's two
|
|
213
|
+
* significant digits (decimalCap), whichever is most.
|
|
214
|
+
*
|
|
215
|
+
* Two kinds of value do not DEMAND decimals (they still render at whatever
|
|
216
|
+
* raster the others set, unless the unit rule prints them whole):
|
|
217
|
+
* - values at |scaled| ≥ 100 — their fractional digits sit below 0.1% of
|
|
218
|
+
* the value, relative information the exhibit does not owe the reader
|
|
219
|
+
* (a PVM bridge whose Laspeyres effects carry float cents must not force
|
|
220
|
+
* "65,980.00" onto every total; 52.2 beside 53 rightly forces "53.0").
|
|
221
|
+
* The example's own decimals are owed: under a "1.0000" example 100.0101
|
|
222
|
+
* and 100.0202 demand their four, where the flat exemption printed both
|
|
223
|
+
* as "100";
|
|
224
|
+
* - values that will roll to the next magnitude — effectiveScale gives
|
|
225
|
+
* them their own decimals.
|
|
226
|
+
*
|
|
227
|
+
* With no finite demanding values the example's own decimals stand.
|
|
228
|
+
*/
|
|
229
|
+
export declare function rasterDecimals(values: Iterable<number | null | undefined>, spec: NumberFormatSpec): number;
|
|
230
|
+
/**
|
|
231
|
+
* Derived statistics — means, medians, MADs, corridor bounds — are the
|
|
232
|
+
* exhibit's OWN claims, not plotted data: they render in the exhibit's style
|
|
233
|
+
* but never round to a DIFFERENT number than they are. Decimals lift at most
|
|
234
|
+
* ONE step past the raster — enough that an integer-rastered exhibit prints
|
|
235
|
+
* its mean as "27.5" and never "28", without escalating every irrational
|
|
236
|
+
* bound to full precision ("23.4", not "23.35").
|
|
237
|
+
*/
|
|
238
|
+
export declare function formatStatWithSpec(value: number, spec: NumberFormatSpec): string;
|
|
239
|
+
/** Trend rates choose their own magnitude and precision; they never use the small-value bound policy. */
|
|
240
|
+
export declare function trendRateFormatter(example: string | undefined, locale?: string, unit?: string, signed?: boolean): (rate: number) => string;
|
|
241
|
+
/** Style-only default for charts with no authored example: en-US grouping,
|
|
242
|
+
* point decimal, no unit — the exact face formatNumber's default shows. */
|
|
243
|
+
export declare function defaultFormatSpec(locale?: string): NumberFormatSpec;
|
|
244
|
+
/**
|
|
245
|
+
* The percent-cell formatter: precision rastered ONCE over the authored
|
|
246
|
+
* percent values, exactly as `seriesRasterFormatter` rasters the numeric
|
|
247
|
+
* scale group. A flat 0 decimals (1 below |1|) would flatten
|
|
248
|
+
* an authored 36.2 to "36%" while the title says 36.2 — the label would round
|
|
249
|
+
* to a DIFFERENT number than the doc states. Computed shares (pie, stacked100,
|
|
250
|
+
* stacked100-area) are derived values with their own integer face and do NOT come
|
|
251
|
+
* through here.
|
|
252
|
+
*/
|
|
253
|
+
export declare function percentRasterFormatter(values: Iterable<number | null | undefined>, locale?: string): (value: number) => string;
|
|
254
|
+
/**
|
|
255
|
+
* An authored format with no scale word prints a value of 1e6 or
|
|
256
|
+
* more in all its digits ("1310000000.0" under "1.1"), and one that prints a
|
|
257
|
+
* series' different values as one string hides them. The format stays the
|
|
258
|
+
* author's; this warns and offers a compact or finer example of the same style.
|
|
259
|
+
*/
|
|
260
|
+
export declare function unscaledFormatLint(options: Record<string, unknown> | undefined, data: unknown, geo?: {
|
|
261
|
+
labels?: readonly PlacedLabel[];
|
|
262
|
+
scene: readonly SceneNode[];
|
|
263
|
+
}): LintWarning[];
|
|
264
|
+
/**
|
|
265
|
+
* The exhibit-wide value formatter: an authored example sets style and
|
|
266
|
+
* precision. Without an example, plotted values set the precision. `fmtSigned` forces '+' on positives — the
|
|
267
|
+
* derived-delta face used by waterfall sums and diff/delta annotations.
|
|
268
|
+
* `unit` applies the unit rule; an authored example overrides it.
|
|
269
|
+
* `defaultExample` preserves a composing chart's existing default precision;
|
|
270
|
+
* it is not authored and therefore still permits the currency default.
|
|
271
|
+
*
|
|
272
|
+
* `forSeries` is the formatter for one series' value labels (a series
|
|
273
|
+
* format overrides). A series `format` example prints in its own style and
|
|
274
|
+
* precision, as a cell `format` does. A series `unit` applies the unit rule
|
|
275
|
+
* in place of the chart unit, on the exhibit raster. A series with neither
|
|
276
|
+
* prints with `fmt`. `shared` keeps one precision for every series: series
|
|
277
|
+
* that share a stack or a total read as one set.
|
|
278
|
+
*/
|
|
279
|
+
export declare function seriesRasterFormatter(example: string | undefined, values: Iterable<number | null | undefined>, locale?: string, unit?: string, target?: RenderTarget, defaultExample?: string, shared?: boolean): {
|
|
280
|
+
spec: NumberFormatSpec;
|
|
281
|
+
fmt: (value: number) => string;
|
|
282
|
+
fmtSigned: (value: number) => string;
|
|
283
|
+
/** An authored percent cell ({ pct }): the exhibit raster with '%', unless an example sets the style. */
|
|
284
|
+
fmtPercent: (value: number) => string;
|
|
285
|
+
/** The spec fmtPercent prints with, for a value axis whose ticks print what the percent cells print. */
|
|
286
|
+
percentSpec: NumberFormatSpec;
|
|
287
|
+
/** `values` gives the series' numbers where it is not a normalized series (`vals` or `cells`). */
|
|
288
|
+
forSeries: (series: {
|
|
289
|
+
format?: string;
|
|
290
|
+
unit?: string;
|
|
291
|
+
values?: readonly unknown[];
|
|
292
|
+
}, cellFormat?: string) => (value: number) => string;
|
|
293
|
+
/** True when the value prints as zero at its formatter's precision before the nonzero lift. */
|
|
294
|
+
roundsToZeroAt: (value: number, series?: {
|
|
295
|
+
format?: string;
|
|
296
|
+
unit?: string;
|
|
297
|
+
}, cellFormat?: string) => boolean;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* One formatter per example string for the life of a layout call: a layout
|
|
301
|
+
* that formats every value of a series by its example builds the formatter
|
|
302
|
+
* once instead of once per value.
|
|
303
|
+
*/
|
|
304
|
+
export declare function memoFormatterFromExample(locale?: string): (example: string, unit?: string) => ReturnType<typeof formatterFromExample>;
|