boardplot 0.57.0 → 0.58.1
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 +311 -0
- package/README.md +48 -14
- package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-FXNTFSA4.js} +2 -2
- package/dist/{ReaderBox-GCIITQCX.js → ReaderBox-WVOT7VVJ.js} +8 -7
- package/dist/{annotateEngine-JMZI6QEG.js → annotateEngine-57L26X77.js} +2 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-6LQKU6YN.js → chunk-23FT7RLN.js} +11 -10
- package/dist/{chunk-5WSIH4SR.js → chunk-2CQBBN7M.js} +4 -4
- package/dist/chunk-2DS4MT7T.js +25 -0
- package/dist/{chunk-QFIRPOXR.js → chunk-2HII2B6S.js} +3 -3
- package/dist/{chunk-JMOBA5ES.js → chunk-2IRMGCYE.js} +2 -2
- package/dist/{chunk-JKXJWCJ5.js → chunk-2SWSUNA4.js} +116 -54
- package/dist/{chunk-O7Y6RJ4D.js → chunk-33EBLJVZ.js} +11 -11
- package/dist/{chunk-EHQLLZCQ.js → chunk-34PKJZRY.js} +59 -34
- package/dist/{chunk-SHAAMKN7.js → chunk-35ZJUZUO.js} +18 -18
- package/dist/{chunk-TGR6PRKG.js → chunk-3BMPYY26.js} +6 -3
- package/dist/{chunk-XJUZC53Y.js → chunk-3E6NLODZ.js} +1 -1
- package/dist/{chunk-H3EWFSWI.js → chunk-3ESWPMDW.js} +43 -29
- package/dist/{chunk-6KHRMK3I.js → chunk-3M2F7KSS.js} +158 -75
- package/dist/{chunk-UBXIGE2P.js → chunk-3MFVJMP6.js} +2 -2
- package/dist/{chunk-MOQFYJ3F.js → chunk-3OSQ32GN.js} +5 -5
- package/dist/{chunk-HGPFEG2L.js → chunk-3RXUA6VY.js} +5 -5
- package/dist/{chunk-I65OLJ2X.js → chunk-42QKUSHJ.js} +13 -3
- package/dist/{chunk-FAFUMSPR.js → chunk-4DK67I3B.js} +83 -51
- package/dist/{chunk-EEBMK6T6.js → chunk-4DMRIL5K.js} +8 -8
- package/dist/chunk-4M3UADCM.js +602 -0
- package/dist/{chunk-WSKZZ2ZB.js → chunk-4OJF6DXL.js} +538 -503
- package/dist/{chunk-UD6U4EF5.js → chunk-4ROZ4TFL.js} +1 -1
- package/dist/{chunk-I7KDPCC7.js → chunk-4TUU3UGY.js} +18 -10
- package/dist/{chunk-6ZN2XJFI.js → chunk-54YO56IK.js} +1 -1
- package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
- package/dist/{chunk-BQIADGJB.js → chunk-5CYLT6FJ.js} +5 -5
- package/dist/{chunk-IVQT2E3Y.js → chunk-5I4RPBNE.js} +13 -13
- package/dist/{chunk-LW4ZQGVL.js → chunk-5KAYLRRP.js} +7 -8
- package/dist/{chunk-2BHLRHF2.js → chunk-5SVGTQTW.js} +4 -4
- package/dist/{chunk-5JTRCSBN.js → chunk-62BDQTO6.js} +2 -2
- package/dist/{chunk-4RN4OM6I.js → chunk-63JUV7NR.js} +3 -3
- package/dist/chunk-645BGVPP.js +26 -0
- package/dist/{chunk-JIH52I36.js → chunk-65U6ZBZZ.js} +119 -85
- package/dist/{chunk-3DUGZ7ML.js → chunk-6ALORYH7.js} +46 -31
- package/dist/{chunk-HB3TH7GY.js → chunk-6AVUTZ6W.js} +10 -6
- package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
- package/dist/{chunk-W5SVS4B6.js → chunk-6JFQCVNN.js} +4 -4
- package/dist/{chunk-IZRTNCJQ.js → chunk-6JTCFPAD.js} +5 -5
- package/dist/{chunk-5TUDYKNL.js → chunk-6NGKQNTB.js} +42 -29
- package/dist/{chunk-IUVJVMKS.js → chunk-6V3A3MTG.js} +55 -32
- package/dist/{chunk-FJKFYQ5I.js → chunk-6YBNVI5I.js} +36 -28
- package/dist/chunk-76GPN6AT.js +72 -0
- package/dist/{chunk-SHCW2TCA.js → chunk-7GRR72MY.js} +25 -23
- package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
- package/dist/{chunk-Y5IKCXQR.js → chunk-7YZZCQT3.js} +5 -5
- package/dist/chunk-A65B23JK.js +113 -0
- package/dist/{chunk-2WTD3GCR.js → chunk-A6N24NGW.js} +3 -3
- package/dist/{chunk-72OJBDRB.js → chunk-AAQWFTDM.js} +52 -41
- package/dist/{chunk-4JNHF6JW.js → chunk-AGJ2QL4A.js} +84 -40
- package/dist/{chunk-I3DLERI7.js → chunk-AICO24HJ.js} +5 -2
- package/dist/{chunk-LSKCKGCF.js → chunk-AJGSCVVW.js} +2 -2
- package/dist/{chunk-7P7D6WXR.js → chunk-AKZOQGF3.js} +3 -3
- package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
- package/dist/{chunk-VY67Q6CJ.js → chunk-AMBQ6SWU.js} +36 -33
- package/dist/{chunk-73O6AOAA.js → chunk-AQ2PQ7FK.js} +241 -140
- package/dist/{chunk-XFCBH3TI.js → chunk-BHLNSJG7.js} +3 -3
- package/dist/{chunk-6XU5XGYV.js → chunk-BQ7SN7AW.js} +5 -5
- package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
- package/dist/{chunk-LSR3SBJ4.js → chunk-BSZOQJXB.js} +234 -136
- package/dist/{chunk-KJLH5EHD.js → chunk-BVIJCUWW.js} +175 -110
- package/dist/{chunk-2AJWRVZ2.js → chunk-C47POAC5.js} +1 -1
- package/dist/{chunk-AOIZJ7GR.js → chunk-C4SQU2PB.js} +6 -6
- package/dist/{chunk-Y7Q3VEYC.js → chunk-CCAAI56H.js} +30 -10
- package/dist/{chunk-T3WCDDIL.js → chunk-CDUR3KWV.js} +2 -2
- package/dist/{chunk-T5MBORBK.js → chunk-CFESVCZR.js} +1 -1
- package/dist/{chunk-EEL2N4Y6.js → chunk-CKEFAD4R.js} +5 -5
- package/dist/{chunk-WE5WVQE4.js → chunk-CMPHT2LS.js} +3 -3
- package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
- package/dist/{chunk-JSA3ESEJ.js → chunk-CR5FP5SF.js} +1 -1
- package/dist/{chunk-NCCDEUHD.js → chunk-CSMVKG2C.js} +1 -1
- package/dist/{chunk-JHWDTV4K.js → chunk-D2TQX7UJ.js} +2 -2
- package/dist/{chunk-GHFTKVJN.js → chunk-DHGE46UK.js} +1 -1
- package/dist/{chunk-26WNBTWB.js → chunk-DORE2RHL.js} +5 -5
- package/dist/{chunk-AFA32LHN.js → chunk-DUOGEFLG.js} +62 -36
- package/dist/{chunk-WZB6R2ZX.js → chunk-DZYTXZNS.js} +11 -3
- package/dist/{chunk-O4D27FKH.js → chunk-E5YF236N.js} +4 -1
- package/dist/{chunk-6EE6XEMA.js → chunk-EB4PQEI3.js} +26 -17
- package/dist/{chunk-ANNQJWDX.js → chunk-EBWMTQ4U.js} +285 -34
- package/dist/{chunk-EHNGPUTO.js → chunk-EDW5HQND.js} +5 -5
- package/dist/{chunk-VM5CQ7CG.js → chunk-EHRRHSPV.js} +2 -2
- package/dist/{chunk-PYGEIPPH.js → chunk-EILNJQMN.js} +32 -12
- package/dist/{chunk-KGS5Z7SL.js → chunk-ERDKMZ7O.js} +2 -2
- package/dist/{chunk-USFIDSTO.js → chunk-ETUKDEGL.js} +18 -11
- package/dist/chunk-F2ET5ZTT.js +49 -0
- package/dist/{chunk-HVX2E26J.js → chunk-F3XOBFS4.js} +9 -8
- package/dist/{chunk-I4NUYVP5.js → chunk-FB6X7QHA.js} +1 -1
- package/dist/{chunk-LO3AGGE3.js → chunk-FJNZ7NWD.js} +5 -5
- package/dist/{chunk-IRXTNSZL.js → chunk-FPFRLRQO.js} +40 -22
- package/dist/{chunk-YTEJYLU7.js → chunk-FRR7BJ3B.js} +2 -2
- package/dist/{chunk-DPUCT567.js → chunk-FVWHEM2N.js} +7 -5
- package/dist/{chunk-A33MFWHW.js → chunk-G7BCLYL4.js} +2 -2
- package/dist/{chunk-2KCK63DD.js → chunk-G7CXJPEN.js} +2 -2
- package/dist/{chunk-2X6XY4K4.js → chunk-GB3RZYTK.js} +39 -19
- package/dist/{chunk-MTCDGSYW.js → chunk-GHCU6OSE.js} +2 -2
- package/dist/{chunk-AFGQXMKT.js → chunk-GNMB72V7.js} +161 -67
- package/dist/chunk-GOFS336W.js +24 -0
- package/dist/{chunk-JMXNXLAC.js → chunk-GQYT7G4F.js} +2 -2
- package/dist/{chunk-RRPTQGRU.js → chunk-H3VICNTN.js} +1 -1
- package/dist/{chunk-JRRSKCGG.js → chunk-H4EDDGGX.js} +3 -3
- package/dist/{chunk-5H4HFRDO.js → chunk-H7BCNS5J.js} +5 -5
- package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
- package/dist/chunk-HF4BCPIV.js +26 -0
- package/dist/{chunk-YCUNFAEE.js → chunk-HM4AJ5U4.js} +238 -127
- package/dist/{chunk-7FAO4ICF.js → chunk-HO4ILCW7.js} +2 -2
- package/dist/{chunk-ZV3SNRJI.js → chunk-HTQGJQZN.js} +4 -2
- package/dist/{chunk-G5BUGYIL.js → chunk-I52OMC5B.js} +192 -113
- package/dist/{chunk-TMXRTYGT.js → chunk-I5VNHDPR.js} +3 -2
- package/dist/{chunk-M74H7QYD.js → chunk-IDXYHDQY.js} +1 -1
- package/dist/{chunk-SSZB3VXG.js → chunk-IFUAPFL5.js} +102 -47
- package/dist/{chunk-IPWUBZ4P.js → chunk-IIWZJ5ZM.js} +1 -1
- package/dist/{chunk-KF3ZHLHQ.js → chunk-IMUMPKXF.js} +5 -5
- package/dist/{chunk-HC6WHTBX.js → chunk-IPBOREIY.js} +1 -1
- package/dist/{chunk-76UL4CT4.js → chunk-IPZJCBWD.js} +27 -22
- package/dist/{chunk-5P4MXWKP.js → chunk-ITEJQHXE.js} +4 -4
- package/dist/{chunk-WDAZ2MT4.js → chunk-IVDTP6SV.js} +4 -4
- package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
- package/dist/{chunk-K6Y4HBK7.js → chunk-IXU5C3YY.js} +1000 -904
- package/dist/{chunk-EDBUVDRI.js → chunk-JBAVMO56.js} +372 -93
- package/dist/{chunk-VY2NPB2Q.js → chunk-JNDWRV34.js} +4 -4
- package/dist/{chunk-XYUXB5VK.js → chunk-JT3UTEWZ.js} +3 -3
- package/dist/{chunk-A6XCVOC5.js → chunk-JY4LTPOV.js} +1 -1
- package/dist/{chunk-VT7PBGL2.js → chunk-JYSFAH7C.js} +23 -36
- package/dist/chunk-K7XPTQBJ.js +267 -0
- package/dist/{chunk-2I76VFMZ.js → chunk-KI7VCHNZ.js} +49 -37
- package/dist/{chunk-YB6QGOCO.js → chunk-KUWIRCYJ.js} +2 -2
- package/dist/{chunk-MQ5EKWIG.js → chunk-KVBLTAO7.js} +5 -5
- package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
- package/dist/{chunk-BY5JGQFZ.js → chunk-KWIP5YRA.js} +4 -4
- package/dist/{chunk-KAAB2DIV.js → chunk-LJDATBPB.js} +6 -6
- package/dist/{chunk-TDDSWNGD.js → chunk-LOXZSTIM.js} +30 -28
- package/dist/{chunk-ZTSJ7NY6.js → chunk-LPMSGO7L.js} +3 -3
- package/dist/{chunk-IXM6BAM4.js → chunk-LXH4RPY4.js} +1 -1
- package/dist/{chunk-D5G67OER.js → chunk-LYAT62UT.js} +1 -1
- package/dist/{chunk-EFKFZNQC.js → chunk-M5LPP2GQ.js} +34 -20
- package/dist/{chunk-QZMLSK43.js → chunk-MALSSEXO.js} +294 -145
- package/dist/{chunk-XN7JDII2.js → chunk-MB5EX2YG.js} +230 -107
- package/dist/{chunk-PSYPB22T.js → chunk-MGXHFRQK.js} +5 -5
- package/dist/{chunk-GADI2DU7.js → chunk-MVR7YKBF.js} +152 -27
- package/dist/{chunk-IFURKTOL.js → chunk-MXUPMGRY.js} +2 -2
- package/dist/{chunk-C5SQEYTQ.js → chunk-NFGV5OAR.js} +153 -65
- package/dist/{chunk-RZNYW7UP.js → chunk-NNIZG3TH.js} +8 -0
- package/dist/{chunk-AKJO6N4K.js → chunk-NQPJWQTW.js} +11 -4
- package/dist/{chunk-YFI5PN5O.js → chunk-NSMYIUBZ.js} +34 -11
- package/dist/{chunk-H6EJ63QN.js → chunk-NT3HCXQC.js} +144 -83
- package/dist/chunk-NZ7FX3AE.js +65 -0
- package/dist/chunk-O3LT4TAI.js +34 -0
- package/dist/{chunk-L2XRUG4P.js → chunk-OELB7MTE.js} +5 -5
- package/dist/{chunk-7MYJUJZV.js → chunk-OMNB27GM.js} +4 -4
- package/dist/{chunk-GS5UG6QD.js → chunk-OO63YP35.js} +1 -1
- package/dist/{chunk-CEMXGMQN.js → chunk-OQUH7I5T.js} +3 -3
- package/dist/{chunk-Q7VPTN5X.js → chunk-OS7C2KMQ.js} +4 -4
- package/dist/{chunk-NRYERHEI.js → chunk-OTWIW2L3.js} +5 -5
- package/dist/chunk-OUNYHYJL.js +27 -0
- package/dist/{chunk-54HEIM2A.js → chunk-OUR5ZHCB.js} +2 -2
- package/dist/{chunk-Z257SH5U.js → chunk-OZA7HA6L.js} +1 -1
- package/dist/{chunk-WJQX7HBH.js → chunk-OZLKEBCD.js} +2 -2
- package/dist/{chunk-YGPLUENN.js → chunk-P3NMDPDP.js} +132 -83
- package/dist/{chunk-NINK4G7U.js → chunk-P5RCP4NK.js} +2 -2
- package/dist/{chunk-DYSEZVIJ.js → chunk-P6DEFCMQ.js} +2 -2
- package/dist/{chunk-J22ETKDJ.js → chunk-P7UOOMXE.js} +2 -2
- package/dist/chunk-PMT75APP.js +94 -0
- package/dist/{chunk-KLQKHA3T.js → chunk-PNYWBY4K.js} +5 -5
- package/dist/{chunk-XNV7VOIT.js → chunk-PVGJM2HP.js} +4 -4
- package/dist/{chunk-4U2WSW6F.js → chunk-Q2I3QLE3.js} +65 -36
- package/dist/{chunk-LGMV7ZV4.js → chunk-QATOOZMH.js} +5 -5
- package/dist/{chunk-H2POQ4LB.js → chunk-QFNWGSCT.js} +4 -4
- package/dist/{chunk-CIDOL4FO.js → chunk-QQMESIDA.js} +5 -5
- package/dist/{chunk-OTGNVAI4.js → chunk-R3VSWOTI.js} +4 -4
- package/dist/{chunk-UCIAHSJK.js → chunk-R5SGE2NS.js} +7 -3
- package/dist/{chunk-FX5VZK5F.js → chunk-RJICOOB3.js} +14 -8
- package/dist/{chunk-RMVCKO6N.js → chunk-RLH2CQCD.js} +458 -136
- package/dist/{chunk-VFLMBA2M.js → chunk-RPGEB3Z5.js} +19 -18
- package/dist/{chunk-KIXNHDXS.js → chunk-RQKDEJFQ.js} +5 -5
- package/dist/chunk-SBKM6XFS.js +211 -0
- package/dist/{chunk-TQ5HHNM3.js → chunk-SCAYWQZK.js} +2 -2
- package/dist/{chunk-Y5WHM2Q5.js → chunk-SH4FLUAD.js} +1 -1
- package/dist/{chunk-7EQU2TUN.js → chunk-SH4UGK5U.js} +84 -53
- package/dist/{chunk-EY4OA4OF.js → chunk-SHYS52VO.js} +370 -785
- package/dist/{chunk-ZSYU6LIH.js → chunk-SKPOXLG5.js} +5 -5
- package/dist/{chunk-OAT6FWKL.js → chunk-T7PRG6AO.js} +5 -5
- package/dist/chunk-TBZT5WUT.js +39 -0
- package/dist/{chunk-5HTGSB6Y.js → chunk-TKH655ON.js} +3 -3
- package/dist/{chunk-YO5UKKCQ.js → chunk-TMEUK2WS.js} +6 -2
- package/dist/{chunk-X5OVVMZX.js → chunk-TVOMGNFQ.js} +1 -1
- package/dist/{chunk-JARJP576.js → chunk-TX5FSNAU.js} +435 -29
- package/dist/{chunk-LUZ7HXBT.js → chunk-U52PNFPX.js} +1 -1
- package/dist/{chunk-OKM5LYYP.js → chunk-U6QZOMYC.js} +5 -5
- package/dist/{chunk-F4JAGDPD.js → chunk-UBYDY4B7.js} +8 -8
- package/dist/{chunk-V3UE3TB7.js → chunk-UCKUAKYQ.js} +2 -2
- package/dist/{chunk-NO7GRVUU.js → chunk-UOOXWGBU.js} +8 -8
- package/dist/{chunk-LFX5BERN.js → chunk-USMKNNOU.js} +47 -33
- package/dist/chunk-USSG6TJV.js +23 -0
- package/dist/{chunk-HFFKN7PA.js → chunk-UY34DDUM.js} +3 -3
- package/dist/{chunk-3LNVEE5Z.js → chunk-V7FV66KL.js} +1 -1
- package/dist/{chunk-62JZL6FW.js → chunk-V7JFT7NQ.js} +56 -42
- package/dist/{chunk-UP4JSNDR.js → chunk-V7NUJEJE.js} +1 -1
- package/dist/{chunk-FERP4WS3.js → chunk-VACZGW5R.js} +16 -18
- package/dist/{chunk-BO5EJBLH.js → chunk-VC62V7CX.js} +82 -47
- package/dist/{chunk-53OEKS4L.js → chunk-VESSIKBG.js} +6 -3
- package/dist/chunk-VJULLJLN.js +70 -0
- package/dist/{chunk-QLWUFEKR.js → chunk-VKNQOSGW.js} +8 -8
- package/dist/{chunk-BFDPY7JM.js → chunk-VTY6YHQZ.js} +11 -6
- package/dist/{chunk-UFZXZJJG.js → chunk-W2QILXAL.js} +5 -5
- package/dist/{chunk-QHPJ5ZKS.js → chunk-W6XSIBLR.js} +5 -5
- package/dist/{chunk-DJBMA4FW.js → chunk-WDJSDJLV.js} +4 -6
- package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
- package/dist/{chunk-IW3YUMPI.js → chunk-WFBN2HXR.js} +2 -2
- package/dist/chunk-WGJIYFVQ.js +24 -0
- package/dist/{chunk-43PCSBVQ.js → chunk-WKXLJNHW.js} +634 -8
- package/dist/{chunk-EWR6WVOV.js → chunk-WLH5IBFY.js} +6 -6
- package/dist/{chunk-RHVP62HI.js → chunk-WMQ57FOP.js} +5 -5
- package/dist/{chunk-GKQLKUMF.js → chunk-WNTUBGBB.js} +41 -32
- package/dist/{chunk-RHBQ2Q5H.js → chunk-WOICFLOJ.js} +60 -43
- package/dist/{chunk-QNLESRH6.js → chunk-WUP6C4ZD.js} +2 -2
- package/dist/chunk-WVCDISZP.js +89 -0
- package/dist/{chunk-CT4RFZO4.js → chunk-WW4KLAVO.js} +38 -23
- package/dist/{chunk-I5ZADE2U.js → chunk-X3QUASBR.js} +1 -1
- package/dist/{chunk-TXMS7QUJ.js → chunk-X46PSAJ7.js} +6 -6
- package/dist/{chunk-Z2BDTZDT.js → chunk-XC32OSCD.js} +97 -39
- package/dist/{chunk-M2OQK2FO.js → chunk-XD5XB22R.js} +2 -2
- package/dist/chunk-XLLWIHN2.js +24 -0
- package/dist/{chunk-SD6ENKTO.js → chunk-XMX4PCFL.js} +3 -3
- package/dist/{chunk-BM2A3IGQ.js → chunk-XO44IJGZ.js} +1 -1
- package/dist/{chunk-2HD5RY2U.js → chunk-XRRG4MBM.js} +3 -3
- package/dist/chunk-XSC4IXXC.js +24 -0
- package/dist/{chunk-D5RAVZ5C.js → chunk-XSEETONJ.js} +10 -9
- package/dist/{chunk-YBYV56FS.js → chunk-XZOFKLTD.js} +3 -3
- package/dist/{chunk-YNHPPZ7S.js → chunk-XZXZNI7A.js} +1 -1
- package/dist/{chunk-W7Q6PLT4.js → chunk-Y6E4JU3U.js} +37 -37
- package/dist/{chunk-XR7VOF2V.js → chunk-YGWPOYDE.js} +25 -13
- package/dist/{chunk-HDSHS2QZ.js → chunk-YJUBX3QF.js} +70 -47
- package/dist/{chunk-BDCKHLUB.js → chunk-YLRAAJYV.js} +72 -304
- package/dist/{chunk-I6QGYRY4.js → chunk-YW35KSXR.js} +2 -2
- package/dist/{chunk-GAFEN3H7.js → chunk-Z3WQXVFV.js} +2 -2
- package/dist/{chunk-WKWCNS6K.js → chunk-Z62TJQO5.js} +5 -5
- package/dist/{chunk-D3PQAVFW.js → chunk-Z6DUNKFU.js} +152 -29
- package/dist/{chunk-FF7MV4D4.js → chunk-Z6H5ED2I.js} +1 -1
- package/dist/{chunk-TWRFVW3J.js → chunk-ZB3JIL3L.js} +138 -89
- package/dist/{chunk-KUMJI5B6.js → chunk-ZBCCJPGW.js} +17 -14
- package/dist/{chunk-CV3NC75L.js → chunk-ZBOOMLHD.js} +1 -1
- package/dist/{chunk-QRZESG66.js → chunk-ZCHKIR7C.js} +64 -239
- package/dist/{chunk-ZDD3MJ2H.js → chunk-ZDJ7C64T.js} +1 -1
- package/dist/{chunk-KQ2WZ6BY.js → chunk-ZG4BMJRL.js} +1 -1
- package/dist/{chunk-QYOZ46ZQ.js → chunk-ZIVCPXXL.js} +467 -650
- package/dist/{chunk-V62B23VC.js → chunk-ZNRSYS76.js} +8 -2
- package/dist/{chunk-NIDH22DI.js → chunk-ZSYFQSPF.js} +12 -2
- package/dist/cli/index.js +8 -3
- package/dist/{core-5S5CJHBG.js → core-2GWH3ED7.js} +2 -1
- package/dist/{core-ZSERZGK6.js → core-3LCSHMKN.js} +3 -1
- package/dist/{core-FTQBESDS.js → core-3NQ5TXOJ.js} +3 -1
- package/dist/{core-D2OIGYC7.js → core-3XGQBHJI.js} +4 -1
- package/dist/{core-T3OSZOVV.js → core-4N6WH3IF.js} +3 -1
- package/dist/{core-VRVL6LIM.js → core-5CRTPVYA.js} +3 -1
- package/dist/{core-7XKNJM7Y.js → core-5K4HRIHX.js} +5 -1
- package/dist/{core-CCB3IXGD.js → core-743ZXTWK.js} +3 -1
- package/dist/{core-4M4RY7MX.js → core-7OAGK7ZJ.js} +3 -1
- package/dist/{core-VT35VDVS.js → core-7YDNMUU3.js} +6 -1
- package/dist/{core-4PW4MXWR.js → core-AAPPZSSZ.js} +4 -1
- package/dist/{core-OBPTBKX6.js → core-AC5AKSCM.js} +2 -1
- package/dist/{core-QFAVWFI3.js → core-AEALAFRA.js} +2 -1
- package/dist/{core-WXZJ7V7S.js → core-BEK6EPVF.js} +4 -1
- package/dist/{core-WP73P4CW.js → core-BRBJ3LPF.js} +5 -1
- package/dist/{core-AVA4XLQ2.js → core-EGTJOQK7.js} +2 -1
- package/dist/{core-XKXDXALI.js → core-FE4THVV3.js} +6 -1
- package/dist/{core-MAW4S3KA.js → core-FEBNVNVE.js} +5 -1
- package/dist/{core-L3UR75IJ.js → core-HIONDJGC.js} +4 -1
- package/dist/{core-GS4DXDDG.js → core-HMBMMF5Z.js} +4 -1
- package/dist/{core-QM34237W.js → core-LSYX4UQQ.js} +2 -1
- package/dist/{core-N2JEWJ7D.js → core-MIERUUUT.js} +2 -1
- package/dist/{core-A7HXVSKB.js → core-NTOOJZRA.js} +2 -1
- package/dist/{core-JDZDBTID.js → core-O5S2NETE.js} +2 -1
- package/dist/{core-OFPPRHYY.js → core-Q2Y3JEWL.js} +3 -1
- package/dist/{core-BJZEJ63L.js → core-RTBPKALG.js} +3 -1
- package/dist/{core-WNT6ZMRO.js → core-T7CKLMT2.js} +2 -1
- package/dist/{core-VWYXK2R3.js → core-TIIPSEK3.js} +4 -1
- package/dist/{core-EMSJRGSE.js → core-VBMWBPKM.js} +2 -1
- package/dist/{core-WPEYRK6Y.js → core-VLXOQ5CK.js} +4 -1
- package/dist/{core-7TTM4KRP.js → core-VYHQ5JY6.js} +3 -1
- package/dist/{core-DMDAXVMY.js → core-XJZWD43V.js} +2 -1
- package/dist/{core-AMWCZTOT.js → core-XUNZB6BM.js} +5 -1
- package/dist/{core-UNX4ZV4M.js → core-YKDDPMWW.js} +5 -1
- package/dist/{core-SKMHEA4Y.js → core-YN2VVGUL.js} +3 -1
- package/dist/{core-ZACFV6XR.js → core-YP4MNIMV.js} +5 -1
- package/dist/{core-FCSA74RT.js → core-ZETBHLSV.js} +3 -1
- package/dist/{dataTable-7IO546LM.js → dataTable-FEQZSDUZ.js} +7 -2
- package/dist/{engine-US3N6UCH.js → engine-SCQVNSAM.js} +23 -18
- package/dist/fixtures.js +2 -1
- package/dist/flags-BVLSAXT3.js +10 -0
- package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
- package/dist/geo/dach.js +1 -1
- package/dist/geo/de-states.js +1 -1
- package/dist/geo/eu27.js +1 -1
- package/dist/geo/europe.js +1 -1
- package/dist/geo/index.js +2 -2
- package/dist/geo/us-states.js +1 -1
- package/dist/geo/world.js +1 -1
- package/dist/index.js +27 -20
- package/dist/{main-2UWKGUHR.js → main-7UKLXCIL.js} +50 -119
- package/dist/mcp/server.js +121 -118
- package/dist/react/bar.js +5 -1
- package/dist/react/bartable.js +3 -1
- package/dist/react/box.js +3 -1
- package/dist/react/bullet.js +4 -1
- package/dist/react/butterfly.js +5 -1
- package/dist/react/choropleth.js +3 -1
- package/dist/react/cohort.js +3 -1
- package/dist/react/column.js +5 -1
- package/dist/react/combo.js +5 -1
- package/dist/react/creative.js +4 -1
- package/dist/react/diagram.js +3 -1
- package/dist/react/dimswitch.js +6 -1
- package/dist/react/dot.js +4 -1
- package/dist/react/export.js +29 -18
- package/dist/react/funnel.js +4 -1
- package/dist/react/gantt.js +3 -1
- package/dist/react/grid.js +6 -1
- package/dist/react/heatmap.js +3 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +92 -85
- package/dist/react/kpi.js +4 -1
- package/dist/react/likert.js +6 -1
- package/dist/react/line.js +4 -1
- package/dist/react/mekko.js +5 -1
- package/dist/react/pareto.js +6 -1
- package/dist/react/pie.js +4 -1
- package/dist/react/prepare.js +35 -22
- package/dist/react/pvm.js +6 -1
- package/dist/react/pyramid.js +5 -1
- package/dist/react/sankey.js +3 -1
- package/dist/react/scatter.js +3 -1
- package/dist/react/slope.js +4 -1
- package/dist/react/sparkline.js +4 -1
- package/dist/react/spec.js +17 -13
- package/dist/react/status.js +3 -1
- package/dist/react/story.js +3 -2
- package/dist/react/table.js +4 -1
- package/dist/react/theme.js +5 -3
- package/dist/react/tilemap.js +3 -1
- package/dist/react/treemap.js +3 -1
- package/dist/react/variance.js +5 -1
- package/dist/react/waffle.js +3 -1
- package/dist/react/waterfall.js +5 -1
- package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
- package/dist/rows.js +2 -2
- package/dist/{rowsModule-DYDVHBAX.js → rowsModule-WJH4QNXZ.js} +1 -1
- package/dist/{schema-YDZCGL56.js → schema-2R32F6AW.js} +1 -3
- package/dist/{schema-A2XUZUCV.js → schema-2TPGJGVR.js} +1 -3
- package/dist/{schema-MD22QYZU.js → schema-47BG2TZA.js} +1 -3
- package/dist/{schema-HEB6ZDI5.js → schema-56MOEOVR.js} +1 -3
- package/dist/{schema-K4V4PYBO.js → schema-5MSR4LNN.js} +1 -3
- package/dist/{schema-NOBNFD2F.js → schema-5RIYEWE6.js} +1 -3
- package/dist/{schema-OXO2XY4Y.js → schema-ALBF6V7Y.js} +1 -3
- package/dist/{schema-F2Q6MH7W.js → schema-BA6WP5YZ.js} +1 -3
- package/dist/{schema-G5KSSI5W.js → schema-CBL2SMVR.js} +1 -3
- package/dist/{schema-WFGDVBJK.js → schema-CWKGLDSR.js} +1 -3
- package/dist/{schema-DHMMGDTI.js → schema-DBIQFL56.js} +1 -3
- package/dist/{schema-626QXX4G.js → schema-DL7V6NN2.js} +1 -3
- package/dist/{schema-FC6J6KZC.js → schema-DUVJMFKQ.js} +1 -3
- package/dist/{schema-LGLQBRC4.js → schema-ECJERHKF.js} +1 -2
- package/dist/{schema-4JRNXEZF.js → schema-EDSEKZDJ.js} +1 -3
- package/dist/{schema-I44IDRGD.js → schema-ESR6ZIK4.js} +1 -3
- package/dist/{schema-FSYDLMGD.js → schema-F7TWGLRZ.js} +1 -3
- package/dist/{schema-JCU6LTYD.js → schema-FGB6IGZM.js} +1 -3
- package/dist/{schema-MGETMQYC.js → schema-FKGGTM4Z.js} +1 -2
- package/dist/{schema-XIHAKX3B.js → schema-JIAQE7WO.js} +1 -1
- package/dist/{schema-6V5K3J2V.js → schema-JYZ4RF6S.js} +1 -3
- package/dist/{schema-GXOG4MXL.js → schema-K7F6TEDK.js} +1 -2
- package/dist/{schema-NMIYKGHE.js → schema-KAK6DZX4.js} +1 -3
- package/dist/{schema-PHIHMDVB.js → schema-KCJ6WTGV.js} +1 -3
- package/dist/{schema-XRSORYBI.js → schema-MOKWIGF7.js} +1 -3
- package/dist/{schema-3KMU5737.js → schema-MQT6BMNK.js} +1 -3
- package/dist/{schema-JJWORI7D.js → schema-MR3BPPQR.js} +1 -3
- package/dist/{schema-IFTIMTS3.js → schema-OPXZYIW7.js} +1 -3
- package/dist/{schema-UXWKA3PI.js → schema-PV7JGX5H.js} +1 -3
- package/dist/{schema-CNJ4Y6CT.js → schema-PWPQF5RC.js} +1 -3
- package/dist/{schema-WBOPCTPC.js → schema-PYQEUC5P.js} +1 -3
- package/dist/{schema-J4HCSD5C.js → schema-Q5DACE4I.js} +6 -2
- package/dist/{schema-IUY7VYHJ.js → schema-R42VXFIS.js} +1 -3
- package/dist/{schema-WX2RS4OU.js → schema-TVUJNEX7.js} +1 -3
- package/dist/{schema-6PL46VXZ.js → schema-WZOSDDDJ.js} +1 -3
- package/dist/{schema-FGE5YK3S.js → schema-Y4TI2T3T.js} +1 -3
- package/dist/{schema-MQB6CE5V.js → schema-ZU2EU2VP.js} +1 -3
- package/dist/{specValidation-XGELWQUU.js → specValidation-DC4TVHWD.js} +3 -1
- package/dist/theme.js +4 -3
- package/dist/{themeShapeRules-PW4BQHKL.js → themeShapeRules-G7UZX6GJ.js} +1 -1
- package/dist/types/core/annotate.d.ts +27 -2
- package/dist/types/core/annotateArms.d.ts +3 -1
- package/dist/types/core/annotateTargets.d.ts +4 -0
- package/dist/types/core/annotationOrigin.d.ts +13 -0
- package/dist/types/core/axis.d.ts +2 -2
- package/dist/types/core/charts/band/stacks.d.ts +7 -1
- package/dist/types/core/charts/column/model.d.ts +13 -0
- package/dist/types/core/charts/combo/layout.d.ts +7 -0
- package/dist/types/core/charts/gantt/calendar.d.ts +4 -0
- package/dist/types/core/charts/grid/normalize.d.ts +5 -0
- package/dist/types/core/charts/grid/schema.d.ts +2 -2
- package/dist/types/core/charts/pareto/layout.d.ts +2 -0
- package/dist/types/core/charts/pvm/types.d.ts +1 -0
- package/dist/types/core/charts/scatter/clamp.d.ts +2 -1
- package/dist/types/core/charts/scatter/model.d.ts +5 -0
- package/dist/types/core/charts/scatter/valueLines.d.ts +3 -1
- package/dist/types/core/charts/table/resolve.d.ts +8 -3
- package/dist/types/core/charts/table/view.d.ts +24 -1
- package/dist/types/core/claims/browser.d.ts +2 -0
- package/dist/types/core/claims/ids.d.ts +38 -0
- package/dist/types/core/deferred.d.ts +1 -0
- package/dist/types/core/diagnostics/describe.d.ts +6 -1
- package/dist/types/core/doc/diagnostics.d.ts +3 -2
- package/dist/types/core/formatSpec.d.ts +33 -14
- package/dist/types/core/frame.d.ts +25 -58
- package/dist/types/core/frameText.d.ts +203 -0
- package/dist/types/core/geometry.d.ts +2 -0
- package/dist/types/core/label/categoryRow.d.ts +19 -2
- package/dist/types/core/label/solver.d.ts +23 -2
- package/dist/types/core/normalize/shared.d.ts +12 -2
- package/dist/types/core/notes.d.ts +15 -2
- package/dist/types/core/reading.d.ts +12 -1
- package/dist/types/core/request.d.ts +1 -1
- package/dist/types/core/schema/capability.d.ts +12 -0
- package/dist/types/core/seriesIdentity.d.ts +4 -1
- package/dist/types/core/sizing.d.ts +37 -1
- package/dist/types/core/structureCounts.d.ts +3 -1
- package/dist/types/core/theme.d.ts +33 -4
- package/dist/types/core/themeRules.d.ts +2 -0
- package/dist/types/core/types/annotations.d.ts +74 -4
- package/dist/types/core/types/options.d.ts +35 -3
- package/dist/types/core/types/scene.d.ts +30 -2
- package/dist/types/core/types/table.d.ts +6 -0
- package/dist/types/core/types/theme.d.ts +23 -0
- package/dist/types/react/TableChart.d.ts +5 -0
- package/dist/validate.js +13 -6
- package/docs/TELEMETRY.md +2 -2
- package/docs/manual.md +252 -62
- package/docs/reference/bar.md +12 -4
- package/docs/reference/bartable.md +2 -2
- package/docs/reference/box.md +8 -4
- package/docs/reference/bullet.md +9 -5
- package/docs/reference/butterfly.md +10 -5
- package/docs/reference/choropleth.md +3 -5
- package/docs/reference/cohort.md +1 -1
- package/docs/reference/column.md +18 -4
- package/docs/reference/combo.md +10 -5
- package/docs/reference/creative.md +3 -7
- package/docs/reference/diagram.md +1 -1
- package/docs/reference/dimswitch.md +23 -88
- package/docs/reference/dot.md +9 -5
- package/docs/reference/fixtures.md +37 -1
- package/docs/reference/funnel.md +9 -5
- package/docs/reference/gantt.md +8 -15
- package/docs/reference/grid.md +5 -2
- package/docs/reference/heatmap.md +10 -6
- package/docs/reference/kpi.md +1 -1
- package/docs/reference/likert.md +9 -4
- package/docs/reference/line.md +18 -5
- package/docs/reference/mekko.md +10 -5
- package/docs/reference/options.md +17 -13
- package/docs/reference/pareto.md +8 -4
- package/docs/reference/pie.md +9 -5
- package/docs/reference/pvm.md +9 -5
- package/docs/reference/pyramid.md +8 -4
- package/docs/reference/react.md +5 -5
- package/docs/reference/sankey.md +2 -2
- package/docs/reference/scatter.md +8 -4
- package/docs/reference/slope.md +9 -5
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +1 -1
- package/docs/reference/table.md +33 -114
- package/docs/reference/theme.md +12 -4
- package/docs/reference/tilemap.md +2 -4
- package/docs/reference/treemap.md +1 -1
- package/docs/reference/variance.md +12 -6
- package/docs/reference/waffle.md +1 -1
- package/docs/reference/warnings.md +1077 -0
- package/docs/reference/waterfall.md +16 -4
- package/docs/use-cases.md +25 -13
- package/llms.txt +19 -6
- package/package.json +18 -3
- package/dist/chunk-5RHP7YTL.js +0 -24
- package/dist/chunk-6VU2XI3W.js +0 -89
- package/dist/chunk-6WJOHZPW.js +0 -26
- package/dist/chunk-FL3FQ2YA.js +0 -27
- package/dist/chunk-G5CELEUR.js +0 -26
- package/dist/chunk-M4SPKUZE.js +0 -7
- package/dist/chunk-OF7FMGH5.js +0 -24
- package/dist/chunk-S2TSXUYP.js +0 -24
- package/dist/chunk-TKERVBJ3.js +0 -23
- package/dist/chunk-VMGTNB6H.js +0 -25
- package/dist/chunk-WZL4EEBS.js +0 -11
- package/dist/chunk-YJGFT63R.js +0 -27
- package/dist/chunk-ZNX5J7D7.js +0 -47
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
hostedLayout
|
|
3
|
+
} from "./chunk-NZ7FX3AE.js";
|
|
1
4
|
import {
|
|
2
5
|
TILED_BANDS,
|
|
3
6
|
layoutColumn
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BSZOQJXB.js";
|
|
5
8
|
import {
|
|
6
9
|
iqr,
|
|
7
10
|
quantileType7,
|
|
@@ -9,27 +12,29 @@ import {
|
|
|
9
12
|
} from "./chunk-VXZFQKBJ.js";
|
|
10
13
|
import {
|
|
11
14
|
labelOn
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TMEUK2WS.js";
|
|
13
16
|
import {
|
|
14
17
|
AUTO_LEGEND,
|
|
15
18
|
axisTitleAllowed,
|
|
16
19
|
chartSizing,
|
|
17
20
|
isAutomaticLegend
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GNMB72V7.js";
|
|
19
22
|
import {
|
|
23
|
+
HOST_CLAIMS,
|
|
20
24
|
PRIORITY,
|
|
21
25
|
SERIES_VALUE_GAP,
|
|
22
26
|
authoredNotes,
|
|
23
|
-
createOccupiedIndex,
|
|
24
27
|
frameTextOptions,
|
|
25
28
|
labelCtx,
|
|
26
29
|
labelsToNodes,
|
|
27
30
|
solveLabels,
|
|
28
|
-
withAuthoredFootnotes
|
|
29
|
-
|
|
31
|
+
withAuthoredFootnotes,
|
|
32
|
+
withUnprintedClaims
|
|
33
|
+
} from "./chunk-4OJF6DXL.js";
|
|
30
34
|
import {
|
|
31
|
-
disclosureNote
|
|
32
|
-
|
|
35
|
+
disclosureNote,
|
|
36
|
+
keepShownNotes
|
|
37
|
+
} from "./chunk-DZYTXZNS.js";
|
|
33
38
|
import {
|
|
34
39
|
MAGNITUDE_DIVISOR,
|
|
35
40
|
defaultFormatSpec,
|
|
@@ -39,7 +44,7 @@ import {
|
|
|
39
44
|
parseFormatExample,
|
|
40
45
|
roundedNumber,
|
|
41
46
|
withChartMarks
|
|
42
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-Z6DUNKFU.js";
|
|
43
48
|
import {
|
|
44
49
|
MINUS,
|
|
45
50
|
chartStrings,
|
|
@@ -51,22 +56,23 @@ import {
|
|
|
51
56
|
stringFields
|
|
52
57
|
} from "./chunk-MSYTF3DZ.js";
|
|
53
58
|
import {
|
|
59
|
+
createOccupiedIndex,
|
|
54
60
|
panelTypeClass,
|
|
55
61
|
resolveTheme,
|
|
56
62
|
strokeToken,
|
|
57
63
|
themeForWidth
|
|
58
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-TX5FSNAU.js";
|
|
59
65
|
import {
|
|
60
66
|
NormalizeError,
|
|
61
67
|
resolveSize
|
|
62
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-RJICOOB3.js";
|
|
69
|
+
import {
|
|
70
|
+
defaultMeasurer
|
|
71
|
+
} from "./chunk-UIHGGWES.js";
|
|
63
72
|
import {
|
|
64
73
|
maxOf,
|
|
65
74
|
pushAll
|
|
66
75
|
} from "./chunk-WYJEOMNY.js";
|
|
67
|
-
import {
|
|
68
|
-
defaultMeasurer
|
|
69
|
-
} from "./chunk-UIHGGWES.js";
|
|
70
76
|
|
|
71
77
|
// src/core/strings/histogram.ts
|
|
72
78
|
var EN = {
|
|
@@ -317,7 +323,9 @@ function validateObservations(data) {
|
|
|
317
323
|
"empty-data",
|
|
318
324
|
"observations",
|
|
319
325
|
"histogram requires data.observations: an array of raw numeric observations",
|
|
320
|
-
'pass { "observations": [12, 18, 21, ...] }'
|
|
326
|
+
'pass { "observations": [12, 18, 21, ...] }',
|
|
327
|
+
void 0,
|
|
328
|
+
["data", "observations"]
|
|
321
329
|
);
|
|
322
330
|
let observations = data.observations;
|
|
323
331
|
for (let i = 0; i < observations.length; i++) {
|
|
@@ -327,16 +335,20 @@ function validateObservations(data) {
|
|
|
327
335
|
"non-finite-observation",
|
|
328
336
|
`observations[${i}]`,
|
|
329
337
|
`observations[${i}] is ${String(value)}; a histogram bins finite numbers only`,
|
|
330
|
-
"remove null/NaN/Infinity observations before charting, or state the missing count in a footnote"
|
|
338
|
+
"remove null/NaN/Infinity observations before charting, or state the missing count in a footnote",
|
|
339
|
+
void 0,
|
|
340
|
+
["data", "observations", i]
|
|
331
341
|
);
|
|
332
342
|
}
|
|
333
|
-
if (observations.length === 0) throw new NormalizeError("empty-data", "observations", "histogram requires observations");
|
|
343
|
+
if (observations.length === 0) throw new NormalizeError("empty-data", "observations", "histogram requires observations", void 0, void 0, ["data", "observations"]);
|
|
334
344
|
if (observations.length < MIN_N)
|
|
335
345
|
throw new NormalizeError(
|
|
336
346
|
"histogram-too-few",
|
|
337
347
|
"observations",
|
|
338
348
|
`${observations.length} observations cannot show a distribution; a histogram needs at least ${MIN_N}`,
|
|
339
|
-
"use chart type 'dot' to plot the values themselves, or 'table' to list them"
|
|
349
|
+
"use chart type 'dot' to plot the values themselves, or 'table' to list them",
|
|
350
|
+
void 0,
|
|
351
|
+
["data", "observations"]
|
|
340
352
|
);
|
|
341
353
|
return observations;
|
|
342
354
|
}
|
|
@@ -347,7 +359,9 @@ function layoutHistogram(data, options = {}) {
|
|
|
347
359
|
"histogram-zero-range",
|
|
348
360
|
"observations",
|
|
349
361
|
`all ${n} observations equal ${min}; there is no distribution to bin`,
|
|
350
|
-
"use chart type 'kpi' to state the single value"
|
|
362
|
+
"use chart type 'kpi' to state the single value",
|
|
363
|
+
void 0,
|
|
364
|
+
["data", "observations"]
|
|
351
365
|
);
|
|
352
366
|
let q1 = quantileType7(sorted, 0.25), median = quantileType7(sorted, 0.5), q3 = quantileType7(sorted, 0.75), spread = iqr(sorted), mean = sorted.reduce((sum, value) => sum + value, 0) / n, binSpec = options.bins ?? "auto";
|
|
353
367
|
if (typeof binSpec == "object" && binSpec.openAbove !== void 0) {
|
|
@@ -480,10 +494,13 @@ function layoutHistogram(data, options = {}) {
|
|
|
480
494
|
})
|
|
481
495
|
}
|
|
482
496
|
]
|
|
483
|
-
}), delegateData = countData(!1),
|
|
497
|
+
}), delegateData = countData(!1), binClaims = (request) => {
|
|
498
|
+
let index = request.kind === "point" && !options.valueAxis?.percent ? counts.findIndex((_, i) => binId(i) === request.owner.categoryId) : -1;
|
|
499
|
+
return index >= 0 ? [`histogram:bin:${index}`] : void 0;
|
|
500
|
+
}, delegateOptions = (frequencyAxis, tail2 = []) => {
|
|
484
501
|
let captioned = frequencyAxis && options.valueAxis?.show !== !1 && axisTitleAllowed(options.labels), notesOff = options.footnotes === !1 || options.footnotesOff === !0, methodPrinted = methodNote && !notesOff, caption = [options.axisTitles?.y, sampleBase, methodPrinted ? void 0 : binsText, methodPrinted ? void 0 : openClause].filter(Boolean).join(" \xB7 "), withOpen = (text) => openClause === void 0 ? text : `${text} \xB7 ${openClause}`, title = frequencyAxis ? void 0 : options.axisTitles?.y, baseNote = captioned ? [] : [disclosureNote(methodPrinted ? `${title ? `${title} \xB7 ` : ""}${sampleBase}.` : perValue && !binsAuthored ? `${withOpen(title ? chartString(options, "histogramPerValueTitled", { v1: title }) : chartString(options, "histogramPerValue"))} \xB7 ${sampleBase}.` : binsExact && !binsAuthored ? `${withOpen(title ? chartString(options, "histogramBinsShortTitled", { v1: title, v2: fmtNote(binning.width) }) : chartString(options, "histogramBinsShort", { v1: fmtNote(binning.width) }))} \xB7 ${sampleBase}.` : `${title ? `${title} \xB7 ` : ""}${sampleBase} \xB7 ${withOpen(binsText)}.`)];
|
|
485
502
|
return {
|
|
486
|
-
...frameTextOptions(options),
|
|
503
|
+
...keepShownNotes(options, frameTextOptions(options)),
|
|
487
504
|
...isAutomaticLegend(options) ? { [AUTO_LEGEND]: !0 } : {},
|
|
488
505
|
...options.size === void 0 ? {} : { size: options.size },
|
|
489
506
|
...options.margin === void 0 ? {} : { margin: options.margin },
|
|
@@ -499,8 +516,11 @@ function layoutHistogram(data, options = {}) {
|
|
|
499
516
|
...frequencyFormat === void 0 ? {} : { format: frequencyFormat },
|
|
500
517
|
// Every bin count matters: offer every seat before naming an undrawn bin.
|
|
501
518
|
labelDensity: options.labelDensity ?? "full",
|
|
519
|
+
...options.labelPosition === void 0 ? {} : { labelPosition: options.labelPosition },
|
|
502
520
|
labels: pointLabels(),
|
|
503
521
|
...options.labelPlacements === void 0 ? {} : { labelPlacements: options.labelPlacements },
|
|
522
|
+
...options.labelOffsets === void 0 ? {} : { labelOffsets: options.labelOffsets },
|
|
523
|
+
...options.focus === void 0 ? {} : { focus: options.focus },
|
|
504
524
|
...options.highlight === void 0 ? {} : { highlight: options.highlight },
|
|
505
525
|
...options.colorblindSafe === void 0 ? {} : { colorblindSafe: options.colorblindSafe },
|
|
506
526
|
...options.interactive === void 0 ? {} : { interactive: options.interactive },
|
|
@@ -513,7 +533,8 @@ function layoutHistogram(data, options = {}) {
|
|
|
513
533
|
// The frequency axis is the column's value axis, so its title is column's.
|
|
514
534
|
...captioned ? { axisTitles: { primary: caption } } : options.axisTitles?.y === void 0 || !frequencyAxis ? {} : { axisTitles: { primary: options.axisTitles.y } },
|
|
515
535
|
bandFraction: options.bandFraction ?? 1,
|
|
516
|
-
[TILED_BANDS]: !0
|
|
536
|
+
[TILED_BANDS]: !0,
|
|
537
|
+
[HOST_CLAIMS]: binClaims
|
|
517
538
|
};
|
|
518
539
|
};
|
|
519
540
|
function methodNoteText(withBase) {
|
|
@@ -547,14 +568,14 @@ function layoutHistogram(data, options = {}) {
|
|
|
547
568
|
width: fmtNote(binning.width),
|
|
548
569
|
from: fmtNote(binning.edges[0]),
|
|
549
570
|
to: fmtNote(binning.edges[closedCount])
|
|
550
|
-
}), openClause = openValue === void 0 ? void 0 : chartString(options, "histogramOpenClause", { v1: fmt(openValue) }), size = resolveSize(options.size), columnOptions = delegateOptions(!0), column =
|
|
571
|
+
}), openClause = openValue === void 0 ? void 0 : chartString(options, "histogramOpenClause", { v1: fmt(openValue) }), size = resolveSize(options.size), layoutBins = (binData, binOptions) => hostedLayout(options, binOptions, () => layoutColumn(binData, binOptions, !0)), columnOptions = delegateOptions(!0), column = layoutBins(delegateData, columnOptions), allValuesLabelled = (geometry) => counts.every((count, index) => perValue && count === 0 || geometry.labels.some((label) => label.kind === "point" && label.owner.categoryId === binId(index) && !label.hidden)), frequencyAxisShown = options.valueAxis?.show !== !1;
|
|
551
572
|
if (column.axes.some(
|
|
552
573
|
(axis2) => axis2.axis === "y" && axis2.ticks.some((tick) => typeof tick.at == "number" && !Number.isInteger(tick.at))
|
|
553
574
|
) && !options.valueAxis?.percent && options.valueAxis?.show === void 0) {
|
|
554
575
|
let withoutAxisOptions = {
|
|
555
576
|
...delegateOptions(!1),
|
|
556
577
|
labels: pointLabels()
|
|
557
|
-
}, withoutAxis =
|
|
578
|
+
}, withoutAxis = layoutBins(delegateData, withoutAxisOptions);
|
|
558
579
|
allValuesLabelled(withoutAxis) && (columnOptions = withoutAxisOptions, column = withoutAxis, frequencyAxisShown = !1, warnings.push({
|
|
559
580
|
code: "histogram-frequency-axis-suppressed",
|
|
560
581
|
severity: "info",
|
|
@@ -572,12 +593,12 @@ function layoutHistogram(data, options = {}) {
|
|
|
572
593
|
at: binId(index),
|
|
573
594
|
preferSide: "above",
|
|
574
595
|
text: `${formatAutomaticNumber(counts[index], { locale: options.locale?.language, decimals: 0 })} in ${binLabels[index]}`
|
|
575
|
-
})), columnOptions = frequencyAxisShown ? delegateOptions(!0, tail) : { ...delegateOptions(!1, tail), labels: pointLabels() }, column =
|
|
596
|
+
})), columnOptions = frequencyAxisShown ? delegateOptions(!0, tail) : { ...delegateOptions(!1, tail), labels: pointLabels() }, column = layoutBins(delegateData, columnOptions)), tail.length > 0) {
|
|
576
597
|
let seated = new Set(column.labels.filter((label) => label.kind === "point" && !label.hidden).map((label) => label.owner.categoryId)), inRow = (index) => seated.has(binId(index)) && (seated.has(binId(index - 1)) || seated.has(binId(index + 1))), kept = tail.filter((annotation) => !inRow(Number(annotation.at.slice(3))));
|
|
577
598
|
if (kept.length < tail.length) {
|
|
578
599
|
tail = kept;
|
|
579
600
|
let { annotations: _dropped, ...rest } = columnOptions;
|
|
580
|
-
columnOptions = kept.length > 0 ? { ...rest, annotations: kept } : rest, column =
|
|
601
|
+
columnOptions = kept.length > 0 ? { ...rest, annotations: kept } : rest, column = layoutBins(delegateData, columnOptions);
|
|
581
602
|
}
|
|
582
603
|
}
|
|
583
604
|
let drawnCounts = (geometry) => geometry.labels.filter((label) => label.kind === "point" && !label.hidden).length;
|
|
@@ -586,15 +607,15 @@ function layoutHistogram(data, options = {}) {
|
|
|
586
607
|
if (count < 1e3 || !/[0-9]/.test(formatWithSpec(count, spec))) return sparseLabels && count === 0 ? { number: 0, label: !1 } : count;
|
|
587
608
|
let magnitude = count >= 1e9 ? "bn" : count >= 1e6 ? "m" : "k", decimals2 = Math.max(0, String(count).replace(/0+$/, "").length - String(Math.trunc(count / MAGNITUDE_DIVISOR[magnitude])).length), format = formatWithSpec(0, { ...spec, magnitude, decimals: decimals2 });
|
|
588
609
|
return roundedNumber(count, parseFormatExample(format)) === count ? { number: count, format } : count;
|
|
589
|
-
}) }] }, compact =
|
|
610
|
+
}) }] }, compact = layoutBins(compactData, columnOptions);
|
|
590
611
|
drawnCounts(compact) > drawnCounts(column) && (column = compact);
|
|
591
612
|
}
|
|
592
|
-
if (options.valueAxis?.show === void 0 && !allValuesLabelled(column) && !frequencyAxisShown && (columnOptions = delegateOptions(!0, tail), column =
|
|
593
|
-
let withoutAxisOptions = delegateOptions(!1, tail), withoutAxis =
|
|
613
|
+
if (options.valueAxis?.show === void 0 && !allValuesLabelled(column) && !frequencyAxisShown && (columnOptions = delegateOptions(!0, tail), column = layoutBins(delegateData, columnOptions)), options.valueAxis?.show === void 0 && !options.valueAxis?.percent && allValuesLabelled(column)) {
|
|
614
|
+
let withoutAxisOptions = delegateOptions(!1, tail), withoutAxis = layoutBins(delegateData, withoutAxisOptions);
|
|
594
615
|
allValuesLabelled(withoutAxis) && (columnOptions = withoutAxisOptions, column = withoutAxis, frequencyAxisShown = !1);
|
|
595
616
|
}
|
|
596
|
-
let NATURAL_SEATS = /* @__PURE__ */ new Set(["outsideTop", "outsideBottom", "insideEnd"]), bars = column.marks.bars, binStep = bars.length > 1 ? Math.abs(bars[1].rect.x - bars[0].rect.x) : 1 / 0;
|
|
597
|
-
if (options.labels !== !1 && options.labels?.point !== !1 && options.labelDensity !== "full" && options.valueAxis?.show !== !1 && filled > POINT_LABEL_MAX_BINS && column.labels.some((label) => label.kind === "point" && label.hidden !== "redundant" && label.hidden !== "density" && counts[Number(label.owner.categoryId?.slice(3))] > 0 && label.owner.categoryId !== binId(openIndex) && label.rect.w + SERIES_VALUE_GAP > binStep && (label.hidden !== void 0 || label.leader !== void 0 || !NATURAL_SEATS.has(label.slot))) && (delegateData = countData(!0), columnOptions = { ...delegateOptions(!0), labelDensity: "full" }, column =
|
|
617
|
+
let NATURAL_SEATS = /* @__PURE__ */ new Set(["outsideTop", "outsideBottom", "insideEnd", "insideBarCenter", "insideBarEnd", "insideBarBase", "outsideBarTop", "outsideBarBottom"]), bars = column.marks.bars, binStep = bars.length > 1 ? Math.abs(bars[1].rect.x - bars[0].rect.x) : 1 / 0;
|
|
618
|
+
if (options.labels !== !1 && options.labels?.point !== !1 && options.labelDensity !== "full" && options.valueAxis?.show !== !1 && filled > POINT_LABEL_MAX_BINS && column.labels.some((label) => label.kind === "point" && label.hidden !== "redundant" && label.hidden !== "density" && counts[Number(label.owner.categoryId?.slice(3))] > 0 && label.owner.categoryId !== binId(openIndex) && label.rect.w + SERIES_VALUE_GAP > binStep && (label.hidden !== void 0 || label.leader !== void 0 || !NATURAL_SEATS.has(label.slot))) && (delegateData = countData(!0), columnOptions = { ...delegateOptions(!0), labelDensity: "full" }, column = layoutBins(delegateData, columnOptions), warnings.push({
|
|
598
619
|
code: "histogram-counts-peak-only",
|
|
599
620
|
severity: "info",
|
|
600
621
|
message: `the bin counts do not fit over their ${k} bars, so only the tallest bin prints its count (${maxOf(counts)}) and the frequency axis carries the scale`,
|
|
@@ -626,7 +647,7 @@ function layoutHistogram(data, options = {}) {
|
|
|
626
647
|
openLabel && requests.push(openLabel), axis && (axis.ticks = ticks);
|
|
627
648
|
let occupied = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height });
|
|
628
649
|
column.labels.filter((label) => !label.hidden).forEach((label) => occupied.claim(label.rect, "label", label.owner));
|
|
629
|
-
let solved = solveLabels(requests, occupied, labelCtx(theme, size, {}, {
|
|
650
|
+
let solved = solveLabels(requests, occupied, labelCtx(theme, size, { focus: options.focus }, {
|
|
630
651
|
density: "full",
|
|
631
652
|
measure,
|
|
632
653
|
plot: column.plot,
|
|
@@ -688,14 +709,18 @@ function layoutHistogram(data, options = {}) {
|
|
|
688
709
|
let index = counts.findIndex((_, i) => binId(i) === label.owner.categoryId);
|
|
689
710
|
index >= 0 && (label.noteText = `${countFormat ? formatterFromExample(countFormat, options.locale?.language)(counts[index]) : formatAutomaticNumber(counts[index], { locale: options.locale?.language, decimals: 0 })} (${binLabels[index]})`);
|
|
690
711
|
}
|
|
691
|
-
|
|
712
|
+
let pointsOff = options.labels === !1 || options.labels?.point === !1 && !open || options.valueAxis?.percent === !0, withheld = counts.flatMap((_, index) => {
|
|
713
|
+
let value = delegateData.series[0].values[index];
|
|
714
|
+
return pointsOff || typeof value == "object" && value !== null && value.label === !1 ? [`histogram:bin:${index}`] : [];
|
|
715
|
+
});
|
|
716
|
+
return withUnprintedClaims({
|
|
692
717
|
...column,
|
|
693
718
|
type: "histogram",
|
|
694
719
|
size,
|
|
695
720
|
marks: { bars: column.marks.bars, bins },
|
|
696
721
|
derived,
|
|
697
722
|
warnings: [...warnings, ...column.warnings]
|
|
698
|
-
};
|
|
723
|
+
}, [...withheld, "histogram:q1", "histogram:median", "histogram:q3"]);
|
|
699
724
|
}
|
|
700
725
|
|
|
701
726
|
// src/core/charts/histogram/core.ts
|
|
@@ -16,23 +16,23 @@ import {
|
|
|
16
16
|
quietLandPaint,
|
|
17
17
|
renderGeoOverlays,
|
|
18
18
|
reserveGeoOverlayGlyphs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZBCCJPGW.js";
|
|
20
20
|
import {
|
|
21
21
|
geoOptionRefusals
|
|
22
22
|
} from "./chunk-V5IFI3FV.js";
|
|
23
23
|
import {
|
|
24
24
|
PLOT_W_FLOOR_DEMOTED
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4TUU3UGY.js";
|
|
26
26
|
import {
|
|
27
27
|
chartTheme
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WFBN2HXR.js";
|
|
29
29
|
import {
|
|
30
30
|
WORLD_TILE_PACK,
|
|
31
31
|
getTilePack
|
|
32
32
|
} from "./chunk-T2L5H2WW.js";
|
|
33
33
|
import {
|
|
34
34
|
structureCount
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KW4JXWHO.js";
|
|
36
36
|
import {
|
|
37
37
|
geoRegionIdIndex,
|
|
38
38
|
nearestRegionId,
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
} from "./chunk-PZ3TQFSY.js";
|
|
41
41
|
import {
|
|
42
42
|
getGeoPack
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CR5FP5SF.js";
|
|
44
44
|
import {
|
|
45
45
|
EMPTY_DATA
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-KUWIRCYJ.js";
|
|
47
47
|
import {
|
|
48
48
|
SIZE_TOLERANCE,
|
|
49
49
|
chartSizing,
|
|
@@ -52,13 +52,12 @@ import {
|
|
|
52
52
|
rowDrivenHeight,
|
|
53
53
|
sizeRefusal,
|
|
54
54
|
tallestContentHeight
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GNMB72V7.js";
|
|
56
56
|
import {
|
|
57
57
|
DEFAULT_NOTE_LIMIT,
|
|
58
58
|
PRIORITY,
|
|
59
59
|
SIDE_KEY_PLOT_SHARE,
|
|
60
60
|
authoredNotes,
|
|
61
|
-
createOccupiedIndex,
|
|
62
61
|
frameTextOptions,
|
|
63
62
|
labelCtx,
|
|
64
63
|
labelsToNodes,
|
|
@@ -69,17 +68,17 @@ import {
|
|
|
69
68
|
solveFrame,
|
|
70
69
|
solveLabels,
|
|
71
70
|
valueNoteLine
|
|
72
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-4OJF6DXL.js";
|
|
73
72
|
import {
|
|
74
73
|
copyNote,
|
|
75
74
|
disclosureNote,
|
|
76
75
|
engineNoteMeta,
|
|
77
76
|
keepNoteMeta,
|
|
78
77
|
staticFrame
|
|
79
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-DZYTXZNS.js";
|
|
80
79
|
import {
|
|
81
80
|
formatterFromExample
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-Z6DUNKFU.js";
|
|
83
82
|
import {
|
|
84
83
|
autoDecimals,
|
|
85
84
|
chartStrings,
|
|
@@ -87,6 +86,7 @@ import {
|
|
|
87
86
|
} from "./chunk-MSYTF3DZ.js";
|
|
88
87
|
import {
|
|
89
88
|
canvasMargin,
|
|
89
|
+
createOccupiedIndex,
|
|
90
90
|
emphasisWeight,
|
|
91
91
|
paintColor,
|
|
92
92
|
panelTypeClass,
|
|
@@ -95,23 +95,23 @@ import {
|
|
|
95
95
|
spaceTokens,
|
|
96
96
|
strokeToken,
|
|
97
97
|
textScaleOf
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-TX5FSNAU.js";
|
|
99
99
|
import {
|
|
100
100
|
DEFAULT_TARGET,
|
|
101
101
|
NormalizeError,
|
|
102
102
|
TARGET_SIZE,
|
|
103
103
|
accessibleTitle,
|
|
104
104
|
resolveSize
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-RJICOOB3.js";
|
|
106
|
+
import {
|
|
107
|
+
compareText,
|
|
108
|
+
defaultMeasurer
|
|
109
|
+
} from "./chunk-UIHGGWES.js";
|
|
106
110
|
import {
|
|
107
111
|
maxOf,
|
|
108
112
|
minOf,
|
|
109
113
|
pushAll
|
|
110
114
|
} from "./chunk-WYJEOMNY.js";
|
|
111
|
-
import {
|
|
112
|
-
compareText,
|
|
113
|
-
defaultMeasurer
|
|
114
|
-
} from "./chunk-UIHGGWES.js";
|
|
115
115
|
|
|
116
116
|
// src/core/strings/tilemap.ts
|
|
117
117
|
var EN = {
|
|
@@ -201,7 +201,7 @@ function unknownRegionSuggest(id, pack, idIndex, options) {
|
|
|
201
201
|
}
|
|
202
202
|
function layoutTilemapPass(data, { options, listed, run = 0, omitted = /* @__PURE__ */ new Set(), heights = /* @__PURE__ */ new Map(), fixedHeight = !1, stopped = !1, valuesNoted = !1, steppedTile, keepStepped }, exhausted) {
|
|
203
203
|
let warnings = geoOptionRefusals(options, "tilemap");
|
|
204
|
-
if (!data.regions.length) throw new NormalizeError(EMPTY_DATA, "regions", "tilemap requires at least one region", "add regions[].id and value");
|
|
204
|
+
if (!data.regions.length) throw new NormalizeError(EMPTY_DATA, "regions", "tilemap requires at least one region", "add regions[].id and value", void 0, ["data", "regions"]);
|
|
205
205
|
let pack = getTilePack(data.pack), idIndex = geoRegionIdIndex(pack.regions), { valuesById, statesById, leftOut } = ingestGeoRegions(data.regions, idIndex, { where: `tile pack '${pack.id}'`, regionWord: "tile-pack region" }, warnings, (id, index) => {
|
|
206
206
|
let suggest = unknownRegionSuggest(id, pack, idIndex, options);
|
|
207
207
|
return {
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
scenarioField,
|
|
32
32
|
timeAnnotationSchema,
|
|
33
33
|
valueKindSchema
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZIVCPXXL.js";
|
|
35
35
|
import {
|
|
36
36
|
timeAnnotationAnchors
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-54YO56IK.js";
|
|
38
38
|
|
|
39
39
|
// src/core/charts/line/schema.ts
|
|
40
40
|
import * as z from "zod";
|
|
@@ -50,7 +50,8 @@ var targetSchema = z.strictObject({
|
|
|
50
50
|
placement !== void 0 && placement !== "top" && placement !== "inline" && ctx.addIssue({
|
|
51
51
|
code: "custom",
|
|
52
52
|
path: ["labelPlacement"],
|
|
53
|
-
message: "event labelPlacement must be 'top' or 'inline'"
|
|
53
|
+
message: "event labelPlacement must be 'top' or 'inline'",
|
|
54
|
+
params: typeof placement == "string" ? { replaceWith: "top" } : { refused: !0 }
|
|
54
55
|
});
|
|
55
56
|
}), categorySchema = categorySchemaOf({
|
|
56
57
|
nonEmpty: !0,
|
|
@@ -131,6 +132,7 @@ var targetSchema = z.strictObject({
|
|
|
131
132
|
}).superRefine((axis, ctx) => {
|
|
132
133
|
axis.ticks !== void 0 && axis.tickStep !== void 0 && ctx.addIssue({ code: "custom", path: ["ticks"], message: "give ticks or tickStep, not both: ticks names each tick, tickStep the spacing" }), axis.tickStep !== void 0 && typeof axis.tickStep == "number" != (axis.type === "number") && ctx.addIssue({ code: "custom", path: ["tickStep"], message: axis.type === "time" ? "a time axis takes tickStep as { unit, step }, such as { unit: 'hour', step: 6 }" : "a number axis takes tickStep as a positive number, such as 0.5" }), axis.zone !== void 0 && axis.type !== "time" && ctx.addIssue({ code: "custom", path: ["zone"], message: "zone applies to xAxis.type 'time' only" }), axis.unit !== void 0 && axis.type !== "number" && ctx.addIssue({ code: "custom", path: ["unit"], message: "unit applies to xAxis.type 'number'; a time axis names its slope per second, minute, hour or day" });
|
|
133
134
|
}).describe("Continuous x axis on line and area: readings placed by value, for times with a time of day in a named zone or for plain numbers. Opt-in: needs data.x, and without xAxis the axis stays an ordered category row. Ticks come from a ladder (time: 1, 5, 15 and 30 seconds and minutes; 1, 3, 6 and 12 hours; 1 and 2 days; weeks; months; quarters; 1, 2, 5, 10 years and up; numbers: 1-2-5 steps), the finest whose labels fit, at most maxTicks. Under clock times a second row names each day ('Sat 24 Oct'); under days, weeks, months and quarters it names the year. Hover cards, keyboard records and the data table name each reading in full ('Sun 25 Oct 2026, 02:35', with the offset in a repeated hour). Lines, areas, gaps (null breaks the line), trend lines (fitted on the real x), min-max sampling (buckets by x), events and bands (at any x), value lines and point annotations (at the x of a reading) work as on categories. A CAGR annotation counts the exact years between its two readings on a time axis; a number axis has no years and warns x-cagr-unsupported. Not with variant 'bump' or categoryAxis."), lineOptionsSchema = baseOptionsSchema.safeExtend(refusedBaseOptions("line")).safeExtend({
|
|
135
|
+
highlight: baseOptionsSchema.shape.highlight.describe("Select drawn data series by ID. On one plain data line without a fan, category IDs instead emphasize those points: larger markers and values in focus ink while the line keeps its paint. Series IDs take precedence. References do not count as data series. Several data series, area, stacked and bump forms keep series-only highlighting. Unsupported IDs warn highlight-unknown-id and leave the chart unchanged. Explicit value-label suppression and authored marker shapes remain effective."),
|
|
134
136
|
trend: z.union([z.boolean(), z.strictObject({ label: z.string().min(1).optional().describe("Name of the fitted lines in the legend; default Linear trend.") })]).optional().describe("One least-squares line per shown data series, using the shared scatter fit. Fits every non-null source value in the shown range, with at least 3 points; min-max sampling changes the drawn points, not the fit. Regular month, quarter and year dates fit on the calendar period index and keep their spacing; exact 7-day steps fit per week; other dates use elapsed UTC days and exact date spacing; other categories use their original positions. The dashed series-colour line covers only its fitted range and is clipped to the value axis. The legend prints the series name, signed slope per month, quarter, year, week, day or period, and r\xB2. The layout derived.trends receipt carries slope, intercept, r\xB2 and the fit moments. Plain line and area only; stacks and bump refuse trend-unsupported. Too few points warn trend-undefined. A window or zoom changes the fitted range. Default false."),
|
|
135
137
|
rounding: baseOptionsSchema.shape.rounding.describe("stacked100-area defaults to sum-consistent rounding of complete computed wholes. Authored percentages and incomplete total100 bases keep their values. nearest rounds each computed share separately. Other line variants do not use this setting."),
|
|
136
138
|
window: liveWindowOptionsSchema.optional().describe("Display the last n periods and optionally sample extrema while preserving source calculations, ranks, uncertainty intervals and phase boundaries. A mean's \xD8 label names the periods it covers where the plot draws fewer, '\xD8 54.3 (Day 1\u2013Day 20)'."),
|
|
@@ -158,6 +160,7 @@ var targetSchema = z.strictObject({
|
|
|
158
160
|
]).optional().describe(
|
|
159
161
|
"Where series names print; a name carries no value, except where two or more lines end within a line of each other at the last category: there each name takes its last value. On report, dashboard, slide and print, plain-line names use medium weight at the label role size, in a contrast-safe series colour. Values use regular weight. Crowded blocks use one line if two lines would move more than three label line heights from the endpoint. If one line cannot fit within that bound, a right-hand key lists names and end values from highest to lowest, with a reading disclosure. 'end' (default): a column just past the line ends, names only, short leaders; too wide for 18% of the width, shortLabel, then the key row. 'inline': on a clear stretch of each line; the last values still print. An authored 'end' or 'inline' that ends in the key row warns line-end-label-key. 'key': a key row above the plot. 'none': no names; two or more drawn series still get the key row (info series-labels-key) unless legend is set. A lone 'line' defaults to 'none'. { only } names the listed series and gives the rest no name and no value."
|
|
160
162
|
).meta({ "x-boardplot-defaultDependsOn": ["variant", "data.series"] }),
|
|
163
|
+
pointLabelSide: z.enum(["shape", "auto"]).optional().describe("Preferred side for point values. 'shape' prefers left of the first finite point, above a strict local peak, below a strict local trough and right of the last finite point. Flat plateaus keep the existing preference. Default shape on one plain data line without a fan; reference series do not count. Other variants and several data series keep auto. The label solver can use a fallback to avoid collisions, and labelPlacements pins take precedence. 'auto' restores the previous candidate order and endpoint reserves.").meta({ "x-boardplot-defaultDependsOn": ["variant", "data.series", "fan"] }),
|
|
161
164
|
valueLabels: z.enum(["none", "last", "ends", "extremes", "all"]).optional().describe(
|
|
162
165
|
"Point values: default last, inline and bump none, stacked100-area ends. Distinct end values that round to the same text gain up to two decimals as one label set; the reading uses that precision. Bump keeps the precision used to rank its values. Choices: 'none' (default under seriesLabels 'inline'), 'last' (default), 'ends' (first and last; stacked100-area default), 'extremes' (ends plus each series' low and high) or 'all'. A value sits on the side of its point away from other lines and never nearer another line than its own; one with no free seat goes to the note line, and missing labels warn label-hidden once per chart; reading.omissions names each label and its destination. Stacked values sit in their band. labels.point sets the content. When the author sets valueLabels and every non-null value in a series has a string label (ignoring label:false cells), valueLabels selects the values and each selected value uses its cell text. Otherwise a string cell label also selects its point, outside the valueLabels selection, even when labels.point is false. label:false removes a value label. bump defaults to 'none'; its values are the measure behind the ranks, so each carries the unit, and without a unit or format it warns bump-values-unnamed. A plain line on a linear scale that does not start at zero draws a break glyph at its lowest value, so the cut baseline stays visible. A tick prints there under 'all' and valueAxis.show false, and on a shown value axis only where that value falls on the tick grid or valueAxis.min sets it. valueAxis.includeZero true or valueAxis.min 0 starts at zero and removes the break glyph and its tick. Where the last value carries options.unit because no subtitle prints it, a shown value axis prints a sign or magnitude unit ($, k, m) on its ticks too; a word unit stays on the value."
|
|
163
166
|
).meta({ "x-boardplot-defaultDependsOn": ["variant", "seriesLabels"] }),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bareGridPlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WOICFLOJ.js";
|
|
4
4
|
import {
|
|
5
5
|
matrixTracks,
|
|
6
6
|
nameTrackRefusals,
|
|
@@ -10,54 +10,55 @@ import {
|
|
|
10
10
|
} from "./chunk-YGZEG3JV.js";
|
|
11
11
|
import {
|
|
12
12
|
rowLabelBand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MGXHFRQK.js";
|
|
14
14
|
import {
|
|
15
15
|
fittedLabel,
|
|
16
16
|
gutterBudget,
|
|
17
17
|
pinnedRowFont,
|
|
18
18
|
stepDownFont
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BHLNSJG7.js";
|
|
20
20
|
import {
|
|
21
21
|
chartTheme
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WFBN2HXR.js";
|
|
23
23
|
import {
|
|
24
24
|
labelOn
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TMEUK2WS.js";
|
|
26
26
|
import {
|
|
27
27
|
structureCount
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KW4JXWHO.js";
|
|
29
29
|
import {
|
|
30
30
|
headInk,
|
|
31
31
|
plainInk
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FB6X7QHA.js";
|
|
33
33
|
import {
|
|
34
34
|
generatedIdWarnings
|
|
35
35
|
} from "./chunk-SXAZDIGM.js";
|
|
36
36
|
import {
|
|
37
|
+
NARROW_FORM,
|
|
37
38
|
chartSizing,
|
|
38
39
|
heightOmitted,
|
|
39
40
|
matrixWidths,
|
|
40
41
|
rowDrivenHeight,
|
|
41
42
|
rowSizing,
|
|
42
43
|
sweepHide
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-GNMB72V7.js";
|
|
44
45
|
import {
|
|
45
46
|
PRIORITY,
|
|
46
47
|
authoredFootnoteCount,
|
|
47
|
-
createOccupiedIndex,
|
|
48
48
|
frameTextOptions,
|
|
49
49
|
labelCtx,
|
|
50
50
|
labelsToNodes,
|
|
51
51
|
legendRequired,
|
|
52
52
|
normalizeLegendOption,
|
|
53
53
|
solveFrame,
|
|
54
|
-
solveLabels
|
|
55
|
-
|
|
54
|
+
solveLabels,
|
|
55
|
+
withUnprintedClaims
|
|
56
|
+
} from "./chunk-4OJF6DXL.js";
|
|
56
57
|
import {
|
|
57
58
|
formatNonzeroWithSpec,
|
|
58
59
|
formatterFromExample,
|
|
59
60
|
seriesRasterFormatter
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-Z6DUNKFU.js";
|
|
61
62
|
import {
|
|
62
63
|
chartStrings
|
|
63
64
|
} from "./chunk-MSYTF3DZ.js";
|
|
@@ -69,6 +70,7 @@ import {
|
|
|
69
70
|
import {
|
|
70
71
|
canvasMargin,
|
|
71
72
|
colorblindPaint,
|
|
73
|
+
createOccupiedIndex,
|
|
72
74
|
hatchGroundPaint,
|
|
73
75
|
linePath,
|
|
74
76
|
markRolePaint,
|
|
@@ -79,22 +81,22 @@ import {
|
|
|
79
81
|
separationStroke,
|
|
80
82
|
strokeToken,
|
|
81
83
|
textScaleOf
|
|
82
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-TX5FSNAU.js";
|
|
83
85
|
import {
|
|
84
86
|
NormalizeError,
|
|
85
87
|
TARGET_SIZE,
|
|
86
88
|
accessibleTitle,
|
|
87
89
|
resolveHighlight,
|
|
88
90
|
resolveSize
|
|
89
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-RJICOOB3.js";
|
|
92
|
+
import {
|
|
93
|
+
defaultMeasurer
|
|
94
|
+
} from "./chunk-UIHGGWES.js";
|
|
90
95
|
import {
|
|
91
96
|
maxOf,
|
|
92
97
|
minOf,
|
|
93
98
|
pushAll
|
|
94
99
|
} from "./chunk-WYJEOMNY.js";
|
|
95
|
-
import {
|
|
96
|
-
defaultMeasurer
|
|
97
|
-
} from "./chunk-UIHGGWES.js";
|
|
98
100
|
|
|
99
101
|
// src/core/strings/status.ts
|
|
100
102
|
var EN = {
|
|
@@ -224,7 +226,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
224
226
|
}, columnTextCap = Math.max(calendarHeaders ? 40 : 12, cellW - 2), headerWidths = columns.map((column) => measure(column.label, axisFont).width), headerLeft = columns.map((_, index) => Math.max(
|
|
225
227
|
framePlot.x,
|
|
226
228
|
Math.min(headLeft(index, headerWidths[index]), framePlot.x + framePlot.w - headerWidths[index])
|
|
227
|
-
)), headerFits = columns.map((_, index) => headerWidths[index] <= framePlot.w && (index === 0 || headerLeft[index] >= headerLeft[index - 1] + headerWidths[index - 1] + 4) && (index === columns.length - 1 || headerLeft[index] + headerWidths[index] + 4 <= headerLeft[index + 1])), headerTiers = !calendarHeaders && headerFits.some((fits) => !fits) ? [2, 3].find((tiers) => columns.every((_, index) => headerWidths[index] <= framePlot.w && (index < tiers || headerLeft[index] >= headerLeft[index - tiers] + headerWidths[index - tiers] + 4))) ?? 1 : 1, staggerHeaders = headerTiers > 1, { labels: columnText } = rowLabelBand(columns.map((column, index) => ({
|
|
229
|
+
)), headerFits = columns.map((_, index) => headerWidths[index] <= framePlot.w && (index === 0 || headerLeft[index] >= headerLeft[index - 1] + headerWidths[index - 1] + 4) && (index === columns.length - 1 || headerLeft[index] + headerWidths[index] + 4 <= headerLeft[index + 1])), headerTiers = !calendarHeaders && !options[NARROW_FORM] && headerFits.some((fits) => !fits) ? [2, 3].find((tiers) => columns.every((_, index) => headerWidths[index] <= framePlot.w && (index < tiers || headerLeft[index] >= headerLeft[index - tiers] + headerWidths[index - tiers] + 4))) ?? 1 : 1, staggerHeaders = headerTiers > 1, { labels: columnText } = rowLabelBand(columns.map((column, index) => ({
|
|
228
230
|
...column,
|
|
229
231
|
label: calendarHeaders || staggerHeaders || headerFits[index] ? column.label : wrapHeader(column.label, columnTextCap, axisFont, measure)
|
|
230
232
|
})), axisFont, columnTextCap, 3, axisLineH, measure, { target: options.target, textScale: textScaleOf(options), typeRole: "axis", shrink: axisStep });
|
|
@@ -313,7 +315,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
313
315
|
...state ? hatchOf(state) : {},
|
|
314
316
|
owner,
|
|
315
317
|
part: "cell",
|
|
316
|
-
display: { state: state?.label ??
|
|
318
|
+
display: { state: state?.label ?? chartString(options, "noStatus"), ...binding?.value !== void 0 ? { value: valueForStatus(binding.value, raster, options.format !== void 0) } : {} }
|
|
317
319
|
}), state && !patternOf.get(state.id)) {
|
|
318
320
|
let fill = paintForState(state), inset = Math.min(rect.w / 2, rect.h / 2, Math.max(strokeToken(theme, "rule"), theme.pattern.outlineStrokeWidth) / 2 + 0.01), edge = separationStroke(paintColor(theme, fill), theme.color.background, theme);
|
|
319
321
|
scene.push({
|
|
@@ -489,7 +491,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
489
491
|
...usedStates.map((state) => ({ state: state.id, count: stateCounts.get(state.id) ?? 0, displayed: `${state.label} ${stateCounts.get(state.id) ?? 0}` })),
|
|
490
492
|
...noneCount > 0 ? [{ state: missingState, count: noneCount, displayed: chartString(options, "noStatusCount", { v1: noneCount }) }] : []
|
|
491
493
|
], stateSummary = describedCounts.map((entry) => entry.displayed).join(", ");
|
|
492
|
-
return {
|
|
494
|
+
return withUnprintedClaims({
|
|
493
495
|
type: "status",
|
|
494
496
|
size,
|
|
495
497
|
sizing: rowSizing("status", size, {
|
|
@@ -536,7 +538,7 @@ function layoutStatus(data, options = { states: [] }, rowLines) {
|
|
|
536
538
|
occupied: occupied.snapshot(),
|
|
537
539
|
decisions: solved.decisions
|
|
538
540
|
}
|
|
539
|
-
};
|
|
541
|
+
}, describedCounts.map((entry) => `status:count:${entry.state}`));
|
|
540
542
|
}
|
|
541
543
|
function wrapHeader(text, width, font, measure) {
|
|
542
544
|
return text.split(/\s+/).flatMap((word) => {
|
|
@@ -554,11 +556,11 @@ function authoredMatrixWidths(widths, tracks, chromeW, columns, gap, headers) {
|
|
|
554
556
|
}
|
|
555
557
|
function normalizeStatusInput(data, options) {
|
|
556
558
|
if (!data || !Array.isArray(data.rows) || data.rows.length === 0)
|
|
557
|
-
throw new NormalizeError("empty-data", "rows", "status requires at least one row");
|
|
559
|
+
throw new NormalizeError("empty-data", "rows", "status requires at least one row", void 0, void 0, ["data", "rows"]);
|
|
558
560
|
if (!Array.isArray(data.columns) || data.columns.length === 0)
|
|
559
|
-
throw new NormalizeError("empty-data", "columns", "status requires at least one column");
|
|
561
|
+
throw new NormalizeError("empty-data", "columns", "status requires at least one column", void 0, void 0, ["data", "columns"]);
|
|
560
562
|
if (!Array.isArray(data.cells))
|
|
561
|
-
throw new NormalizeError("invalid-data", "cells", "status cells must be an array");
|
|
563
|
+
throw new NormalizeError("invalid-data", "cells", "status cells must be an array", void 0, void 0, ["data", "cells"]);
|
|
562
564
|
if (!Array.isArray(options?.states) || options.states.length === 0)
|
|
563
565
|
throw new NormalizeError(
|
|
564
566
|
"invalid-options",
|
|
@@ -574,14 +576,17 @@ function normalizeStatusInput(data, options) {
|
|
|
574
576
|
);
|
|
575
577
|
let rows = data.rows.map((row, index) => {
|
|
576
578
|
if (!row?.id)
|
|
577
|
-
throw new NormalizeError("missing-id", `rows[${index}]`, "status row requires an id");
|
|
579
|
+
throw new NormalizeError("missing-id", `rows[${index}]`, "status row requires an id", void 0, void 0, ["data", "rows", index]);
|
|
578
580
|
return { id: row.id, label: row.label ?? row.id };
|
|
579
581
|
}), columns = data.columns.map((column, index) => {
|
|
580
582
|
if (!column?.id)
|
|
581
583
|
throw new NormalizeError(
|
|
582
584
|
"missing-id",
|
|
583
585
|
`columns[${index}]`,
|
|
584
|
-
"status column requires an id"
|
|
586
|
+
"status column requires an id",
|
|
587
|
+
void 0,
|
|
588
|
+
void 0,
|
|
589
|
+
["data", "columns", index]
|
|
585
590
|
);
|
|
586
591
|
return { id: column.id, label: options.columnOverrides?.[column.id]?.label ?? column.label ?? column.id };
|
|
587
592
|
}), rowIds = new Set(rows.map((row) => row.id)), columnIds = new Set(columns.map((column) => column.id)), bindings = /* @__PURE__ */ new Set();
|
|
@@ -590,20 +595,29 @@ function normalizeStatusInput(data, options) {
|
|
|
590
595
|
throw new NormalizeError(
|
|
591
596
|
"unknown-row",
|
|
592
597
|
`cells[${index}].row`,
|
|
593
|
-
`status cell references unknown row '${cell.row}'
|
|
598
|
+
`status cell references unknown row '${cell.row}'`,
|
|
599
|
+
void 0,
|
|
600
|
+
void 0,
|
|
601
|
+
["data", "cells", index, "row"]
|
|
594
602
|
);
|
|
595
603
|
if (!columnIds.has(cell.col))
|
|
596
604
|
throw new NormalizeError(
|
|
597
605
|
"unknown-column",
|
|
598
606
|
`cells[${index}].col`,
|
|
599
|
-
`status cell references unknown column '${cell.col}'
|
|
607
|
+
`status cell references unknown column '${cell.col}'`,
|
|
608
|
+
void 0,
|
|
609
|
+
void 0,
|
|
610
|
+
["data", "cells", index, "col"]
|
|
600
611
|
);
|
|
601
612
|
let binding = `${cell.row}\0${cell.col}`;
|
|
602
613
|
if (bindings.has(binding))
|
|
603
614
|
throw new NormalizeError(
|
|
604
615
|
"duplicate-binding",
|
|
605
616
|
`cells[${index}]`,
|
|
606
|
-
`status cell binding '${cell.row}/${cell.col}' is duplicated
|
|
617
|
+
`status cell binding '${cell.row}/${cell.col}' is duplicated`,
|
|
618
|
+
void 0,
|
|
619
|
+
void 0,
|
|
620
|
+
["data", "cells", index]
|
|
607
621
|
);
|
|
608
622
|
bindings.add(binding);
|
|
609
623
|
}), { rows, columns, cells: data.cells, states: options.states };
|