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
|
@@ -9,21 +9,21 @@ import {
|
|
|
9
9
|
logTickTiers,
|
|
10
10
|
olsFit,
|
|
11
11
|
olsMoments
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2IRMGCYE.js";
|
|
13
13
|
import {
|
|
14
14
|
numericViewportRange
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JNDWRV34.js";
|
|
16
16
|
import {
|
|
17
17
|
runAnnotatePass
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-R5SGE2NS.js";
|
|
19
19
|
import {
|
|
20
20
|
breakUnsupported,
|
|
21
21
|
chartPalette,
|
|
22
22
|
chartTheme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WFBN2HXR.js";
|
|
24
24
|
import {
|
|
25
25
|
structureCount
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KW4JXWHO.js";
|
|
27
27
|
import {
|
|
28
28
|
HARD_COMPACT_PLOT,
|
|
29
29
|
applyAxisBounds,
|
|
@@ -35,13 +35,11 @@ import {
|
|
|
35
35
|
measureValueAxisWidth,
|
|
36
36
|
niceDomain,
|
|
37
37
|
plotFloorRows
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GNMB72V7.js";
|
|
39
39
|
import {
|
|
40
40
|
PRIORITY,
|
|
41
41
|
authoredNotes,
|
|
42
42
|
composedTextRole,
|
|
43
|
-
createOccupiedIndex,
|
|
44
|
-
defaultAnnotationId,
|
|
45
43
|
frameTextOptions,
|
|
46
44
|
hiddenNoteWith,
|
|
47
45
|
inkBox,
|
|
@@ -55,19 +53,22 @@ import {
|
|
|
55
53
|
noteLine,
|
|
56
54
|
omittedKey,
|
|
57
55
|
plotHeightAfter,
|
|
58
|
-
rectContains,
|
|
59
|
-
rectsOverlap,
|
|
60
56
|
seatLeader,
|
|
61
57
|
solveFrame,
|
|
62
|
-
solveLabels
|
|
63
|
-
|
|
58
|
+
solveLabels,
|
|
59
|
+
withUnprintedClaims
|
|
60
|
+
} from "./chunk-4OJF6DXL.js";
|
|
64
61
|
import {
|
|
65
62
|
disclosureNote,
|
|
66
63
|
disclosuresShown,
|
|
67
64
|
staticFrame,
|
|
68
65
|
storyFrameFit,
|
|
69
66
|
withEngineNotes
|
|
70
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-DZYTXZNS.js";
|
|
68
|
+
import {
|
|
69
|
+
annotationRef,
|
|
70
|
+
defaultAnnotationId
|
|
71
|
+
} from "./chunk-F2ET5ZTT.js";
|
|
71
72
|
import {
|
|
72
73
|
emptyIdRecord
|
|
73
74
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -80,7 +81,7 @@ import {
|
|
|
80
81
|
roundedNumber,
|
|
81
82
|
seriesRasterFormatter,
|
|
82
83
|
trendRateFormatter
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-Z6DUNKFU.js";
|
|
84
85
|
import {
|
|
85
86
|
autoDecimals,
|
|
86
87
|
chartStrings,
|
|
@@ -98,25 +99,28 @@ import {
|
|
|
98
99
|
} from "./chunk-O3VN6BTL.js";
|
|
99
100
|
import {
|
|
100
101
|
canvasMargin,
|
|
102
|
+
colorRolePaints,
|
|
103
|
+
createOccupiedIndex,
|
|
101
104
|
dashToken,
|
|
102
105
|
emphasisWeight,
|
|
103
|
-
markRolePaint,
|
|
104
106
|
mutedMarkPaint,
|
|
105
107
|
paintColor,
|
|
106
108
|
panelTypeClass,
|
|
109
|
+
rectContains,
|
|
110
|
+
rectsOverlap,
|
|
107
111
|
secondaryFont,
|
|
108
112
|
seriesPaint,
|
|
109
113
|
spaceTokens,
|
|
110
114
|
strokeToken
|
|
111
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-TX5FSNAU.js";
|
|
112
116
|
import {
|
|
113
117
|
PALETTE_NORMAL_FLOOR
|
|
114
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-BQBD6Q5J.js";
|
|
115
119
|
import {
|
|
116
120
|
cubicPoint,
|
|
117
121
|
fmtPathNumber,
|
|
118
122
|
monotoneSegments
|
|
119
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-6IUK6PAH.js";
|
|
120
124
|
import {
|
|
121
125
|
NormalizeError,
|
|
122
126
|
TARGET_SIZE,
|
|
@@ -125,16 +129,16 @@ import {
|
|
|
125
129
|
normalizeScenario,
|
|
126
130
|
resolveHighlight,
|
|
127
131
|
resolveSize
|
|
128
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-RJICOOB3.js";
|
|
133
|
+
import {
|
|
134
|
+
defaultMeasurer,
|
|
135
|
+
wrapText
|
|
136
|
+
} from "./chunk-UIHGGWES.js";
|
|
129
137
|
import {
|
|
130
138
|
maxOf,
|
|
131
139
|
minOf,
|
|
132
140
|
pushAll
|
|
133
141
|
} from "./chunk-WYJEOMNY.js";
|
|
134
|
-
import {
|
|
135
|
-
defaultMeasurer,
|
|
136
|
-
wrapText
|
|
137
|
-
} from "./chunk-UIHGGWES.js";
|
|
138
142
|
|
|
139
143
|
// src/core/strings/scatter.ts
|
|
140
144
|
var EN = {
|
|
@@ -224,7 +228,11 @@ var EN = {
|
|
|
224
228
|
cutAt: "Cut at",
|
|
225
229
|
cutMeanCapital: "Mean",
|
|
226
230
|
pointsCountRight: ", points on it count right",
|
|
227
|
-
pointsCountAbove: ", points on it count above"
|
|
231
|
+
pointsCountAbove: ", points on it count above",
|
|
232
|
+
sizeValue: "Size {v1}",
|
|
233
|
+
clippedAt: "clipped at {v1}",
|
|
234
|
+
clippedAtAxis: "{v1} ({v2})",
|
|
235
|
+
clippedAtJoin: " and at "
|
|
228
236
|
}, DE = {
|
|
229
237
|
// reader-facing wording linked only by its consumers.
|
|
230
238
|
medianName: "Median",
|
|
@@ -312,7 +320,11 @@ var EN = {
|
|
|
312
320
|
cutAt: "Trennpunkt bei",
|
|
313
321
|
cutMeanCapital: "Mittelwert",
|
|
314
322
|
pointsCountRight: ", Punkte darauf z\xE4hlen rechts",
|
|
315
|
-
pointsCountAbove: ", Punkte darauf z\xE4hlen oben"
|
|
323
|
+
pointsCountAbove: ", Punkte darauf z\xE4hlen oben",
|
|
324
|
+
sizeValue: "Gr\xF6\xDFe {v1}",
|
|
325
|
+
clippedAt: "abgeschnitten bei {v1}",
|
|
326
|
+
clippedAtAxis: "{v1} ({v2})",
|
|
327
|
+
clippedAtJoin: " und bei "
|
|
316
328
|
}, { chartString } = chartStrings(EN, DE);
|
|
317
329
|
|
|
318
330
|
// src/core/charts/scatter/clamp.ts
|
|
@@ -461,10 +473,10 @@ function clampSeed(plan, axis, lo, hi) {
|
|
|
461
473
|
let { min, max } = plan.applied[axis], into = (value) => max !== void 0 && value > max ? max : min !== void 0 && value < min ? min : value;
|
|
462
474
|
return [into(lo), into(hi)];
|
|
463
475
|
}
|
|
464
|
-
function clampStateOf(plan, id) {
|
|
476
|
+
function clampStateOf(plan, id, options) {
|
|
465
477
|
if (!plan?.clipped.has(id)) return;
|
|
466
478
|
let records = plan.records.filter((entry) => entry.points.some((point) => point.id === id));
|
|
467
|
-
return records.length === 1 ?
|
|
479
|
+
return records.length === 1 ? chartString(options, "clippedAt", { v1: records[0].limitText }) : chartString(options, "clippedAt", { v1: records.map((record) => chartString(options, "clippedAtAxis", { v1: record.limitText, v2: plan.axisNames[record.axis] })).join(chartString(options, "clippedAtJoin")) });
|
|
468
480
|
}
|
|
469
481
|
function boundBeyond(plan, axis, value) {
|
|
470
482
|
let { min, max } = plan.applied[axis];
|
|
@@ -497,11 +509,11 @@ function refuseClampedValueLines(plan, lines, format) {
|
|
|
497
509
|
let what = line.isMean ? `the mean of the plotted points (${format(line.value)})` : `its value ${format(line.value)}`;
|
|
498
510
|
throw new NormalizeError(
|
|
499
511
|
"clamp-value-line-conflict",
|
|
500
|
-
|
|
512
|
+
line.ref.name,
|
|
501
513
|
`valueLine '${line.id}' sits at ${what}, beyond ${clampPath("y", beyond.bound)} ${beyond.limit}, so the line would be drawn outside the plot`,
|
|
502
514
|
`move ${clampPath("y", beyond.bound)} past the line, or drop the value line`,
|
|
503
515
|
void 0,
|
|
504
|
-
|
|
516
|
+
line.ref.segments
|
|
505
517
|
);
|
|
506
518
|
}
|
|
507
519
|
}
|
|
@@ -536,7 +548,7 @@ function drawnValueLines(annotations, meanY) {
|
|
|
536
548
|
let spanned = ann.from !== void 0 || ann.to !== void 0, isMean = ann.value === "mean" || ann.value === void 0;
|
|
537
549
|
if (isMean && (ann.seriesId !== void 0 || spanned) || !isMean && ann.seriesId !== void 0 || !isMean && spanned && ann.tolerance === void 0 && ann.attainment === void 0) return;
|
|
538
550
|
let value = isMean ? meanY : ann.value;
|
|
539
|
-
Number.isFinite(value) && lines.push({ index, id: defaultAnnotationId(ann, index), value, isMean });
|
|
551
|
+
Number.isFinite(value) && lines.push({ index, ref: annotationRef(ann, index), id: defaultAnnotationId(ann, index), value, isMean });
|
|
540
552
|
}), lines;
|
|
541
553
|
}
|
|
542
554
|
function withValueLines(lines, lo, hi) {
|
|
@@ -549,11 +561,11 @@ function refuseValueLinesOutsideAxis(lines, domain, bounds, format) {
|
|
|
549
561
|
let what = line.isMean ? `the mean of the plotted points (${format(line.value)})` : format(line.value);
|
|
550
562
|
throw new NormalizeError(
|
|
551
563
|
"value-line-outside-axis",
|
|
552
|
-
|
|
564
|
+
line.ref.name,
|
|
553
565
|
`valueLine '${line.id}' sits at ${what}, ${bound === "max" ? "above" : "below"} the vertical axis, which valueAxis.${bound} ends at ${format(domain[bound === "max" ? 1 : 0])}, so the line would be drawn outside the plot`,
|
|
554
566
|
`move valueAxis.${bound} past ${format(line.value)}, or drop valueAxis.${bound} and let the axis extend to the line`,
|
|
555
567
|
void 0,
|
|
556
|
-
|
|
568
|
+
line.ref.segments
|
|
557
569
|
);
|
|
558
570
|
}
|
|
559
571
|
}
|
|
@@ -575,20 +587,25 @@ function valueLinesInView(annotations, lines, window, warnings, format) {
|
|
|
575
587
|
}
|
|
576
588
|
|
|
577
589
|
// src/core/charts/scatter/logAxis.ts
|
|
578
|
-
function dropLogFix(log,
|
|
579
|
-
|
|
590
|
+
function dropLogFix(log, bad) {
|
|
591
|
+
let keep = log === "both" && bad.size === 1 ? [...bad][0] === "x" ? "y" : "x" : void 0;
|
|
592
|
+
return keep ? [{ op: "replace", path: "/options/valueAxis/log", value: keep }] : [{ op: "remove", path: "/options/valueAxis/log" }];
|
|
580
593
|
}
|
|
581
594
|
function refuseNonPositiveOnLog(options, axes, pts) {
|
|
582
595
|
if (!axes.x && !axes.y) return;
|
|
583
|
-
let log = options.valueAxis?.log, side = (axis) => axis === "x" ? "horizontal" : "vertical", refuse = (axis, what, value, segments, remove) => {
|
|
584
|
-
|
|
596
|
+
let log = options.valueAxis?.log, side = (axis) => axis === "x" ? "horizontal" : "vertical", found = [], refuse = (axis, what, value, segments, remove) => {
|
|
597
|
+
found.push({ axis, what, value, segments, remove });
|
|
598
|
+
}, finish = () => {
|
|
599
|
+
let first = found[0];
|
|
600
|
+
if (!first) return;
|
|
601
|
+
let bad = new Set(found.map((item) => item.axis)), keep = log === "both" && bad.size === 1 ? ` (log: '${first.axis === "x" ? "y" : "x"}' keeps the ${side(first.axis === "x" ? "y" : "x")} axis on a log scale)` : "";
|
|
585
602
|
throw new NormalizeError(
|
|
586
603
|
"log-nonpositive",
|
|
587
|
-
what,
|
|
588
|
-
`${what} is ${value}, and the ${side(axis)} axis is on a log scale, which has no place for zero or a negative value`,
|
|
589
|
-
`${remove}, or drop valueAxis.log${keep}`,
|
|
590
|
-
dropLogFix(log,
|
|
591
|
-
segments
|
|
604
|
+
first.what,
|
|
605
|
+
`${first.what} is ${first.value}, and the ${side(first.axis)} axis is on a log scale, which has no place for zero or a negative value`,
|
|
606
|
+
`${first.remove}, or drop valueAxis.log${keep}`,
|
|
607
|
+
dropLogFix(log, bad),
|
|
608
|
+
first.segments
|
|
592
609
|
);
|
|
593
610
|
};
|
|
594
611
|
for (let axis of ["x", "y"]) {
|
|
@@ -609,7 +626,7 @@ function refuseNonPositiveOnLog(options, axes, pts) {
|
|
|
609
626
|
let cut = options.quadrants?.[axis];
|
|
610
627
|
typeof cut == "number" && cut <= 0 && refuse(axis, `options.quadrants.${axis}`, cut, ["options", "quadrants", axis], "cut above zero");
|
|
611
628
|
}
|
|
612
|
-
if (!axes.y) return;
|
|
629
|
+
if (!axes.y) return finish();
|
|
613
630
|
let va = options.valueAxis ?? {};
|
|
614
631
|
for (let bound of ["min", "max"]) {
|
|
615
632
|
let value = va[bound];
|
|
@@ -619,8 +636,9 @@ function refuseNonPositiveOnLog(options, axes, pts) {
|
|
|
619
636
|
let meanY = pts.reduce((sum, p) => sum + p.y, 0) / pts.length;
|
|
620
637
|
for (let line of drawnValueLines(options.annotations, meanY)) {
|
|
621
638
|
let ann = options.annotations[line.index], low = typeof ann.tolerance == "number" ? line.value - ann.tolerance : ann.tolerance?.low ?? line.value;
|
|
622
|
-
Math.min(line.value, low) <= 0 && refuse("y",
|
|
639
|
+
Math.min(line.value, low) <= 0 && refuse("y", line.ref.name, Math.min(line.value, low), line.ref.segments, "move the value line and its band above zero");
|
|
623
640
|
}
|
|
641
|
+
finish();
|
|
624
642
|
}
|
|
625
643
|
|
|
626
644
|
// src/core/charts/scatter/model.ts
|
|
@@ -657,7 +675,7 @@ function resolveCut(threshold, axis, values, warnings) {
|
|
|
657
675
|
message: `quadrants.${axis} asks for the ${threshold.stat} of ${values.length} plotted point(s) \u2014 refused. A median of two points is the midpoint of the two: it reads as analysis and is not.`,
|
|
658
676
|
suggest: `plot at least 3 points, or declare quadrants.${axis} as a number`
|
|
659
677
|
}), null;
|
|
660
|
-
let value = threshold.stat === "median" ? quadrantMedian(values) : values.reduce((a, v) => a + v, 0) / values.length;
|
|
678
|
+
let value = Number((threshold.stat === "median" ? quadrantMedian(values) : values.reduce((a, v) => a + v, 0) / values.length).toPrecision(12));
|
|
661
679
|
return Number.isFinite(value) ? { value, source: threshold.stat } : (nonfinite(value), null);
|
|
662
680
|
}
|
|
663
681
|
function resolveCuts(pts, env, warnings) {
|
|
@@ -890,13 +908,15 @@ function bandedAxes(env, domain) {
|
|
|
890
908
|
y: (grid?.yLabels?.length ?? 0) > 0 && domain.evenGrid?.y === !0
|
|
891
909
|
};
|
|
892
910
|
}
|
|
893
|
-
function refuseUnkeyableZone(zone, path) {
|
|
911
|
+
function refuseUnkeyableZone(zone, path, list, index) {
|
|
894
912
|
if ((zone.labelAt ?? "plot") !== "plot" && (!zone.label || zone.tone === "none"))
|
|
895
913
|
throw new NormalizeError(
|
|
896
914
|
"zone-key-unkeyable",
|
|
897
915
|
`${path}.labelAt`,
|
|
898
916
|
`strategy zone '${zone.id}' is keyed in the legend (labelAt '${zone.labelAt}') ${zone.label ? "with tone 'none', so its swatch would be empty" : "without a label to key it by"}`,
|
|
899
|
-
zone.label ? "give the zone a tone, or keep labelAt 'plot'" : "add a label, or keep labelAt 'plot'"
|
|
917
|
+
zone.label ? "give the zone a tone, or keep labelAt 'plot'" : "add a label, or keep labelAt 'plot'",
|
|
918
|
+
void 0,
|
|
919
|
+
["options", "zones", ...list === "cells" ? ["grid", "cells"] : ["regions"], index, "labelAt"]
|
|
900
920
|
);
|
|
901
921
|
}
|
|
902
922
|
function validateStrategyZones(options) {
|
|
@@ -909,20 +929,29 @@ function validateStrategyZones(options) {
|
|
|
909
929
|
throw new NormalizeError(
|
|
910
930
|
"zone-thresholds-empty",
|
|
911
931
|
`options.zones.grid.${axis}`,
|
|
912
|
-
`strategy-zone ${axis} thresholds require at least one value
|
|
932
|
+
`strategy-zone ${axis} thresholds require at least one value`,
|
|
933
|
+
void 0,
|
|
934
|
+
void 0,
|
|
935
|
+
["options", "zones", "grid", axis]
|
|
913
936
|
);
|
|
914
937
|
grid[axis].forEach((value, index) => {
|
|
915
938
|
if (!Number.isFinite(value))
|
|
916
939
|
throw new NormalizeError(
|
|
917
940
|
"zone-threshold-nonfinite",
|
|
918
941
|
`options.zones.grid.${axis}[${index}]`,
|
|
919
|
-
"strategy-zone thresholds must be finite"
|
|
942
|
+
"strategy-zone thresholds must be finite",
|
|
943
|
+
void 0,
|
|
944
|
+
void 0,
|
|
945
|
+
["options", "zones", "grid", axis, index]
|
|
920
946
|
);
|
|
921
947
|
if (index > 0 && !(value > grid[axis][index - 1]))
|
|
922
948
|
throw new NormalizeError(
|
|
923
949
|
"zone-threshold-order",
|
|
924
950
|
`options.zones.grid.${axis}[${index}]`,
|
|
925
|
-
"strategy-zone thresholds must be strictly increasing"
|
|
951
|
+
"strategy-zone thresholds must be strictly increasing",
|
|
952
|
+
void 0,
|
|
953
|
+
void 0,
|
|
954
|
+
["options", "zones", "grid", axis, index]
|
|
926
955
|
);
|
|
927
956
|
});
|
|
928
957
|
}
|
|
@@ -934,7 +963,10 @@ function validateStrategyZones(options) {
|
|
|
934
963
|
throw new NormalizeError(
|
|
935
964
|
"zone-band-label-count",
|
|
936
965
|
`options.zones.grid.${axis}Labels`,
|
|
937
|
-
`strategy-zone ${axis} band labels require exactly ${expected} entries
|
|
966
|
+
`strategy-zone ${axis} band labels require exactly ${expected} entries`,
|
|
967
|
+
void 0,
|
|
968
|
+
void 0,
|
|
969
|
+
["options", "zones", "grid", `${axis}Labels`]
|
|
938
970
|
);
|
|
939
971
|
let ids2 = /* @__PURE__ */ new Set(), positions = /* @__PURE__ */ new Set();
|
|
940
972
|
for (let [index, cell] of (grid.cells ?? []).entries()) {
|
|
@@ -942,22 +974,31 @@ function validateStrategyZones(options) {
|
|
|
942
974
|
throw new NormalizeError(
|
|
943
975
|
"duplicate-id",
|
|
944
976
|
`options.zones.grid.cells[${index}]`,
|
|
945
|
-
`duplicate strategy-zone cell id '${cell.id}'
|
|
977
|
+
`duplicate strategy-zone cell id '${cell.id}'`,
|
|
978
|
+
void 0,
|
|
979
|
+
void 0,
|
|
980
|
+
["options", "zones", "grid", "cells", index, "id"]
|
|
946
981
|
);
|
|
947
982
|
if (ids2.add(cell.id), cell.column > grid.x.length || cell.row > grid.y.length)
|
|
948
983
|
throw new NormalizeError(
|
|
949
984
|
"zone-cell-outside-grid",
|
|
950
985
|
`options.zones.grid.cells[${index}]`,
|
|
951
|
-
`strategy-zone cell '${cell.id}' addresses row ${cell.row}, column ${cell.column} outside the derived grid
|
|
986
|
+
`strategy-zone cell '${cell.id}' addresses row ${cell.row}, column ${cell.column} outside the derived grid`,
|
|
987
|
+
void 0,
|
|
988
|
+
void 0,
|
|
989
|
+
["options", "zones", "grid", "cells", index]
|
|
952
990
|
);
|
|
953
991
|
let position = `${cell.column}:${cell.row}`;
|
|
954
992
|
if (positions.has(position))
|
|
955
993
|
throw new NormalizeError(
|
|
956
994
|
"zone-cell-duplicate-position",
|
|
957
995
|
`options.zones.grid.cells[${index}]`,
|
|
958
|
-
`more than one strategy-zone cell addresses row ${cell.row}, column ${cell.column}
|
|
996
|
+
`more than one strategy-zone cell addresses row ${cell.row}, column ${cell.column}`,
|
|
997
|
+
void 0,
|
|
998
|
+
void 0,
|
|
999
|
+
["options", "zones", "grid", "cells", index]
|
|
959
1000
|
);
|
|
960
|
-
positions.add(position), refuseUnkeyableZone(cell, `options.zones.grid.cells[${index}]
|
|
1001
|
+
positions.add(position), refuseUnkeyableZone(cell, `options.zones.grid.cells[${index}]`, "cells", index);
|
|
961
1002
|
}
|
|
962
1003
|
return;
|
|
963
1004
|
}
|
|
@@ -965,15 +1006,21 @@ function validateStrategyZones(options) {
|
|
|
965
1006
|
throw new NormalizeError(
|
|
966
1007
|
"zone-regions-empty",
|
|
967
1008
|
"options.zones.regions",
|
|
968
|
-
"strategy zones require at least one region"
|
|
1009
|
+
"strategy zones require at least one region",
|
|
1010
|
+
void 0,
|
|
1011
|
+
void 0,
|
|
1012
|
+
["options", "zones", "regions"]
|
|
969
1013
|
);
|
|
970
1014
|
let ids = /* @__PURE__ */ new Set();
|
|
971
1015
|
for (let [index, region] of zones.regions.entries()) {
|
|
972
|
-
if (validateZoneRegion(region, index), refuseUnkeyableZone(region, `options.zones.regions[${index}]
|
|
1016
|
+
if (validateZoneRegion(region, index), refuseUnkeyableZone(region, `options.zones.regions[${index}]`, "regions", index), ids.has(region.id))
|
|
973
1017
|
throw new NormalizeError(
|
|
974
1018
|
"duplicate-id",
|
|
975
1019
|
`options.zones.regions[${index}]`,
|
|
976
|
-
`duplicate strategy-zone region id '${region.id}'
|
|
1020
|
+
`duplicate strategy-zone region id '${region.id}'`,
|
|
1021
|
+
void 0,
|
|
1022
|
+
void 0,
|
|
1023
|
+
["options", "zones", "regions", index, "id"]
|
|
977
1024
|
);
|
|
978
1025
|
ids.add(region.id);
|
|
979
1026
|
}
|
|
@@ -983,20 +1030,29 @@ function validateZoneRegion(region, index) {
|
|
|
983
1030
|
throw new NormalizeError(
|
|
984
1031
|
"missing-id",
|
|
985
1032
|
`options.zones.regions[${index}]`,
|
|
986
|
-
"strategy-zone region requires an id"
|
|
1033
|
+
"strategy-zone region requires an id",
|
|
1034
|
+
void 0,
|
|
1035
|
+
void 0,
|
|
1036
|
+
["options", "zones", "regions", index, "id"]
|
|
987
1037
|
);
|
|
988
1038
|
if (!Array.isArray(region.points) || region.points.length < 3)
|
|
989
1039
|
throw new NormalizeError(
|
|
990
1040
|
"zone-region-too-short",
|
|
991
1041
|
`options.zones.regions[${index}].points`,
|
|
992
|
-
"strategy-zone polygon requires at least three points"
|
|
1042
|
+
"strategy-zone polygon requires at least three points",
|
|
1043
|
+
void 0,
|
|
1044
|
+
void 0,
|
|
1045
|
+
["options", "zones", "regions", index, "points"]
|
|
993
1046
|
);
|
|
994
1047
|
region.points.forEach((point, pointIndex) => {
|
|
995
1048
|
if (!Number.isFinite(point.x) || !Number.isFinite(point.y))
|
|
996
1049
|
throw new NormalizeError(
|
|
997
1050
|
"zone-region-nonfinite",
|
|
998
1051
|
`options.zones.regions[${index}].points[${pointIndex}]`,
|
|
999
|
-
"strategy-zone polygon points must be finite"
|
|
1052
|
+
"strategy-zone polygon points must be finite",
|
|
1053
|
+
void 0,
|
|
1054
|
+
void 0,
|
|
1055
|
+
["options", "zones", "regions", index, "points", pointIndex]
|
|
1000
1056
|
);
|
|
1001
1057
|
});
|
|
1002
1058
|
}
|
|
@@ -1260,9 +1316,9 @@ function resolveScatterEnv(options, warnings, data) {
|
|
|
1260
1316
|
};
|
|
1261
1317
|
}
|
|
1262
1318
|
function normalizePoint(raw, i, seenIds, groupMap, warnings, hasAuthoredLabels) {
|
|
1263
|
-
if (!raw?.id) throw new NormalizeError("missing-id", `points[${i}]`, "point requires an id");
|
|
1319
|
+
if (!raw?.id) throw new NormalizeError("missing-id", `points[${i}]`, "point requires an id", void 0, void 0, ["data", "points", i, "id"]);
|
|
1264
1320
|
if (seenIds.has(raw.id))
|
|
1265
|
-
throw new NormalizeError("duplicate-id", `points[${raw.id}]`, `duplicate point id '${raw.id}'
|
|
1321
|
+
throw new NormalizeError("duplicate-id", `points[${raw.id}]`, `duplicate point id '${raw.id}'`, void 0, void 0, ["data", "points", i, "id"]);
|
|
1266
1322
|
seenIds.add(raw.id);
|
|
1267
1323
|
let path = `points[${raw.id}]`, xCell = normalizeCell(raw.x, `${path}.x`), yCell = normalizeCell(raw.y, `${path}.y`);
|
|
1268
1324
|
if (xCell !== null && isDateCell(xCell) || yCell !== null && isDateCell(yCell))
|
|
@@ -1315,12 +1371,12 @@ function normalizePoint(raw, i, seenIds, groupMap, warnings, hasAuthoredLabels)
|
|
|
1315
1371
|
}
|
|
1316
1372
|
function normalizeScatterData(data, warnings) {
|
|
1317
1373
|
if (!data || !Array.isArray(data.points) || data.points.length === 0)
|
|
1318
|
-
throw new NormalizeError("empty-data", "points", "scatter requires at least one point");
|
|
1374
|
+
throw new NormalizeError("empty-data", "points", "scatter requires at least one point", void 0, void 0, ["data", "points"]);
|
|
1319
1375
|
let groupMap = /* @__PURE__ */ new Map();
|
|
1320
1376
|
(data.groups ?? []).forEach((g, i) => {
|
|
1321
|
-
if (!g?.id) throw new NormalizeError("missing-id", `groups[${i}]`, "group requires an id");
|
|
1377
|
+
if (!g?.id) throw new NormalizeError("missing-id", `groups[${i}]`, "group requires an id", void 0, void 0, ["data", "groups", i, "id"]);
|
|
1322
1378
|
if (groupMap.has(g.id))
|
|
1323
|
-
throw new NormalizeError("duplicate-id", `groups[${g.id}]`, `duplicate group id '${g.id}'
|
|
1379
|
+
throw new NormalizeError("duplicate-id", `groups[${g.id}]`, `duplicate group id '${g.id}'`, void 0, void 0, ["data", "groups", i, "id"]);
|
|
1324
1380
|
groupMap.set(g.id, {
|
|
1325
1381
|
id: g.id,
|
|
1326
1382
|
label: g.label ?? g.id,
|
|
@@ -1334,7 +1390,7 @@ function normalizeScatterData(data, warnings) {
|
|
|
1334
1390
|
let p = normalizePoint(raw, i, seenIds, groupMap, warnings, hasAuthoredLabels);
|
|
1335
1391
|
p ? plottable.push(p) : raw?.id !== void 0 && (cellValue(normalizeCell(raw.x, `points[${raw.id}].x`)) === null || cellValue(normalizeCell(raw.y, `points[${raw.id}].y`)) === null) && noPosition.push(raw.label ?? raw.id);
|
|
1336
1392
|
}), plottable.length === 0)
|
|
1337
|
-
throw new NormalizeError("empty-data", "points", "scatter has no plottable points (all x/y missing)");
|
|
1393
|
+
throw new NormalizeError("empty-data", "points", "scatter has no plottable points (all x/y missing)", void 0, void 0, ["data", "points"]);
|
|
1338
1394
|
let declared = new Set((data.groups ?? []).map((g) => g.id)), undeclared = [...groupMap.keys()].filter((id) => !declared.has(id));
|
|
1339
1395
|
return declared.size > 0 && undeclared.length > 0 && warnings.push({
|
|
1340
1396
|
code: "group-undeclared",
|
|
@@ -1396,7 +1452,7 @@ function scatterAxisDomain(input, env, warnings) {
|
|
|
1396
1452
|
let stepped = applyTickStep([dyLo, dyHi], va.tickStep, warnings);
|
|
1397
1453
|
[dyLo, dyHi] = stepped.domain, stepTicks = stepped.ticks;
|
|
1398
1454
|
}
|
|
1399
|
-
[dxLo, dxHi] = numericViewportRange(options.viewDomain?.x, [dxLo, dxHi]), [dyLo, dyHi] = numericViewportRange(options.viewDomain?.y, [dyLo, dyHi]), clamp?.edges.x.min !== void 0 && (dxLo = clamp.edges.x.min), clamp?.edges.x.max !== void 0 && (dxHi = clamp.edges.x.max), clamp?.edges.y.min !== void 0 && (dyLo = clamp.edges.y.min), clamp?.edges.y.max !== void 0 && (dyHi = clamp.edges.y.max), stepTicks && (stepTicks = stepTicks.filter((v) => v >= dyLo && v <= dyHi), stepTicks.length < 2 ? (warnings.push({
|
|
1455
|
+
[dxLo, dxHi] = numericViewportRange(options.viewDomain?.x, [dxLo, dxHi], "x"), [dyLo, dyHi] = numericViewportRange(options.viewDomain?.y, [dyLo, dyHi], "y"), clamp?.edges.x.min !== void 0 && (dxLo = clamp.edges.x.min), clamp?.edges.x.max !== void 0 && (dxHi = clamp.edges.x.max), clamp?.edges.y.min !== void 0 && (dyLo = clamp.edges.y.min), clamp?.edges.y.max !== void 0 && (dyHi = clamp.edges.y.max), stepTicks && (stepTicks = stepTicks.filter((v) => v >= dyLo && v <= dyHi), stepTicks.length < 2 ? (warnings.push({
|
|
1400
1456
|
code: "tick-step-ignored",
|
|
1401
1457
|
severity: "warn",
|
|
1402
1458
|
message: `valueAxis.tickStep ${va.tickStep} puts fewer than two ticks inside the visible Y range; the nice ticks are drawn instead`,
|
|
@@ -1618,9 +1674,12 @@ function scatterPaints(env, groups, pts = [], dotR) {
|
|
|
1618
1674
|
let drawn = pts.filter((p) => p.group === gid && p.marker !== "none");
|
|
1619
1675
|
groupLarge.set(gid, drawn.length > 0 && drawn.every(large));
|
|
1620
1676
|
}
|
|
1621
|
-
let rolePaint = (gid, fill) => {
|
|
1677
|
+
let roleGroups = [...groups].map(([id, g]) => ({ id, colorRole: g.colorRole })), roleFills = colorRolePaints(roleGroups), roleStrokes = colorRolePaints(roleGroups, !1), roleSteps = colorRolePaints(roleGroups, (gid) => groupLarge.get(gid) ?? !1), rolePaint = (gid, fill) => {
|
|
1622
1678
|
let g = groups.get(gid);
|
|
1623
|
-
|
|
1679
|
+
if (g.colorRole === "others") return mutedMarkPaint();
|
|
1680
|
+
if (!g.colorRole) return;
|
|
1681
|
+
let step = roleSteps.get(gid);
|
|
1682
|
+
return "theme" in step && step.theme?.kind === "role-step" ? step : (fill ? roleFills : roleStrokes).get(gid);
|
|
1624
1683
|
}, group = (gid) => {
|
|
1625
1684
|
if (gid === void 0) return seriesPaint(0, palette);
|
|
1626
1685
|
let g = groups.get(gid);
|
|
@@ -1890,7 +1949,7 @@ function boldCutTicks(env, domain, axes, nodes) {
|
|
|
1890
1949
|
let found = cutTickLabels(env, domain, axes, nodes), ids = new Set(Object.values(found));
|
|
1891
1950
|
return nodes.forEach((node, i) => {
|
|
1892
1951
|
node.t === "text" && ids.has(node.id) && (nodes[i] = { ...node, font: { ...node.font, weight: emphasisWeight(env.theme) } });
|
|
1893
|
-
}),
|
|
1952
|
+
}), found;
|
|
1894
1953
|
}
|
|
1895
1954
|
function arrow(theme, id, x1, y1, x2, y2) {
|
|
1896
1955
|
let len = Math.hypot(x2 - x1, y2 - y1);
|
|
@@ -1997,14 +2056,14 @@ function pointMarks(env, domain, area, paints, nodes, claims) {
|
|
|
1997
2056
|
if (p.marker === "none") continue;
|
|
1998
2057
|
let nodeId = `mark:${p.id}`;
|
|
1999
2058
|
nodeIdOf.set(p.id, nodeId);
|
|
2000
|
-
let owner = { pointId: p.id }, clippedAt2 = clampStateOf(clamp, p.id), display = {
|
|
2059
|
+
let owner = { pointId: p.id }, clippedAt2 = clampStateOf(clamp, p.id, options), display = {
|
|
2001
2060
|
// The REAL coordinates, on a clipped point too: the mark moved, the
|
|
2002
2061
|
// value did not, and this string is what the hover card and the
|
|
2003
2062
|
// accessible data table read.
|
|
2004
2063
|
value: [
|
|
2005
2064
|
`X ${axisFmt.x(p.x)}`,
|
|
2006
2065
|
`Y ${axisFmt.y(p.y)}`,
|
|
2007
|
-
...p.size === null ? [] : [
|
|
2066
|
+
...p.size === null ? [] : [chartString(options, "sizeValue", { v1: fmt(p.size) })]
|
|
2008
2067
|
].join(", "),
|
|
2009
2068
|
...clippedAt2 ? { state: clippedAt2 } : {}
|
|
2010
2069
|
}, odd = domain.bubbleMode ? sizeMarkerOf(p) : void 0;
|
|
@@ -2205,6 +2264,7 @@ function dividerTagRequests(q, area, env, requests, pts, printed) {
|
|
|
2205
2264
|
let line = `${chartString(env.options, source === "declared" ? "cutAt" : source === "median" ? "medianName" : "cutMeanCapital")} ${text}${tie[id]}`;
|
|
2206
2265
|
return {
|
|
2207
2266
|
id: `quadrant:cut:${id}`,
|
|
2267
|
+
claimIds: [`scatter:quadrant:${id}`],
|
|
2208
2268
|
kind: "valueLine",
|
|
2209
2269
|
role: composedTextRole(line),
|
|
2210
2270
|
owner: { valueLineId: `quadrant:${id}` },
|
|
@@ -2268,6 +2328,7 @@ function quadrantCaptionRequests(env, domain, area, split, requests, warnings, p
|
|
|
2268
2328
|
rectContains(rect, candidate, 0) && candidates.push({ slot, rect: candidate, penalty: candidates.length, ...placed.length > 0 && clearOfBubbles(rx, ry) ? { pad: 0 } : {} });
|
|
2269
2329
|
}), requests.push({
|
|
2270
2330
|
id: `quadrant:caption:${box}`,
|
|
2331
|
+
claimIds: [`scatter:quadrant:count:${box}`],
|
|
2271
2332
|
kind: "category",
|
|
2272
2333
|
owner: { categoryId: `quadrant:${box}` },
|
|
2273
2334
|
text: lines.join(" "),
|
|
@@ -2355,6 +2416,8 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
|
|
|
2355
2416
|
let box = q.derived?.assignment[p.id], straddles = box !== void 0 && (q.drawX && Math.abs(cx - area.x(q.derived.x)) < r || q.drawY && Math.abs(cy - area.y(q.derived.y)) < r), clipped = (domain.clamp?.records ?? []).filter((record) => record.points.some((point) => point.id === p.id)), real = clipped.length ? ` ${[...new Set(clipped.map((record) => record.axis))].map((axis) => env.axisFmt[axis](p[axis])).join(", ")}` : "", plain = straddles ? `${p.label}${real} (${options.quadrants?.labels?.[box] ?? QUADRANT_BOX_NAME[box]})` : `${p.label}${real}`, name = joined === void 0 ? plain : `${plain} ${joined}`, room = box === void 0 ? 1 / 0 : boxSideWidth(box) - 2 * RULE_GAP, wrapped = env.measure(name, nameFont).width > room ? wrapText(name, nameFont, room, 2, env.measure) : void 0, nameLines = wrapped && !wrapped.truncated && wrapped.lines.length === 2 ? wrapped.lines : [name], callout = nameLines.length === 1 ? env.callouts?.get(p.id) : void 0, boldFont = { ...area.fonts.label, weight: emphasisWeight(env.theme) }, nameW = env.measure(name, nameFont).width, wrappedCallout = callout !== void 0 && env.calloutWrap ? wrapText(callout, boldFont, Math.max(nameW, ...callout.split(/\s+/).map((word) => env.measure(word, boldFont).width)), 3, env.measure) : void 0, calloutLines = callout === void 0 ? [] : wrappedCallout && !wrappedCallout.truncated ? wrappedCallout.lines : [callout], lines = callout === void 0 ? nameLines : [name, ...calloutLines], font = callout === void 0 ? nameFont : boldFont, lineH = nameFont.size * (nameFont.lineHeight ?? 1.2), block = callout !== void 0 ? { width: Math.max(nameW, ...calloutLines.map((line) => env.measure(line, boldFont).width)), height: lines.length * lineH } : lines.length > 1 ? { width: Math.max(...lines.map((line) => env.measure(line, nameFont).width)), height: lines.length * lineH } : void 0;
|
|
2356
2417
|
requests.push({
|
|
2357
2418
|
id: `point:${p.id}`,
|
|
2419
|
+
// The value a clipped point really has prints in its name.
|
|
2420
|
+
...clipped.length ? { claimIds: clipped.map((record) => `scatter:clipped:${record.axis}:${record.bound}:${p.id}`) } : {},
|
|
2358
2421
|
kind: "point",
|
|
2359
2422
|
owner: { pointId: p.id },
|
|
2360
2423
|
text: callout === void 0 ? name : `${name} ${callout}`,
|
|
@@ -2364,6 +2427,8 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
|
|
|
2364
2427
|
...callout !== void 0 ? { headLines: 1, headWeight: nameFont.weight } : {},
|
|
2365
2428
|
// An authored callout outranks the plain names.
|
|
2366
2429
|
priority: callout === void 0 ? priority : priority + PRIORITY.highlightBonus,
|
|
2430
|
+
// A highlighted value passes the minimal density gate.
|
|
2431
|
+
...hl ? { keepWhenDense: !0 } : {},
|
|
2367
2432
|
// With a value printed, the bubble's centre is the value's seat.
|
|
2368
2433
|
candidates: seats(name, bubbleMode && value === void 0 && !block ? insideFill() : void 0, !1, nameFont, block, !0),
|
|
2369
2434
|
labelGap: NAME_GAP,
|
|
@@ -2390,6 +2455,7 @@ function pointLabelRequests(env, domain, area, placed, rules, paints, requests,
|
|
|
2390
2455
|
// small point keeps its name before a large one prints its number; a
|
|
2391
2456
|
// highlighted point's value keeps its rank.
|
|
2392
2457
|
priority: hl ? priority - 1 : priority - 1 - PRIORITY.extreme,
|
|
2458
|
+
...hl ? { keepWhenDense: !0 } : {},
|
|
2393
2459
|
candidates: valueSeats,
|
|
2394
2460
|
labelGap: NAME_GAP,
|
|
2395
2461
|
role: "value",
|
|
@@ -2634,6 +2700,7 @@ function assembleScatterGeometry(input) {
|
|
|
2634
2700
|
yExtent: [yMin, yMax],
|
|
2635
2701
|
...sizeMax !== void 0 ? { sizeMax } : {},
|
|
2636
2702
|
...quadrants ? { quadrants } : {},
|
|
2703
|
+
...geometry.cutTicks.x || geometry.cutTicks.y ? { cutTickNodeIds: geometry.cutTicks } : {},
|
|
2637
2704
|
...zonesDerived ? { zones: zonesDerived } : {},
|
|
2638
2705
|
...clamp && clamp.records.length > 0 ? { clipped: clamp.records } : {},
|
|
2639
2706
|
...dropped ? { dropped } : {},
|
|
@@ -2661,6 +2728,22 @@ function assembleScatterGeometry(input) {
|
|
|
2661
2728
|
}
|
|
2662
2729
|
};
|
|
2663
2730
|
}
|
|
2731
|
+
function unprintedScatterClaims(env, domain, named, keyed) {
|
|
2732
|
+
let q = domain.quadrants, captions = env.options.quadrants?.labels ?? {}, footnotes = disclosuresShown(env.options);
|
|
2733
|
+
return [
|
|
2734
|
+
...domain.trends.flatMap((fit) => [`scatter:trend:${fit.id}:intercept`, ...keyed.has(`trend:${fit.id}`) ? [] : [`scatter:trend:${fit.id}:slope`, `scatter:trend:${fit.id}:r2`]]),
|
|
2735
|
+
...q.derived ? [
|
|
2736
|
+
...q.drawX ? [] : ["scatter:quadrant:x"],
|
|
2737
|
+
...q.drawY ? [] : ["scatter:quadrant:y"],
|
|
2738
|
+
...QUADRANT_BOXES.filter((box) => !captions[box] || q.voidBoxes.has(box)).map((box) => `scatter:quadrant:count:${box}`)
|
|
2739
|
+
] : [],
|
|
2740
|
+
...(domain.clamp?.records ?? []).flatMap((record) => [
|
|
2741
|
+
...footnotes ? [] : [`scatter:clipped:${record.axis}:${record.bound}`],
|
|
2742
|
+
...record.points.filter((point) => !named.has(point.id)).map((point) => `scatter:clipped:${record.axis}:${record.bound}:${point.id}`)
|
|
2743
|
+
]),
|
|
2744
|
+
...domain.dropped && !footnotes && env.options.legend === "none" ? ["scatter:dropped"] : []
|
|
2745
|
+
];
|
|
2746
|
+
}
|
|
2664
2747
|
function notListed(geometry) {
|
|
2665
2748
|
let text = geometry.scene.flatMap((node) => node.t === "text" && node.part === "footnote" ? node.lines : []).join(" ");
|
|
2666
2749
|
return geometry.labels.some((label) => label.hidden && /^(point|value):/.test(String(label.id)) && !text.includes(label.text));
|
|
@@ -2950,8 +3033,8 @@ function layoutScatterRun(data, options = {}, hiddenNames, run = 0, hideListed =
|
|
|
2950
3033
|
}
|
|
2951
3034
|
if (complete && !exact && !hideListed) return pick(layoutScatter(data, options, hiddenNames, run, !0, env.valueTier, sizeKeyInRow, calloutMode, env.valueInsideOnly, keepKey));
|
|
2952
3035
|
let own = solved.placed.filter((label) => label.hidden && listed.has(entryFor(label)?.text ?? "")), notedIds = new Set([...solved.placed.filter((label) => label.noted), ...own].map((label) => label.id));
|
|
2953
|
-
pushAll(warnings, solved.warnings.map((warning) => warning.code === "label-hidden" && notedIds.has(warning.
|
|
2954
|
-
let drawn = assembleScatterGeometry({ env, domain, frame, area, geometry, solved, annotated, occupied, warnings }), names = [...hiddenNames ?? []], counted = new Set([...hiddenNote.counted].filter((id) => !id.startsWith("scatter:")));
|
|
3036
|
+
pushAll(warnings, solved.warnings.map((warning) => warning.code === "label-hidden" && notedIds.has(String(warning.detail?.labelId)) ? { ...warning, severity: "info" } : warning)), pushAll(warnings, annotated.warnings);
|
|
3037
|
+
let drawn = withUnprintedClaims(assembleScatterGeometry({ env, domain, frame, area, geometry, solved, annotated, occupied, warnings }), unprintedScatterClaims(env, domain, named, new Set(frame.legend?.items.map((item) => item.id)))), names = [...hiddenNames ?? []], counted = new Set([...hiddenNote.counted].filter((id) => !id.startsWith("scatter:")));
|
|
2955
3038
|
for (let label of own) {
|
|
2956
3039
|
let at = names.indexOf(entryFor(label)?.text ?? "");
|
|
2957
3040
|
hiddenNote.counted.has(`scatter:${at}`) && counted.add(label.id);
|
|
@@ -2970,7 +3053,7 @@ var scatterCore = {
|
|
|
2970
3053
|
aliases: ["bubble"],
|
|
2971
3054
|
layout: layoutScatter,
|
|
2972
3055
|
defaults: { sizeBy: "area", maxPointLabels: 300 },
|
|
2973
|
-
annotationKinds: ["diff", "delta", "abs", "note", "callout", "valueLine"]
|
|
3056
|
+
annotationKinds: ["diff", "delta", "abs", "note", "callout", "valueLine", "text", "line", "arrow", "box"]
|
|
2974
3057
|
};
|
|
2975
3058
|
|
|
2976
3059
|
export {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
scenarioField,
|
|
14
14
|
topNWithoutRestCount,
|
|
15
15
|
valueKindSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZIVCPXXL.js";
|
|
17
17
|
|
|
18
18
|
// src/core/charts/variance/schema.ts
|
|
19
19
|
import * as z from "zod";
|
|
@@ -48,7 +48,7 @@ var categorySchema = categorySchemaOf({
|
|
|
48
48
|
// reference series id; its scenario names the tier
|
|
49
49
|
}), varianceOptionsSchema = baseOptionsSchema.safeExtend(refusedBaseOptions("variance")).safeExtend({
|
|
50
50
|
sort: baseOptionsSchema.shape.sort.describe("Category ranking value: the signed drawn difference, delta percent in relative mode and absolute difference otherwise. desc puts the largest positive difference first, asc the smallest; stable ties and missing values last. sheet keeps authored order and reverse reverses it. Dated categories keep authored order when a growth or difference annotation spans periods."),
|
|
51
|
-
topN: topNWithoutRestCount.optional().describe("Keep the n largest drawn differences by absolute size, delta percent in relative mode and absolute difference otherwise, before sorting. Missing differences count as zero. No Others row is drawn; omitted category names are disclosed. Authored rest: true, restLabel
|
|
51
|
+
topN: topNWithoutRestCount.optional().describe("Keep the n largest drawn differences by absolute size, delta percent in relative mode and absolute difference otherwise, before sorting. Missing differences count as zero. No Others row is drawn; omitted category names are disclosed. Authored rest: true, restLabel or showRestCount warns that it is ignored when categories are omitted. threshold is always ignored with an option-ignored warning."),
|
|
52
52
|
axisTitles: primaryAxisTitleSchema("over the value axis, in the top row left of the plot, when valueAxis.show draws it"),
|
|
53
53
|
variant: z.enum(["absolute", "relative", "integrated"]).describe("Show raw differences, relative percentage differences, or an integrated comparison with the absolute values. The key builds its entries from the scenario code of the variance.vs series (AC, PY, PL or FC), or from its label when it has no scenario, here PY. absolute and relative: 'Better than PY' and 'Worse than PY', with (lower) and (higher) for a lowerIsBetter series. integrated: the compared series, then 'Above PY' and 'Below PY' for the caps, the same wording at every width, and 'Within rounding of PY' for a muted cap that prints as zero. On report, dashboard, slide and print, the actual value label sits inside the column at its foot; a column too short for it uses the actual edge, then a side position at the same height."),
|
|
54
54
|
variance: varianceSpecSchema.describe("Required comparison identifying the measured quantity and the reference series."),
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
} from "./chunk-7BQK2UDV.js";
|
|
7
7
|
import {
|
|
8
8
|
optionKeyCheck
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z6H5ED2I.js";
|
|
10
10
|
import {
|
|
11
11
|
createChartComponent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YLRAAJYV.js";
|
|
13
13
|
import {
|
|
14
14
|
varianceCore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IFUAPFL5.js";
|
|
16
16
|
import {
|
|
17
17
|
registeredType
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LYAT62UT.js";
|
|
19
19
|
|
|
20
20
|
// src/react/charts/variance.ts
|
|
21
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, threshold: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, axisTitles: { primary: 0 }, variant: 0, variance: { of: 0, vs: 0 }, missingMark: 0 }, labels: ["category", "point", "total", "axisTitle"] }), VarianceChart = createChartComponent(registeredType(varianceCore), checkOptionKeys);
|
|
21
|
+
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, threshold: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, axisTitles: { primary: 0 }, variant: 0, variance: { of: 0, vs: 0 }, missingMark: 0 }, labels: ["category", "point", "total", "axisTitle"] }), VarianceChart = createChartComponent(registeredType(varianceCore), checkOptionKeys);
|
|
22
22
|
|
|
23
23
|
export {
|
|
24
24
|
VarianceChart
|