boardplot 0.0.0-stage → 0.52.5
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 +18 -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-VUNSFKZY.js +137 -0
- package/dist/annotateEngine-H7OW4H3W.js +30 -0
- package/dist/build-identity.json +6 -0
- package/dist/chunk-24WB3HMB.js +621 -0
- package/dist/chunk-263SZKIL.js +8 -0
- package/dist/chunk-27QQEWNV.js +18 -0
- package/dist/chunk-2AKWCMS4.js +24 -0
- package/dist/chunk-2DHJJ2EN.js +24 -0
- package/dist/chunk-2EQE4E3I.js +22 -0
- package/dist/chunk-2GELJH37.js +88 -0
- package/dist/chunk-2JAWQ7VV.js +3874 -0
- package/dist/chunk-2LMCD3ZR.js +6 -0
- package/dist/chunk-2MTWKMEG.js +841 -0
- package/dist/chunk-2SGIHKKU.js +33 -0
- package/dist/chunk-2UVTHU7A.js +1146 -0
- package/dist/chunk-33CBPK5Q.js +2800 -0
- package/dist/chunk-33PLBIMA.js +176 -0
- package/dist/chunk-35DZP2R2.js +22 -0
- package/dist/chunk-3D3D3D23.js +25 -0
- package/dist/chunk-3EZRM4YM.js +92 -0
- package/dist/chunk-3GZECHOK.js +802 -0
- package/dist/chunk-3HHNQPAH.js +68 -0
- package/dist/chunk-3I6RANBJ.js +1058 -0
- package/dist/chunk-3SIRPKMP.js +12 -0
- package/dist/chunk-3W23F7EY.js +185 -0
- package/dist/chunk-3XQ635KD.js +24 -0
- package/dist/chunk-3ZCKEANJ.js +24 -0
- package/dist/chunk-4DNOEV3Q.js +25857 -0
- package/dist/chunk-4GB7TBY7.js +373 -0
- package/dist/chunk-4SM2ONUC.js +18 -0
- package/dist/chunk-5C7TWNYZ.js +79 -0
- package/dist/chunk-5DJXJXDE.js +58 -0
- package/dist/chunk-5ENRZX6I.js +687 -0
- package/dist/chunk-5KWXRYAT.js +294 -0
- package/dist/chunk-5T5YW52S.js +47 -0
- package/dist/chunk-627P6T25.js +936 -0
- package/dist/chunk-62FR4FYJ.js +23 -0
- package/dist/chunk-6JUJ2DU3.js +67 -0
- package/dist/chunk-6KWIQ5KF.js +18 -0
- package/dist/chunk-6UBEGKIQ.js +25 -0
- package/dist/chunk-6XE3GVGU.js +116 -0
- package/dist/chunk-76ANFJOI.js +227 -0
- package/dist/chunk-7IFLQMJL.js +160 -0
- package/dist/chunk-7JVAQX6C.js +28 -0
- package/dist/chunk-7QDAHY5M.js +63 -0
- package/dist/chunk-7VXZDB45.js +149 -0
- package/dist/chunk-7X65ZQN4.js +38 -0
- package/dist/chunk-A2FHZH7E.js +1410 -0
- package/dist/chunk-A372DLQX.js +54 -0
- package/dist/chunk-A3ULWR5N.js +76 -0
- package/dist/chunk-A4QZXLXF.js +7 -0
- package/dist/chunk-A5JWFZVU.js +1467 -0
- package/dist/chunk-A5LZUYK4.js +59 -0
- package/dist/chunk-A6XCAQ52.js +89 -0
- package/dist/chunk-A7A4PDG5.js +24 -0
- package/dist/chunk-A7IEVBYI.js +35 -0
- package/dist/chunk-ACXX2JNL.js +6 -0
- package/dist/chunk-AFK47A6O.js +25 -0
- package/dist/chunk-ALKTNXMR.js +3650 -0
- package/dist/chunk-AOQ6VF5H.js +6 -0
- package/dist/chunk-ASAON7G4.js +648 -0
- package/dist/chunk-ATTE3FYC.js +24 -0
- package/dist/chunk-AZOUSKZD.js +728 -0
- package/dist/chunk-B2EBEXIS.js +113 -0
- package/dist/chunk-B67K5X4M.js +58 -0
- package/dist/chunk-BBL3R5YZ.js +186 -0
- package/dist/chunk-BIDIGDGH.js +6 -0
- package/dist/chunk-BKYMLFUG.js +69 -0
- package/dist/chunk-BLFWUMTD.js +12 -0
- package/dist/chunk-BM6SFFWF.js +6 -0
- package/dist/chunk-BUPLB3EX.js +129 -0
- package/dist/chunk-BVWU6GOB.js +47 -0
- package/dist/chunk-BW5VLBSZ.js +15 -0
- package/dist/chunk-C64FBRJO.js +290 -0
- package/dist/chunk-CAE2HK2G.js +295 -0
- package/dist/chunk-CCQNL33L.js +446 -0
- package/dist/chunk-CDZHNLO6.js +42 -0
- package/dist/chunk-COKHNEJP.js +24 -0
- package/dist/chunk-COYPDRJK.js +21 -0
- package/dist/chunk-CRZKGHZ6.js +1810 -0
- package/dist/chunk-CS4DHFNG.js +128 -0
- package/dist/chunk-CYDZP5W6.js +1589 -0
- package/dist/chunk-D4BIV6WG.js +1072 -0
- package/dist/chunk-D4SOADBD.js +19 -0
- package/dist/chunk-DCCJRLAJ.js +422 -0
- package/dist/chunk-DFKTS6XJ.js +75 -0
- package/dist/chunk-DGDOGOTQ.js +25 -0
- package/dist/chunk-DLC23CKC.js +53 -0
- package/dist/chunk-DRTA6JG5.js +160 -0
- package/dist/chunk-DVKBU23L.js +97 -0
- package/dist/chunk-E2HEVF23.js +692 -0
- package/dist/chunk-EC2NAYPQ.js +24 -0
- package/dist/chunk-EKQK5D6G.js +14 -0
- package/dist/chunk-EKQMYG2B.js +2353 -0
- package/dist/chunk-ELYU6TRQ.js +98 -0
- package/dist/chunk-EQT3EPTB.js +203 -0
- package/dist/chunk-ERAIVAK5.js +1359 -0
- package/dist/chunk-ETHWK2RZ.js +16 -0
- package/dist/chunk-EWVKBRLV.js +72 -0
- package/dist/chunk-F77BNDAT.js +43 -0
- package/dist/chunk-FGAGGPFF.js +566 -0
- package/dist/chunk-FIANWJXX.js +19 -0
- package/dist/chunk-FIWNDOMO.js +6 -0
- package/dist/chunk-FOKEGVPB.js +24 -0
- package/dist/chunk-FT3F72C3.js +30 -0
- package/dist/chunk-FT47HQ5U.js +47 -0
- package/dist/chunk-GDOW2KNP.js +19 -0
- package/dist/chunk-GDQ3NGDZ.js +17 -0
- package/dist/chunk-GH3ZMBFX.js +563 -0
- package/dist/chunk-GQPESFAF.js +3378 -0
- package/dist/chunk-GQS46LC3.js +50 -0
- package/dist/chunk-GULJ6KVT.js +587 -0
- package/dist/chunk-GWQIXU37.js +2774 -0
- package/dist/chunk-GZ2VNM4L.js +24 -0
- package/dist/chunk-GZ4RHGIW.js +836 -0
- package/dist/chunk-H4H4O62O.js +46 -0
- package/dist/chunk-H57TJD3B.js +72 -0
- package/dist/chunk-H7UZZ7KP.js +24 -0
- package/dist/chunk-HAAUJDGB.js +83 -0
- package/dist/chunk-HFG76JTS.js +296 -0
- package/dist/chunk-HJXXFPOL.js +211 -0
- package/dist/chunk-HTYFQHRC.js +24 -0
- package/dist/chunk-HUF6TQ2J.js +24 -0
- package/dist/chunk-HUFCSX2Y.js +89 -0
- package/dist/chunk-HX3MQ3H4.js +26 -0
- package/dist/chunk-HZQEQ34U.js +296 -0
- package/dist/chunk-I322G5UG.js +888 -0
- package/dist/chunk-IDDA5INB.js +60 -0
- package/dist/chunk-IDTLHPTK.js +60 -0
- package/dist/chunk-II7652VA.js +2918 -0
- package/dist/chunk-IN4QT33I.js +38 -0
- package/dist/chunk-IV2UXZXX.js +16 -0
- package/dist/chunk-IXSZ7OKR.js +133 -0
- package/dist/chunk-IYEFEBRN.js +41 -0
- package/dist/chunk-IZ35GMGB.js +2543 -0
- package/dist/chunk-IZCOG3FS.js +28 -0
- package/dist/chunk-JA755JHN.js +379 -0
- package/dist/chunk-JETXFF3M.js +33 -0
- package/dist/chunk-JFBEAUJ6.js +24 -0
- package/dist/chunk-JFG4DHKQ.js +48 -0
- package/dist/chunk-JL5BRMDT.js +179 -0
- package/dist/chunk-JLCAWQ3H.js +195 -0
- package/dist/chunk-JLZM7XMZ.js +525 -0
- package/dist/chunk-JMH5MD5A.js +19 -0
- package/dist/chunk-JRPI64AQ.js +3066 -0
- package/dist/chunk-JSX3C6LL.js +344 -0
- package/dist/chunk-JY4R3GML.js +83 -0
- package/dist/chunk-JYBT2JNY.js +61 -0
- package/dist/chunk-K2HNV4LE.js +2008 -0
- package/dist/chunk-KAXJFL7N.js +43 -0
- package/dist/chunk-KDMKHR5A.js +32 -0
- package/dist/chunk-KFFNCDX6.js +19 -0
- package/dist/chunk-KKWZWP67.js +24 -0
- package/dist/chunk-KOJ5QETJ.js +8 -0
- package/dist/chunk-KPMGGE4W.js +51 -0
- package/dist/chunk-KS7DXCXH.js +27 -0
- package/dist/chunk-KSYVTEKR.js +24 -0
- package/dist/chunk-KU4YS6HN.js +61 -0
- package/dist/chunk-KYELSLDJ.js +40 -0
- package/dist/chunk-LC3PSQJJ.js +383 -0
- package/dist/chunk-LC6DYCTG.js +85 -0
- package/dist/chunk-LNKY5Z2X.js +23 -0
- package/dist/chunk-LO2DANS6.js +302 -0
- package/dist/chunk-M4SPKUZE.js +7 -0
- package/dist/chunk-M4YLED7M.js +17 -0
- package/dist/chunk-M6KTNAND.js +746 -0
- package/dist/chunk-MCOIEWW6.js +54 -0
- package/dist/chunk-MDYLOIS2.js +48 -0
- package/dist/chunk-MEISCROL.js +24 -0
- package/dist/chunk-MFLH5ZDQ.js +69 -0
- package/dist/chunk-MIXKQJ64.js +935 -0
- package/dist/chunk-MJMJEURO.js +359 -0
- package/dist/chunk-MNJ2DHU6.js +526 -0
- package/dist/chunk-NEVSQGOI.js +63 -0
- package/dist/chunk-NG5IGZXC.js +1179 -0
- package/dist/chunk-NLOMCLKI.js +3303 -0
- package/dist/chunk-NMCOUVN5.js +24 -0
- package/dist/chunk-NT3HAZYT.js +51 -0
- package/dist/chunk-NXNQQ3DS.js +382 -0
- package/dist/chunk-NYEY6W5R.js +569 -0
- package/dist/chunk-OAPCJO6W.js +23 -0
- package/dist/chunk-OH7FA4TF.js +251 -0
- package/dist/chunk-OLNORNCT.js +331 -0
- package/dist/chunk-OQEBOVUO.js +30 -0
- package/dist/chunk-ORUJI3VB.js +83 -0
- package/dist/chunk-PEN2DK7T.js +49 -0
- package/dist/chunk-PGIQMQRU.js +1650 -0
- package/dist/chunk-PTVOXB5T.js +39 -0
- package/dist/chunk-PUVGWJQ5.js +24 -0
- package/dist/chunk-PWROWDZS.js +137 -0
- package/dist/chunk-Q6XJOJTY.js +29 -0
- package/dist/chunk-QBR6IKIX.js +50 -0
- package/dist/chunk-QETGGFH2.js +30 -0
- package/dist/chunk-QG6MOQLI.js +2934 -0
- package/dist/chunk-QGCEHR6S.js +13 -0
- package/dist/chunk-QHFQHQDC.js +43 -0
- package/dist/chunk-QHRE2M6V.js +26 -0
- package/dist/chunk-QKL7IY42.js +38 -0
- package/dist/chunk-QN6JHMGU.js +44 -0
- package/dist/chunk-QNHZXFRA.js +347 -0
- package/dist/chunk-QPWRHDLZ.js +17 -0
- package/dist/chunk-QVABTUDS.js +80 -0
- package/dist/chunk-QXILAMAU.js +28 -0
- package/dist/chunk-QZAT46PP.js +95 -0
- package/dist/chunk-R3WI7ZLE.js +545 -0
- package/dist/chunk-R5SWC3EW.js +30 -0
- package/dist/chunk-RJQ5YS3Q.js +40 -0
- package/dist/chunk-RNOD2UWF.js +613 -0
- package/dist/chunk-RNXITK5M.js +24 -0
- package/dist/chunk-ROXO4R3J.js +16 -0
- package/dist/chunk-RQ5DNYLG.js +10 -0
- package/dist/chunk-RSWVH7DB.js +24 -0
- package/dist/chunk-RTJXOIIQ.js +12 -0
- package/dist/chunk-RZNYW7UP.js +133 -0
- package/dist/chunk-S4F27M7N.js +37 -0
- package/dist/chunk-S4ONWRJE.js +28 -0
- package/dist/chunk-S53OGZL6.js +168 -0
- package/dist/chunk-S5ADHIZK.js +2508 -0
- package/dist/chunk-S62M63LU.js +19 -0
- package/dist/chunk-S7VDRUED.js +62 -0
- package/dist/chunk-SGD3ZHID.js +250 -0
- package/dist/chunk-SGSPYHFE.js +40 -0
- package/dist/chunk-SLTMRTXV.js +597 -0
- package/dist/chunk-SXGTRZFN.js +26 -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-TNEHPP3H.js +18 -0
- package/dist/chunk-TPYV2FTV.js +25 -0
- package/dist/chunk-TPZB2YWR.js +25 -0
- package/dist/chunk-TSR5YDPS.js +1266 -0
- package/dist/chunk-TTR7EWNH.js +170 -0
- package/dist/chunk-TVHLKVUO.js +24 -0
- package/dist/chunk-TXINIAFL.js +198 -0
- package/dist/chunk-TXZBBZOG.js +58 -0
- package/dist/chunk-UEU46Q3D.js +300 -0
- package/dist/chunk-UMDEWWXT.js +33 -0
- package/dist/chunk-UQSVWO7Z.js +334 -0
- package/dist/chunk-UZF3G2FN.js +942 -0
- package/dist/chunk-V422EKLW.js +24 -0
- package/dist/chunk-V4DYVLOO.js +433 -0
- package/dist/chunk-V4VC25UL.js +128 -0
- package/dist/chunk-V667FCIJ.js +12 -0
- package/dist/chunk-VABRPZVC.js +43 -0
- package/dist/chunk-VB2MJLET.js +19 -0
- package/dist/chunk-VDAKTZQP.js +18 -0
- package/dist/chunk-VDAZPGR2.js +79 -0
- package/dist/chunk-VXZFQKBJ.js +21 -0
- package/dist/chunk-VYMGZ27S.js +133 -0
- package/dist/chunk-W2RGSGRR.js +131 -0
- package/dist/chunk-W7UZXD5D.js +1109 -0
- package/dist/chunk-WDUNR2VI.js +2718 -0
- package/dist/chunk-WHSTEAVP.js +229 -0
- package/dist/chunk-WJMUMN3I.js +127 -0
- package/dist/chunk-WLZ54FWG.js +120 -0
- package/dist/chunk-WMJPFLF3.js +2980 -0
- package/dist/chunk-WRHFBCVY.js +24 -0
- package/dist/chunk-WVSNSWBJ.js +47 -0
- package/dist/chunk-WYJEOMNY.js +31 -0
- package/dist/chunk-WYJMV62X.js +24 -0
- package/dist/chunk-WZGJSQKN.js +29 -0
- package/dist/chunk-WZL4EEBS.js +11 -0
- package/dist/chunk-X7TXGKRX.js +272 -0
- package/dist/chunk-XB4KZ6WO.js +81 -0
- package/dist/chunk-XDLQRSSH.js +266 -0
- package/dist/chunk-XDS4UZGR.js +113 -0
- package/dist/chunk-XEGRWWNO.js +30 -0
- package/dist/chunk-XO5ONLVM.js +420 -0
- package/dist/chunk-XPWRD424.js +24 -0
- package/dist/chunk-XTNV2YMB.js +50 -0
- package/dist/chunk-XW5J5JAX.js +42 -0
- package/dist/chunk-XY5O74BH.js +33 -0
- package/dist/chunk-XYONCO5Q.js +984 -0
- package/dist/chunk-Y4PXIJMD.js +829 -0
- package/dist/chunk-YAYRRKC7.js +24 -0
- package/dist/chunk-YEDYBMCW.js +210 -0
- package/dist/chunk-YFG4E3N2.js +1161 -0
- package/dist/chunk-YHTO46W2.js +2670 -0
- package/dist/chunk-YI2ZVTCB.js +38 -0
- package/dist/chunk-YKO3VCTF.js +24 -0
- package/dist/chunk-YP3I6W7T.js +24 -0
- package/dist/chunk-YQ2B3YVF.js +687 -0
- package/dist/chunk-YS6KMYM4.js +91 -0
- package/dist/chunk-YTSSXSZR.js +197 -0
- package/dist/chunk-Z256ACGC.js +27 -0
- package/dist/chunk-Z2MGTKDR.js +20 -0
- package/dist/chunk-Z5VSLLNY.js +23 -0
- package/dist/chunk-Z7X3RGGA.js +22 -0
- package/dist/chunk-ZF43WRG3.js +29 -0
- package/dist/chunk-ZJKOLOVF.js +1754 -0
- package/dist/chunk-ZQ4VFQID.js +76 -0
- package/dist/chunk-ZSLGN6CO.js +89 -0
- package/dist/chunk-ZVTFZF4V.js +542 -0
- package/dist/cli/index.js +9 -0
- package/dist/core-5Z6UW5DS.js +31 -0
- package/dist/core-6ANZ2OWO.js +40 -0
- package/dist/core-6LLJNZ4O.js +37 -0
- package/dist/core-CPN2HF75.js +33 -0
- package/dist/core-CS7AKNME.js +37 -0
- package/dist/core-DBRILYNB.js +38 -0
- package/dist/core-DU77ZYPR.js +34 -0
- package/dist/core-E6YD7VU4.js +32 -0
- package/dist/core-EE55P6XK.js +56 -0
- package/dist/core-FFLPH5XK.js +41 -0
- package/dist/core-IV26EL5C.js +32 -0
- package/dist/core-IZVZ2B7Y.js +34 -0
- package/dist/core-JQV7STNF.js +34 -0
- package/dist/core-KBH3EJZV.js +32 -0
- package/dist/core-KFBW5PRT.js +36 -0
- package/dist/core-KWGXHBJE.js +37 -0
- package/dist/core-MZMR2DF4.js +32 -0
- package/dist/core-OK2ZY5OJ.js +29 -0
- package/dist/core-OV5MPTZP.js +43 -0
- package/dist/core-OW5V74Q4.js +40 -0
- package/dist/core-PL64QPOH.js +57 -0
- package/dist/core-PVINU5JJ.js +33 -0
- package/dist/core-QUYSNTC7.js +34 -0
- package/dist/core-RE3L6YCM.js +29 -0
- package/dist/core-RUA3EWW3.js +39 -0
- package/dist/core-RY6IFRKM.js +35 -0
- package/dist/core-SCWEVNUY.js +34 -0
- package/dist/core-SE67HHFG.js +55 -0
- package/dist/core-T5Q4DSH2.js +32 -0
- package/dist/core-TJX3I7KH.js +37 -0
- package/dist/core-ULUA5ZB2.js +55 -0
- package/dist/core-WLVU2HWX.js +46 -0
- package/dist/core-WQPHNVNY.js +51 -0
- package/dist/core-XXIOJY2X.js +52 -0
- package/dist/core-ZH7XTJTD.js +39 -0
- package/dist/core-ZHE7N4NS.js +50 -0
- package/dist/core-ZJYLJWZQ.js +38 -0
- package/dist/dataTable-IL7HVDHL.js +58 -0
- package/dist/engine-MYLZI5VH.js +961 -0
- package/dist/fixtures.d.ts +1 -0
- package/dist/fixtures.js +40 -0
- package/dist/fontTables-ZYBUCJ5N.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 +363 -0
- package/dist/main-ISJ53IS5.js +568 -0
- package/dist/mcp/server.js +1023 -0
- package/dist/module-SVEW5ZUE.js +137233 -0
- package/dist/react/bar.d.ts +1 -0
- package/dist/react/bar.js +80 -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 +64 -0
- package/dist/react/bullet.d.ts +1 -0
- package/dist/react/bullet.js +71 -0
- package/dist/react/butterfly.d.ts +1 -0
- package/dist/react/butterfly.js +65 -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 +69 -0
- package/dist/react/column.d.ts +1 -0
- package/dist/react/column.js +85 -0
- package/dist/react/combo.d.ts +1 -0
- package/dist/react/combo.js +85 -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 +71 -0
- package/dist/react/dot.d.ts +1 -0
- package/dist/react/dot.js +69 -0
- package/dist/react/export.d.ts +1 -0
- package/dist/react/export.js +657 -0
- package/dist/react/funnel.d.ts +1 -0
- package/dist/react/funnel.js +62 -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 +66 -0
- package/dist/react/heatmap.d.ts +1 -0
- package/dist/react/heatmap.js +67 -0
- package/dist/react/histogram.d.ts +1 -0
- package/dist/react/histogram.js +85 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +503 -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 +82 -0
- package/dist/react/line.d.ts +1 -0
- package/dist/react/line.js +80 -0
- package/dist/react/mekko.d.ts +1 -0
- package/dist/react/mekko.js +70 -0
- package/dist/react/pareto.d.ts +1 -0
- package/dist/react/pareto.js +89 -0
- package/dist/react/pie.d.ts +1 -0
- package/dist/react/pie.js +63 -0
- package/dist/react/prepare.d.ts +1 -0
- package/dist/react/prepare.js +277 -0
- package/dist/react/pvm.d.ts +1 -0
- package/dist/react/pvm.js +67 -0
- package/dist/react/pyramid.d.ts +1 -0
- package/dist/react/pyramid.js +66 -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 +62 -0
- package/dist/react/slope.d.ts +1 -0
- package/dist/react/slope.js +63 -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 +370 -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 +68 -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 +64 -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 +67 -0
- package/dist/resvg-ZOVDIZTV.js +23 -0
- package/dist/rows.d.ts +1 -0
- package/dist/rows.js +23 -0
- package/dist/rowsModule-3Y4I3M3E.js +27 -0
- package/dist/schema-2BMZOHXI.js +22 -0
- package/dist/schema-2GUBWOBC.js +26 -0
- package/dist/schema-34ZELWRQ.js +25 -0
- package/dist/schema-3BHL2B76.js +22 -0
- package/dist/schema-4735XAZX.js +29 -0
- package/dist/schema-5YTNQ6JY.js +22 -0
- package/dist/schema-7J3NAIN2.js +27 -0
- package/dist/schema-AOJJ7JZB.js +22 -0
- package/dist/schema-CVMV4LRA.js +22 -0
- package/dist/schema-D3RCMN3T.js +22 -0
- package/dist/schema-E2ISJ65D.js +23 -0
- package/dist/schema-E6YOSOWB.js +28 -0
- package/dist/schema-EQQB43AY.js +22 -0
- package/dist/schema-EVLLL5UF.js +22 -0
- package/dist/schema-EYQ5IBLF.js +23 -0
- package/dist/schema-EYZVD73N.js +22 -0
- package/dist/schema-G4KFMQBL.js +22 -0
- package/dist/schema-GH7IKSOU.js +23 -0
- package/dist/schema-IF5N3J56.js +42 -0
- package/dist/schema-IG7JIR4H.js +23 -0
- package/dist/schema-JJYJOQTT.js +23 -0
- package/dist/schema-KFC4WYH4.js +32 -0
- package/dist/schema-L7263JMT.js +25 -0
- package/dist/schema-MEAFRXVH.js +53 -0
- package/dist/schema-P63S63GE.js +23 -0
- package/dist/schema-P7LJFJAJ.js +22 -0
- package/dist/schema-PA2MXYY4.js +23 -0
- package/dist/schema-PDZ6256H.js +23 -0
- package/dist/schema-PNC3Z7AH.js +25 -0
- package/dist/schema-QEVSIMGO.js +22 -0
- package/dist/schema-QJJPRRE7.js +22 -0
- package/dist/schema-S3EQKVOT.js +23 -0
- package/dist/schema-STGL44TL.js +22 -0
- package/dist/schema-T4NE2EAO.js +22 -0
- package/dist/schema-TQYTESG3.js +22 -0
- package/dist/schema-W376PAJG.js +22 -0
- package/dist/schema-XYYDUUHS.js +26 -0
- package/dist/specValidation-NVBIZMEE.js +48 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +24 -0
- package/dist/themeShapeRules-5C2463YH.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 +56 -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 +302 -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 +380 -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 +45 -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 +223 -0
- package/dist/types/core/types/cell.d.ts +82 -0
- package/dist/types/core/types/data.d.ts +309 -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 +65 -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 +58 -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 +222 -0
- package/docs/FONTS.md +68 -0
- package/docs/TELEMETRY.md +94 -0
- package/docs/manual.md +838 -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 +1088 -0
- package/docs/reference/funnel.md +121 -0
- package/docs/reference/gantt.md +132 -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 +703 -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,673 @@
|
|
|
1
|
+
# Table
|
|
2
|
+
|
|
3
|
+
Contents: [Use cases](#use-cases), [Chart IDs](#chart-ids), [Minimal spec](#minimal-spec), [Data](#data), [Options](#options), [Annotations](#annotations), [A wide table at the width it is shown at](#a-wide-table-at-the-width-it-is-shown-at), [Statements: signs, subtotals, results and drivers](#statements-signs-subtotals-results-and-drivers), [Group grounds, folds, frames and fitted formats](#group-grounds-folds-frames-and-fitted-formats), [Value bands and a pinned head](#value-bands-and-a-pinned-head), [Sizing](#sizing), [Fixtures](#fixtures).
|
|
4
|
+
|
|
5
|
+
<!-- Generated by scripts/generate-reference.mjs from the boardplot describe, list and fixtures payloads. -->
|
|
6
|
+
|
|
7
|
+
Consulting-grade table: hierarchy with honest totals (derive/validate/source), typed calc columns, status chips, composite cells — self-verifying via computed-cell records. Type `table`. Aliases: `tbl`.
|
|
8
|
+
|
|
9
|
+
## Use cases
|
|
10
|
+
|
|
11
|
+
- Table with totals
|
|
12
|
+
- P&L with variances
|
|
13
|
+
- Ranked list with status chips
|
|
14
|
+
|
|
15
|
+
## Chart IDs
|
|
16
|
+
|
|
17
|
+
- `table.steering`: fixture `steering-monthly`
|
|
18
|
+
- `table.benchmark`: fixture `benchmark-competitors`
|
|
19
|
+
- `table.status`: fixture `status-review-relaxed`
|
|
20
|
+
- `table.receipts`: fixture `receipts-changelog`
|
|
21
|
+
- `table.hierarchy`: fixture `table-scorecard`
|
|
22
|
+
|
|
23
|
+
## Minimal spec
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"type": "table",
|
|
28
|
+
"data": {
|
|
29
|
+
"columns": [
|
|
30
|
+
{ "id": "name", "kind": "rowLabel", "label": "Region" },
|
|
31
|
+
{ "id": "revenue", "kind": "value", "label": "Revenue ($k)" }
|
|
32
|
+
],
|
|
33
|
+
"rows": [
|
|
34
|
+
{ "id": "north", "label": "North", "cells": { "revenue": 120 } },
|
|
35
|
+
{ "id": "south", "label": "South", "cells": { "revenue": 90 } }
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"options": { "title": "North contributes $30k more revenue than South", "source": "Illustrative data" }
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Data
|
|
43
|
+
|
|
44
|
+
| Path | Type | Required | Meaning |
|
|
45
|
+
|---|---|---|---|
|
|
46
|
+
| columnGroups | array | | Two-row headers. Members must exist, belong to at most one group, and be contiguous in columns[] order. |
|
|
47
|
+
| columnGroups[].id | string | yes | Column-group id. |
|
|
48
|
+
| columnGroups[].label | string | yes | Group heading. |
|
|
49
|
+
| columnGroups[].columns | array | yes | Contiguous member columns. |
|
|
50
|
+
| columnGroups[].band | boolean | | Give this group a banded ground, the way the full-year block of a management report is set off from the months beside it. |
|
|
51
|
+
| columnGroups[].note | string | | Heading qualifier after ·. Lowercase and untracked: the period the block covers, such as Jul 1-15 or full month. |
|
|
52
|
+
| columnGroups[].spacer | number | | Empty px track before the group. The metric blocks of a cohort grid stand 16 px apart. It draws no cell, takes no hover, and replaces the divider hairline this group would otherwise open with. |
|
|
53
|
+
| columnGroups[].heading | boolean | | Draw it. Default true; false keeps the membership (hover series, previous: true calcs), the label as the hover noun, the band, the spacer and the divider, and draws no heading. Where no group draws one, the head loses its group row. |
|
|
54
|
+
| columnGroups[].hoverSeries | string | | Hover series. 'shown' (default) draws the group's members on screen in the sparkline hover card; 'all' draws every member in columns[] order, those a column toggle hides included, so a block can show history it does not draw. A hidden member stays out of everything else the table draws, measures and counts. One of `'shown'`, `'all'`. |
|
|
55
|
+
| columnToggles | array | | Column toggle groups. Every member must exist, belong to one toggle, and stay inside one columnGroup. |
|
|
56
|
+
| columnToggles[].id | string | yes | Nonempty reference id. |
|
|
57
|
+
| columnToggles[].label | string | yes | Column-toggle label. |
|
|
58
|
+
| columnToggles[].columns | array | yes | Columns toggled within one header group. |
|
|
59
|
+
| columnToggles[].defaultVisible | boolean | | Visible before options.columnVisibility; defaults false. |
|
|
60
|
+
| columns | array | yes | Display order; exactly one rowLabel column. |
|
|
61
|
+
| columns[].id (columns[] branch 1) | string | yes | Nonempty reference id. |
|
|
62
|
+
| columns[].label (columns[] branch 1) | string | | Visible name; defaults to id. |
|
|
63
|
+
| columns[].subLabel (columns[] branch 1) | string | | Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline. |
|
|
64
|
+
| columns[].width (columns[] branch 1) | number | | Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing. |
|
|
65
|
+
| columns[].align (columns[] branch 1) | string | | Cell alignment. Numeric left alignment is accepted but linted. One of `'left'`, `'right'`, `'center'`. |
|
|
66
|
+
| columns[].emphasis (columns[] branch 1) | string | | Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. Paint only — column widths and row heights do not move. One of `'strong'`, `'muted'`. |
|
|
67
|
+
| columns[].band (columns[] branch 1) | boolean | | Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only. |
|
|
68
|
+
| columns[].fitFormat (columns[] branch 1) | false | | false: options.fitFormats leaves this column's format as authored. One of `false`. |
|
|
69
|
+
| columns[].noteLine (columns[] branch 1) | boolean | | Notes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line. |
|
|
70
|
+
| columns[].kind (columns[] branch 1) | string | yes | Kind. One of `'rowLabel'`. |
|
|
71
|
+
| columns[].maxWidth (columns[] branch 1) | number | | Label width cap in px. Includes indent and affix; explicit width wins. |
|
|
72
|
+
| columns[].maxTextWidth (columns[] branch 1) | number | | Caps how much the label text adds to the column width, in px. The indent, the unit affix and the collapsed hint come on top of it. It is not a hard cap: when the header or another row makes the column wider, labels use that room. Ignored when width is set; maxWidth still caps the whole track. |
|
|
73
|
+
| columns[].id (columns[] branch 2) | string | yes | Nonempty reference id. |
|
|
74
|
+
| columns[].label (columns[] branch 2) | string | | Visible name; defaults to id. |
|
|
75
|
+
| columns[].subLabel (columns[] branch 2) | string | | Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline. |
|
|
76
|
+
| columns[].width (columns[] branch 2) | number | | Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing. |
|
|
77
|
+
| columns[].align (columns[] branch 2) | string | | Cell alignment. Numeric left alignment is accepted but linted. One of `'left'`, `'right'`, `'center'`. |
|
|
78
|
+
| columns[].emphasis (columns[] branch 2) | string | | Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. Paint only — column widths and row heights do not move. One of `'strong'`, `'muted'`. |
|
|
79
|
+
| columns[].band (columns[] branch 2) | boolean | | Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only. |
|
|
80
|
+
| columns[].fitFormat (columns[] branch 2) | false | | false: options.fitFormats leaves this column's format as authored. One of `false`. |
|
|
81
|
+
| columns[].noteLine (columns[] branch 2) | boolean | | Notes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line. |
|
|
82
|
+
| columns[].kind (columns[] branch 2) | string | yes | Kind. One of `'value'`. |
|
|
83
|
+
| columns[].format (columns[] branch 2) | string | | Number format example. Examples: '€1.2m', '1,234', '+1.2%', '1.2pp', '$1.2bn', '(1.0)'. A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10³); m, M, mn, mm, million(s), Mio., Million(en) (10⁶); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10⁹); T glued to the number, tn, trillion(s), Bio., Billionen (10¹²). A value of 1000 or more in a scale rolls up and one that would print as 0 rolls down, in the example's spelling; a German or French chart prints its own words (Mrd., Bio.; Md, Bn). A table holds an authored magnitude: under '$1.2k', 2,496,000 prints as 2,496.0 thousand, not as $2.5M. Percent values are authored in POINTS: 6.2 with format '1.2%' renders '6.2%'. A difference of two percent levels uses 'pp', not '%'. A separator followed by exactly three digits after a nonzero integer part is a thousands mark: '1.000' groups thousands with a dot and prints decimals with a comma; write '0.000' for three decimals. The format's unit, $M for '$1.2m', prints once beside subtitle.measure when every value column shares it; without a measure, or with mixed units, each value head carries it, as 'Q1 ($M)'. unitShown true drops it from the heads too. |
|
|
84
|
+
| columns[].scenario (columns[] branch 2) | string | | Header scenario. One of `'AC'`, `'PY'`, `'PL'`, `'FC'`. |
|
|
85
|
+
| columns[].polarity (columns[] branch 2) | string | | Which sign is favorable. Judgment tones and directional encodings read it. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
86
|
+
| columns[].materiality (columns[] branch 2) | object | | Mute tones below this threshold; keep values visible. |
|
|
87
|
+
| columns[].materiality.pct (columns[] branch 2) | number | | Percent-column threshold in points. |
|
|
88
|
+
| columns[].materiality.abs (columns[] branch 2) | number | | Other numeric threshold in source units. |
|
|
89
|
+
| columns[].aggregate (columns[] branch 2) | string | | Parent-row aggregation. Default 'sum' over additive children; 'none' where the column format is a percentage, percentage points or a multiple, or the summand rows carry different formats, since those do not add. An explicit 'sum' there warns aggregate-non-additive. One of `'sum'`, `'none'`, `'source'`. |
|
|
90
|
+
| columns[].nulls (columns[] branch 2) | string | | Default 'propagate'. A missing child then makes the parent '—', with no silent partial sums; 'skip' sums the present values and auto-footnotes 'partial'. One of `'propagate'`, `'skip'`. |
|
|
91
|
+
| columns[].percentScale (columns[] branch 2) | string | | Values already in points; percent-scale-suspect stays quiet. One of `'points'`. |
|
|
92
|
+
| columns[].id (columns[] branch 3) | string | yes | Nonempty reference id. |
|
|
93
|
+
| columns[].label (columns[] branch 3) | string | | Visible name; defaults to id. |
|
|
94
|
+
| columns[].subLabel (columns[] branch 3) | string | | Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline. |
|
|
95
|
+
| columns[].width (columns[] branch 3) | number | | Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing. |
|
|
96
|
+
| columns[].align (columns[] branch 3) | string | | Cell alignment. Numeric left alignment is accepted but linted. One of `'left'`, `'right'`, `'center'`. |
|
|
97
|
+
| columns[].emphasis (columns[] branch 3) | string | | Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. Paint only — column widths and row heights do not move. One of `'strong'`, `'muted'`. |
|
|
98
|
+
| columns[].band (columns[] branch 3) | boolean | | Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only. |
|
|
99
|
+
| columns[].fitFormat (columns[] branch 3) | false | | false: options.fitFormats leaves this column's format as authored. One of `false`. |
|
|
100
|
+
| columns[].noteLine (columns[] branch 3) | boolean | | Notes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line. |
|
|
101
|
+
| columns[].kind (columns[] branch 3) | string | yes | Kind. One of `'computed'`. |
|
|
102
|
+
| columns[].calc (columns[] branch 3) | object | yes | Cell or expression. |
|
|
103
|
+
| columns[].calc.ref (columns[] branch 3; columns[].calc branch 1) | string \| object | yes | Cell ref: column id or { row, col?, previous? }. |
|
|
104
|
+
| columns[].calc.ref.row (columns[] branch 3; columns[].calc branch 1) | string | yes | Row id. |
|
|
105
|
+
| columns[].calc.ref.col (columns[] branch 3; columns[].calc branch 1) | string | | Column id. Omitted means the column being evaluated. |
|
|
106
|
+
| columns[].calc.ref.previous (columns[] branch 3; columns[].calc branch 1) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
107
|
+
| columns[].calc.lit (columns[] branch 3; columns[].calc branch 2) | number | yes | Constant in source units. |
|
|
108
|
+
| columns[].calc.op (columns[] branch 3; columns[].calc branch 3) | string | yes | Arithmetic on a and b. One of `'add'`, `'sub'`, `'mul'`, `'div'`. |
|
|
109
|
+
| columns[].calc.a (columns[] branch 3; columns[].calc branch 3) | object | yes | Cell or expression. |
|
|
110
|
+
| columns[].calc.b (columns[] branch 3; columns[].calc branch 3) | object | yes | Cell or expression. |
|
|
111
|
+
| columns[].calc.op (columns[] branch 3; columns[].calc branch 4) | string | yes | Absolute value. One of `'abs'`. |
|
|
112
|
+
| columns[].calc.of (columns[] branch 3; columns[].calc branch 4) | object | yes | Cell or expression. |
|
|
113
|
+
| columns[].calc.op (columns[] branch 3; columns[].calc branch 5) | string | yes | a minus b. One of `'delta'`. |
|
|
114
|
+
| columns[].calc.a (columns[] branch 3; columns[].calc branch 5) | string \| object | yes | Current cell. |
|
|
115
|
+
| columns[].calc.a.row (columns[] branch 3; columns[].calc branch 5) | string | yes | Row id. |
|
|
116
|
+
| columns[].calc.a.col (columns[] branch 3; columns[].calc branch 5) | string | | Column id. Omitted means the column being evaluated. |
|
|
117
|
+
| columns[].calc.a.previous (columns[] branch 3; columns[].calc branch 5) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
118
|
+
| columns[].calc.b (columns[] branch 3; columns[].calc branch 5) | string \| object | yes | Reference cell. |
|
|
119
|
+
| columns[].calc.b.row (columns[] branch 3; columns[].calc branch 5) | string | yes | Row id. |
|
|
120
|
+
| columns[].calc.b.col (columns[] branch 3; columns[].calc branch 5) | string | | Column id. Omitted means the column being evaluated. |
|
|
121
|
+
| columns[].calc.b.previous (columns[] branch 3; columns[].calc branch 5) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
122
|
+
| columns[].calc.op (columns[] branch 3; columns[].calc branch 6) | string | yes | 100*(a-b)/b relative change; n.m. when b is zero or negative, n/a when a and b are both zero. One of `'percentDelta'`. |
|
|
123
|
+
| columns[].calc.a (columns[] branch 3; columns[].calc branch 6) | string \| object | yes | Current cell. |
|
|
124
|
+
| columns[].calc.a.row (columns[] branch 3; columns[].calc branch 6) | string | yes | Row id. |
|
|
125
|
+
| columns[].calc.a.col (columns[] branch 3; columns[].calc branch 6) | string | | Column id. Omitted means the column being evaluated. |
|
|
126
|
+
| columns[].calc.a.previous (columns[] branch 3; columns[].calc branch 6) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
127
|
+
| columns[].calc.b (columns[] branch 3; columns[].calc branch 6) | string \| object | yes | Reference cell. |
|
|
128
|
+
| columns[].calc.b.row (columns[] branch 3; columns[].calc branch 6) | string | yes | Row id. |
|
|
129
|
+
| columns[].calc.b.col (columns[] branch 3; columns[].calc branch 6) | string | | Column id. Omitted means the column being evaluated. |
|
|
130
|
+
| columns[].calc.b.previous (columns[] branch 3; columns[].calc branch 6) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
131
|
+
| columns[].calc.op (columns[] branch 3; columns[].calc branch 7) | string | yes | Share of column leaf total. One of `'share'`. |
|
|
132
|
+
| columns[].calc.of (columns[] branch 3; columns[].calc branch 7) | string \| object | yes | Share denominator cell. |
|
|
133
|
+
| columns[].calc.of.row (columns[] branch 3; columns[].calc branch 7) | string | yes | Row id. |
|
|
134
|
+
| columns[].calc.of.col (columns[] branch 3; columns[].calc branch 7) | string | | Column id. Omitted means the column being evaluated. |
|
|
135
|
+
| columns[].calc.of.previous (columns[] branch 3; columns[].calc branch 7) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
136
|
+
| columns[].format (columns[] branch 3) | string | | Number format example. Examples: '€1.2m', '1,234', '+1.2%', '1.2pp', '$1.2bn', '(1.0)'. A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10³); m, M, mn, mm, million(s), Mio., Million(en) (10⁶); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10⁹); T glued to the number, tn, trillion(s), Bio., Billionen (10¹²). A value of 1000 or more in a scale rolls up and one that would print as 0 rolls down, in the example's spelling; a German or French chart prints its own words (Mrd., Bio.; Md, Bn). A table holds an authored magnitude: under '$1.2k', 2,496,000 prints as 2,496.0 thousand, not as $2.5M. Percent values are authored in POINTS: 6.2 with format '1.2%' renders '6.2%'. A difference of two percent levels uses 'pp', not '%'. A separator followed by exactly three digits after a nonzero integer part is a thousands mark: '1.000' groups thousands with a dot and prints decimals with a comma; write '0.000' for three decimals. The format's unit, $M for '$1.2m', prints once beside subtitle.measure when every value column shares it; without a measure, or with mixed units, each value head carries it, as 'Q1 ($M)'. unitShown true drops it from the heads too. |
|
|
137
|
+
| columns[].polarity (columns[] branch 3) | string | | Which sign is favorable. Judgment tones and directional encodings read it. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
138
|
+
| columns[].materiality (columns[] branch 3) | object | | Mute tones below this threshold; keep values visible. |
|
|
139
|
+
| columns[].materiality.pct (columns[] branch 3) | number | | Percent-column threshold in points. |
|
|
140
|
+
| columns[].materiality.abs (columns[] branch 3) | number | | Other numeric threshold in source units. |
|
|
141
|
+
| columns[].id (columns[] branch 4) | string | yes | Nonempty reference id. |
|
|
142
|
+
| columns[].label (columns[] branch 4) | string | | Visible name; defaults to id. |
|
|
143
|
+
| columns[].subLabel (columns[] branch 4) | string | | Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline. |
|
|
144
|
+
| columns[].width (columns[] branch 4) | number | | Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing. |
|
|
145
|
+
| columns[].align (columns[] branch 4) | string | | Cell alignment. Numeric left alignment is accepted but linted. One of `'left'`, `'right'`, `'center'`. |
|
|
146
|
+
| columns[].emphasis (columns[] branch 4) | string | | Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. Paint only — column widths and row heights do not move. One of `'strong'`, `'muted'`. |
|
|
147
|
+
| columns[].band (columns[] branch 4) | boolean | | Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only. |
|
|
148
|
+
| columns[].fitFormat (columns[] branch 4) | false | | false: options.fitFormats leaves this column's format as authored. One of `false`. |
|
|
149
|
+
| columns[].noteLine (columns[] branch 4) | boolean | | Notes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line. |
|
|
150
|
+
| columns[].kind (columns[] branch 4) | string | yes | Kind. One of `'text'`. |
|
|
151
|
+
| columns[].wrap (columns[] branch 4) | boolean | | Wrap prose and grow its row; do not widen the table. A line break (\\n) in a cell starts a new line. Use it for the note column of a scorecard. |
|
|
152
|
+
| columns[].id (columns[] branch 5) | string | yes | Nonempty reference id. |
|
|
153
|
+
| columns[].label (columns[] branch 5) | string | | Visible name; defaults to id. |
|
|
154
|
+
| columns[].subLabel (columns[] branch 5) | string | | Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline. |
|
|
155
|
+
| columns[].width (columns[] branch 5) | number | | Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing. |
|
|
156
|
+
| columns[].align (columns[] branch 5) | string | | Cell alignment. Numeric left alignment is accepted but linted. One of `'left'`, `'right'`, `'center'`. |
|
|
157
|
+
| columns[].emphasis (columns[] branch 5) | string | | Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. Paint only — column widths and row heights do not move. One of `'strong'`, `'muted'`. |
|
|
158
|
+
| columns[].band (columns[] branch 5) | boolean | | Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only. |
|
|
159
|
+
| columns[].fitFormat (columns[] branch 5) | false | | false: options.fitFormats leaves this column's format as authored. One of `false`. |
|
|
160
|
+
| columns[].noteLine (columns[] branch 5) | boolean | | Notes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line. |
|
|
161
|
+
| columns[].kind (columns[] branch 5) | string | yes | Status cell: on-track \| at-risk \| off-track \| done \| pending or { v: key } (other text refuses: status-value-invalid; numbers draw the missing dash and warn: status-value-number; a later release refuses numbers). Each key has a fixed tone. For free status text, use a text column with a cell tone. One of `'status'`. |
|
|
162
|
+
| columns[].labels (columns[] branch 5) | object | | Display text per status key, e.g. { pending: 'Learning' }. The key keeps its tone; an unlisted key prints as itself. |
|
|
163
|
+
| columns[].mark (columns[] branch 5) | string | | How a status prints. 'chip' (default): a tone wash behind tone-mixed text. 'square': a small tone square before ink text, with no wash. One of `'chip'`, `'square'`. |
|
|
164
|
+
| columns[].id (columns[] branch 6) | string | yes | Nonempty reference id. |
|
|
165
|
+
| columns[].label (columns[] branch 6) | string | | Visible name; defaults to id. |
|
|
166
|
+
| columns[].subLabel (columns[] branch 6) | string | | Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline. |
|
|
167
|
+
| columns[].width (columns[] branch 6) | number | | Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing. |
|
|
168
|
+
| columns[].align (columns[] branch 6) | string | | Cell alignment. Numeric left alignment is accepted but linted. One of `'left'`, `'right'`, `'center'`. |
|
|
169
|
+
| columns[].emphasis (columns[] branch 6) | string | | Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. Paint only — column widths and row heights do not move. One of `'strong'`, `'muted'`. |
|
|
170
|
+
| columns[].band (columns[] branch 6) | boolean | | Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only. |
|
|
171
|
+
| columns[].fitFormat (columns[] branch 6) | false | | false: options.fitFormats leaves this column's format as authored. One of `false`. |
|
|
172
|
+
| columns[].noteLine (columns[] branch 6) | boolean | | Notes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line. |
|
|
173
|
+
| columns[].kind (columns[] branch 6) | string | yes | Kind. One of `'date'`. |
|
|
174
|
+
| columns[].format (columns[] branch 6) | string | | Date format example. Examples: '30 Sep 2026', 'Sep-26', '2026-09-30'. |
|
|
175
|
+
| columns[].id (columns[] branch 7) | string | yes | Nonempty reference id. |
|
|
176
|
+
| columns[].label (columns[] branch 7) | string | | Visible name; defaults to id. |
|
|
177
|
+
| columns[].subLabel (columns[] branch 7) | string | | Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline. |
|
|
178
|
+
| columns[].width (columns[] branch 7) | number | | Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing. |
|
|
179
|
+
| columns[].align (columns[] branch 7) | string | | Cell alignment. Numeric left alignment is accepted but linted. One of `'left'`, `'right'`, `'center'`. |
|
|
180
|
+
| columns[].emphasis (columns[] branch 7) | string | | Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. Paint only — column widths and row heights do not move. One of `'strong'`, `'muted'`. |
|
|
181
|
+
| columns[].band (columns[] branch 7) | boolean | | Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only. |
|
|
182
|
+
| columns[].fitFormat (columns[] branch 7) | false | | false: options.fitFormats leaves this column's format as authored. One of `false`. |
|
|
183
|
+
| columns[].noteLine (columns[] branch 7) | boolean | | Notes below figures. They use the inline step in muted ink. Default false keeps the note inline after the figure, where a 90 px block track cuts it off; a steering block column says sum under its year-to-date figure. The note takes the first line slot whose change line holds no value in that cell, and where every line holds one, or the row prints none, the row grows by one inline line. |
|
|
184
|
+
| columns[].kind (columns[] branch 7) | string | yes | Kind. One of `'encoding'`. |
|
|
185
|
+
| columns[].encoding (columns[] branch 7) | object | yes | Sparkline over other columns; no own cell values. |
|
|
186
|
+
| columns[].encoding.type (columns[] branch 7) | string | yes | Per-row mini line or column over sourceColumns; null values leave gaps in source order. One of `'sparkline'`. |
|
|
187
|
+
| columns[].encoding.kind (columns[] branch 7) | string | | Shape. Default 'line'. 'column' is zero-anchored. One y-domain is shared across visible rows of this column. One of `'line'`, `'column'`. |
|
|
188
|
+
| columns[].encoding.sourceColumns (columns[] branch 7) | array | yes | Ordered numeric source columns; they remain visible. The last observed source value is labelled from that cell's formatted text. Without a column width the track is 88 px or wider, so that label prints whole; a width fixes the track and cuts a longer label. |
|
|
189
|
+
| rows | array | yes | Row hierarchy; totalPosition determines resolved display order. |
|
|
190
|
+
| rows[].id | string | yes | Nonempty reference id. |
|
|
191
|
+
| rows[].label | string | | Visible name; defaults to id. |
|
|
192
|
+
| rows[].parentId | string | | Flat canonical hierarchy. Alternative: nested `children` sugar. |
|
|
193
|
+
| rows[].kind | string | | Presentation kind. subtotal: children add up to it; result: a calc of rows above, never added; driver: explains a line, never added. One of `'section'`, `'member'`, `'measure'`, `'detail'`, `'split'`, `'subtotal'`, `'result'`, `'driver'`. |
|
|
194
|
+
| rows[].sign | number | | Subtracts from its parent. One of `-1`. |
|
|
195
|
+
| rows[].operator | string | | Operator glyph. One of `'+'`, `'−'`, `'×'`, `'÷'`, `'='`. |
|
|
196
|
+
| rows[].final | true | | Closing rule under a result. One of `true`. |
|
|
197
|
+
| rows[].rung | integer | | Presentation rung. Section and split rows do not add depth. |
|
|
198
|
+
| rows[].role | string | | Data, total or section row. One of `'data'`, `'total'`, `'section'`. |
|
|
199
|
+
| rows[].relation | string | | Which rows a parent sums. 'ofWhich' and 'displayOnly' are EXCLUDED from parent aggregation — display hierarchy is not the accounting model. One of `'additive'`, `'ofWhich'`, `'displayOnly'`. |
|
|
200
|
+
| rows[].totalPolicy | string | | derive: computed from children (authored value linted). validate (default when a value is authored): authored value displays, difference vs the computed sum is reported — verify ≠ overwrite. source: trusted, no comparison. One of `'derive'`, `'validate'`, `'source'`. |
|
|
201
|
+
| rows[].calc | object | | Calculation per numeric column. Same algebra as computed columns. Requires relation ofWhich or displayOnly. Cross-row refs { row } and { row, previous: true } are for this field. |
|
|
202
|
+
| rows[].calc.ref (rows[].calc branch 1) | string \| object | yes | Cell ref: column id or { row, col?, previous? }. |
|
|
203
|
+
| rows[].calc.ref.row (rows[].calc branch 1) | string | yes | Row id. |
|
|
204
|
+
| rows[].calc.ref.col (rows[].calc branch 1) | string | | Column id. Omitted means the column being evaluated. |
|
|
205
|
+
| rows[].calc.ref.previous (rows[].calc branch 1) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
206
|
+
| rows[].calc.lit (rows[].calc branch 2) | number | yes | Constant in source units. |
|
|
207
|
+
| rows[].calc.op (rows[].calc branch 3) | string | yes | Arithmetic on a and b. One of `'add'`, `'sub'`, `'mul'`, `'div'`. |
|
|
208
|
+
| rows[].calc.a (rows[].calc branch 3) | object | yes | Cell or expression. |
|
|
209
|
+
| rows[].calc.b (rows[].calc branch 3) | object | yes | Cell or expression. |
|
|
210
|
+
| rows[].calc.op (rows[].calc branch 4) | string | yes | Absolute value. One of `'abs'`. |
|
|
211
|
+
| rows[].calc.of (rows[].calc branch 4) | object | yes | Cell or expression. |
|
|
212
|
+
| rows[].calc.op (rows[].calc branch 5) | string | yes | a minus b. One of `'delta'`. |
|
|
213
|
+
| rows[].calc.a (rows[].calc branch 5) | string \| object | yes | Current cell. |
|
|
214
|
+
| rows[].calc.a.row (rows[].calc branch 5) | string | yes | Row id. |
|
|
215
|
+
| rows[].calc.a.col (rows[].calc branch 5) | string | | Column id. Omitted means the column being evaluated. |
|
|
216
|
+
| rows[].calc.a.previous (rows[].calc branch 5) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
217
|
+
| rows[].calc.b (rows[].calc branch 5) | string \| object | yes | Reference cell. |
|
|
218
|
+
| rows[].calc.b.row (rows[].calc branch 5) | string | yes | Row id. |
|
|
219
|
+
| rows[].calc.b.col (rows[].calc branch 5) | string | | Column id. Omitted means the column being evaluated. |
|
|
220
|
+
| rows[].calc.b.previous (rows[].calc branch 5) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
221
|
+
| rows[].calc.op (rows[].calc branch 6) | string | yes | 100*(a-b)/b relative change; n.m. when b is zero or negative, n/a when a and b are both zero. One of `'percentDelta'`. |
|
|
222
|
+
| rows[].calc.a (rows[].calc branch 6) | string \| object | yes | Current cell. |
|
|
223
|
+
| rows[].calc.a.row (rows[].calc branch 6) | string | yes | Row id. |
|
|
224
|
+
| rows[].calc.a.col (rows[].calc branch 6) | string | | Column id. Omitted means the column being evaluated. |
|
|
225
|
+
| rows[].calc.a.previous (rows[].calc branch 6) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
226
|
+
| rows[].calc.b (rows[].calc branch 6) | string \| object | yes | Reference cell. |
|
|
227
|
+
| rows[].calc.b.row (rows[].calc branch 6) | string | yes | Row id. |
|
|
228
|
+
| rows[].calc.b.col (rows[].calc branch 6) | string | | Column id. Omitted means the column being evaluated. |
|
|
229
|
+
| rows[].calc.b.previous (rows[].calc branch 6) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
230
|
+
| rows[].calc.op (rows[].calc branch 7) | string | yes | Share of column leaf total. One of `'share'`. |
|
|
231
|
+
| rows[].calc.of (rows[].calc branch 7) | string \| object | yes | Share denominator cell. |
|
|
232
|
+
| rows[].calc.of.row (rows[].calc branch 7) | string | yes | Row id. |
|
|
233
|
+
| rows[].calc.of.col (rows[].calc branch 7) | string | | Column id. Omitted means the column being evaluated. |
|
|
234
|
+
| rows[].calc.of.previous (rows[].calc branch 7) | true | | Prior member in this group. The first member is n/a. One of `true`. |
|
|
235
|
+
| rows[].format | string | | Number format example. Examples: '€1.2m', '1,234', '+1.2%', '1.2pp', '$1.2bn', '(1.0)'. A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10³); m, M, mn, mm, million(s), Mio., Million(en) (10⁶); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10⁹); T glued to the number, tn, trillion(s), Bio., Billionen (10¹²). A value of 1000 or more in a scale rolls up and one that would print as 0 rolls down, in the example's spelling; a German or French chart prints its own words (Mrd., Bio.; Md, Bn). A table holds an authored magnitude: under '$1.2k', 2,496,000 prints as 2,496.0 thousand, not as $2.5M. Percent values are authored in POINTS: 6.2 with format '1.2%' renders '6.2%'. A difference of two percent levels uses 'pp', not '%'. A separator followed by exactly three digits after a nonzero integer part is a thousands mark: '1.000' groups thousands with a dot and prints decimals with a comma; write '0.000' for three decimals. On a row: a calc row (and an inline row) prints its result through it everywhere, so a MoM subrow prints +1.2% in a money column; a data row prints its cells through it on every column that names no format of its own, so KPI rows carry their own units across month columns. |
|
|
236
|
+
| rows[].polarity | string | | Row judgment direction. It overrides the column polarity in every column that judges a change, and judges every cell of a calc or inline row; a level column without a polarity stays uncoloured. A table that colours both directions prints a note naming the rows that read the other way. One of `'higherIsBetter'`, `'lowerIsBetter'`. |
|
|
237
|
+
| rows[].inline | true | | Line below the parent value. Its row label stays on that baseline; it has no row of its own. Requires relation 'displayOnly'. Its values carry data-id cellline:<parentRow>:<column>:<line> (not cell:<row>:<column>). Scene-ID components escape % as %25 and : as %3A. Authored IDs stay unchanged. One of `true`. |
|
|
238
|
+
| rows[].inlineGroup | string | | Which switch hides this line. Rows that share a group hide together; the default is the row id. |
|
|
239
|
+
| rows[].scale | string | | Row precision. The max absolute value uses only cells without a cell or column format. Money: 1 decimal in k at max >= 1000, else whole units; it climbs k, M, B by its largest value unless options.magnitude is thousand or million, which a money row follows (whole thousands from 100,000 up). Per unit: fractional values keep authored precision. Without a format, start whole at max >= 10, else 1 decimal, then raise precision for rounding error above 1%, up to 20 decimals. Integer-only rows keep those defaults. It overrides table magnitude. Currency goes in unitAffix. Scaled money and automatic count rows add decimals for rounding error above 1%, up to 20; held whole thousands stay whole. Nonzero stays nonzero. Count/percent keep format. One of `'money'`, `'perUnit'`, `'count'`, `'percent'`. |
|
|
240
|
+
| rows[].fitFormat | false | | false: options.fitFormats leaves this row's format as authored. One of `false`. |
|
|
241
|
+
| rows[].unitAffix | string | | Unit beside the row label. Muted ink on the same line: $M, # orders. It takes no second line, so the change lines under the label stay level with the ones under the values. A forced options.magnitude overrides it with the scale letter it hoists out of this row's cells. |
|
|
242
|
+
| rows[].missing | string | | Row gap glyph. 'blank' leaves a MISSING cell of this row empty, 'dash' prints the em dash; omitted, the row takes options.nulls. Set it on a change line with no value in a block column, so that slot stays empty while the real gaps keep their dash. The explicit states na, nm and suppressed keep their glyphs. One of `'blank'`, `'dash'`. |
|
|
243
|
+
| rows[].spacer | number | | Gap before the row in px; the first drawn row takes none. |
|
|
244
|
+
| rows[].foldable | false | | Never folds. No toggle or mark; its children always show. One of `false`. |
|
|
245
|
+
| rows[].badge | object | | Section chip. Refused on other rows. |
|
|
246
|
+
| rows[].badge.text | string | yes | Text. |
|
|
247
|
+
| rows[].badge.tone | string | | Default neutral. One of `'good'`, `'warn'`, `'bad'`, `'neutral'`. |
|
|
248
|
+
| rows[].cells | object | | Cells by column id; computed columns and calc rows use their calculation. |
|
|
249
|
+
| rows[].cells.*.v | number \| string \| null | | Value before formatting. null means missing, as for a scalar null cell. |
|
|
250
|
+
| rows[].cells.*.note | string | | Inline annotation, e.g. '(−51%)'. |
|
|
251
|
+
| rows[].cells.*.strong | true | | Strong good. Kept under exceptions. One of `true`. |
|
|
252
|
+
| rows[].cells.*.tone | string | | Cell judgment tone. One of `'good'`, `'bad'`, `'warn'`, `'neutral'`. |
|
|
253
|
+
| rows[].cells.*.bands | array | | Value bands. Each band has an upper bound `to` (cell units before formatting, ascending), a `tone` (default neutral) and a `label`. The cell takes the first band whose `to` is at or above its value: below the first bound it takes the first band, above the last it takes the last. Precedence: cell `tone`, then bands, then sign judgement. Missing, n/a, n.m., suppressed and open cells are not judged; text cells ignore bands. The label shows on hover and in the accessible table. |
|
|
254
|
+
| rows[].cells.*.bands[].tone | string | | Tone. One of `'good'`, `'warn'`, `'bad'`, `'neutral'`. |
|
|
255
|
+
| rows[].cells.*.bands[].to | number | yes | Upper bound. |
|
|
256
|
+
| rows[].cells.*.bands[].label | string | | Name. |
|
|
257
|
+
| rows[].cells.*.href | string | | HTML renderer emits a link; SVG renders text. |
|
|
258
|
+
| rows[].cells.*.state | string | | Explicit non-value state; 'na' → n/a · 'nm' → n.m. · 'suppressed' → — with footnote · 'open' → a period still to come, empty on the band ground. Distinct from null (missing → '—'). One of `'na'`, `'nm'`, `'suppressed'`, `'open'`. |
|
|
259
|
+
| rows[].cells.*.missing | string | | Override the missing glyph for this cell. blank leaves no glyph; dash uses the theme missing glyph. One of `'blank'`, `'dash'`. |
|
|
260
|
+
| rows[].cells.*.heat | false | | Keeps the cell out of its heat lane. false draws it unshaded in the muted ink and leaves it out of the range (a calendar M0 diagonal). One of `false`. |
|
|
261
|
+
| rows[].cells.*.format | string | | Number format example. Examples: '€1.2m', '1,234', '+1.2%', '1.2pp', '$1.2bn', '(1.0)'. A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10³); m, M, mn, mm, million(s), Mio., Million(en) (10⁶); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10⁹); T glued to the number, tn, trillion(s), Bio., Billionen (10¹²). A value of 1000 or more in a scale rolls up and one that would print as 0 rolls down, in the example's spelling; a German or French chart prints its own words (Mrd., Bio.; Md, Bn). A table holds an authored magnitude: under '$1.2k', 2,496,000 prints as 2,496.0 thousand, not as $2.5M. Percent values are authored in POINTS: 6.2 with format '1.2%' renders '6.2%'. A difference of two percent levels uses 'pp', not '%'. A separator followed by exactly three digits after a nonzero integer part is a thousands mark: '1.000' groups thousands with a dot and prints decimals with a comma; write '0.000' for three decimals. On a cell: a value cell prints through its own format, ahead of its row's and its column's. A YoY column in '+1.2%' prints the change of a share KPI in points with '+1.2pp' on that one cell. The text, the hover card, the accessible table and the width fitting all use it. |
|
|
262
|
+
| rows[].children | array | | Child rows; normalized to parentId. |
|
|
263
|
+
| levelNouns | array | | Child nouns by level. Indexed by the level they name: levelNouns[1] names level-1 children. A collapsed parent appends "· 4 markets" only where the noun is authored — nothing is invented. |
|
|
264
|
+
| levelNouns[].one | string | yes | Singular noun, e.g. "market". |
|
|
265
|
+
| levelNouns[].other | string | yes | Plural noun, e.g. "markets". |
|
|
266
|
+
|
|
267
|
+
## Options
|
|
268
|
+
|
|
269
|
+
| Path | Type | Values | Default | Meaning |
|
|
270
|
+
|---|---|---|---|---|
|
|
271
|
+
| mountCollapsed | boolean | | | Default true. false removes closed descendants from the React DOM and defers offscreen leaf paint. |
|
|
272
|
+
| signs | string | `'signed'`, `'operators'`, `'plain'` | | How sign -1 rows print. signed (default) negates them; operators draws + − × =; plain draws neither. |
|
|
273
|
+
| driverTones | string | `'grouped'`, `'always'`, `'never'` | | Driver tones. 'grouped' (default): drivers with a parentId whose parent is not a section heading do, as statement lines do. 'always': every driver. 'never': driver ink only, as before 0.28. Neutral figures and labels keep the driver ink. |
|
|
274
|
+
| judgements | string | `'all'`, `'exceptions'` | | Which tones show. exceptions: strong good and bad only. |
|
|
275
|
+
| variant | string | `'steering'`, `'benchmark'`, `'status'`, `'receipts'`, `'hierarchy'` | `'hierarchy'` | Variant defaults only; no variant changes what a cell accepts. Default 'hierarchy'. 'steering': total on top, no group band. 'benchmark': strong row labels, no group band. 'status': square status chips. 'receipts': dates align right. A status cell, in any variant, takes a status-column key; for free status text use a text column with a cell tone. |
|
|
276
|
+
| encodings | object | | | Per-column opt-in visual encodings. |
|
|
277
|
+
| encodings.*.type (encodings.* branch 5) | string | `'arrow'` | | Select the arrow lane. |
|
|
278
|
+
| encodings.*.scale (encodings.* branch 5) | string | `'absolute'`, `'relative'` | | 'absolute' cuts the change itself at 10 and 2 (points on a percent column); 'relative' cuts its share of the column's largest change at 10% and 2%. Default 'absolute' on a percent column, 'relative' elsewhere. |
|
|
279
|
+
| encodings.*.type (encodings.* branch 6) | string | `'heat'` | | Select the heat lane. |
|
|
280
|
+
| encodings.*.cap (encodings.* branch 6) | object | | | Where the lane saturates; without it the largest magnitude in the column does, on both sides of zero. One lane per table, on a variance column. |
|
|
281
|
+
| encodings.*.cap.pct (encodings.* branch 6) | number | | | Percent-column tint cap in points. Example: 20 for a ±20% YoY lane. |
|
|
282
|
+
| encodings.*.cap.abs (encodings.* branch 6) | number | | | Other numeric tint cap in source units. |
|
|
283
|
+
| encodings.*.alpha (encodings.* branch 6) | number | | | Tint weight at the cap; default 0.18, and 0.26 on scale 'status', where every painted cell takes it. Text stays readable up to 0.18 on every shipped theme and up to 0.35 on a status ground; above that the figures take the contrast ink. |
|
|
284
|
+
| encodings.*.excludeTotals (encodings.* branch 6) | boolean | | | Leave total rows untinted; default true. Heat reads a variance, and a total has none worth colouring. |
|
|
285
|
+
| encodings.*.steps (encodings.* branch 6) | integer | | | Band count. 5 gives the cohort ladder: 6 / 14 / 26 / 42 % of the ink over the background, then the full ink with inverse text, from the theme token surface.heatSteps. A stepped lane measures the data rows only, so a closing row does not set the scale. |
|
|
286
|
+
| encodings.*.scale (encodings.* branch 6) | string | `'column'`, `'absolute'`, `'diverging'`, `'status'` | | Where a band comes from. 'column' (default) normalises over this column's own min and max; with two or more such columns the table adds the note that shading compares values within each column. 'absolute' cuts at bins, so every column of a grid reads on one scale. 'diverging' measures the distance from the column average and paints good above and bad below; under polarity 'lowerIsBetter' the sides swap. 'status' is a traffic light against the same centre: a value within tolerance of it paints warn, farther above good and farther below bad, the other way round on a column with polarity lowerIsBetter; it reads no steps, bins, span or cap. |
|
|
287
|
+
| encodings.*.bins (encodings.* branch 6) | array | | | Ascending band edges. On scale 'absolute' a value takes the band of the last edge it reaches (e.g. [30, 40, 50, 60] gives five bands); on 'diverging' they are the \|distance\| edges, default [1, 4]. Given without steps, they set the band count themselves. |
|
|
288
|
+
| encodings.*.span (encodings.* branch 6) | number | | | Spread that fills a column ramp. Measured in column units; a smaller spread takes bands from the lightest up, so a spread of 1 point is not painted like one of 30. Omitted, every column's own min and max fill the ramp. |
|
|
289
|
+
| encodings.*.center (encodings.* branch 6) | string | `'total'` | | Centre: column total. On scales 'diverging' and 'status' a reader can check every band against that printed figure. Omitted, or in a column without a total row value, the centre is the average of the column's data rows. |
|
|
290
|
+
| encodings.*.tolerance (encodings.* branch 6) | object | | | Warn band of scale 'status'. A value at most this far from the centre paints warn, the boundary included; default { pct: 5 }. Give exactly one of pct and abs. |
|
|
291
|
+
| encodings.*.tolerance.pct (encodings.* branch 6) | number | | | Percent of the centre. 5 reads 62 to 68 as warn around 65. |
|
|
292
|
+
| encodings.*.tolerance.abs (encodings.* branch 6) | number | | | Column units. 2 reads 63 to 67 as warn around 65. |
|
|
293
|
+
| encodings.*.columns (encodings.* branch 6) | array | | | Further columns this rule paints. A sixty-column cohort grid names its lane once instead of sixty times, and a column that carries its own entry keeps it. Leave a column out to keep it unshaded. |
|
|
294
|
+
| totalPosition | string | `'top'`, `'bottom'` | | Total-row position; variant supplies the default. |
|
|
295
|
+
| density | string | `'compact'`, `'regular'`, `'relaxed'`, `'cohort'`, `'cohort-small'` | `'regular'` | Cell spacing. Before a size refusal, the static table retries with compact spacing, tight margins and automatic height unless belowMinimum is 'refuse'. Where a fixed width or height still misses, cell air, column gaps and margins shrink to 2 px air and 4 px gaps, and row air to 1 px where the height misses; a 'table-tight-spacing' warning names the size for compact spacing. 'cohort' and 'cohort-small' are the fixed matrix grids of a cohort table: rows of 26 px (20 px) whatever the level, cells one (two) steps under the label, heads on the axis step, and value columns centred unless the column names its own alignment. |
|
|
296
|
+
| nulls | string | `'blank'`, `'dash'` | | What a MISSING cell prints. 'dash' (the default) keeps the em dash; 'blank' leaves it empty, which is what a cohort staircase needs — a cohort acquired in May has not been observed at M8, and a triangle of dashes is noise. The explicit states na, nm and suppressed keep their glyphs. |
|
|
297
|
+
| figures | boolean | | | Print the cell figures; default true. false draws the heat grounds alone in 22 px cells, over any width authored for the figures, on 14 px rows or the line box of the text a row still prints where that is taller, so a sixty-column triangle fits one screen. The heads keep their labels and the numbers stay in the markup for a reader who cannot see the grounds. Refused on a table without a heat lane in encodings. |
|
|
298
|
+
| expansion | object | | | Expansion order: depth, collapsed, expanded. |
|
|
299
|
+
| expansion.depth | integer \| string | `'all'`, `'totals'` (or another value of its type) | | Parents at levels below depth start expanded; 'all' or omission expands every parent; 'totals' shows the totals alone. |
|
|
300
|
+
| expansion.collapsed | array | | | Row-id overrides applied after depth. |
|
|
301
|
+
| expansion.expanded | array | | | Row-id overrides applied last; they win over collapsed. |
|
|
302
|
+
| expansion.rootsHidden | boolean | | | Hide level-0 data rows and subtrees. The totals and the section headings stay: this is the totals-only step of a depth control, which collapsing a parent cannot reach, because a collapsed parent still draws its own row. |
|
|
303
|
+
| columnVisibility | object | | | Visibility by column-toggle id. |
|
|
304
|
+
| inlineVisibility | object | | | Visibility by inlineGroup. An absent group is visible, so a Changes control hides every MoM line of a table with one entry. |
|
|
305
|
+
| magnitude | string | `'auto'`, `'thousand'`, `'million'` | | Money scale for all rows and columns. 'thousand' prints whole thousands, 'million' keeps the example's decimals, and no column rolls up on its own. The scale letter leaves the cells and hoists to the frame, the column header or, where the format sits on the row, the row label. 'auto' (the default) lets each column and money row pick from its own largest value. |
|
|
306
|
+
| foldOn | string | `'row'`, `'toggle'` | | React only. What folds a parent row. 'row': a click on the row folds it, and selects it too where the host made it selectable. 'toggle': only the fold mark folds; a row click only selects. Default: 'toggle' for a selectable row, else 'row'. Enter and Space follow the click. |
|
|
307
|
+
| groupGround | string | `'expanded'`, `'always'`, `'none'` | | Group row ground. 'expanded' (default): only an open group's header row. 'always': folded or open, as before 0.28. 'none': no group ground. The Total keeps its ground. Absent: theme table.groupGround. |
|
|
308
|
+
| anchorWash | boolean | | | Wash expanded level-0 anchors; no control. |
|
|
309
|
+
| stickyLabels | boolean \| integer \| object | | | Pin header and columns. React only; static output shows the whole table. true pins one column, a number pins that many (2 for a cohort grid), and the last carries a hairline shadow. The object form sets head, columns, top and sections. Page mode is refused with React fillHeight. Off in print. |
|
|
310
|
+
| stickyLabels.head | string \| false | `'table'`, `'page'`, `false` | | Head pin mode. 'table' (default): in the table's own scroll box, which the host sizes. 'page': to the page scroll at `top` px; the body has no vertical scroll box, and no overflow ancestor may sit above the table. false: no pinned head. |
|
|
311
|
+
| stickyLabels.columns | integer | | | Columns. Default 1. |
|
|
312
|
+
| stickyLabels.top | number | | | Offset in px. Clears a host toolbar. Default 0; above 0 needs head: 'page'. |
|
|
313
|
+
| stickyLabels.sections | boolean | | | Section label. Default false. true keeps the active section label under the head until the next section starts. |
|
|
314
|
+
| frameFill | string | `'values'`, `'none'` | `'values'` | Under rowExtent 'frame'. 'values' (default): automatic value tracks grow in whole pixels, up to maxGrowth (default 2.5). An unauthored label track takes the rest. 'none': columns keep their widths; an empty track carries the row ground and rules to the edge. |
|
|
315
|
+
| rowLabelLines | number | `1`, `2` | `2` | Lines a row label may take before it is cut with an ellipsis (default 2). A label breaks at a space or after _ - / or a dot, so a long campaign name wraps instead of ending in '…'. 1 keeps every label on one line. The hover card always prints the full name. |
|
|
316
|
+
| lastTrackFlex | boolean | | | Extend the last track to the frame edge only when it has no authored width and rowExtent is tracks. Default false. |
|
|
317
|
+
| rowExtent | string | `'tracks'`, `'frame'` | `'frame'` | Where rows end. 'frame' (default) fills the width inside the frame margins. An explicit 'frame' also carries row grounds and rules through authored side margins. frameFill controls track growth. 'tracks' stops rows at the last column. Column bands stop at their columns. Tables use horizontal rules and explicit column separators; there is no single vertical end rule. |
|
|
318
|
+
| sortIndicator | string | `'all'`, `'sorted'` | | Which sortable headers draw a chevron. 'all' (the default) draws one on every sortable header; 'sorted' draws it on the sorted one alone and keeps the others' reserve, so no track moves. |
|
|
319
|
+
| levelOffset | integer | | | Shift non-total rows down the level ladder. Default 0. A board whose top rows are groups rather than KPI lines reads one rung too heavy: 1 steps them down in size, weight, air, ground, indent and label ink, -1 steps them up. The rungs stay floored at the top and at the deepest step. |
|
|
320
|
+
| cellPadX | number | | | Horizontal cell padding in px. Default 12; only when it cannot fit, use 5 for 20–24 columns or 3 for 25 or more. |
|
|
321
|
+
| groupRule | string | `'label'`, `'span'` | `'span'` | Heading rule. 'span' (default) rules every column of the group, so it shows which columns the heading covers; 'label' underlines the heading text alone. |
|
|
322
|
+
| groupAlign | string | `'left'`, `'center'`, `'right'` | `'center'` | Heading position. 'center' (default) centres the heading over its columns; in the React grid a group wider than the visible scroll area starts its heading at the first column, and the heading stays in view while the group scrolls. 'left' always starts it at the first column, 'right' ends it at the last. A heading wider than its columns starts at the first column. |
|
|
323
|
+
| fitFormats | boolean | | | Fit figures to authored widths. Remove decimals, then use the next unit up. |
|
|
324
|
+
| maxGrowth | number \| false | `false` (or another value of its type) | `2.5` | Value-track growth cap; default 2.5, false removes the cap. Applies to SVG and React frame fill; the label track takes the remaining width. Also caps React container fit growth. |
|
|
325
|
+
| labelIndent | object | | | Tree indent from row edge. Absent: cell air without marks; cell air plus 24 with outlineMarks: true or interactive fold buttons. Then 16 per rung. |
|
|
326
|
+
| labelIndent.base | number | | | Level-0 start from row edge, padding included. |
|
|
327
|
+
| labelIndent.step | number | | | px per rung; default 16. |
|
|
328
|
+
| outlineMarks | boolean | | `false` | Fold marks beside parent rows. Drawn in static SVG/PNG and read-only grids. Default false: no marks or gutter. true draws the marks and reserves their gutter. Interactive grids keep their fold buttons either way. |
|
|
329
|
+
|
|
330
|
+
Plus the [shared options](options.md). This type does not accept `detailFields`, `labels`, `categoryLabels`, `valueAxis`, `categoryAxis`, `secondaryAxis`, `rowLabels`, `bandFraction`, `story`, `hatchStrength`, `rounding`.
|
|
331
|
+
|
|
332
|
+
## Annotations
|
|
333
|
+
|
|
334
|
+
This type takes no annotations.
|
|
335
|
+
|
|
336
|
+
## A wide table at the width it is shown at
|
|
337
|
+
|
|
338
|
+
Pick the target and render the table at the width the page shows it at; let the rows set the height: `target: "report"` and `size: { width: 1050 }` for a 1,050 px report column. A table drawn at 1,233 px and scaled into that column by the host shrinks every font to 85 percent, more than the 10 percent a chart may shrink. Column `width`s spread the tracks across the frame; without them the table keeps its natural width and the rest of the frame stays margin.
|
|
339
|
+
|
|
340
|
+
The target sets the text size. At 1,050 px a `report` table is in the M class: 15 px body and row labels, 14 px column heads. A dashboard table takes `target: "dashboard"`. `theme.overrides` still sets a role size in every width class, `type.label.size` for the body and the row labels and `type.axis.size` for the column heads; a size below the target's floor warns. Put the width the host shows the SVG at in `embed.width`: if the host still scales the table down, `type-below-effective-min` names the narrowest width at which the text stays readable.
|
|
341
|
+
|
|
342
|
+
When the columns do not fit at that width, the size refusal names one minimum width, measured in the type the table uses at that width, and rendering at it works. If that is wider than the page, split the table or drop columns instead of scaling it down. The fixture `wide-at-destination-width` draws this table.
|
|
343
|
+
|
|
344
|
+
```json
|
|
345
|
+
{
|
|
346
|
+
"type": "table",
|
|
347
|
+
"data": {
|
|
348
|
+
"columns": [
|
|
349
|
+
{ "id": "region", "kind": "rowLabel", "label": "Sales region", "width": 210 },
|
|
350
|
+
{ "id": "q1", "kind": "value", "label": "Q1 2025", "format": "1,234", "width": 98 },
|
|
351
|
+
{ "id": "q2", "kind": "value", "label": "Q2 2025", "format": "1,234", "width": 98 },
|
|
352
|
+
{ "id": "q3", "kind": "value", "label": "Q3 2025", "format": "1,234", "width": 98 },
|
|
353
|
+
{ "id": "q4", "kind": "value", "label": "Q4 2025", "format": "1,234", "width": 98 },
|
|
354
|
+
{ "id": "q5", "kind": "value", "label": "Q1 2026", "format": "1,234", "width": 98 },
|
|
355
|
+
{ "id": "q6", "kind": "value", "label": "Q2 2026", "format": "1,234", "width": 98 },
|
|
356
|
+
{ "id": "q7", "kind": "value", "label": "Q3 2026", "format": "1,234", "width": 98 },
|
|
357
|
+
{ "id": "q8", "kind": "value", "label": "Q4 2026", "format": "1,234", "width": 98 }
|
|
358
|
+
],
|
|
359
|
+
"rows": [
|
|
360
|
+
{
|
|
361
|
+
"id": "north",
|
|
362
|
+
"label": "North",
|
|
363
|
+
"cells": {
|
|
364
|
+
"q1": 1200,
|
|
365
|
+
"q2": 1305,
|
|
366
|
+
"q3": 1310,
|
|
367
|
+
"q4": 1415,
|
|
368
|
+
"q5": 1420,
|
|
369
|
+
"q6": 1425,
|
|
370
|
+
"q7": 1530,
|
|
371
|
+
"q8": 1535
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"id": "central",
|
|
376
|
+
"label": "Central",
|
|
377
|
+
"cells": {
|
|
378
|
+
"q1": 1650,
|
|
379
|
+
"q2": 1655,
|
|
380
|
+
"q3": 1660,
|
|
381
|
+
"q4": 1665,
|
|
382
|
+
"q5": 1770,
|
|
383
|
+
"q6": 1775,
|
|
384
|
+
"q7": 1780,
|
|
385
|
+
"q8": 1785
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"id": "south",
|
|
390
|
+
"label": "South",
|
|
391
|
+
"cells": {
|
|
392
|
+
"q1": 1880,
|
|
393
|
+
"q2": 1985,
|
|
394
|
+
"q3": 1990,
|
|
395
|
+
"q4": 1995,
|
|
396
|
+
"q5": 2040,
|
|
397
|
+
"q6": 2125,
|
|
398
|
+
"q7": 2130,
|
|
399
|
+
"q8": 2135
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"id": "west-coast",
|
|
404
|
+
"label": "West coast",
|
|
405
|
+
"cells": {
|
|
406
|
+
"q1": 2190,
|
|
407
|
+
"q2": 2195,
|
|
408
|
+
"q3": 2280,
|
|
409
|
+
"q4": 2285,
|
|
410
|
+
"q5": 2290,
|
|
411
|
+
"q6": 2395,
|
|
412
|
+
"q7": 2400,
|
|
413
|
+
"q8": 2405
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"id": "east-coast",
|
|
418
|
+
"label": "East coast",
|
|
419
|
+
"cells": {
|
|
420
|
+
"q1": 2440,
|
|
421
|
+
"q2": 2525,
|
|
422
|
+
"q3": 2530,
|
|
423
|
+
"q4": 2535,
|
|
424
|
+
"q5": 2620,
|
|
425
|
+
"q6": 2625,
|
|
426
|
+
"q7": 2630,
|
|
427
|
+
"q8": 2715
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"id": "islands",
|
|
432
|
+
"label": "Islands",
|
|
433
|
+
"cells": {
|
|
434
|
+
"q1": 2750,
|
|
435
|
+
"q2": 2755,
|
|
436
|
+
"q3": 2760,
|
|
437
|
+
"q4": 2845,
|
|
438
|
+
"q5": 2870,
|
|
439
|
+
"q6": 2875,
|
|
440
|
+
"q7": 2960,
|
|
441
|
+
"q8": 2965
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"options": {
|
|
447
|
+
"title": "Every region sold more in 2026 than a year before",
|
|
448
|
+
"subtitle": { "measure": "Units sold", "period": "Q1 2025 to Q4 2026" },
|
|
449
|
+
"source": "Synthetic data for an invented retailer",
|
|
450
|
+
"target": "report",
|
|
451
|
+
"size": { "width": 1050 },
|
|
452
|
+
"embed": { "width": 1050 }
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
## Statements: signs, subtotals, results and drivers
|
|
458
|
+
|
|
459
|
+
A table prints an accounting statement, such as a P&L or a contribution-margin statement, from figures that the host supplies. Use it when the host has the figures, for example a P&L from the ledger. When Boardplot must compute the lines from additive sums per period, use a `dimswitch` statement instead: see [dimswitch](dimswitch.md#statements-subtotals-results-and-drivers).
|
|
460
|
+
|
|
461
|
+
Four row fields make the statement:
|
|
462
|
+
|
|
463
|
+
- `kind: "subtotal"`: a row that its children add up to, such as Cost of sales. It prints its label and figures at the theme weight `table.weights.subtotal` on the ground `table.grounds.subtotal`, and it folds like any parent.
|
|
464
|
+
- `kind: "result"`: a row computed from rows above it with `calc`, such as Gross profit = `{ "op": "sub", "a": { "ref": { "row": "revenue" } }, "b": { "ref": { "row": "cogs" } } }`. It prints bold with a rule above it, and it stays where you put it: a result is never moved like a total. A result may read another result: EBIT = `{ "op": "sub", "a": { "ref": { "row": "gp" } }, "b": { "ref": { "row": "opex" } } }`; Boardplot evaluates them in order and refuses a cycle. `final: true` puts the closing rule under it (theme `table.finalRule`, a double rule by default).
|
|
465
|
+
- `kind: "driver"`: a row that explains a line and is never added, such as units sold. It prints in italic in the driver ink. A driver that sits under a line shows the good, warn or bad tone of its figures; see `options.driverTones` below.
|
|
466
|
+
- `sign: -1`: the row subtracts from its parent. Supply costs as positive figures and set `sign: -1` on the cost row. The contribution sign of a row is the product of the signs of the row and its additive parents, so the children of Cost of sales subtract too.
|
|
467
|
+
|
|
468
|
+
`result` and `driver` rows are never added to a parent: they imply relation `displayOnly`, and Boardplot refuses another relation on them, because a result added to its parent counts the parent twice. `sign` needs relation `additive`. A `calc` reads the supplied values, before any sign: Gross profit = revenue − cost of sales, with cost of sales positive.
|
|
469
|
+
|
|
470
|
+
`options.signs` decides how a sign prints. `"signed"` (the default) prints the figures of a row with contribution sign −1 negated, and its absolute changes too, so the column adds up from top to bottom; a relative or pp change keeps its sign, and a driver or result prints its own value. `"operators"` prints the figures as supplied and puts an operator before the label: − for `sign: -1`, = for a result, and `row.operator` where you set it (+, −, ×, ÷ or =). `"plain"` prints neither. A table without `sign: -1` rows prints the same in all three modes.
|
|
471
|
+
|
|
472
|
+
`options.judgements: "exceptions"` keeps only the strong good and the bad colours; good and warn cells print neutral. Use it when a full heat map is too loud.
|
|
473
|
+
|
|
474
|
+
`options.driverTones` decides whether a driver row shows the tones its figures earn. `"grouped"` (the default) shows them for a driver that has a `parentId` whose parent is not a section heading, as the lines of a statement do; a flat driver and a driver under a section heading keep the driver ink. `"always"` shows them for every driver, and `"never"` keeps the driver ink everywhere, as before 0.28. A neutral figure and the label keep the driver ink, and the italic face stays. A `dimswitch` statement takes the option too: its drivers sit under their lines, so they show their tones by default.
|
|
475
|
+
|
|
476
|
+
Every colour, weight and rule of a table is a theme key, so the client decides the look. `table.inks` sets the inks of the heads, sub-labels, labels, child labels, figures, qualifiers, operators, drivers and fold toggles; for grey absolute numbers set `table.inks.figure`. `table.weights` sets the label weights of members, measures, subtotals and results, their figure weights in `figures`, the Range and vs prior block in `block`, and the change lines in `change`. `table.ruleWidths.head`, `table.resultRule`, `table.finalRule`, `table.driver.italic`, `table.qualifier`, `table.section.case`, `table.toggle`, `table.operator.width` and `table.grounds.subtotal` and `.total` set the rest. Every key has a default that keeps the drawing of 0.24.
|
|
477
|
+
|
|
478
|
+
`tableLooks.sheet` from `boardplot` is a ready look: the report sheet with filled judgement cells, a 2 px head rule, grey subtotal grounds, bold results with a double closing rule and italic drivers. Use it as `theme: { "preset": "boardroom", "overrides": tableLooks.sheet }` and change any key on top of it. It is an option; no table takes it by default. Column heads print in capitals by default; `table.head.case: "asis"` keeps them as written ($k).
|
|
479
|
+
|
|
480
|
+
```json
|
|
481
|
+
{
|
|
482
|
+
"type": "table",
|
|
483
|
+
"data": {
|
|
484
|
+
"columns": [
|
|
485
|
+
{ "id": "line", "kind": "rowLabel", "label": "$k" },
|
|
486
|
+
{ "id": "fy25", "kind": "value", "label": "FY2025", "format": "1,234" },
|
|
487
|
+
{ "id": "fy26", "kind": "value", "label": "FY2026", "format": "1,234" },
|
|
488
|
+
{
|
|
489
|
+
"id": "chg",
|
|
490
|
+
"kind": "computed",
|
|
491
|
+
"label": "Change",
|
|
492
|
+
"calc": { "op": "delta", "a": "fy26", "b": "fy25" },
|
|
493
|
+
"format": "+1,234"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"rows": [
|
|
497
|
+
{
|
|
498
|
+
"id": "revenue",
|
|
499
|
+
"label": "Revenue",
|
|
500
|
+
"kind": "subtotal",
|
|
501
|
+
"children": [
|
|
502
|
+
{ "id": "product", "label": "Product sales", "cells": { "fy25": 8200, "fy26": 9100 } },
|
|
503
|
+
{ "id": "services", "label": "Services", "cells": { "fy25": 1300, "fy26": 1500 } },
|
|
504
|
+
{
|
|
505
|
+
"id": "units",
|
|
506
|
+
"label": "Units sold (k)",
|
|
507
|
+
"kind": "driver",
|
|
508
|
+
"cells": { "fy25": 41, "fy26": 45 }
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"id": "cogs",
|
|
514
|
+
"label": "Cost of sales",
|
|
515
|
+
"kind": "subtotal",
|
|
516
|
+
"sign": -1,
|
|
517
|
+
"children": [
|
|
518
|
+
{ "id": "materials", "label": "Materials", "cells": { "fy25": 3900, "fy26": 4300 } },
|
|
519
|
+
{ "id": "freight", "label": "Freight", "cells": { "fy25": 600, "fy26": 700 } }
|
|
520
|
+
]
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"id": "gp",
|
|
524
|
+
"label": "Gross profit",
|
|
525
|
+
"kind": "result",
|
|
526
|
+
"calc": { "op": "sub", "a": { "ref": { "row": "revenue" } }, "b": { "ref": { "row": "cogs" } } }
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"id": "opex",
|
|
530
|
+
"label": "Operating expenses",
|
|
531
|
+
"kind": "subtotal",
|
|
532
|
+
"sign": -1,
|
|
533
|
+
"children": [
|
|
534
|
+
{ "id": "staff", "label": "Staff", "cells": { "fy25": 2400, "fy26": 2550 } },
|
|
535
|
+
{ "id": "marketing", "label": "Marketing", "cells": { "fy25": 900, "fy26": 1150 } }
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"id": "ebit",
|
|
540
|
+
"label": "EBIT",
|
|
541
|
+
"kind": "result",
|
|
542
|
+
"final": true,
|
|
543
|
+
"calc": { "op": "sub", "a": { "ref": { "row": "gp" } }, "b": { "ref": { "row": "opex" } } }
|
|
544
|
+
}
|
|
545
|
+
]
|
|
546
|
+
},
|
|
547
|
+
"options": { "title": "EBIT rises 200 to 1,900 as revenue grows faster than costs", "signs": "signed" }
|
|
548
|
+
}
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
## Group grounds, folds, frames and fitted formats
|
|
552
|
+
|
|
553
|
+
On every target, a missing input prints n/a (German k. A.) in values and calculations. A row keeps its missing glyph when it has no previous column in its group. A later 0/0 calculation prints n/a. A calculation skipped for an incompatible computed column keeps its placeholder. Explicit missing glyphs, nulls: blank, cohort density and table.noPrevious keep their existing missing-cell rules.
|
|
554
|
+
|
|
555
|
+
`groupGround` decides which group rows carry the group ground (the emphasis and band grounds of the top two rungs, under a preset that draws them). `"expanded"` (the default, a 0.28 change) grounds only the header row of an open group, so a folded group row, and a leaf on its rung, look like normal rows; the Total keeps its own ground. `"always"` keeps the 0.27 look: every group row and every leaf on its rung, folded or open. `"none"` draws no group ground. The theme key `table.groupGround` sets the default for a look such as `sheet`; the table option wins. SVG and grid agree.
|
|
556
|
+
|
|
557
|
+
`foldOn` (React) says what folds a parent row. `"row"`: a click on the row folds it, and selects it too where the host made it selectable. `"toggle"`: only the fold mark folds, and a row click only selects. The default is `"toggle"` for a selectable row (an `onRowSelect` host that does not narrow `isRowSelectable`) and `"row"` for any other row. Enter and Space on a cell do what the click does.
|
|
558
|
+
|
|
559
|
+
A depth control writes `options.expansion.depth`: a number, `"all"`, or `"totals"`, the totals step that folds every parent and shows the totals and the section headings alone. A table without a total row keeps its level-0 rows, folded, under open section headings, so the step never leaves an empty body. In React a mounted table follows a new `expansion`: the reader's folds give way to it, while scroll and column toggles stay and the rows fold and open with their animation (none under reduced motion). When the row that holds the focus folds away, the focus moves to its parent. `onExpansionChange` reports each reader fold as an `expansion` (the authored lists rewritten); a control shows no depth pressed while the lists differ from the ones it wrote, and stores the report in the spec so that a later press of the same depth is a change. A `dimswitch` reports the fold through `onViewChange` (reason `"collapsed"`); a host that controls `collapsed` and sets it back to undefined gets the folds of the depth back.
|
|
560
|
+
|
|
561
|
+
Under `rowExtent: "frame"` the rows reach the frame edge, and `frameFill` (default `"values"`) grows the value and computed tracks, in proportion to their widths and in whole px, until the columns end at that edge too: the row ground, the rules, the band columns and the cell tones all end together, and an authored `width` is a minimum. `frameFill: "none"` keeps the 0.27 look, where the columns keep their widths and an empty stretch carries the row ground and the rules to the edge. A table wider than its frame is not squeezed, and a right margin leaves its own empty stretch.
|
|
562
|
+
|
|
563
|
+
A change line prints its authored format as authored: `+1.2k` prints `+1.4k`, `−0.4k` and `0.0k` for 1350, −360 and 10, and a signed or inline row never gets extra decimals. A level row keeps "nonzero stays nonzero", so a small money or count figure does not print as 0.
|
|
564
|
+
|
|
565
|
+
`fitFormats` shortens a format until the widest figure fits an authored width. It gives every row of one format family (the same unit, prefix, suffix and magnitude) the same precision, so one column does not mix `−16k` over `12.4k`. It reports what it changed: the layout adds the info warning `table-formats-fitted`, whose `detail.changes` lists each row, column or cell with the example before (`from`, absent where it was derived) and after (`to`), and React calls `onFormatsFit(changes)` with the same list. `fitFormat: false` on a row or a column keeps its format as authored. Outside a fit, an authored format prints in its own magnitude: `$1.2k` prints 2,496,000 as 2,496.0 thousand, never as `$2.5M`.
|
|
566
|
+
|
|
567
|
+
A table with no data row (no row at all, or only section headings and totals) keeps its head and draws one quiet row under it that says "No data to show." Folds and `rootsHidden` do not make a table empty. React calls `onEmpty` once, and `strings.emptyMessage` words the row; the static SVG draws the default wording. `canDraw(request)` answers `{ ok: false, code: "empty-data" }` for the same table, so a host can hide the card before it renders. `dimswitch` takes `onEmpty` too; it is empty only when it has no measure.
|
|
568
|
+
|
|
569
|
+
Cell padding does not animate in the grid. A change of `cellPadX` and of the tracks in one render shows no moment where a head wraps on the old padding. A table that mounts does not animate its row heights; only a fold (the `max-height` of the children), the inline-lines switch and a column toggle animate, and `prefers-reduced-motion` turns those off.
|
|
570
|
+
|
|
571
|
+
## Value bands and a pinned head
|
|
572
|
+
|
|
573
|
+
A numeric cell object takes `bands`: a list of ascending upper bounds `to` in the cell's own units, before display formatting, each with an optional `tone` (`good`, `warn`, `bad` or `neutral`) and a `label`. The cell takes the first band whose `to` is at or above its value; a value under the first bound takes the first band and a value over the last bound takes the last. Negative bounds and zero are fine. An explicit `tone` on the cell beats the bands, and the bands beat the automatic sign judgement of a change. A missing, n/a, n.m., suppressed or open cell is not judged, and a text cell ignores the bands. `muted`, a column `materiality` and `options.judgements` still apply. The label shows on hover and in the accessible table. `bands` colour a level; use `polarity` for the sign of a change.
|
|
574
|
+
|
|
575
|
+
`stickyLabels: true` or a number keeps its meaning: the head and that many leading columns pin inside the table's own scroll box, which the host sizes (React `fillHeight`, or a height on the scroller). The object form names the parts: `{ "head": "table" | "page" | false, "columns": 1, "top": 0, "sections": false }`. `head: "page"` pins the head to the page scroll at `top` px, so it clears a host toolbar. The body then has no vertical scroll box, the head follows its sideways scroll, and no ancestor between the table and the scrolling page may set `overflow`, because it would capture the sticky head. Page mode is refused with `fillHeight`; the refusal names the fix. `sections: true` keeps the label of the section in view under the head until the next section starts, or until the table ends. `top` above 0 needs `head: "page"`. A `dimswitch` takes the object too and keeps its own pinned column count (3, or 4 with a plan column) unless you set `columns`. Static SVG, PNG and PDF show the whole table and ignore sticky. Print turns sticky off.
|
|
576
|
+
|
|
577
|
+
## Sizing
|
|
578
|
+
|
|
579
|
+
Floor 100 × 80 px; fit `content`.
|
|
580
|
+
|
|
581
|
+
Below the floor a render is refused with `size-below-floor` and the pixels it needs. `measure` returns the natural and comfortable size for a given spec; see [Sizing in the manual](../manual.md#sizing).
|
|
582
|
+
|
|
583
|
+
## Fixtures
|
|
584
|
+
|
|
585
|
+
| ID | Kind | Use case |
|
|
586
|
+
|---|---|---|
|
|
587
|
+
| steering-monthly | example | Management steering: actual vs plan with validated group total |
|
|
588
|
+
| steering-executive-report | example | Executive KPI table: monthly values with verified MoM, YoY and YTD |
|
|
589
|
+
| department-steering-mini | example | Department steering mini-table: share bars and cost variances |
|
|
590
|
+
| table-scorecard | example | Scorecard: one row per initiative with a value, a state chip and a wrapping note |
|
|
591
|
+
| table-status-square | example | Status column with host labels and the square mark |
|
|
592
|
+
| benchmark-competitors | example | Benchmark: revenue share and margin with derived total |
|
|
593
|
+
| receipts-changelog | example | Receipts: dated change log with old → new values |
|
|
594
|
+
| pivot-with-notes | example | Yearly pivot: metric rows with inline annotation cells |
|
|
595
|
+
| cohort-retention | torture | Torture: cohort table with right-censored cells |
|
|
596
|
+
| nulls-policy | torture | Torture: missing child values under propagate vs skip |
|
|
597
|
+
| heat-region-month-grid | example | Heat table: region × month grid across six numeric columns |
|
|
598
|
+
| fatigue-cell-encodings | example | Fatigue diagnostic: spend bars and arrows on three signed Δ% columns |
|
|
599
|
+
| arrow-relative-percent | torture | Arrows on a percent change, angled against the largest change |
|
|
600
|
+
| kpi-trend-sparkline | torture | KPI trend: sparkline with the source columns kept visible |
|
|
601
|
+
| sparkline-line-column | torture | Line and column sparklines share one y-domain per column; last values labelled |
|
|
602
|
+
| management-report | example | Monthly revenue report with expandable hierarchy and forecast detail |
|
|
603
|
+
| management-report-de | example | Monthly revenue report with expandable hierarchy and forecast detail, German number format |
|
|
604
|
+
| management-report-compact | example | Monthly revenue report at README width: month-to-date and closed year-to-date |
|
|
605
|
+
| status-review-relaxed | example | Status review with more space between business units |
|
|
606
|
+
| text-scale-small | torture | textScale 0.85 sets the table faces smaller, each stopping at the report floor |
|
|
607
|
+
| shared-swiss-cash-movement | example | Cash movements with swiss number grouping |
|
|
608
|
+
| shared-spaced-cash-movement | torture | Cash movements with spaced number grouping |
|
|
609
|
+
| proportional-figures | example | Theme with proportional figures on numbers |
|
|
610
|
+
| torture-long-labels | torture | Torture: long names at a generous size read whole, never cut |
|
|
611
|
+
| steering-kpi-rows | example | KPI rows with their own units: revenue in $M, new customers as a count, CAC in $, across month columns |
|
|
612
|
+
| monthly-kpi-sections | example | Monthly KPI board: two sections over twelve months and their average, a change line under every value |
|
|
613
|
+
| table-level-ladder | example | Four levels of one KPI, two body sizes and a compact value block |
|
|
614
|
+
| steering-table-v2 | example | Monthly KPIs with the change lines inside the cell, 2026 YTD after nine months |
|
|
615
|
+
| magnitude-forced | example | Every money figure in thousands, and the unit on the text that already carries it |
|
|
616
|
+
| column-band | example | A banded pair inside one column group, with the toggle still covering the year |
|
|
617
|
+
| totals-only | torture | Depth 0: the total alone, with the markets one step away |
|
|
618
|
+
| totals-step | torture | Depth 'totals': the group total alone over two regions with markets |
|
|
619
|
+
| mixed-top-level-rows | torture | A leaf among parents on the top rung keeps their ground |
|
|
620
|
+
| steering-level-offset | example | Regions one rung down under levelOffset, the total on its own step |
|
|
621
|
+
| steering-week-grain | example | Week grain: fixed tracks, ISO weeks under the dates, chevron on the sorted column |
|
|
622
|
+
| row-extent-frame | example | Rows that reach the frame edge in a card wider than the table |
|
|
623
|
+
| column-groups-no-heading | example | Column groups that keep their meaning and draw no heading |
|
|
624
|
+
| row-missing-blank | example | A change line that stays blank where it has no value, and a real gap that prints n/a |
|
|
625
|
+
| steering-theme-conventions | example | Theme table conventions with two open months and a heat-free cell |
|
|
626
|
+
| table-head-authored-case | example | Column heads in their authored case |
|
|
627
|
+
| table-frame-open-end | example | Rows that end on the card edge, with no end hairline and a light close |
|
|
628
|
+
| steering-hover-history | example | A year-to-date block whose hover card draws the fiscal years the table hides |
|
|
629
|
+
| group-span-row-spacer | example | Block headings over their whole span and a gap before the new year |
|
|
630
|
+
| fit-formats-narrow-tracks | example | Weekly revenue drops a decimal to fit 44 px tracks, the other rows keep their units |
|
|
631
|
+
| outline-marks-off | example | A region tree without outline marks, its head air from the theme |
|
|
632
|
+
| max-growth-capped | torture | A channel table whose columns grow at most 1.4 times when it fills a card |
|
|
633
|
+
| house-rule-colour | example | Head, total and close rules in the theme rule colour while the axis ink stays grey |
|
|
634
|
+
| heat-absolute-cap | example | A heat lane on an absolute plan variance, saturating at 500, the total tinted as well |
|
|
635
|
+
| column-band-prior-year-shown | example | The prior-year months a host toggled on through columnVisibility |
|
|
636
|
+
| level-ladder-one-open | example | Only Subscriptions opened over a collapsed tree, each rung indented 24 px |
|
|
637
|
+
| unfoldable-parent | example | Core stays open at depth 0 because it is foldable: false; New ventures folds |
|
|
638
|
+
| sections-with-badges | example | Three section headings with a warn, a good and a neutral status chip, at a narrow width |
|
|
639
|
+
| collapsed-hint-narrow | example | A squeezed label column: one hint whole, one cut to its count, none running into the figures |
|
|
640
|
+
| wide-at-destination-width | example | Nine columns at the 1,050 px column they are shown in, with larger body text |
|
|
641
|
+
| regional-scorecard-states | torture | A strong forecast column, line and column sparklines, a bad section chip and every non-value cell state |
|
|
642
|
+
| cohort-heat-relative | example | Cohort retention on the since-acquisition axis, five-step ink ramp |
|
|
643
|
+
| cohort-heat-dark-top | example | Cohort retention in a dark theme, the top band at 78 % ink under dark figures |
|
|
644
|
+
| cohort-heat-calendar | example | The same cohorts on calendar time, closing on the active base |
|
|
645
|
+
| cohort-heat-diverging | example | Points above and below the column average, Moss over Rust |
|
|
646
|
+
| cohort-heat-status | example | Each cohort green, amber or red against the weighted average |
|
|
647
|
+
| cohort-heat-absolute | example | One scale for the whole grid: bins at 30, 40, 50 and 60 points |
|
|
648
|
+
| cohort-heat-blocks | example | Core columns once, three metric blocks over the same months |
|
|
649
|
+
| cohort-heat-sampled | example | Thirty-six cohorts on a sampled month axis, 20 px rows, 6 px before each January |
|
|
650
|
+
| cohort-heat-large | torture | Sixty cohorts, sixty months, two pinned core columns |
|
|
651
|
+
| cohort-heat-large-heat-only | torture | The same sixty by sixty with the figures off, grounds alone |
|
|
652
|
+
| mixed-units | torture | Money, counts and rates keep their own units |
|
|
653
|
+
| percent-points-declared | example | Low conversion rates declared in points |
|
|
654
|
+
| hierarchy-kinds | example | Member, measure and split presentation |
|
|
655
|
+
| row-label-text-cap | example | A row-label text cap with an indent and a unit affix |
|
|
656
|
+
| long-campaign-names | example | Campaign names that wrap after _ and - in a capped label track |
|
|
657
|
+
| contribution-margin-statement | example | Contribution margin with signed costs and driver rows |
|
|
658
|
+
| pl-statement | example | An authored P&L, signed |
|
|
659
|
+
| pl-statement-operators | example | The P&L with operators and drivers |
|
|
660
|
+
| pl-statement-plain | example | The P&L as supplied |
|
|
661
|
+
| value-bands | example | Value bands colour a numeric cell by the range its value is in |
|
|
662
|
+
| page-sticky-sections | example | The head pins to the page scroll 48 px down, and the active section label stays under it |
|
|
663
|
+
| scroll-sticky-sections | torture | The head and two columns pin inside the table scroll box, with the active section label under the head |
|
|
664
|
+
| driver-tones-grouped | torture | Drivers under a line show good and bad tones; a flat driver keeps the driver ink |
|
|
665
|
+
| driver-tones-always | example | Every driver shows its tones, the flat one too |
|
|
666
|
+
| driver-tones-never | torture | Drivers keep the driver ink, as before 0.28 |
|
|
667
|
+
| sticky-columns-only | torture | Two columns pin and the head does not |
|
|
668
|
+
| group-ground-expanded | example | Only the open group has the group ground; a folded group row looks like a normal row |
|
|
669
|
+
| group-ground-always | example | The group ground stays on a folded group row, as before 0.28 |
|
|
670
|
+
| group-ground-none | example | No group ground at all |
|
|
671
|
+
| frame-fill-values | example | Under rowExtent frame the value tracks grow until every layer ends at the frame edge |
|
|
672
|
+
| frame-fill-none | example | The old frame: columns keep their widths and an empty stretch carries the rows to the edge |
|
|
673
|
+
| table-look-keys | example | A theme sets the quiet row rule, its width and the secondary ink; each open block opens on the rule ink |
|