boardplot 0.56.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +408 -0
- package/README.md +49 -15
- package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-VGSL4NJK.js} +1 -1
- package/dist/{ReaderBox-GLCKYXBU.js → ReaderBox-MHMXIDAJ.js} +8 -7
- package/dist/{annotateEngine-QVNAE3EH.js → annotateEngine-753KQBNN.js} +2 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-HZUAEMN5.js → chunk-2CQBBN7M.js} +4 -4
- package/dist/{chunk-K3VZ5QJK.js → chunk-2ETK5TSA.js} +4 -4
- package/dist/{chunk-HHXIVFAU.js → chunk-2ETSI2EL.js} +11 -9
- package/dist/{chunk-ECBUFKCP.js → chunk-2GRXHWRH.js} +3 -3
- package/dist/{chunk-ZVM5TFGR.js → chunk-2HII2B6S.js} +6 -2
- package/dist/{chunk-WBETBGSC.js → chunk-2LC2H3ZM.js} +1003 -907
- package/dist/chunk-2NX7EO7H.js +23 -0
- package/dist/{chunk-52WNCUIN.js → chunk-2QI2PK2O.js} +1 -1
- package/dist/{chunk-QWCLWFKC.js → chunk-2VKQQLP7.js} +180 -58
- package/dist/chunk-3DOVXJ6K.js +602 -0
- package/dist/{chunk-CAJ54IEP.js → chunk-3E6NLODZ.js} +1 -1
- package/dist/{chunk-MOS6WFWM.js → chunk-3HA4IJTO.js} +9 -9
- package/dist/{chunk-JCIXYOND.js → chunk-3HPPTQEW.js} +4 -4
- package/dist/{chunk-7VVHTOE7.js → chunk-3KT2647F.js} +4 -2
- package/dist/{chunk-O6ZTIDWB.js → chunk-3MFVJMP6.js} +3 -2
- package/dist/{chunk-KQCKK3LD.js → chunk-3P3FKPFN.js} +170 -73
- package/dist/{chunk-WI5VOSQX.js → chunk-3XAJSMYD.js} +2 -2
- package/dist/{chunk-CPGASWNN.js → chunk-42QKUSHJ.js} +13 -3
- package/dist/{chunk-QB5HV4IY.js → chunk-44JU3VOT.js} +7 -8
- package/dist/{chunk-BYCJ6TKI.js → chunk-44K75CYE.js} +3 -3
- package/dist/{chunk-MS7O3KDJ.js → chunk-4FNM4D57.js} +6 -6
- package/dist/{chunk-BVYIKLQ5.js → chunk-4ROZ4TFL.js} +1 -1
- package/dist/{chunk-3V62N3Z7.js → chunk-4VV3KUFT.js} +7 -8
- package/dist/{chunk-MAFPVR4G.js → chunk-54YO56IK.js} +10 -5
- package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
- package/dist/{chunk-6AMN7IKJ.js → chunk-5JEU6MWC.js} +49 -28
- package/dist/{chunk-NCLRZQR6.js → chunk-5JIB4VJA.js} +18 -10
- package/dist/{chunk-SXD3OYAR.js → chunk-5OP3E2ZD.js} +205 -96
- package/dist/{chunk-SS4YGK3E.js → chunk-5SLBD4BT.js} +72 -304
- package/dist/{chunk-XMP2DNLI.js → chunk-5SVGTQTW.js} +4 -4
- package/dist/chunk-5U567TYU.js +23 -0
- package/dist/chunk-5ZLF4S7X.js +40 -0
- package/dist/{chunk-T2YDWT54.js → chunk-5ZMTQATF.js} +261 -147
- package/dist/{chunk-WXJ5MHLH.js → chunk-62BDQTO6.js} +2 -2
- package/dist/chunk-64K3V4VN.js +25 -0
- package/dist/{chunk-BK6P6KMW.js → chunk-67YJJJIB.js} +1 -1
- package/dist/{chunk-32LLDRPI.js → chunk-6DJNFT2K.js} +42 -32
- package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
- package/dist/{chunk-7STMIK2X.js → chunk-6JFQCVNN.js} +4 -4
- package/dist/chunk-6JXBLQJ2.js +32 -0
- package/dist/{chunk-5TWY3ZIC.js → chunk-6XPV6M3Q.js} +5 -5
- package/dist/{chunk-MPO5TVGF.js → chunk-6ZDSEITW.js} +3 -3
- package/dist/{chunk-75WIUG2W.js → chunk-72HVDLMT.js} +172 -78
- package/dist/chunk-75NU5RLX.js +24 -0
- package/dist/chunk-76GPN6AT.js +72 -0
- package/dist/chunk-7BQK2UDV.js +13 -0
- package/dist/{chunk-CF4NMRN7.js → chunk-7CAYRPJV.js} +45 -25
- package/dist/{chunk-U3A6FMSI.js → chunk-7GWWBHVQ.js} +7 -7
- package/dist/{chunk-CHAS5A5B.js → chunk-7NYUFMLJ.js} +149 -86
- package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
- package/dist/chunk-A65B23JK.js +113 -0
- package/dist/{chunk-4KMZAK6J.js → chunk-A7R6FUS6.js} +4 -4
- package/dist/{chunk-E2ZUBP4Q.js → chunk-AEVGUOPB.js} +7 -8
- package/dist/chunk-AHIK2N72.js +53 -0
- package/dist/{chunk-KLB2QC24.js → chunk-AICO24HJ.js} +5 -2
- package/dist/{chunk-7KSUMFBK.js → chunk-AJGSCVVW.js} +5 -1
- package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
- package/dist/{chunk-E7V3OHQQ.js → chunk-AN2V2LC4.js} +37 -22
- package/dist/{chunk-JIEVDGAF.js → chunk-AOFUA5XP.js} +1 -1
- package/dist/chunk-B5A7X2BA.js +44 -0
- package/dist/{chunk-2HTYGMMG.js → chunk-BCMEGJRX.js} +2 -2
- package/dist/{chunk-KD5GOR2K.js → chunk-BDIKWR45.js} +124 -69
- package/dist/{chunk-FNRPQIQE.js → chunk-BG6AIWAK.js} +4 -6
- package/dist/{chunk-ZMPH2OC4.js → chunk-BOT6W3VB.js} +7 -8
- package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
- package/dist/{chunk-2DOEZ5QY.js → chunk-BZ67BJBH.js} +11 -10
- package/dist/{chunk-UBCVBBJJ.js → chunk-C47POAC5.js} +4 -3
- package/dist/{chunk-O7REHICC.js → chunk-C5OBPO4Z.js} +36 -28
- package/dist/{chunk-IGNBQT23.js → chunk-CCAAI56H.js} +121 -10
- package/dist/{chunk-RPIKNMZA.js → chunk-CDUR3KWV.js} +7 -2
- package/dist/{chunk-MZACASZY.js → chunk-CMPHT2LS.js} +14 -2
- package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
- package/dist/{chunk-IVRYF7QA.js → chunk-CR5FP5SF.js} +1 -1
- package/dist/{chunk-DD6RVD3S.js → chunk-D2TQX7UJ.js} +5 -1
- package/dist/{chunk-VVXKFU72.js → chunk-DEANHDXU.js} +62 -41
- package/dist/{chunk-GM3EGUYW.js → chunk-DHGE46UK.js} +1 -1
- package/dist/{chunk-UZTQUPTB.js → chunk-DIHX6NUB.js} +5 -5
- package/dist/{chunk-MD6DCQMA.js → chunk-DILQ34NW.js} +37 -37
- package/dist/{chunk-YMTXTQCN.js → chunk-DJKRYJP7.js} +6 -6
- package/dist/{chunk-JCAGVAB3.js → chunk-DKLC6QLF.js} +1200 -21
- package/dist/{chunk-SRAV6FPB.js → chunk-DNHTMCUP.js} +3 -3
- package/dist/{chunk-CKGSGRP7.js → chunk-DORE2RHL.js} +21 -5
- package/dist/{chunk-SMHZXHHD.js → chunk-DZYTXZNS.js} +15 -5
- package/dist/chunk-E262NRFP.js +39 -0
- package/dist/{chunk-V5JQQMFQ.js → chunk-E5YF236N.js} +4 -1
- package/dist/{chunk-IGJ2G5C6.js → chunk-EBUK7HJP.js} +6 -6
- package/dist/{chunk-ZL6IHMOW.js → chunk-ECBHC272.js} +198 -119
- package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
- package/dist/chunk-EFW43JQJ.js +24 -0
- package/dist/{chunk-5P2TTHBZ.js → chunk-EHRRHSPV.js} +2 -2
- package/dist/{chunk-JXBZIJCG.js → chunk-EILNJQMN.js} +32 -12
- package/dist/{chunk-GELSK76Y.js → chunk-ERDKMZ7O.js} +3 -3
- package/dist/{chunk-T2CYNDYU.js → chunk-ETRAPN5G.js} +366 -130
- package/dist/{chunk-JEUL777U.js → chunk-ETUKDEGL.js} +21 -12
- package/dist/chunk-F2ET5ZTT.js +49 -0
- package/dist/{chunk-2YO4WRJN.js → chunk-F3XOBFS4.js} +40 -29
- package/dist/{chunk-SPSGUFTI.js → chunk-FB6X7QHA.js} +1 -1
- package/dist/{chunk-5PPQIF4D.js → chunk-FGW54I23.js} +7 -8
- package/dist/{chunk-JTC5SEAQ.js → chunk-FP5B5XIL.js} +7 -3
- package/dist/{chunk-RJGCYGC3.js → chunk-FRHQGA5Q.js} +86 -250
- package/dist/{chunk-YZZLIYPA.js → chunk-FRR7BJ3B.js} +5 -1
- package/dist/{chunk-4DZFR52I.js → chunk-FVWHEM2N.js} +7 -5
- package/dist/{chunk-YPYD6OJ3.js → chunk-FWSMENKH.js} +2 -2
- package/dist/{chunk-YYJORENB.js → chunk-FWTUGNSF.js} +8 -8
- package/dist/{chunk-GIHH6VC2.js → chunk-FZKDZQ6U.js} +10 -6
- package/dist/{chunk-S7NRL66K.js → chunk-G4FF6G3I.js} +26 -17
- package/dist/{chunk-PQLAZEQV.js → chunk-GB6BZSTL.js} +248 -92
- package/dist/chunk-GCIHRRDJ.js +24 -0
- package/dist/{chunk-X3KCQEYZ.js → chunk-GHCU6OSE.js} +9 -1
- package/dist/chunk-GKDUIDU6.js +138 -0
- package/dist/chunk-GO66OCN7.js +24 -0
- package/dist/chunk-GOFS336W.js +24 -0
- package/dist/{chunk-AGDDH6XY.js → chunk-GQYT7G4F.js} +5 -1
- package/dist/{chunk-WN3HEU3P.js → chunk-GUTLXO7Q.js} +140 -89
- package/dist/chunk-H3VICNTN.js +47 -0
- package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
- package/dist/{chunk-CB4CERXZ.js → chunk-HBQHSZ6S.js} +11 -2
- package/dist/chunk-HTQGJQZN.js +124 -0
- package/dist/{chunk-F77TMAUY.js → chunk-HUQRO6VF.js} +39 -36
- package/dist/{chunk-4KQHKPB3.js → chunk-I5VDW2XZ.js} +543 -509
- package/dist/{chunk-43GGVT7W.js → chunk-I5VNHDPR.js} +11 -4
- package/dist/{chunk-4LTN7SND.js → chunk-IDXYHDQY.js} +1 -1
- package/dist/{chunk-Y54LU4CU.js → chunk-IIWZJ5ZM.js} +1 -1
- package/dist/{chunk-FMDNJ6PC.js → chunk-IPBOREIY.js} +2 -2
- package/dist/chunk-IU335UO7.js +27 -0
- package/dist/{chunk-JVZTKQFS.js → chunk-IVDTP6SV.js} +9 -5
- package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
- package/dist/{chunk-EIL3KHAL.js → chunk-J4QRB6DQ.js} +5 -5
- package/dist/{chunk-3465633G.js → chunk-JCMGKQVS.js} +3 -3
- package/dist/{chunk-YK2KWNTU.js → chunk-JM7UTLF3.js} +28 -14
- package/dist/{chunk-CXETOLPX.js → chunk-JNDWRV34.js} +4 -4
- package/dist/{chunk-DLUNQHFO.js → chunk-JSRQTDZZ.js} +26 -24
- package/dist/{chunk-WTQAG2OT.js → chunk-JT3UTEWZ.js} +8 -3
- package/dist/{chunk-GQT2SY2S.js → chunk-JUYRDZSV.js} +291 -151
- package/dist/{chunk-LKMFMNQX.js → chunk-JVGL2SCN.js} +1 -1
- package/dist/{chunk-4JC3SE4G.js → chunk-JY4LTPOV.js} +1 -1
- package/dist/chunk-K7XPTQBJ.js +267 -0
- package/dist/{chunk-P4SMC4BY.js → chunk-KGBUXMFP.js} +120 -86
- package/dist/{chunk-XC5IRUEL.js → chunk-KIE5V3DA.js} +2 -2
- package/dist/{chunk-RT66UTLJ.js → chunk-KU4PCG4W.js} +2 -2
- package/dist/{chunk-VPL3JYC6.js → chunk-KVBLTAO7.js} +52 -10
- package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
- package/dist/{chunk-PJBEJR2U.js → chunk-KWIP5YRA.js} +24 -7
- package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
- package/dist/{chunk-R2IKOLBK.js → chunk-LG6M2JTH.js} +3 -3
- package/dist/{chunk-DF3XEFQ7.js → chunk-LIE2WSB4.js} +21 -18
- package/dist/{chunk-Z55DXFWS.js → chunk-LJDATBPB.js} +26 -16
- package/dist/{chunk-KLIZXSBK.js → chunk-LMMS675D.js} +10 -9
- package/dist/{chunk-MRAP2UVV.js → chunk-LPKGZ664.js} +286 -35
- package/dist/{chunk-JFFREZGT.js → chunk-LPMSGO7L.js} +6 -2
- package/dist/chunk-LQWINE7K.js +211 -0
- package/dist/{chunk-6MJUW5R5.js → chunk-MKMMQDIY.js} +139 -71
- package/dist/{chunk-F5BYLT3M.js → chunk-MQ4IEDM5.js} +462 -138
- package/dist/{chunk-QGFKSDQO.js → chunk-MRM4KJ2O.js} +2 -2
- package/dist/{chunk-ETMHDCEH.js → chunk-MX2OZHIT.js} +102 -42
- package/dist/{chunk-6EYTD777.js → chunk-MXUPMGRY.js} +2 -2
- package/dist/{chunk-2FKEF2AC.js → chunk-NHU26HQ7.js} +58 -35
- package/dist/{chunk-KBJMLXNW.js → chunk-NQVJ4FPY.js} +161 -78
- package/dist/chunk-NZ7FX3AE.js +65 -0
- package/dist/chunk-OALBVELJ.js +23 -0
- package/dist/{chunk-5S3JQ5AT.js → chunk-OGZ4UPYK.js} +183 -137
- package/dist/{chunk-6WHWXCHJ.js → chunk-OMNB27GM.js} +7 -3
- package/dist/{chunk-EGGDPDYJ.js → chunk-OO63YP35.js} +1 -1
- package/dist/{chunk-ZYQYX66L.js → chunk-OPYDTW5Q.js} +6 -6
- package/dist/{chunk-A2GAWGVJ.js → chunk-OSJN7KDS.js} +68 -39
- package/dist/{chunk-RMC4OONA.js → chunk-OSJXIW6I.js} +1030 -1123
- package/dist/{chunk-X23SZHV5.js → chunk-OVVE42P4.js} +6 -6
- package/dist/{chunk-CCJP6QZO.js → chunk-OZA7HA6L.js} +1 -1
- package/dist/chunk-OZLKEBCD.js +54 -0
- package/dist/{chunk-TE4M52AA.js → chunk-P6DEFCMQ.js} +18 -2
- package/dist/{chunk-AMR4SUAN.js → chunk-PDTIQL3B.js} +6 -6
- package/dist/{chunk-BIVL764T.js → chunk-PJ5BYZPN.js} +2 -2
- package/dist/{chunk-BISJK67O.js → chunk-PK7Z7WRJ.js} +98 -46
- package/dist/{chunk-7VMEM3LN.js → chunk-PL6NWB5U.js} +178 -113
- package/dist/chunk-PMT75APP.js +94 -0
- package/dist/chunk-PP6A4X55.js +11 -0
- package/dist/{chunk-I7H5DU34.js → chunk-PPCH3PLO.js} +25 -13
- package/dist/{chunk-BIGQKCU7.js → chunk-PPE6S7WU.js} +42 -24
- package/dist/{chunk-2NSQIPAA.js → chunk-PT7KSIEO.js} +23 -36
- package/dist/{chunk-KZJ5VM6E.js → chunk-PZ3TQFSY.js} +15 -1
- package/dist/{chunk-ZJFJ2IKQ.js → chunk-QAUGRVRU.js} +122 -23
- package/dist/{chunk-BTDGWHGJ.js → chunk-QMFWZG2P.js} +39 -19
- package/dist/{chunk-L6YVK6VC.js → chunk-QZGGCE45.js} +2 -2
- package/dist/{chunk-67QSW5RW.js → chunk-R2RJQ3BM.js} +4 -4
- package/dist/{chunk-ZY72LSQK.js → chunk-R7HBIQ63.js} +102 -61
- package/dist/{chunk-4JHMCXOB.js → chunk-RBNDZLYS.js} +77 -36
- package/dist/chunk-RCSY4CT4.js +2170 -0
- package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
- package/dist/{chunk-2NN676RI.js → chunk-RHQRPJHS.js} +7 -8
- package/dist/chunk-RI6XQKWJ.js +26 -0
- package/dist/{chunk-YOOHNQ3L.js → chunk-RJICOOB3.js} +18 -8
- package/dist/{chunk-5DTCOOLU.js → chunk-RLAVNCQJ.js} +2 -2
- package/dist/{chunk-CYKXROFG.js → chunk-ROPPWJQB.js} +23 -12
- package/dist/{chunk-54ROMBU7.js → chunk-SELOV32X.js} +105 -50
- package/dist/{chunk-TUW5IYGA.js → chunk-SQI4NWTQ.js} +9 -9
- package/dist/{chunk-ZEYBI47P.js → chunk-SRJ74CMG.js} +11 -3
- package/dist/{chunk-NHC2ADGI.js → chunk-STWOURLG.js} +253 -144
- package/dist/chunk-SWMFXSVW.js +23 -0
- package/dist/chunk-SXAZDIGM.js +84 -0
- package/dist/{chunk-EMFUZKYK.js → chunk-SZ5VGWDY.js} +3 -3
- package/dist/{chunk-R5MEBBAA.js → chunk-T26G23RS.js} +442 -119
- package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
- package/dist/chunk-T7GPIJ4L.js +89 -0
- package/dist/{chunk-MJPXHCBW.js → chunk-TAEB3RU6.js} +5 -5
- package/dist/{chunk-V7F4F6JA.js → chunk-TBDIMTRD.js} +37 -16
- package/dist/{chunk-63Y3ROZ7.js → chunk-TFFPEWNP.js} +102 -64
- package/dist/{chunk-EZZ533MH.js → chunk-TMEUK2WS.js} +6 -2
- package/dist/{chunk-37PKNVLS.js → chunk-TVOMGNFQ.js} +1 -1
- package/dist/{chunk-HJRNBKIT.js → chunk-TX5FSNAU.js} +436 -30
- package/dist/{chunk-V634AXDM.js → chunk-U52PNFPX.js} +1 -1
- package/dist/{chunk-QLANK3VN.js → chunk-U74AWJ3X.js} +6 -6
- package/dist/chunk-UC7LBW7N.js +26 -0
- package/dist/{chunk-PZ46S2SY.js → chunk-UCKUAKYQ.js} +2 -2
- package/dist/{chunk-KF7HD3EH.js → chunk-UCYL3YA7.js} +77 -55
- package/dist/{chunk-HOU2MZHC.js → chunk-UD2GI3CS.js} +11 -4
- package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
- package/dist/{chunk-LGNJCPFP.js → chunk-ULQIC76A.js} +10 -13
- package/dist/{chunk-KTHFHD6C.js → chunk-UY34DDUM.js} +11 -6
- package/dist/{chunk-6QDMRPXI.js → chunk-UYMFLWM6.js} +215 -258
- package/dist/{chunk-KDSYZLF6.js → chunk-V5IFI3FV.js} +8 -1
- package/dist/{chunk-JTFKRDDA.js → chunk-V7FV66KL.js} +1 -1
- package/dist/{chunk-27OIGDRK.js → chunk-V7NUJEJE.js} +1 -1
- package/dist/{chunk-CCDXK5NA.js → chunk-VESSIKBG.js} +8 -3
- package/dist/{chunk-QSMGZOT5.js → chunk-VRFJAF3R.js} +7 -8
- package/dist/chunk-VS2R3OGN.js +34 -0
- package/dist/{chunk-RLMC5CUP.js → chunk-VS5B4J2D.js} +7 -8
- package/dist/{chunk-7M2GK7XQ.js → chunk-W4R6SGU3.js} +252 -121
- package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
- package/dist/{chunk-7DAH2E4T.js → chunk-WFBN2HXR.js} +2 -2
- package/dist/{chunk-DLDDRXAI.js → chunk-WJS6SAWA.js} +296 -145
- package/dist/{chunk-WWGPTEQB.js → chunk-WQYNKF33.js} +73 -22
- package/dist/{chunk-64LJDGJH.js → chunk-WUP6C4ZD.js} +4 -2
- package/dist/{chunk-F2EVCJ4U.js → chunk-X24WAHHV.js} +87 -43
- package/dist/{chunk-OJ5CQV7H.js → chunk-X3UCQPVV.js} +209 -96
- package/dist/{chunk-7FKY6YWU.js → chunk-X46PSAJ7.js} +6 -6
- package/dist/{chunk-H3IBJQ5A.js → chunk-XD5XB22R.js} +2 -2
- package/dist/chunk-XDIAQEYK.js +28 -0
- package/dist/{chunk-7PPMT5EJ.js → chunk-XFPNYHX3.js} +372 -105
- package/dist/{chunk-FCECYJVA.js → chunk-XIBVAKCO.js} +1 -1
- package/dist/{chunk-OG2YUVBW.js → chunk-XMX4PCFL.js} +8 -3
- package/dist/{chunk-2NRHD2G7.js → chunk-XRRG4MBM.js} +12 -4
- package/dist/{chunk-FNMH5WEY.js → chunk-XTFO6D4L.js} +1 -1
- package/dist/chunk-XWRI3N5O.js +70 -0
- package/dist/{chunk-ZKJ5L35C.js → chunk-XXPLPSOE.js} +36 -25
- package/dist/{chunk-XQMYQ4TN.js → chunk-XZXZNI7A.js} +1 -1
- package/dist/{chunk-E555EDOQ.js → chunk-YEJZ2OYS.js} +490 -182
- package/dist/chunk-YGZEG3JV.js +123 -0
- package/dist/{chunk-F6OLHND5.js → chunk-Z3WQXVFV.js} +2 -2
- package/dist/{chunk-FFJGC2DX.js → chunk-Z6DUNKFU.js} +173 -40
- package/dist/{chunk-N5HN5QGH.js → chunk-Z6H5ED2I.js} +1 -1
- package/dist/{chunk-7Q37C6GZ.js → chunk-ZBOOMLHD.js} +1 -1
- package/dist/{chunk-MOK3ZS6P.js → chunk-ZDJ7C64T.js} +1 -1
- package/dist/{chunk-GLQ3KCTY.js → chunk-ZGZLEUKM.js} +7 -8
- package/dist/{chunk-YHD2FZFP.js → chunk-ZHRGX225.js} +6 -6
- package/dist/{chunk-76Q7E3TM.js → chunk-ZIVCPXXL.js} +510 -646
- package/dist/{chunk-BSATR6ZO.js → chunk-ZNRSYS76.js} +21 -3
- package/dist/{chunk-DMAMWUYY.js → chunk-ZSLTSCTI.js} +5 -5
- package/dist/{chunk-IGVAWAOK.js → chunk-ZSYFQSPF.js} +43 -9
- package/dist/cli/index.js +8 -3
- package/dist/{core-7Y5BZZON.js → core-43GLGBOY.js} +8 -1
- package/dist/{core-7S3XMW5O.js → core-5GI3ERXO.js} +4 -1
- package/dist/{core-K3JX5WPM.js → core-5L7TMK7I.js} +6 -1
- package/dist/{core-LB5M7XL4.js → core-7TO4OVY5.js} +6 -1
- package/dist/{core-ILPXXC2Z.js → core-BJVENHFQ.js} +7 -1
- package/dist/{core-JDFUZFRH.js → core-BX4MFWKC.js} +6 -1
- package/dist/{core-XW7UJFJZ.js → core-C3KXTOIZ.js} +7 -1
- package/dist/{core-WJNK7F2J.js → core-C5Y6BFLL.js} +7 -1
- package/dist/{core-WZ4CHVYL.js → core-CLUSJ2SK.js} +5 -1
- package/dist/{core-TCSW24N6.js → core-E3IN2VVH.js} +5 -1
- package/dist/{core-MU4ALRR7.js → core-FD67NQOV.js} +6 -1
- package/dist/{core-YMXYUGF5.js → core-FDKMLRAK.js} +5 -1
- package/dist/{core-VKZSQFRG.js → core-FL6Z3VVX.js} +5 -1
- package/dist/{core-5UF44NDI.js → core-JC7JUFPY.js} +8 -1
- package/dist/{core-RR2CAZC5.js → core-JF33TADA.js} +8 -1
- package/dist/{core-4RR6VSXM.js → core-JH32ZAKM.js} +4 -1
- package/dist/{core-G3LXHW73.js → core-JYYZPPQV.js} +7 -1
- package/dist/{core-4HFVG4CP.js → core-KJTKCV4U.js} +4 -1
- package/dist/{core-GSILPKUR.js → core-LCQPE5Y6.js} +8 -1
- package/dist/{core-GLOZY6Z7.js → core-LHVGWE54.js} +6 -1
- package/dist/{core-J2JD5ODO.js → core-OVSNBOCE.js} +9 -1
- package/dist/{core-BLHEJ5OK.js → core-PPEC236B.js} +5 -1
- package/dist/{core-ZLSQHZ3I.js → core-QTJZDK5H.js} +5 -1
- package/dist/{core-TKZZZ6UW.js → core-R3YZCOUZ.js} +7 -1
- package/dist/{core-HTD5RHE7.js → core-RIBW5XU4.js} +7 -1
- package/dist/{core-AR2T32Y3.js → core-RJFILBWL.js} +8 -1
- package/dist/{core-A5AKUB7H.js → core-RWSXEKTE.js} +4 -1
- package/dist/{core-DD62MWEW.js → core-SOPPZLEH.js} +5 -1
- package/dist/{core-HDNWVLJW.js → core-TBUZCXLX.js} +5 -1
- package/dist/{core-BOG33BFD.js → core-TZ5QLTAX.js} +5 -1
- package/dist/{core-H5HO2CED.js → core-U7E5W4MY.js} +3 -1
- package/dist/{core-QPSAYRFT.js → core-UBNVSL44.js} +7 -1
- package/dist/{core-E2XOSHPR.js → core-UDRD4WIU.js} +6 -1
- package/dist/{core-DFZMOO7E.js → core-UVJZ4HY2.js} +7 -1
- package/dist/{core-LGJZUP6H.js → core-X7WWYQH4.js} +8 -1
- package/dist/{core-BBNY2BX4.js → core-XP56X47I.js} +5 -1
- package/dist/{core-3KLQSYWB.js → core-XQG54CYG.js} +6 -1
- package/dist/{dataTable-CNDRVGA5.js → dataTable-U7W4I6IF.js} +15 -2
- package/dist/{engine-FVEIM3WV.js → engine-O5V26MGR.js} +32 -19
- package/dist/fixtures.js +4 -1
- package/dist/flags-BVLSAXT3.js +10 -0
- package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
- package/dist/fonts.js +1 -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 +41 -22
- package/dist/{main-THU6VIVU.js → main-35GS47XC.js} +68 -123
- package/dist/mcp/server.js +131 -118
- package/dist/react/bar.js +10 -1
- package/dist/react/bartable.js +10 -1
- package/dist/react/box.js +8 -1
- package/dist/react/bullet.js +10 -1
- package/dist/react/butterfly.js +10 -1
- package/dist/react/choropleth.js +10 -1
- package/dist/react/cohort.js +11 -1
- package/dist/react/column.js +10 -1
- package/dist/react/combo.js +10 -1
- package/dist/react/creative.js +11 -1
- package/dist/react/diagram.js +10 -1
- package/dist/react/dimswitch.js +11 -1
- package/dist/react/dot.js +9 -1
- package/dist/react/export.js +36 -18
- package/dist/react/funnel.js +9 -1
- package/dist/react/gantt.js +9 -1
- package/dist/react/grid.js +10 -1
- package/dist/react/heatmap.js +9 -1
- package/dist/react/histogram.js +11 -1
- package/dist/react/index.js +101 -85
- package/dist/react/kpi.js +10 -1
- package/dist/react/likert.js +11 -1
- package/dist/react/line.js +9 -1
- package/dist/react/mekko.js +10 -1
- package/dist/react/pareto.js +11 -1
- package/dist/react/pie.js +9 -1
- package/dist/react/prepare.js +49 -21
- package/dist/react/pvm.js +12 -1
- package/dist/react/pyramid.js +10 -1
- package/dist/react/sankey.js +10 -1
- package/dist/react/scatter.js +8 -1
- package/dist/react/slope.js +10 -1
- package/dist/react/sparkline.js +10 -1
- package/dist/react/spec.js +24 -14
- package/dist/react/status.js +9 -1
- package/dist/react/story.js +5 -2
- package/dist/react/table.js +9 -1
- package/dist/react/theme.js +10 -3
- package/dist/react/tilemap.js +9 -1
- package/dist/react/treemap.js +9 -1
- package/dist/react/variance.js +10 -1
- package/dist/react/waffle.js +9 -1
- package/dist/react/waterfall.js +11 -1
- package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
- package/dist/rows.js +3 -2
- package/dist/{rowsModule-LI6KOS46.js → rowsModule-H2S6WW4D.js} +2 -1
- package/dist/{schema-CGQID64D.js → schema-2R32F6AW.js} +1 -1
- package/dist/{schema-H2EC4GAQ.js → schema-2TPGJGVR.js} +1 -1
- package/dist/{schema-THXXFY6I.js → schema-47BG2TZA.js} +1 -3
- package/dist/{schema-AMT7P7KB.js → schema-56MOEOVR.js} +1 -1
- package/dist/{schema-GNTKL5DN.js → schema-5MSR4LNN.js} +1 -1
- package/dist/{schema-5ZTGVQAJ.js → schema-5RIYEWE6.js} +1 -1
- package/dist/{schema-LOQ3AFC7.js → schema-A26ZNGTZ.js} +1 -3
- package/dist/{schema-MMVPMJEF.js → schema-ALBF6V7Y.js} +1 -3
- package/dist/{schema-BKUFZLLI.js → schema-BA6WP5YZ.js} +1 -1
- package/dist/{schema-PQZWO3BP.js → schema-CBL2SMVR.js} +1 -3
- package/dist/{schema-BBTXTWYI.js → schema-CWKGLDSR.js} +1 -3
- package/dist/{schema-5KDEQBBT.js → schema-DBIQFL56.js} +1 -1
- package/dist/{schema-KPEPBGAX.js → schema-DL7V6NN2.js} +1 -1
- package/dist/{schema-PL3EU6EQ.js → schema-DUVJMFKQ.js} +4 -2
- package/dist/{schema-L5U4OROI.js → schema-ECJERHKF.js} +2 -1
- package/dist/{schema-YLE4XXQQ.js → schema-EDSEKZDJ.js} +1 -1
- package/dist/{schema-HH5HOORE.js → schema-ESR6ZIK4.js} +1 -3
- package/dist/{schema-5DUTAVO7.js → schema-F7TWGLRZ.js} +1 -3
- package/dist/{schema-B2GCEYXD.js → schema-FGB6IGZM.js} +1 -3
- package/dist/{schema-7NSV542V.js → schema-FKGGTM4Z.js} +2 -1
- package/dist/{schema-72EEMYS3.js → schema-FU2AFIEE.js} +1 -1
- package/dist/{schema-QORUB6EK.js → schema-JNJFCYBM.js} +18 -1
- package/dist/{schema-JH57NFXJ.js → schema-JYZ4RF6S.js} +2 -1
- package/dist/{schema-25INXAMY.js → schema-K7F6TEDK.js} +1 -2
- package/dist/{schema-OU35XA3Z.js → schema-KAK6DZX4.js} +1 -1
- package/dist/{schema-R5Y6NVBH.js → schema-MOKWIGF7.js} +1 -1
- package/dist/{schema-ZQSIR5UC.js → schema-MQT6BMNK.js} +1 -3
- package/dist/{schema-FDFQKIO5.js → schema-MR3BPPQR.js} +1 -1
- package/dist/{schema-VYECMPON.js → schema-OPXZYIW7.js} +1 -3
- package/dist/{schema-ZEVJMFLV.js → schema-PV7JGX5H.js} +1 -1
- package/dist/{schema-QPOBZUAR.js → schema-PWPQF5RC.js} +1 -1
- package/dist/{schema-GN6GAIU5.js → schema-PYQEUC5P.js} +1 -3
- package/dist/{schema-M5JBHQIV.js → schema-QPIC5MAG.js} +9 -2
- package/dist/{schema-QCIE6M2P.js → schema-R42VXFIS.js} +1 -1
- package/dist/{schema-J7TNCZIP.js → schema-TVUJNEX7.js} +1 -1
- package/dist/{schema-AXRDF6ND.js → schema-Y4TI2T3T.js} +1 -1
- package/dist/{schema-ZG6ZKFRZ.js → schema-ZU2EU2VP.js} +1 -1
- package/dist/{specValidation-VHLGDEME.js → specValidation-2NHJT7TQ.js} +4 -1
- package/dist/theme.js +7 -2
- 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/bartable/types.d.ts +14 -1
- package/dist/types/core/charts/box/types.d.ts +3 -1
- package/dist/types/core/charts/choropleth/layout.d.ts +1 -5
- package/dist/types/core/charts/choropleth/types.d.ts +19 -0
- package/dist/types/core/charts/cohort/types.d.ts +16 -3
- 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/creative/types.d.ts +21 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +15 -2
- package/dist/types/core/charts/dimswitch/types.d.ts +24 -1
- package/dist/types/core/charts/gantt/calendar.d.ts +24 -0
- package/dist/types/core/charts/gantt/columns.d.ts +56 -0
- package/dist/types/core/charts/gantt/layout.d.ts +8 -2
- package/dist/types/core/charts/gantt/model.d.ts +296 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +9 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +13 -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/histogram/types.d.ts +8 -0
- package/dist/types/core/charts/likert/layout.d.ts +10 -8
- package/dist/types/core/charts/pareto/layout.d.ts +2 -0
- package/dist/types/core/charts/pvm/types.d.ts +10 -1
- package/dist/types/core/charts/pyramid/types.d.ts +3 -1
- package/dist/types/core/charts/sankey/types.d.ts +5 -1
- 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/status/layout.d.ts +3 -0
- package/dist/types/core/charts/table/resolve.d.ts +22 -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/doc/diagnostics.d.ts +3 -2
- package/dist/types/core/footer.d.ts +2 -0
- package/dist/types/core/formatSpec.d.ts +43 -14
- package/dist/types/core/frame.d.ts +26 -59
- package/dist/types/core/frameText.d.ts +203 -0
- package/dist/types/core/geo/types.d.ts +2 -0
- package/dist/types/core/geometry.d.ts +3 -1
- 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 +14 -2
- package/dist/types/core/notes.d.ts +15 -2
- package/dist/types/core/reading.d.ts +12 -1
- package/dist/types/core/registry.d.ts +4 -5
- package/dist/types/core/request.d.ts +7 -1
- package/dist/types/core/schema/capability.d.ts +32 -7
- package/dist/types/core/schema/generatedColumns.d.ts +168 -0
- package/dist/types/core/seriesIdentity.d.ts +4 -1
- package/dist/types/core/sizing.d.ts +32 -1
- package/dist/types/core/structureCounts.d.ts +3 -1
- package/dist/types/core/text.d.ts +16 -0
- package/dist/types/core/theme.d.ts +33 -4
- package/dist/types/core/themeGeometry.d.ts +9 -0
- package/dist/types/core/themeRules.d.ts +2 -0
- package/dist/types/core/timeAxis.d.ts +6 -1
- package/dist/types/core/types/annotations.d.ts +74 -4
- package/dist/types/core/types/diagram.d.ts +7 -0
- package/dist/types/core/types/options.d.ts +118 -15
- package/dist/types/core/types/scene.d.ts +30 -2
- package/dist/types/core/types/table.d.ts +27 -3
- package/dist/types/core/types/theme.d.ts +23 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/react/TableChart.d.ts +5 -0
- package/dist/types/react/barrelCharts.d.ts +16 -5
- package/dist/types/react/charts/butterfly.d.ts +2 -2
- package/dist/types/react/charts/dot.d.ts +7 -1
- package/dist/types/react/charts/pareto.d.ts +4 -1
- package/dist/types/react/charts/variance.d.ts +3 -1
- package/dist/types/react/hover/labelCard.d.ts +11 -2
- package/dist/types/react/prepare.d.ts +7 -1
- package/dist/types/theme.d.ts +2 -0
- package/dist/validate.js +23 -6
- package/docs/TELEMETRY.md +2 -2
- package/docs/manual.md +283 -65
- package/docs/reference/bar.md +15 -4
- package/docs/reference/bartable.md +17 -2
- package/docs/reference/box.md +15 -4
- package/docs/reference/bullet.md +21 -6
- package/docs/reference/butterfly.md +17 -6
- package/docs/reference/choropleth.md +16 -5
- package/docs/reference/cohort.md +25 -5
- package/docs/reference/column.md +19 -4
- package/docs/reference/combo.md +11 -5
- package/docs/reference/creative.md +17 -8
- package/docs/reference/diagram.md +6 -1
- package/docs/reference/dimswitch.md +71 -118
- package/docs/reference/dot.md +16 -7
- package/docs/reference/fixtures.md +94 -1
- package/docs/reference/funnel.md +14 -5
- package/docs/reference/gantt.md +17 -16
- package/docs/reference/grid.md +13 -3
- package/docs/reference/heatmap.md +16 -6
- package/docs/reference/histogram.md +2 -2
- package/docs/reference/kpi.md +5 -1
- package/docs/reference/likert.md +17 -4
- package/docs/reference/line.md +18 -5
- package/docs/reference/mekko.md +10 -5
- package/docs/reference/options.md +20 -15
- package/docs/reference/pareto.md +9 -5
- package/docs/reference/pie.md +9 -5
- package/docs/reference/pvm.md +16 -6
- package/docs/reference/pyramid.md +14 -4
- package/docs/reference/react.md +6 -7
- package/docs/reference/sankey.md +7 -3
- package/docs/reference/scatter.md +8 -4
- package/docs/reference/slope.md +15 -5
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +7 -1
- package/docs/reference/table.md +41 -110
- 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 +20 -5
- package/docs/use-cases.md +25 -13
- package/llms.txt +19 -6
- package/package.json +18 -3
- package/dist/chunk-6364WO5D.js +0 -47
- package/dist/chunk-DQ7YMQVX.js +0 -26
- package/dist/chunk-EBB4PYBN.js +0 -24
- package/dist/chunk-FG5L2LUK.js +0 -89
- package/dist/chunk-IFQN4GKK.js +0 -1852
- package/dist/chunk-IRXVV65V.js +0 -24
- package/dist/chunk-JGFHNAHS.js +0 -22
- package/dist/chunk-JHWYG7V5.js +0 -24
- package/dist/chunk-M4SPKUZE.js +0 -7
- package/dist/chunk-O36WX56O.js +0 -13
- package/dist/chunk-QJWLNP64.js +0 -24
- package/dist/chunk-QZIHKQRH.js +0 -26
- package/dist/chunk-SE7MJ2LQ.js +0 -24
- package/dist/chunk-TXBO2LWM.js +0 -25
- package/dist/chunk-UPTXFTKH.js +0 -25
- package/dist/chunk-UREXN6WG.js +0 -25
- package/dist/chunk-UZLR25BW.js +0 -24
- package/dist/chunk-WIVFIVFZ.js +0 -27
- package/dist/chunk-WZL4EEBS.js +0 -11
- package/dist/chunk-XHRUXZD7.js +0 -28
- package/dist/chunk-ZWNRLIFT.js +0 -24
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
fitLogTicks,
|
|
4
4
|
olsFit,
|
|
5
5
|
olsMoments
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3XAJSMYD.js";
|
|
7
7
|
import {
|
|
8
8
|
preparePolyline
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OZA7HA6L.js";
|
|
10
10
|
import {
|
|
11
11
|
INTERVAL_TICK
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QMFWZG2P.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_OTHERS_SHADE
|
|
15
15
|
} from "./chunk-RQ5DNYLG.js";
|
|
@@ -18,24 +18,21 @@ import {
|
|
|
18
18
|
} from "./chunk-EKQK5D6G.js";
|
|
19
19
|
import {
|
|
20
20
|
warnSliverLabels
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SZ5VGWDY.js";
|
|
22
22
|
import {
|
|
23
23
|
gapMarkerNode
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AICO24HJ.js";
|
|
25
25
|
import {
|
|
26
26
|
chartString as chartString2,
|
|
27
27
|
localeStrings,
|
|
28
28
|
planNearZeroTails
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HAG3K6PQ.js";
|
|
30
30
|
import {
|
|
31
31
|
categoryBandFromCenters
|
|
32
32
|
} from "./chunk-CDZHNLO6.js";
|
|
33
33
|
import {
|
|
34
34
|
trendTimeUnit
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import {
|
|
37
|
-
emptyIdRecord
|
|
38
|
-
} from "./chunk-LINZPU5D.js";
|
|
35
|
+
} from "./chunk-54YO56IK.js";
|
|
39
36
|
import {
|
|
40
37
|
categoryLineAlign,
|
|
41
38
|
dayUnit,
|
|
@@ -49,7 +46,7 @@ import {
|
|
|
49
46
|
valueAxisTitleRequest,
|
|
50
47
|
warnSpreadOverflow,
|
|
51
48
|
yearRowRequests
|
|
52
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ETRAPN5G.js";
|
|
53
50
|
import {
|
|
54
51
|
AREA_FILL_PART,
|
|
55
52
|
LAST_RESORT_PENALTY,
|
|
@@ -57,26 +54,25 @@ import {
|
|
|
57
54
|
SWATCH_RESERVE,
|
|
58
55
|
adjacentSeriesWarnings,
|
|
59
56
|
composedTextRole,
|
|
60
|
-
createOccupiedIndex,
|
|
61
|
-
defaultAnnotationId,
|
|
62
57
|
fitText,
|
|
63
|
-
inflate,
|
|
64
58
|
othersShadeUnavailableWarnings,
|
|
65
59
|
partialKeyForced,
|
|
66
|
-
polylineYAt,
|
|
67
60
|
resolvePaintWarnings,
|
|
68
61
|
retainAdjacentWarningRule,
|
|
69
|
-
round2,
|
|
70
62
|
saysToDate,
|
|
71
|
-
segmentHitsRect,
|
|
72
|
-
sideAwayFrom,
|
|
73
63
|
toDateFits,
|
|
74
64
|
toDateLabel,
|
|
75
65
|
unitPrinted
|
|
76
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-I5VDW2XZ.js";
|
|
77
67
|
import {
|
|
78
68
|
disclosureNote
|
|
79
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-DZYTXZNS.js";
|
|
70
|
+
import {
|
|
71
|
+
defaultAnnotationId
|
|
72
|
+
} from "./chunk-F2ET5ZTT.js";
|
|
73
|
+
import {
|
|
74
|
+
emptyIdRecord
|
|
75
|
+
} from "./chunk-LINZPU5D.js";
|
|
80
76
|
import {
|
|
81
77
|
defaultFormatSpec,
|
|
82
78
|
formatWithSpec,
|
|
@@ -84,7 +80,7 @@ import {
|
|
|
84
80
|
seriesRasterFormatter,
|
|
85
81
|
trendRateFormatter,
|
|
86
82
|
withUnit
|
|
87
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-Z6DUNKFU.js";
|
|
88
84
|
import {
|
|
89
85
|
NOT_AVAILABLE,
|
|
90
86
|
NOT_MEANINGFUL,
|
|
@@ -102,11 +98,14 @@ import {
|
|
|
102
98
|
HATCH_STRENGTH_DEFAULT,
|
|
103
99
|
LABEL_PLATE_RADIUS,
|
|
104
100
|
bumpStoryPaints,
|
|
101
|
+
colorRolePaints,
|
|
102
|
+
createOccupiedIndex,
|
|
105
103
|
dashToken,
|
|
106
104
|
effectiveFill,
|
|
107
105
|
emphasisWeight,
|
|
108
106
|
fanPaintSteps,
|
|
109
107
|
hatchGapFactor,
|
|
108
|
+
inflate,
|
|
110
109
|
isOthersFill,
|
|
111
110
|
labelPlate,
|
|
112
111
|
labelsOffKeepsNames,
|
|
@@ -117,18 +116,22 @@ import {
|
|
|
117
116
|
orderedRampPaint,
|
|
118
117
|
othersSeparation,
|
|
119
118
|
paintColor,
|
|
119
|
+
polylineYAt,
|
|
120
120
|
rampSlots,
|
|
121
121
|
readerFloorPx,
|
|
122
|
+
round2,
|
|
122
123
|
secondaryFont,
|
|
124
|
+
segmentHitsRect,
|
|
123
125
|
separatedWashPaint,
|
|
124
126
|
seriesPaint,
|
|
127
|
+
sideAwayFrom,
|
|
125
128
|
strokeToken,
|
|
126
129
|
textScaleOf
|
|
127
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-TX5FSNAU.js";
|
|
128
131
|
import {
|
|
129
132
|
PALETTE_NORMAL_FLOOR,
|
|
130
133
|
palettePerceptualDistance
|
|
131
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-BQBD6Q5J.js";
|
|
132
135
|
import {
|
|
133
136
|
cubicPoint,
|
|
134
137
|
curvePathFromSegments,
|
|
@@ -139,12 +142,12 @@ import {
|
|
|
139
142
|
monotoneYAt,
|
|
140
143
|
splitCurve,
|
|
141
144
|
splitCurveSegmentsAtX
|
|
142
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-6IUK6PAH.js";
|
|
143
146
|
import {
|
|
144
147
|
DEFAULT_TARGET,
|
|
145
148
|
NormalizeError,
|
|
146
149
|
resolveSubtitle
|
|
147
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-RJICOOB3.js";
|
|
148
151
|
import {
|
|
149
152
|
maxOf,
|
|
150
153
|
minOf,
|
|
@@ -179,7 +182,7 @@ function trendTimeline(cats, source = cats) {
|
|
|
179
182
|
function fitLineTrends(domain, warnings) {
|
|
180
183
|
if (!domain.options.trend) return [];
|
|
181
184
|
if (domain.isStacked || domain.bumpDerived)
|
|
182
|
-
throw new NormalizeError("trend-unsupported", "options.trend", "trend needs variant 'line' or 'area'; a stack or rank is not a series value");
|
|
185
|
+
throw new NormalizeError("trend-unsupported", "options.trend", "trend needs variant 'line' or 'area'; a stack or rank is not a series value", void 0, void 0, ["options", "trend"]);
|
|
183
186
|
let population = domain.population, lo = population ? population.indexes[0] : 0, hi = population ? population.indexes[population.indexes.length - 1] : domain.cats.length - 1, cats = population ? population.categories.slice(lo, hi + 1) : domain.cats, rows = population ? population.plotted : domain.pv, continuous = domain.x ? continuousTrend(domain.x, lo, hi) : void 0, unit = continuous?.unit ?? trendUnit(cats), xs = continuous?.xs ?? (unit === "period" ? cats.map((_, i) => population ? i : domain.timeline?.positions[i] ?? i) : trendXs(cats, unit));
|
|
184
187
|
return domain.drawnSeries.flatMap((s) => {
|
|
185
188
|
let row = rows[domain.rowOf.get(s)], points = xs.flatMap((x, i) => row[lo + i] === null ? [] : [{ x, y: row[lo + i] }]), moments = olsMoments(points), fit = moments.n >= 3 ? olsFit(moments) : null;
|
|
@@ -326,7 +329,7 @@ function seatValuesOnGround(requests, grounds, pad, cssOf, others = !0, kinds =
|
|
|
326
329
|
}
|
|
327
330
|
|
|
328
331
|
// src/core/charts/line/labels.ts
|
|
329
|
-
var BUMP_NAME_MAX_FRACTION = 0.18, BUMP_NAME_MAX_LINES = 2, ENDPOINT_LEADER_CLEARANCE = 4, ENDPOINT_LEADER_MIN_DY = 3, END_LABEL_MAX_DISPLACEMENT_LINES = 3, SLIVER_MIN_H = 10, END_NAME_GAP = 16, NAME_PRIORITY = PRIORITY.endpoint + 1, END_LABEL_KEY = /* @__PURE__ */ Symbol("lineEndLabelKey"), END_LABEL_WIDE = /* @__PURE__ */ Symbol("lineEndLabelWide"), INLINE_FALLBACK = /* @__PURE__ */ Symbol("lineInlineFallback"), usesInlineFallback = (options) => options[INLINE_FALLBACK] === !0, usesEndLabelKey = (options) => options[END_LABEL_KEY] !== void 0, fanEdgeInKey = (domain) => domain.fan !== null && domain.x?.range?.cut.hi === !0 && usesEndLabelKey(domain.options), usesWideEndLabels = (options) => options[END_LABEL_WIDE] === !0;
|
|
332
|
+
var BUMP_NAME_MAX_FRACTION = 0.18, BUMP_NAME_MAX_LINES = 2, ENDPOINT_LEADER_CLEARANCE = 4, ENDPOINT_LEADER_MIN_DY = 3, END_LABEL_MAX_DISPLACEMENT_LINES = 3, SLIVER_MIN_H = 10, END_NAME_GAP = 16, NAME_PRIORITY = PRIORITY.endpoint + 1, END_LABEL_KEY = /* @__PURE__ */ Symbol("lineEndLabelKey"), END_LABEL_WIDE = /* @__PURE__ */ Symbol("lineEndLabelWide"), POINT_LABEL_CENTERED_ROOM = /* @__PURE__ */ Symbol("pointLabelCenteredRoom"), INLINE_FALLBACK = /* @__PURE__ */ Symbol("lineInlineFallback"), usesInlineFallback = (options) => options[INLINE_FALLBACK] === !0, usesEndLabelKey = (options) => options[END_LABEL_KEY] !== void 0, fanEdgeInKey = (domain) => domain.fan !== null && domain.x?.range?.cut.hi === !0 && usesEndLabelKey(domain.options), usesWideEndLabels = (options) => options[END_LABEL_WIDE] === !0;
|
|
330
333
|
function lineFocusFont(env, domain, font, weight) {
|
|
331
334
|
return !env.isBump && env.anyHighlight && domain.variant === "line" && !domain.isArea && domain.options.highlightMode !== "fade" ? { ...font, weight } : void 0;
|
|
332
335
|
}
|
|
@@ -652,8 +655,8 @@ function pointLabelSeeds(input) {
|
|
|
652
655
|
source,
|
|
653
656
|
categoryId: category.id
|
|
654
657
|
})), !text && cell.labelOverride !== !1) continue;
|
|
655
|
-
let endpoint = ci === drawn[0] || ci === last, extreme = value === min || value === max, highlighted = input.highlights.has(series.id) || input.highlights.has(category.id), priority = cell.priority ?? (endpoint ? PRIORITY.endpoint : extreme ? PRIORITY.extreme : PRIORITY.interior + Math.min(99, Math.abs(value))) + (highlighted ? PRIORITY.highlightBonus : 0);
|
|
656
|
-
seeds.push({ ci, text, w: input.measure(text || "0", input.labelFont).width, priority, suppressed: cell.labelOverride === !1, extreme });
|
|
658
|
+
let endpoint = ci === drawn[0] || ci === last, extreme = value === min || value === max, highlighted = input.highlights.has(series.id) || input.highlights.has(category.id) || input.pointHighlights?.has(category.id), priority = cell.priority ?? (endpoint ? PRIORITY.endpoint : extreme ? PRIORITY.extreme : PRIORITY.interior + Math.min(99, Math.abs(value))) + (highlighted ? PRIORITY.highlightBonus : 0);
|
|
659
|
+
seeds.push({ ci, text, w: input.measure(text || "0", input.labelFont).width, priority, suppressed: cell.labelOverride === !1, extreme, highlighted: highlighted === !0 });
|
|
657
660
|
}
|
|
658
661
|
return seeds;
|
|
659
662
|
}
|
|
@@ -726,10 +729,14 @@ function pushPointRequests(input) {
|
|
|
726
729
|
return;
|
|
727
730
|
}
|
|
728
731
|
} else {
|
|
729
|
-
let away = input.bump ? "above" : sideAwayFrom({ x: input.xOf(candidate.ci), y: candidate.py }, input.others), order = away === "below" ? ["below", "above", "belowShifted", "aboveShifted"] : away === "above" ? ["above", "below", "aboveShifted", "belowShifted"] : ["above", "aboveShifted", "below", "belowShifted"], px = input.xOf(candidate.ci),
|
|
732
|
+
let away = input.bump ? "above" : sideAwayFrom({ x: input.xOf(candidate.ci), y: candidate.py }, input.others), order = away === "below" ? ["below", "above", "belowShifted", "aboveShifted"] : away === "above" ? ["above", "below", "aboveShifted", "belowShifted"] : ["above", "aboveShifted", "below", "belowShifted"], px = input.xOf(candidate.ci), markerExtra = Math.max(0, (input.markerRadiusOf?.(candidate.ci) ?? 3) - 3), clearMarker = (slot, rect) => markerExtra === 0 ? rect : {
|
|
733
|
+
...rect,
|
|
734
|
+
x: rect.x + (slot.startsWith("left") ? -markerExtra : slot.startsWith("right") ? markerExtra : 0),
|
|
735
|
+
y: rect.y + (slot.startsWith("above") || slot === "forecastAboveEdge" ? -markerExtra : slot.startsWith("below") || slot === "forecastBelowEdge" ? markerExtra : 0)
|
|
736
|
+
}, at = { x: px, y: candidate.py, w: 0, h: 0 }, rivals = otherQueries.filter((stroke) => stroke.distance(at) > 1e-6), last = candidate.ci === lastDrawn, lateFirst = candidate.ci === firstDrawn && firstDrawn > 0 && !input.bump, rescue = [
|
|
730
737
|
// The first focus value has the same level seat as the last value,
|
|
731
738
|
// mirrored left. A steep rise can block every seat over the point.
|
|
732
|
-
...candidate.ci === firstDrawn && input.highlighted ? [
|
|
739
|
+
...candidate.ci === firstDrawn && (input.highlighted || input.shapeSide?.get(candidate.ci) === "left") ? [
|
|
733
740
|
{ slot: "left", rect: { x: px - w - 7, y: candidate.py - labelH / 2, w, h: labelH }, penalty: 4 }
|
|
734
741
|
] : [],
|
|
735
742
|
// Use the plot's 8 px axis gutter, with 2 px left clear, when clamping
|
|
@@ -794,7 +801,10 @@ function pushPointRequests(input) {
|
|
|
794
801
|
] : []
|
|
795
802
|
]
|
|
796
803
|
], named = input.bump?.named?.has(`${input.series.id}:${candidate.ci}`) === !0;
|
|
797
|
-
slots = seats.filter((seat) => !last || continuedEnd || Math.max(seat.y - candidate.py, candidate.py - seat.y - labelH, 0) <= labelH).filter((seat) => !((named || input.bump) && seat.slot.startsWith("below"))).filter((seat) => input.fillTo === void 0 || (seat.y + labelH / 2 - candidate.py) * (input.fillTo - candidate.py) <= 0).map((seat) =>
|
|
804
|
+
slots = seats.filter((seat) => !last || continuedEnd || Math.max(seat.y - candidate.py, candidate.py - seat.y - labelH, 0) <= labelH).filter((seat) => !((named || input.bump) && seat.slot.startsWith("below"))).filter((seat) => input.fillTo === void 0 || (seat.y + labelH / 2 - candidate.py) * (input.fillTo - candidate.py) <= 0).map((seat) => {
|
|
805
|
+
let moved = clearMarker(seat.slot, { x: seat.x, y: seat.y, w, h: labelH });
|
|
806
|
+
return { slot: seat.slot, rect: containedRect(bounds, moved.x, moved.y, w, labelH), penalty: seat.penalty ?? (seat.slot.endsWith("Right") ? 1.5 : order.indexOf(seat.slot)) };
|
|
807
|
+
}).concat(rescue.map((seat) => ({ ...seat, rect: clearMarker(seat.slot, seat.rect) }))).sort((a, b) => a.penalty - b.penalty).flatMap((seat) => {
|
|
798
808
|
let { slot, rect, penalty } = seat, leaderFrom = "leaderFrom" in seat ? seat.leaderFrom : void 0;
|
|
799
809
|
if (rect === null) return [];
|
|
800
810
|
if (ownQueries.some((stroke) => stroke.hits(rect, 2))) return [];
|
|
@@ -805,7 +815,9 @@ function pushPointRequests(input) {
|
|
|
805
815
|
return rivals.some((stroke) => stroke.distance(rect) < own) ? [] : [{ slot, rect, penalty }];
|
|
806
816
|
});
|
|
807
817
|
}
|
|
808
|
-
computed && !continuedEnd && (slots = slots.filter((slot) => !slot.leaderFrom && !/Shifted|Raised|Step/.test(slot.slot)))
|
|
818
|
+
computed && !continuedEnd && (slots = slots.filter((slot) => !slot.leaderFrom && !/Shifted|Raised|Step/.test(slot.slot)));
|
|
819
|
+
let preferred = continuedEnd ? void 0 : input.shapeSide?.get(candidate.ci);
|
|
820
|
+
preferred && (slots = [...slots.filter((slot) => slot.slot === preferred).map((slot) => preferred === "left" || preferred === "right" ? { ...slot, overRules: !1 } : slot), ...slots.filter((slot) => slot.slot !== preferred)]), !candidate.suppressed && !rest && !keep[index] && input.lost.thinned.push(name), input.labelRequests.push({
|
|
809
821
|
id: `point:${input.series.id}:${category.id}`,
|
|
810
822
|
kind: "point",
|
|
811
823
|
role: composedTextRole(candidate.text),
|
|
@@ -821,6 +833,7 @@ function pushPointRequests(input) {
|
|
|
821
833
|
...restFields,
|
|
822
834
|
candidates: slots,
|
|
823
835
|
...computed && !input.highlighted && !continuedEnd ? { noLeader: !0 } : {},
|
|
836
|
+
...candidate.highlighted ? { keepWhenDense: !0 } : {},
|
|
824
837
|
// A value over a neighbour's point reads as that point's value.
|
|
825
838
|
...input.isStacked || input.bump ? {} : { anchor: { x: input.xOf(candidate.ci), y: candidate.py }, ...computed ? { ownStrokeClear: !0 } : {} },
|
|
826
839
|
...input.isStacked ? {} : { ownStroke: ownQueries }
|
|
@@ -835,7 +848,7 @@ function pointLabelSelection(input) {
|
|
|
835
848
|
if (drawn.length === 0) return [];
|
|
836
849
|
let first = drawn[0], last = drawn[drawn.length - 1], values = drawn.map((ci) => row[ci]), [min, max] = [minOf(values), maxOf(values)], engine = mode === "all" ? drawn : mode === "extremes" ? drawn.filter((ci) => ci === first || ci === last || row[ci] === min || row[ci] === max) : mode === "ends" ? [first, last] : mode === "last" ? [last] : [], fcStart = mode === "none" || mode === "all" || input.variant === "line" || input.variant === "stacked-area" ? -1 : series.scenario === "FC" ? 0 : series.vals.findIndex((val) => val.scenario === "FC"), lastActual = fcStart > 0 ? lastActualIndex(series, fcStart, !1) : -1, extra = lastActual >= 0 && row[lastActual] !== null && !engine.includes(lastActual) ? lastActual : -1;
|
|
837
850
|
extra >= 0 && engine.push(extra);
|
|
838
|
-
let authored = input.valueLabelsAuthored && series.vals.every((cell) => cell.v === null || cell.labelOverride === !1 || typeof cell.labelOverride == "string") ? [] : drawn.filter((ci) => typeof series.vals[ci]?.labelOverride == "string"), flagged = input.flagged?.seriesId === series.id && pointContent !== null ? drawn.filter((ci) => input.flagged.at.has(ci)) : [], withheld = input.lastWithheld.has(series.id) ? last : -1, keepAuthoredLast = typeof series.vals[last]?.labelOverride == "string" && !input.lastCarried?.has(series.id), only = [.../* @__PURE__ */ new Set([...engine, ...authored, ...flagged])].filter((ci) => (ci !== withheld || keepAuthoredLast) && (ci !== first || !input.firstWithheld?.has(series.id))).sort((a, b) => a - b);
|
|
851
|
+
let authored = input.valueLabelsAuthored && series.vals.every((cell) => cell.v === null || cell.labelOverride === !1 || typeof cell.labelOverride == "string") ? [] : drawn.filter((ci) => typeof series.vals[ci]?.labelOverride == "string"), flagged = input.flagged?.seriesId === series.id && pointContent !== null ? drawn.filter((ci) => input.flagged.at.has(ci)) : [], emphasized = mode !== "none" && input.pointHighlights?.size ? drawn.filter((ci) => input.pointHighlights.has(input.cats[ci].id) && series.vals[ci]?.labelOverride !== !1) : [], withheld = input.lastWithheld.has(series.id) ? last : -1, keepAuthoredLast = typeof series.vals[last]?.labelOverride == "string" && !input.lastCarried?.has(series.id), only = [.../* @__PURE__ */ new Set([...engine, ...authored, ...flagged, ...emphasized])].filter((ci) => (ci !== withheld || keepAuthoredLast) && (ci !== first || !input.firstWithheld?.has(series.id))).sort((a, b) => a - b);
|
|
839
852
|
return only.length > 0 ? [{ series, dataIdx, row, content, only, ...extra >= 0 ? { lastActual: extra } : {} }] : [];
|
|
840
853
|
});
|
|
841
854
|
}
|
|
@@ -843,6 +856,9 @@ function defaultValueContent(variant, seriesValueContent) {
|
|
|
843
856
|
return seriesValueContent ?? (variant === "stacked100-area" ? ["percent"] : ["absolute"]);
|
|
844
857
|
}
|
|
845
858
|
var PLOT_END_AIR = 4;
|
|
859
|
+
function pointLabelsFollowShape(env, domain) {
|
|
860
|
+
return domain.options.pointLabelSide !== "auto" && domain.variant === "line" && !env.isBump && !domain.fan && domain.dataSeries.length === 1;
|
|
861
|
+
}
|
|
846
862
|
function pointLabelEndRoom(input) {
|
|
847
863
|
let room = { left: 0, right: 0 }, last = input.cats.length - 1;
|
|
848
864
|
if (input.isStacked || last < 0) return room;
|
|
@@ -850,9 +866,10 @@ function pointLabelEndRoom(input) {
|
|
|
850
866
|
let categoryIndices = pick.only.filter((ci) => ci === 0 || ci === last);
|
|
851
867
|
for (let seed of pointLabelSeeds({ ...input, series: pick.series, row: pick.row, content: pick.content, categoryIndices })) {
|
|
852
868
|
if (seed.suppressed) continue;
|
|
853
|
-
|
|
869
|
+
let shape = input.shapeSides && pick.row.filter((value) => value !== null).length > 1, sideGap = 7 + Math.max(0, (input.markerExtent?.(pick.series, pick.dataIdx, seed.ci)?.reach ?? 3) - 3);
|
|
870
|
+
seed.ci === 0 && (room.left = Math.max(room.left, (shape ? seed.w + sideGap : seed.w / 2) + PLOT_END_AIR));
|
|
854
871
|
let words = seed.ci === last && input.endToDate?.ids.has(input.cats[last].id) ? toDateLabel(seed.text, input.labelFont, input.endToDate.words, input.endToDate.theme, input.endToDate.measure).size.width : seed.w;
|
|
855
|
-
seed.ci === last && (room.right = Math.max(room.right, words / 2 + PLOT_END_AIR));
|
|
872
|
+
seed.ci === last && (room.right = Math.max(room.right, (shape && input.shapeEnd ? words + sideGap : words / 2) + PLOT_END_AIR));
|
|
856
873
|
}
|
|
857
874
|
}
|
|
858
875
|
return room;
|
|
@@ -870,6 +887,17 @@ function placePointValueLabels(input) {
|
|
|
870
887
|
return [series.id, stroke];
|
|
871
888
|
}));
|
|
872
889
|
for (let { series, dataIdx, row, content, only, lastActual } of pointLabelSelection(input)) {
|
|
890
|
+
let shapeSide = input.shapeSides ? /* @__PURE__ */ new Map() : void 0;
|
|
891
|
+
if (shapeSide) {
|
|
892
|
+
let runs = drawnRuns(row, series.interpolateGaps), first = runs[0]?.[0], last = runs.at(-1)?.at(-1);
|
|
893
|
+
if (first !== void 0 && last !== void 0 && first !== last) {
|
|
894
|
+
shapeSide.set(first, "left"), shapeSide.set(last, "right");
|
|
895
|
+
for (let run of runs) for (let i = 1; i < run.length - 1; i++) {
|
|
896
|
+
let ci = run[i], py = input.y(row[ci]), before = input.y(row[run[i - 1]]), after = input.y(row[run[i + 1]]);
|
|
897
|
+
py < before && py < after ? shapeSide.set(ci, "above") : py > before && py > after && shapeSide.set(ci, "below");
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
873
901
|
let seriesFont = input.focusFont && input.highlights.has(series.id) ? input.focusFont : input.labelFont, candidates = buildPointCandidates({ ...input, labelFont: seriesFont, series, dataIdx, row, content, categoryIndices: only });
|
|
874
902
|
for (let candidate of candidates) {
|
|
875
903
|
let divider = input.dividers.find((split) => split.ci === candidate.ci && Math.abs(split.x - candidate.x) < candidate.w / 2 + 3);
|
|
@@ -882,7 +910,7 @@ function placePointValueLabels(input) {
|
|
|
882
910
|
for (let query of stroke.queries ??= stroke.runs.map(preparePolyline)) otherQueries.push(query);
|
|
883
911
|
}
|
|
884
912
|
let edge = (cum) => drawnStroke(input.cats.map((_, ci) => ({ x: input.xOf(ci), y: input.y(cum[dataIdx][ci]) })), input.interpolationFor(series)), drawn = input.drawnEdges?.get(series.id), bandEdges = input.isStacked ? { top: drawn?.runs.flat() ?? edge(input.cumTop), bottom: drawn?.bottom ?? edge(input.cumBot) } : void 0, namedEnd = input.valueLabels !== "all" && !input.isStacked && !input.bump && (input.endNamed.has(series.id) || input.labelRequests.some((request) => request.kind === "series" && request.owner.seriesId === series.id));
|
|
885
|
-
pushPointRequests({ continued: input.drawnEdges !== void 0, highlighted: input.highlights.has(series.id) && !input.bump && input.variant === "line", regularRow: input.valueLabels === "all" && !input.isStacked, namedEnd, candidates, series, cats: input.cats, isStacked: input.isStacked, variant: input.variant, labelH: input.labelH, step: input.step, density: input.density, plot: input.plot, labelFont: seriesFont, labelRequests: input.labelRequests, ownQueries, others, otherQueries, xOf: input.xOf, besideLast: !input.endNamed.has(series.id), ...bandEdges ? { bandEdges } : {}, ...input.bump ? { bump: input.bump } : {}, topBand: input.isStacked && dataIdx === input.drawnSeries.length - 1, row, ...input.isStacked ? { painted: input.paintedAreaCats.get(series.id) } : {}, ...input.variant === "area" && input.drawnSeries.length > 1 && input.paintedAreaCats.has(series.id) ? { fillTo: input.y(0) } : {}, lost, restHidden: input.isStacked && input.restHidden?.(series) === !0, ...input.toDate ? { toDate: input.toDate } : {} });
|
|
913
|
+
pushPointRequests({ shapeSide, markerRadiusOf: (ci) => input.markerExtent?.(series, dataIdx, ci)?.reach, continued: input.drawnEdges !== void 0, highlighted: input.highlights.has(series.id) && !input.bump && input.variant === "line", regularRow: input.valueLabels === "all" && !input.isStacked, namedEnd, candidates, series, cats: input.cats, isStacked: input.isStacked, variant: input.variant, labelH: input.labelH, step: input.step, density: input.density, plot: input.plot, labelFont: seriesFont, labelRequests: input.labelRequests, ownQueries, others, otherQueries, xOf: input.xOf, besideLast: !input.endNamed.has(series.id), ...bandEdges ? { bandEdges } : {}, ...input.bump ? { bump: input.bump } : {}, topBand: input.isStacked && dataIdx === input.drawnSeries.length - 1, row, ...input.isStacked ? { painted: input.paintedAreaCats.get(series.id) } : {}, ...input.variant === "area" && input.drawnSeries.length > 1 && input.paintedAreaCats.has(series.id) ? { fillTo: input.y(0) } : {}, lost, restHidden: input.isStacked && input.restHidden?.(series) === !0, ...input.toDate ? { toDate: input.toDate } : {} });
|
|
886
914
|
let extra = lastActual === void 0 || typeof series.vals[lastActual]?.labelOverride == "string" ? void 0 : input.labelRequests.find((request) => request.id === `point:${series.id}:${input.cats[lastActual].id}`);
|
|
887
915
|
extra && (extra.quietWhenCrowded = !0, extra.redundant && extra.suppressedAs === "density" && delete extra.suppressedAs);
|
|
888
916
|
}
|
|
@@ -939,8 +967,8 @@ function lineLabelModes(options, variant, drawnSeries) {
|
|
|
939
967
|
var BUMP_FOLDED = /* @__PURE__ */ Symbol("bumpFolded");
|
|
940
968
|
function validateBumpInput(input) {
|
|
941
969
|
let { options, targetsLength, dataSeries, cats } = input;
|
|
942
|
-
if (dataSeries.length < 2) throw new NormalizeError("bump-two-series", "series", "a rank chart needs at least two data-role series \u2014 one entity is a flat line at rank 1, which states nothing about who overtook whom");
|
|
943
|
-
if (cats.length < 2) throw new NormalizeError("bump-two-categories", "categories", "a rank chart needs at least two categories \u2014 crossings are the message and one period has none", "use chart type 'slope' for two points");
|
|
970
|
+
if (dataSeries.length < 2) throw new NormalizeError("bump-two-series", "series", "a rank chart needs at least two data-role series \u2014 one entity is a flat line at rank 1, which states nothing about who overtook whom", void 0, void 0, ["data", "series"]);
|
|
971
|
+
if (cats.length < 2) throw new NormalizeError("bump-two-categories", "categories", "a rank chart needs at least two categories \u2014 crossings are the message and one period has none", "use chart type 'slope' for two points", void 0, ["data", "categories"]);
|
|
944
972
|
let conflicts = [
|
|
945
973
|
["rebase100", !!options.rebase100],
|
|
946
974
|
["ratioTier", options.ratioTier !== void 0],
|
|
@@ -958,7 +986,9 @@ function validateBumpIds(dataSeries) {
|
|
|
958
986
|
"bump-duplicate-series-id",
|
|
959
987
|
"series",
|
|
960
988
|
`series id${duplicateIds.length === 1 ? "" : "s"} ${duplicateIds.map((id) => `'${id}'`).join(", ")} appear more than once \u2014 the ranking receipt is keyed by series id, so two entities under one id cannot both be ranked, drawn or described`,
|
|
961
|
-
"give every ranked entity its own id"
|
|
989
|
+
"give every ranked entity its own id",
|
|
990
|
+
void 0,
|
|
991
|
+
["data", "series"]
|
|
962
992
|
);
|
|
963
993
|
}
|
|
964
994
|
function warnBumpAxis(input) {
|
|
@@ -970,7 +1000,9 @@ function warnBumpAxis(input) {
|
|
|
970
1000
|
ignoredAxisOptions.length > 0 && warnings.push({
|
|
971
1001
|
code: "bump-axis-option-ignored",
|
|
972
1002
|
severity: "warn",
|
|
973
|
-
message: `valueAxis ${ignoredAxisOptions.map((name) => `'${name}'`).join(", ")} ignored \u2014 the rank domain is derived from the data (1 .. maxRank), not authored
|
|
1003
|
+
message: `valueAxis ${ignoredAxisOptions.map((name) => `'${name}'`).join(", ")} ignored \u2014 the rank domain is derived from the data (1 .. maxRank), not authored`,
|
|
1004
|
+
field: ["options", "valueAxis"],
|
|
1005
|
+
fix: ignoredAxisOptions.map((name) => ({ op: "remove", path: `/options/valueAxis/${name}` }))
|
|
974
1006
|
}), valueAxis.show === !1 && warnings.push({ code: "bump-axis-required", severity: "warn", message: "valueAxis.show:false ignored \u2014 a rank chart without rank ticks cannot be read; the axis is drawn" });
|
|
975
1007
|
let printsValues = lineLabelModes(options, "bump", 0).values !== "none";
|
|
976
1008
|
options.unit && !printsValues && warnings.push({ code: "bump-unit-ignored", severity: "warn", message: `unit '${options.unit}' ignored \u2014 the plotted quantity is rank, which has no unit`, suggest: "the plotted quantity is rank; put the measure in the subtitle" }), printsValues && !options.unit && !options.format && warnings.push({
|
|
@@ -996,7 +1028,7 @@ function prepareBump(input) {
|
|
|
996
1028
|
for (let series of empty) seriesNorm.splice(seriesNorm.indexOf(series), 1);
|
|
997
1029
|
}
|
|
998
1030
|
let dataSeries = seriesNorm.filter((series) => series.role !== "reference");
|
|
999
|
-
if (dataSeries.length < 2) throw new NormalizeError("bump-two-series", "series", `after dropping entities that hold no rank anywhere, ${dataSeries.length} data-role series remain \u2014 a rank chart needs at least two
|
|
1031
|
+
if (dataSeries.length < 2) throw new NormalizeError("bump-two-series", "series", `after dropping entities that hold no rank anywhere, ${dataSeries.length} data-role series remain \u2014 a rank chart needs at least two`, void 0, void 0, ["data", "series"]);
|
|
1000
1032
|
validateBumpIds(dataSeries);
|
|
1001
1033
|
let bridging = dataSeries.filter((series) => series.interpolateGaps);
|
|
1002
1034
|
if (bridging.length > 0) {
|
|
@@ -1055,7 +1087,7 @@ function buildBumpStartLabels(input) {
|
|
|
1055
1087
|
return { startLabels, startReserve: railStartLabels.length > 0 ? maxOf(railStartLabels.map((label) => label.w)) + 14 : 0 };
|
|
1056
1088
|
}
|
|
1057
1089
|
function renderBumpTies(theme, input) {
|
|
1058
|
-
let { bump, marks, nodes, occupied } = input;
|
|
1090
|
+
let { bump, marks, nodes, occupied } = input, words = { locale: { language: input.language } };
|
|
1059
1091
|
if (!bump || bump.ties.length === 0) return;
|
|
1060
1092
|
let radius = 7;
|
|
1061
1093
|
for (let tie of bump.ties) {
|
|
@@ -1070,7 +1102,7 @@ function renderBumpTies(theme, input) {
|
|
|
1070
1102
|
width: strokeToken(theme, "mark"),
|
|
1071
1103
|
owner: { categoryId: tie.categoryId },
|
|
1072
1104
|
part: "tie",
|
|
1073
|
-
display: { value:
|
|
1105
|
+
display: { value: chartString2(words, "bumpRank", { v1: String(tie.rank) }), state: chartString2(words, "bumpTied", { v1: String(tie.seriesIds.length) }) }
|
|
1074
1106
|
}), occupied.claim({ x: point.x - radius, y: point.y - radius, w: radius * 2, h: radius * 2 }, "mark", { categoryId: tie.categoryId });
|
|
1075
1107
|
}
|
|
1076
1108
|
}
|
|
@@ -1600,7 +1632,7 @@ function markBridgedGaps(input, series, dataIdx, geometry, run, runIndex) {
|
|
|
1600
1632
|
input.nodes.push({ t: "path", id: `${id}:erase`, d, stroke: { token: "background" }, width: strokeToken(input.theme, "casing"), owner: { seriesId: series.id }, part: "lineCasing" }), input.nodes.push({ t: "path", id, d, stroke: paint, width, dash: dashToken(input.theme, "reference"), owner: { seriesId: series.id }, part: "gapBridge" });
|
|
1601
1633
|
for (let ci = a.ci + 1; ci < b.ci; ci++) {
|
|
1602
1634
|
let x = input.xOf(ci), t = (x - a.x) / (b.x - a.x), y = segment ? cubicPoint(segment, t).y : geometry.interpolation === "step-after" ? a.y : geometry.interpolation === "step-before" ? b.y : a.y + (b.y - a.y) * t;
|
|
1603
|
-
input.nodes.push(gapMarkerNode(input.theme, { id: `gap:${series.id}:${input.cats[ci].id}`, x, y, ink: paint, owner: { seriesId: series.id, categoryId: input.cats[ci].id } }));
|
|
1635
|
+
input.nodes.push(gapMarkerNode(input.theme, { id: `gap:${series.id}:${input.cats[ci].id}`, x, y, ink: paint, owner: { seriesId: series.id, categoryId: input.cats[ci].id }, language: input.language }));
|
|
1604
1636
|
}
|
|
1605
1637
|
}
|
|
1606
1638
|
}
|
|
@@ -1611,12 +1643,12 @@ function markerDisplay(input, series, row, ci) {
|
|
|
1611
1643
|
...input.bumpPointState(row, ci)
|
|
1612
1644
|
};
|
|
1613
1645
|
}
|
|
1614
|
-
function pushMarkerNode(input, series, dataIdx, row, point, shape, id) {
|
|
1615
|
-
let stroke = series.role === "reference" ? input.refPaintOf(series) : input.
|
|
1616
|
-
shape === "circle" ? input.nodes.push({ t: "circle", id, cx: point.x, cy: point.y, r
|
|
1646
|
+
function pushMarkerNode(input, series, dataIdx, row, point, shape, id, scale = 1) {
|
|
1647
|
+
let stroke = series.role === "reference" ? input.refPaintOf(series) : input.pointPaint(series, dataIdx, point.ci), hollow = input.hollowAt(series, point.ci), fill = hollow ? { token: "background" } : stroke, owner = { seriesId: series.id, categoryId: input.cats[point.ci].id }, display = markerDisplay(input, series, row, point.ci), r = 3 * scale;
|
|
1648
|
+
shape === "circle" ? input.nodes.push({ t: "circle", id, cx: point.x, cy: point.y, r, fill, ...hollow ? { stroke } : {}, owner, part: "marker", display }) : shape === "square" ? input.nodes.push({ t: "rect", id, rect: { x: point.x - r, y: point.y - r, w: 2 * r, h: 2 * r }, fill, ...hollow ? { stroke, strokeWidth: strokeToken(input.theme, "mark") } : {}, owner, part: "marker", display }) : shape !== "none" && input.nodes.push({ t: "path", id, d: markerPath(shape, point, scale), fill, ...hollow ? { stroke, width: strokeToken(input.theme, "mark") } : {}, owner, part: "marker", display });
|
|
1617
1649
|
}
|
|
1618
|
-
function markerPath(shape, point) {
|
|
1619
|
-
return shape === "triangle" ? `M${fmtPathNumber(point.x)} ${fmtPathNumber(point.y - 3.5)}L${fmtPathNumber(point.x + 3.5)} ${fmtPathNumber(point.y + 3)}L${fmtPathNumber(point.x - 3.5)} ${fmtPathNumber(point.y + 3)}Z` : `M${fmtPathNumber(point.x)} ${fmtPathNumber(point.y - 4)}L${fmtPathNumber(point.x + 4)} ${fmtPathNumber(point.y)}L${fmtPathNumber(point.x)} ${fmtPathNumber(point.y + 4)}L${fmtPathNumber(point.x - 4)} ${fmtPathNumber(point.y)}Z`;
|
|
1650
|
+
function markerPath(shape, point, scale = 1) {
|
|
1651
|
+
return shape === "triangle" ? `M${fmtPathNumber(point.x)} ${fmtPathNumber(point.y - 3.5 * scale)}L${fmtPathNumber(point.x + 3.5 * scale)} ${fmtPathNumber(point.y + 3 * scale)}L${fmtPathNumber(point.x - 3.5 * scale)} ${fmtPathNumber(point.y + 3 * scale)}Z` : `M${fmtPathNumber(point.x)} ${fmtPathNumber(point.y - 4 * scale)}L${fmtPathNumber(point.x + 4 * scale)} ${fmtPathNumber(point.y)}L${fmtPathNumber(point.x)} ${fmtPathNumber(point.y + 4 * scale)}L${fmtPathNumber(point.x - 4 * scale)} ${fmtPathNumber(point.y)}Z`;
|
|
1620
1652
|
}
|
|
1621
1653
|
function renderMarkers(input, series, dataIdx, entry, geometry, claims) {
|
|
1622
1654
|
geometry.allPoints.forEach((point) => {
|
|
@@ -1625,8 +1657,13 @@ function renderMarkers(input, series, dataIdx, entry, geometry, claims) {
|
|
|
1625
1657
|
entry.points.push({ categoryId: input.cats[point.ci].id, x: point.x, y: point.y });
|
|
1626
1658
|
return;
|
|
1627
1659
|
}
|
|
1628
|
-
let nodeId;
|
|
1629
|
-
shape !== "none"
|
|
1660
|
+
let extent = input.markerExtent(series, dataIdx, point.ci), nodeId;
|
|
1661
|
+
if (shape !== "none") {
|
|
1662
|
+
nodeId = `marker:${series.id}:${input.cats[point.ci].id}`, pushMarkerNode(input, series, dataIdx, geometry.row, point, shape, nodeId, extent?.scale);
|
|
1663
|
+
let reach = extent ? Math.max(4, extent.reach + 1) : 4;
|
|
1664
|
+
input.occupied.claim({ x: point.x - reach, y: point.y - reach, w: 2 * reach, h: 2 * reach }, "mark", claims.lineOwner(series.id, input.cats[point.ci].id));
|
|
1665
|
+
}
|
|
1666
|
+
entry.points.push({ categoryId: input.cats[point.ci].id, x: point.x, y: point.y, ...nodeId ? { nodeId } : {}, ...extent ? { highlighted: !0, markerRadius: extent.reach } : {} });
|
|
1630
1667
|
});
|
|
1631
1668
|
}
|
|
1632
1669
|
function renderSeries(input, series, dataIdx, marks, paintedAreaCats, claims, outlines) {
|
|
@@ -1727,7 +1764,7 @@ function renderLineMarks(input) {
|
|
|
1727
1764
|
let highlight = new Set(input.drawnSeries.filter((series) => series.colorRole === "highlight" || input.highlights.has(series.id)).map((series) => series.id)), ink = input.nodes.splice(seriesStart), fill = (node) => node.part === "area" || node.part === "forecastHatch", raised = (node) => highlight.has(node.owner.seriesId) && (node.id.startsWith("mark:line:") || node.id.startsWith("casing:mark:line:") || node.part === "marker");
|
|
1728
1765
|
pushAll(input.nodes, ink.filter(fill)), pushAll(input.nodes, ink.filter((node) => !fill(node) && !raised(node))), pushAll(input.nodes, ink.filter(raised));
|
|
1729
1766
|
}
|
|
1730
|
-
renderAreaSeparators(input, geometries, paintedAreaCats), renderBumpTies(input.theme, { bump: input.bump, marks, nodes: input.nodes, occupied: input.occupied });
|
|
1767
|
+
renderAreaSeparators(input, geometries, paintedAreaCats), renderBumpTies(input.theme, { bump: input.bump, marks, nodes: input.nodes, occupied: input.occupied, language: input.language });
|
|
1731
1768
|
for (let series of input.bumpOmitted ?? []) {
|
|
1732
1769
|
let row = input.pv[input.rowOf.get(series)];
|
|
1733
1770
|
marks.series.push({ seriesId: series.id, points: row.flatMap((rank, ci) => rank === null ? [] : [{ categoryId: input.cats[ci].id, x: input.xOf(ci), y: input.y(rank) }]) });
|
|
@@ -1817,11 +1854,11 @@ function renderPhaseFills(theme, input) {
|
|
|
1817
1854
|
fill: "tint" in bandPaint ? { ...bandPaint, tint: PHASE_BAND_TINT } : bandPaint,
|
|
1818
1855
|
owner: { seriesId: phases.series.id, annotationId: phase.id },
|
|
1819
1856
|
part: "phaseFill",
|
|
1820
|
-
display: { value:
|
|
1857
|
+
display: { value: chartString2({ locale: { language: input.language } }, "phaseRange", { v1: phase.label, v2: input.fmt(start.value), v3: input.fmt(end.value) }) }
|
|
1821
1858
|
});
|
|
1822
1859
|
}
|
|
1823
1860
|
let span = ranged?.spans[index], top = span ? edgePath(span, linePath) : phases.interpolation === "monotone" ? monotonePathBetween(curvePoints, start, end) : linePath([{ x: start.x, y: start.y }, ...curvePoints.filter((point) => point.x > start.x && point.x < end.x), { x: end.x, y: end.y }]), nodeId = `mark:phase:${phase.id}`;
|
|
1824
|
-
banded || fills.push({ t: "path", id: nodeId, d: `${top}L${fmtPathNumber(end.x)} ${fmtPathNumber(input.baseY)}L${fmtPathNumber(start.x)} ${fmtPathNumber(input.baseY)}Z`, fill: phasePaint(phase, index, input.paletteRamp, input.palette), stroke: { token: "axis" }, width: strokeToken(theme, "hair"), dash: dashToken(theme, "reference"), owner: { seriesId: phases.series.id, annotationId: phase.id }, part: "phaseFill", display: { value:
|
|
1861
|
+
banded || fills.push({ t: "path", id: nodeId, d: `${top}L${fmtPathNumber(end.x)} ${fmtPathNumber(input.baseY)}L${fmtPathNumber(start.x)} ${fmtPathNumber(input.baseY)}Z`, fill: phasePaint(phase, index, input.paletteRamp, input.palette), stroke: { token: "axis" }, width: strokeToken(theme, "hair"), dash: dashToken(theme, "reference"), owner: { seriesId: phases.series.id, annotationId: phase.id }, part: "phaseFill", display: { value: chartString2({ locale: { language: input.language } }, "phaseRange", { v1: phase.label, v2: input.fmt(start.value), v3: input.fmt(end.value) }) } });
|
|
1825
1862
|
let owner = { annotationId: phase.id }, tops = span ? edgePolyline({ ...span, mode: phases.interpolation }) : [start, ...curvePoints.filter((point) => point.x > start.x && point.x < end.x), end];
|
|
1826
1863
|
if (!banded)
|
|
1827
1864
|
if (!span && phases.interpolation === "monotone" || tops.some((point) => point.y > input.baseY))
|
|
@@ -2031,23 +2068,28 @@ function validateDeclaration(input) {
|
|
|
2031
2068
|
[`fan.bands[${k}].low`, band.low],
|
|
2032
2069
|
[`fan.bands[${k}].high`, band.high]
|
|
2033
2070
|
])
|
|
2034
|
-
]
|
|
2035
|
-
|
|
2036
|
-
|
|
2071
|
+
], pointer = (entry) => {
|
|
2072
|
+
let at = named.indexOf(entry);
|
|
2073
|
+
return at === 0 ? ["options", "fan", "of"] : ["options", "fan", "bands", at - 1 >> 1, at % 2 === 1 ? "low" : "high"];
|
|
2074
|
+
};
|
|
2075
|
+
for (let entry of named) {
|
|
2076
|
+
let [path, id] = entry;
|
|
2077
|
+
if (!seriesById.has(id)) throw new NormalizeError("fan-series-unknown", path, `fan names unknown series '${id}' \u2014 a band is DECLARED DATA, so every bound must exist in data.series`, `add a series with id '${id}', or point this bound at one of: ${seriesNorm.map((s) => `'${s.id}'`).join(", ")}`, void 0, pointer(entry));
|
|
2078
|
+
}
|
|
2037
2079
|
spec.bands.forEach((band, k) => {
|
|
2038
|
-
if (typeof band.label != "string" || band.label.trim() === "") throw new NormalizeError("fan-band-unlabelled", `fan.bands[${k}].label`, `fan.bands[${k}] has no label \u2014 '80% predictive interval' and 'min/max of three scenarios' draw the same band and mean different things`, "add a label that says what the interval means, such as '80% predictive interval'");
|
|
2080
|
+
if (typeof band.label != "string" || band.label.trim() === "") throw new NormalizeError("fan-band-unlabelled", `fan.bands[${k}].label`, `fan.bands[${k}] has no label \u2014 '80% predictive interval' and 'min/max of three scenarios' draw the same band and mean different things`, "add a label that says what the interval means, such as '80% predictive interval'", void 0, ["options", "fan", "bands", k, "label"]);
|
|
2039
2081
|
});
|
|
2040
2082
|
let seen = /* @__PURE__ */ new Map([[spec.of, "fan.of"]]);
|
|
2041
|
-
for (let
|
|
2042
|
-
let first = seen.get(id);
|
|
2043
|
-
if (first !== void 0) throw new NormalizeError("fan-series-reused", path, `series '${id}' is used twice by the fan (${first} and ${path}) \u2014 each bound and the centre must be its own series, or the bands drawn are not the bands declared`, "give each band its own low/high series; a shared bound means two intervals claim the same numbers");
|
|
2083
|
+
for (let entry of named.slice(1)) {
|
|
2084
|
+
let [path, id] = entry, first = seen.get(id);
|
|
2085
|
+
if (first !== void 0) throw new NormalizeError("fan-series-reused", path, `series '${id}' is used twice by the fan (${first} and ${path}) \u2014 each bound and the centre must be its own series, or the bands drawn are not the bands declared`, "give each band its own low/high series; a shared bound means two intervals claim the same numbers", void 0, pointer(entry));
|
|
2044
2086
|
seen.set(id, path);
|
|
2045
2087
|
}
|
|
2046
|
-
if (spec.bands.length > 4) throw new NormalizeError("fan-too-many-bands", "fan.bands", `${spec.bands.length} bands exceed the four the tint ladder can keep apart \u2014 past four the washes are indistinguishable and the exhibit claims a precision the reader cannot see`, "four nested intervals is the legibility limit; drop or merge bands");
|
|
2088
|
+
if (spec.bands.length > 4) throw new NormalizeError("fan-too-many-bands", "fan.bands", `${spec.bands.length} bands exceed the four the tint ladder can keep apart \u2014 past four the washes are indistinguishable and the exhibit claims a precision the reader cannot see`, "four nested intervals is the legibility limit; drop or merge bands", void 0, ["options", "fan", "bands"]);
|
|
2047
2089
|
if (variant === "stacked-area" || variant === "stacked100-area") throw new NormalizeError("fan-composition-conflict", "variant", `variant '${variant}' stacks each series onto the ones below it; a band around one member of a composition bounds nothing the reader can see, because the member's own position depends on its neighbours' values`, "use variant 'line' for a fan, and a separate exhibit for the composition");
|
|
2048
2090
|
if (isArea) throw new NormalizeError("fan-area-conflict", "variant", `variant '${variant}' fills from the trajectory down to the baseline with an opaque fill that paints OVER the lower half of every band \u2014 the reader would see only the upper edge of each interval, i.e. a one-sided uncertainty, while the legend key beside it names the whole interval`, "use variant 'line' for a fan \u2014 the fan IS the fill, and a second fill under it hides half of what it declares");
|
|
2049
|
-
if (rebase100) throw new NormalizeError("fan-rebase-conflict", "rebase100", "rebase100 divides EACH series by its OWN value at the base category, so the bounds and the centre are rescaled by different divisors and the bands stop nesting \u2014 the fan would still be drawn, and would be wrong", "rebase the numbers before authoring them, so centre and bounds share one base, or drop rebase100");
|
|
2050
|
-
if (gapFill) throw new NormalizeError("fan-gapfill-conflict", "gapFill", "gapFill and fan are two wash systems in one plot \u2014 a reader cannot tell an uncertainty band from a shaded difference, and the picture would answer neither question", "keep the fan and drop gapFill, or split them into two exhibits");
|
|
2091
|
+
if (rebase100) throw new NormalizeError("fan-rebase-conflict", "rebase100", "rebase100 divides EACH series by its OWN value at the base category, so the bounds and the centre are rescaled by different divisors and the bands stop nesting \u2014 the fan would still be drawn, and would be wrong", "rebase the numbers before authoring them, so centre and bounds share one base, or drop rebase100", void 0, ["options", "rebase100"]);
|
|
2092
|
+
if (gapFill) throw new NormalizeError("fan-gapfill-conflict", "gapFill", "gapFill and fan are two wash systems in one plot \u2014 a reader cannot tell an uncertainty band from a shaded difference, and the picture would answer neither question", "keep the fan and drop gapFill, or split them into two exhibits", void 0, ["options", "gapFill"]);
|
|
2051
2093
|
}
|
|
2052
2094
|
function buildBands(input) {
|
|
2053
2095
|
let { spec, seriesById, cats, pv, rowOf } = input, catLabel = (ci) => cats[ci].label ?? cats[ci].id, bands = spec.bands.map((band) => ({
|
|
@@ -2065,7 +2107,9 @@ function buildBands(input) {
|
|
|
2065
2107
|
"fan-band-inverted",
|
|
2066
2108
|
`fan.bands[${k}]`,
|
|
2067
2109
|
`band '${band.label}' is inverted at category '${catLabel(ci)}': low '${band.low.id}' = ${lo} is above high '${band.high.id}' = ${hi}`,
|
|
2068
|
-
"swap the low and high series ids for this band \u2014 the engine will not swap them for you, because a silently corrected bound hides which series is actually which"
|
|
2110
|
+
"swap the low and high series ids for this band \u2014 the engine will not swap them for you, because a silently corrected bound hides which series is actually which",
|
|
2111
|
+
void 0,
|
|
2112
|
+
["options", "fan", "bands", k]
|
|
2069
2113
|
);
|
|
2070
2114
|
band.widths[ci] = hi - lo;
|
|
2071
2115
|
}
|
|
@@ -2083,7 +2127,9 @@ function validateNesting(input) {
|
|
|
2083
2127
|
"fan-bands-crossed",
|
|
2084
2128
|
`fan.bands[${k + 1}]`,
|
|
2085
2129
|
`bands are not nested at category '${cats[ci].label ?? cats[ci].id}': band ${k} '${outer.label}' spans ${ol}..${oh} and does not contain band ${k + 1} '${inner.label}' spanning ${il}..${ih} \u2014 bands must be authored OUTERMOST FIRST`,
|
|
2086
|
-
"reorder the bands outermost-first in the document, or fix the bound values; the engine will not reorder them, because a reordered fan hides an authoring error the reader can never see"
|
|
2130
|
+
"reorder the bands outermost-first in the document, or fix the bound values; the engine will not reorder them, because a reordered fan hides an authoring error the reader can never see",
|
|
2131
|
+
void 0,
|
|
2132
|
+
["options", "fan", "bands", k + 1]
|
|
2087
2133
|
);
|
|
2088
2134
|
}
|
|
2089
2135
|
}
|
|
@@ -2097,7 +2143,9 @@ function validateCenter(input) {
|
|
|
2097
2143
|
"fan-center-outside-band",
|
|
2098
2144
|
"fan.of",
|
|
2099
2145
|
`the central series '${of.id}' = ${center} at category '${cats[ci].label ?? cats[ci].id}' lies outside its innermost band '${band.label}' (${lo}..${hi}) \u2014 the centre and the bounds do not describe the same quantity`,
|
|
2100
|
-
"check that fan.of names the central trajectory and that the bound series are aligned to the same categories; a fan whose centre escapes its own interval is drawing two different series as one"
|
|
2146
|
+
"check that fan.of names the central trajectory and that the bound series are aligned to the same categories; a fan whose centre escapes its own interval is drawing two different series as one",
|
|
2147
|
+
void 0,
|
|
2148
|
+
["options", "fan", "of"]
|
|
2101
2149
|
);
|
|
2102
2150
|
}
|
|
2103
2151
|
}
|
|
@@ -2106,7 +2154,7 @@ function resolveFan(input) {
|
|
|
2106
2154
|
if (!spec) return null;
|
|
2107
2155
|
validateDeclaration({ spec, seriesById, seriesNorm, variant, isArea, rebase100, gapFill });
|
|
2108
2156
|
let of = seriesById.get(spec.of), ofRow = pv[rowOf.get(of)];
|
|
2109
|
-
if (ofRow.every((value) => value === null)) throw new NormalizeError("fan-center-empty", "fan.of", `the central series '${of.id}' is null in every category \u2014 a fan with no trajectory is bands around nothing`, "give the central series values, or point fan.of at the series that carries the projection");
|
|
2157
|
+
if (ofRow.every((value) => value === null)) throw new NormalizeError("fan-center-empty", "fan.of", `the central series '${of.id}' is null in every category \u2014 a fan with no trajectory is bands around nothing`, "give the central series values, or point fan.of at the series that carries the projection", void 0, ["options", "fan", "of"]);
|
|
2110
2158
|
let bands = buildBands({ spec, seriesById, cats, pv, rowOf });
|
|
2111
2159
|
validateNesting({ bands, cats, pv, rowOf }), validateCenter({ of, ofRow, band: bands[bands.length - 1], cats, pv, rowOf });
|
|
2112
2160
|
let boundIds = new Set(bands.flatMap((band) => [band.low.id, band.high.id])), origin = null;
|
|
@@ -2162,7 +2210,7 @@ function collectRuns(input) {
|
|
|
2162
2210
|
}), current.length > 0 && runs.push(current), runs;
|
|
2163
2211
|
}
|
|
2164
2212
|
function addFanRun(theme, input) {
|
|
2165
|
-
let { run, runIndex, band, bandIndex, lowRow, highRow, cats, interpolation, fanLadder, showBounds, pathFor: pathFor2, reversePathTail: reversePathTail2, fmt, occupied, fanNodes, hairNodes, gapCats } = input;
|
|
2213
|
+
let { run, runIndex, band, bandIndex, lowRow, highRow, cats, interpolation, fanLadder, showBounds, pathFor: pathFor2, reversePathTail: reversePathTail2, fmt, occupied, fanNodes, hairNodes, gapCats } = input, words = { locale: { language: input.language } };
|
|
2166
2214
|
if (run.length < 2) {
|
|
2167
2215
|
for (let point of run) gapCats.add(cats[point.ci].id);
|
|
2168
2216
|
return null;
|
|
@@ -2177,7 +2225,7 @@ function addFanRun(theme, input) {
|
|
|
2177
2225
|
fill: fanLadder[bandIndex].paint,
|
|
2178
2226
|
owner: {},
|
|
2179
2227
|
part: "fanBand",
|
|
2180
|
-
display: { value: `${band.label}: ${numberRange(loText, hiText)
|
|
2228
|
+
display: { value: `${band.label}: ${chartString2(words, "fanAt", { v1: numberRange(loText, hiText), v2: cats[widestAt].label ?? cats[widestAt].id })}${(band.widths[widestAt] ?? 0) > 0 ? chartString2(words, "fanWidest") : ""}` }
|
|
2181
2229
|
});
|
|
2182
2230
|
for (let k = 0; k + 1 < run.length; k++) {
|
|
2183
2231
|
let a = run[k], b = run[k + 1], top = Math.min(a.yHigh, b.yHigh), bottom = Math.max(a.yLow, b.yLow);
|
|
@@ -2209,7 +2257,7 @@ function renderFanWashes(theme, input) {
|
|
|
2209
2257
|
input.range && cats.forEach((cat, ci) => {
|
|
2210
2258
|
(lowRow[ci] === null || highRow[ci] === null) && gapCats.add(cat.id);
|
|
2211
2259
|
});
|
|
2212
|
-
let edges = input.range && input.xOfValue ? rangeRuns(input.range, [input.range.plotted[rowOf.get(band.high)], input.range.plotted[rowOf.get(band.low)]], interpolation).map((run) => run.map((edge) => mapEdge(edge, input.xOfValue, y))) : void 0, nodeIds = (edges ? edges.map((run) => run[0].points.map((p, i) => ({ ci: p.ci, x: p.x, yHigh: p.y, yLow: run[1].points[i].y }))) : collectRuns({ lowRow, highRow, cats, compositionInvalidAt, xOf, y, gapCats })).map((run, runIndex) => addFanRun(theme, { ...edges ? { edges: edges[runIndex] } : {}, run, runIndex, band, bandIndex, lowRow, highRow, cats, interpolation, fanLadder, showBounds: fan.showBounds, pathFor: pathFor2, reversePathTail: reversePathTail2, fmt, numberSpec, occupied, fanNodes, hairNodes, gapCats })).filter((id) => id !== null);
|
|
2260
|
+
let edges = input.range && input.xOfValue ? rangeRuns(input.range, [input.range.plotted[rowOf.get(band.high)], input.range.plotted[rowOf.get(band.low)]], interpolation).map((run) => run.map((edge) => mapEdge(edge, input.xOfValue, y))) : void 0, nodeIds = (edges ? edges.map((run) => run[0].points.map((p, i) => ({ ci: p.ci, x: p.x, yHigh: p.y, yLow: run[1].points[i].y }))) : collectRuns({ lowRow, highRow, cats, compositionInvalidAt, xOf, y, gapCats })).map((run, runIndex) => addFanRun(theme, { language: input.language, ...edges ? { edges: edges[runIndex] } : {}, run, runIndex, band, bandIndex, lowRow, highRow, cats, interpolation, fanLadder, showBounds: fan.showBounds, pathFor: pathFor2, reversePathTail: reversePathTail2, fmt, numberSpec, occupied, fanNodes, hairNodes, gapCats })).filter((id) => id !== null);
|
|
2213
2261
|
nodeIds.length > 0 && fanMarks.push({ bandIndex, nodeIds, low: band.low.id, high: band.high.id, label: band.label });
|
|
2214
2262
|
}), gapCats.size > 0 && warnings.push({
|
|
2215
2263
|
code: "fan-band-gap",
|
|
@@ -2274,7 +2322,7 @@ function heroPlan(env, domain, warnings) {
|
|
|
2274
2322
|
let heroId = heroMode ? fan && fan.origin !== null ? fan.of.id : drawnSeries[0].id : null;
|
|
2275
2323
|
return !env.isBump && variant === "line" && !heroMode && !env.anyHighlight && drawnSeries.length > 3 && warnings.push({
|
|
2276
2324
|
code: "line-peer-overload",
|
|
2277
|
-
severity: "
|
|
2325
|
+
severity: "advice",
|
|
2278
2326
|
message: `${drawnSeries.length} peer-styled lines are hard to follow \u2014 highlight one series, set emphasis 'first', or facet into small multiples (grid repeat)`
|
|
2279
2327
|
}), { heroMode, heroId };
|
|
2280
2328
|
}
|
|
@@ -2294,7 +2342,9 @@ function bumpIdentity(env, domain, warnings) {
|
|
|
2294
2342
|
"bump-identity-exhausted",
|
|
2295
2343
|
"series",
|
|
2296
2344
|
`${autoIdentity} entities exceed the ${capacity} distinguishable identities theme '${env.theme.name}' can give a rank line (${bumpRampLen} ramp colours x ${BUMP_SHAPES.length} marker shapes x ${BUMP_DASH_ROLES.length} line styles) \u2014 past that two entities would be drawn identically and a crossing between them could not be read at all`,
|
|
2297
|
-
"rank fewer entities, give the extra series an explicit `fill`, or facet into small multiples with grid repeat"
|
|
2345
|
+
"rank fewer entities, give the extra series an explicit `fill`, or facet into small multiples with grid repeat",
|
|
2346
|
+
void 0,
|
|
2347
|
+
["data", "series"]
|
|
2298
2348
|
);
|
|
2299
2349
|
if (autoIdentity > bumpRampLen) {
|
|
2300
2350
|
let channels = autoIdentity > bumpRampLen * BUMP_SHAPES.length ? "the TRIPLE (colour, marker shape, line style)" : "the PAIR (colour, marker shape)";
|
|
@@ -2388,20 +2438,20 @@ function linePaints(env, domain, warnings) {
|
|
|
2388
2438
|
}, planStyleOf = (s) => !areaFilled(s) && !isBump ? planLineStyle(s.scenario, theme) : void 0, lineHollowOf = (s) => planStyleOf(s) !== void 0, scenarioStyleOf = (s) => s.scenario === void 0 ? void 0 : {
|
|
2389
2439
|
...planStyleOf(s),
|
|
2390
2440
|
...options.scenarioStyle?.[s.scenario]
|
|
2391
|
-
}, areaTint = theme.marks?.areaTint, themedArea = (s) => areaTint !== void 0 && isArea && !isStacked && drawnSeries.length === 1 && !palette && !s.fill && !s.colorRole && !scenarioStyleOf(s)?.ink && s.scenario !== "PY" && s.scenario !== "PL", emphasis = options.emphasis ?? (isStacked && !grey && !fade && options.palette === void 0 && dataSeries.every((s) => !s.fill && !scenarioStyleOf(s)?.ink) ? "ordered" : void 0), slots = rampSlots(theme, dataSeries.map((s) => {
|
|
2441
|
+
}, areaTint = theme.marks?.areaTint, themedArea = (s) => areaTint !== void 0 && isArea && !isStacked && drawnSeries.length === 1 && !palette && !s.fill && !s.colorRole && !scenarioStyleOf(s)?.ink && s.scenario !== "PY" && s.scenario !== "PL", emphasis = options.emphasis ?? (isStacked && !grey && !fade && options.palette === void 0 && dataSeries.every((s) => !s.fill && !scenarioStyleOf(s)?.ink) ? "ordered" : void 0), roleMixed = areaLead !== void 0 ? colorRolePaints(dataSeries, (id) => id === areaLead.id) : void 0, oneLadder = (paints) => roleMixed === void 0 ? paints : new Map([...paints].map(([id, paint]) => [id, "theme" in paint && paint.theme?.kind === "role-step" ? roleMixed.get(id) : paint])), roleStrokes = oneLadder(colorRolePaints(dataSeries, !1)), roleFills = oneLadder(colorRolePaints(dataSeries, !0)), slots = rampSlots(theme, dataSeries.map((s) => {
|
|
2392
2442
|
let ink = scenarioStyleOf(s)?.ink;
|
|
2393
|
-
return s.fill ? { css: s.fill } : isArea && grey && highlights.has(s.id) ? { token: "focus" } : s.colorRole ?
|
|
2443
|
+
return s.fill ? { css: s.fill } : isArea && grey && highlights.has(s.id) ? { token: "focus" } : s.colorRole ? (isArea ? roleFills : roleStrokes).get(s.id) : ink ? { token: ink } : void 0;
|
|
2394
2444
|
}), palette, !grey && !heroMode && !isBump && emphasis !== "ordered" && dataSeries.length > 1 ? { labels: dataSeries.map((s) => s.label), warnings } : void 0), quietRest = emphasis === "ordered" && (options.othersShade ?? DEFAULT_OTHERS_SHADE) === "quietest" && dataSeries.some((s) => s.colorRole === "others" && !s.fill);
|
|
2395
2445
|
quietRest && pushAll(warnings, othersShadeUnavailableWarnings(theme, { token: "markInk" }));
|
|
2396
|
-
let ordered = (s) => emphasis === "ordered" && !s.colorRole && !(grey && highlights.has(s.id)), series = (s, dataIdx) => {
|
|
2446
|
+
let ordered = (s) => emphasis === "ordered" && !s.colorRole && !(grey && highlights.has(s.id)), focusPaint = (s) => s.fill ? { css: s.fill } : { token: "focus" }, series = (s, dataIdx) => {
|
|
2397
2447
|
let paint, scenarioInk = scenarioStyleOf(s)?.ink;
|
|
2398
|
-
return themedArea(s) ? paint = { token: "markInk" } : s.fill ? paint = { css: s.fill } : ordered(s) ? paint = orderedRampPaint(dataIdx, dataSeries.length, quietRest) : bumpStory && !s.colorRole ? paint = bumpStory.paintOf(s.id) : grey ? paint = highlights.has(s.id) ?
|
|
2448
|
+
return themedArea(s) ? paint = { token: "markInk" } : s.fill ? paint = { css: s.fill } : ordered(s) ? paint = orderedRampPaint(dataIdx, dataSeries.length, quietRest) : bumpStory && !s.colorRole ? paint = bumpStory.paintOf(s.id) : grey ? paint = highlights.has(s.id) ? focusPaint(s) : s.colorRole ? roleStrokes.get(s.id) : contextPaint(s) : heroMode ? paint = s.id === heroId ? { token: "markInk" } : contextPaint(s) : s.colorRole ? paint = roleStrokes.get(s.id) : scenarioInk ? paint = { token: scenarioInk } : dataSeries.length === 1 ? paint = seriesPaint(dataIdx, palette, s.scenario) : paint = seriesPaint(isBump ? bumpSlot(dataIdx).color : slots[dataIdx] ?? dataIdx, palette), shadeSafeStroke(faded(paint, s), s, paint);
|
|
2399
2449
|
}, areaFillOwn = (s, dataIdx, forecast = !1) => {
|
|
2400
2450
|
if (themedArea(s)) return forecast ? { token: "focus" } : { token: "focus", tint: areaTint };
|
|
2401
2451
|
if (s.fill) return { css: s.fill };
|
|
2402
2452
|
if (ordered(s)) return orderedRampPaint(dataIdx, dataSeries.length, quietRest);
|
|
2403
2453
|
if (grey && highlights.has(s.id)) return { token: "focus" };
|
|
2404
|
-
if (s.colorRole) return
|
|
2454
|
+
if (s.colorRole) return roleFills.get(s.id);
|
|
2405
2455
|
let scenarioInk = scenarioStyleOf(s)?.ink;
|
|
2406
2456
|
return scenarioInk ? { token: scenarioInk } : dataSeries.length === 1 ? seriesPaint(dataIdx, palette, s.scenario) : seriesPaint(slots[dataIdx] ?? dataIdx, palette);
|
|
2407
2457
|
}, areaFill = (s, dataIdx, forecast = !1) => faded(areaFillOwn(s, dataIdx, forecast), s), keyPaint = (s, dataIdx) => areaFilled(s) && !themedArea(s) ? areaFill(s, dataIdx) : !isArea && s.scenario === "FC" && domain.variant !== "line" ? forecastStroke(series(s, dataIdx), theme, seriesCrossesShadedBand(s)) : series(s, dataIdx), { fanLadder, fanCentrePaint, fanPaints } = buildFanPaints({
|
|
@@ -2412,12 +2462,21 @@ function linePaints(env, domain, warnings) {
|
|
|
2412
2462
|
theme,
|
|
2413
2463
|
anyHighlight,
|
|
2414
2464
|
highlights
|
|
2415
|
-
}), dashOf = (s, dataIdx) => s.lineStyle === "dashed" ? dashToken(theme, "reference") : s.lineStyle === "dotted" ? dashToken(theme, "dotted") : isBump ? bumpSlot(dataIdx).dash : void 0, pointScenario = (s, ci) => s.vals[ci].scenario ?? s.scenario
|
|
2465
|
+
}), dashOf = (s, dataIdx) => s.lineStyle === "dashed" ? dashToken(theme, "reference") : s.lineStyle === "dotted" ? dashToken(theme, "dotted") : isBump ? bumpSlot(dataIdx).dash : void 0, pointScenario = (s, ci) => s.vals[ci].scenario ?? s.scenario, pointSelected = (s, ci) => s.role !== "reference" && env.pointHighlights.has(cats[ci].id), markerOf = (s, dataIdx, ci) => s.marker ?? (pointSelected(s, ci) ? "circle" : bumpStory ? bumpStory.isContext(s) ? "none" : "circle" : isBump ? bumpSlot(dataIdx).shape : isArea || (markersOff || cats.length > MARKER_MAX_CATS) && cats[ci].partial !== !0 ? "none" : contextRank.has(s.id) ? plainGrey ? LINE_GREY_SHAPES[contextRank.get(s.id) % LINE_GREY_SHAPES.length] : BUMP_SHAPES[contextRank.get(s.id) % BUMP_SHAPES.length] : "circle"), hollowAt = (s, ci) => {
|
|
2466
|
+
let sc = pointScenario(s, ci);
|
|
2467
|
+
return sc === "PY" || sc === "PL" || sc === "FC" || cats[ci].partial === !0;
|
|
2468
|
+
};
|
|
2416
2469
|
return {
|
|
2417
2470
|
css,
|
|
2418
2471
|
bandRules: () => [...bandRules.values()],
|
|
2419
2472
|
seriesCrossesShadedBand,
|
|
2420
2473
|
series,
|
|
2474
|
+
point: (s, dataIdx, ci) => pointSelected(s, ci) ? shadeSafeStroke(focusPaint(s), s, focusPaint(s)) : series(s, dataIdx),
|
|
2475
|
+
markerExtent: (s, dataIdx, ci) => {
|
|
2476
|
+
if (!pointSelected(s, ci)) return;
|
|
2477
|
+
let dataStroke = strokeToken(theme, "data"), scale = Math.max(1, strokeToken(theme, "focus") / (dataStroke > 0 ? dataStroke : 1)), shape = markerOf(s, dataIdx, ci), radius = shape === "none" ? 0 : shape === "triangle" ? 3.5 : shape === "diamond" ? 4 : 3;
|
|
2478
|
+
return { scale, reach: radius === 0 ? 0 : radius * scale + (hollowAt(s, ci) ? strokeToken(theme, "mark") / 2 : 0) };
|
|
2479
|
+
},
|
|
2421
2480
|
areaFill,
|
|
2422
2481
|
areaFilled,
|
|
2423
2482
|
keyPaint,
|
|
@@ -2429,15 +2488,12 @@ function linePaints(env, domain, warnings) {
|
|
|
2429
2488
|
// Bump ignores the density cutoff: the marker is what makes a crossing
|
|
2430
2489
|
// readable. A partial period keeps a (hollow) marker where density drops
|
|
2431
2490
|
// the rest. A theme without default markers drops them as the cutoff does.
|
|
2432
|
-
markerOf
|
|
2433
|
-
hollowAt
|
|
2434
|
-
let sc = pointScenario(s, ci);
|
|
2435
|
-
return sc === "PY" || sc === "PL" || sc === "FC" || cats[ci].partial === !0;
|
|
2436
|
-
},
|
|
2491
|
+
markerOf,
|
|
2492
|
+
hollowAt,
|
|
2437
2493
|
pointScenario,
|
|
2438
2494
|
// A bump point carries BOTH quantities: `display.value` stays the metric
|
|
2439
2495
|
// and `display.state` names the rank the y position encodes.
|
|
2440
|
-
bumpPointState: (row, ci) => isBump && row[ci] !== null ? { state:
|
|
2496
|
+
bumpPointState: (row, ci) => isBump && row[ci] !== null ? { state: chartString2(options, "bumpRank", { v1: String(row[ci]) }) } : {},
|
|
2441
2497
|
heroMode,
|
|
2442
2498
|
heroId,
|
|
2443
2499
|
fanLadder,
|
|
@@ -2842,6 +2898,7 @@ function layoutLineMarks(env, domain, area, paints, text, reserves, warnings) {
|
|
|
2842
2898
|
placeForecastHeaders(area.forecast, xOf, area.forecastPlot, area.forecastHeaderInPlot ? area.forecastPlot.y + 2 : area.forecastPlot.y - area.phaseHeaderHeight - area.forecastHeaderHeight, text.secondaryFont, measure, headerRequests, claims, options.strings.forecastHeader, forecastDividerAt(domain), actualHeader(domain));
|
|
2843
2899
|
let baseY = dLo <= 0 && dHi >= 0 ? y(0) : plot.y + plot.h, rendered = renderLineMarks({
|
|
2844
2900
|
theme,
|
|
2901
|
+
language: options.locale?.language,
|
|
2845
2902
|
highlights: env.highlights,
|
|
2846
2903
|
drawnSeries,
|
|
2847
2904
|
refSeries: domain.refSeries,
|
|
@@ -2865,6 +2922,8 @@ function layoutLineMarks(env, domain, area, paints, text, reserves, warnings) {
|
|
|
2865
2922
|
// weight, 9.6 px apart along x at the default strength; lower strengths spread and fade them.
|
|
2866
2923
|
hatch: bandHatch(theme, options.hatchStrength),
|
|
2867
2924
|
seriesPaint: paints.series,
|
|
2925
|
+
pointPaint: paints.point,
|
|
2926
|
+
markerExtent: paints.markerExtent,
|
|
2868
2927
|
areaFillPaint: paints.areaFill,
|
|
2869
2928
|
areaFilled: paints.areaFilled,
|
|
2870
2929
|
// A plain line's forecast keeps its colour; the dashes, open markers and divider mark it.
|
|
@@ -2921,6 +2980,7 @@ function layoutLineMarks(env, domain, area, paints, text, reserves, warnings) {
|
|
|
2921
2980
|
marks,
|
|
2922
2981
|
analyticalSceneStart
|
|
2923
2982
|
}), renderFanWashes(theme, {
|
|
2983
|
+
language: options.locale?.language,
|
|
2924
2984
|
range: domain.x?.range,
|
|
2925
2985
|
xOfValue: area.xOfValue,
|
|
2926
2986
|
fan: domain.fan,
|
|
@@ -2944,6 +3004,7 @@ function layoutLineMarks(env, domain, area, paints, text, reserves, warnings) {
|
|
|
2944
3004
|
analyticalSceneStart
|
|
2945
3005
|
});
|
|
2946
3006
|
let phaseRequests = [], phaseDerived = renderPhaseFills(theme, {
|
|
3007
|
+
language: options.locale?.language,
|
|
2947
3008
|
range: domain.x?.range,
|
|
2948
3009
|
xOfValue: area.xOfValue,
|
|
2949
3010
|
phases: domain.phases,
|
|
@@ -3036,6 +3097,7 @@ export {
|
|
|
3036
3097
|
latestRingReach,
|
|
3037
3098
|
END_LABEL_KEY,
|
|
3038
3099
|
END_LABEL_WIDE,
|
|
3100
|
+
POINT_LABEL_CENTERED_ROOM,
|
|
3039
3101
|
INLINE_FALLBACK,
|
|
3040
3102
|
usesInlineFallback,
|
|
3041
3103
|
usesEndLabelKey,
|
|
@@ -3051,6 +3113,7 @@ export {
|
|
|
3051
3113
|
pointLabelSelection,
|
|
3052
3114
|
defaultValueContent,
|
|
3053
3115
|
PLOT_END_AIR,
|
|
3116
|
+
pointLabelsFollowShape,
|
|
3054
3117
|
pointLabelEndRoom,
|
|
3055
3118
|
pointValueWidths,
|
|
3056
3119
|
placePointValueLabels,
|