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
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tableLooks
|
|
3
3
|
} from "./chunk-UMDEWWXT.js";
|
|
4
|
-
import {
|
|
5
|
-
exampleData
|
|
6
|
-
} from "./chunk-WZL4EEBS.js";
|
|
7
4
|
import {
|
|
8
5
|
dimswitchRowId
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GB6BZSTL.js";
|
|
10
7
|
import {
|
|
11
8
|
getTilePack
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T2L5H2WW.js";
|
|
13
10
|
import {
|
|
14
11
|
formatDate
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I5VDW2XZ.js";
|
|
16
13
|
|
|
17
14
|
// src/fixtures/registry.ts
|
|
18
15
|
var fixtureRegistry = /* @__PURE__ */ new Map(), refusalRegistry = /* @__PURE__ */ new Map();
|
|
@@ -35,6 +32,14 @@ function allFixtures() {
|
|
|
35
32
|
return [...fixtureRegistry.values()].flat();
|
|
36
33
|
}
|
|
37
34
|
|
|
35
|
+
// src/core/charts/dimswitch/example.ts
|
|
36
|
+
var exampleData = {
|
|
37
|
+
dimension: { label: "Channel", total: { id: "total", label: "Total" }, members: [{ id: "paid", label: "Paid Search" }, { id: "search-a", label: "Search A", parentId: "paid" }, { id: "search-b", label: "Search B", parentId: "paid" }, { id: "organic", label: "Organic" }], headline: ["spend", "revenue"] },
|
|
38
|
+
measures: [{ id: "orders", scale: "count", label: "Orders", change: "relative", value: { field: "orders" }, judge: { family: "volume", base: "orders" } }, { id: "new", scale: "count", label: "New customers", parentId: "orders", value: { field: "nc" } }, { id: "existing", scale: "count", label: "Existing customers", parentId: "orders", value: { op: "sub", a: { field: "orders" }, b: { field: "nc" } } }, { id: "revenue", scale: "money", label: "Net revenue", value: { field: "rev" }, format: "$1.2", unit: "$" }, { id: "spend", scale: "money", label: "Marketing spend", value: { field: "spend" }, format: "$1.2", unit: "$" }, { id: "cac", scale: "perUnit", label: "CAC", value: { op: "div", a: { field: "spend" }, b: { field: "nc" } }, format: "$1.2", unit: "$", judge: { family: "cost", base: "nc" } }],
|
|
39
|
+
periods: [{ id: "range", label: "Range", kind: "range" }, { id: "prior", label: "Prior", kind: "prior" }, { id: "w1", label: "Week 1" }, { id: "w2", label: "Week 2", partial: !0 }],
|
|
40
|
+
facts: ["total", "paid", "search-a", "search-b", "organic"].flatMap((memberId, i) => ["range", "prior", "w1", "w2"].map((periodId, j) => ({ memberId, periodId, sums: { orders: 120 - i * 15 + j * 8, nc: 60 - i * 7 + j * 2, rev: 12e3 - i * 1500 + j * 500, ...memberId === "organic" ? {} : { spend: 1800 - i * 200 + j * 30 } }, ref: { orders: 110 - i * 15, nc: 50 - i * 7, rev: 11e3 - i * 1500, ...memberId === "organic" ? {} : { spend: 1900 - i * 200 } } })))
|
|
41
|
+
};
|
|
42
|
+
|
|
38
43
|
// src/core/charts/dimswitch/statementExample.ts
|
|
39
44
|
var perOrder = (field) => ({ op: "div", a: { field }, b: { field: "orders" } }), line = (id, label, field, extra = {}) => ({ id, label, value: perOrder(field), format: "1.2", change: "absolute", judge: { family: "effect" }, ...extra }), cm = "Contribution margin", measures = [
|
|
40
45
|
{ id: "orders", label: "Orders", scale: "count", value: { field: "orders" }, judge: { family: "volume", base: "orders" }, group: "Orders & customers" },
|
|
@@ -120,7 +125,12 @@ function judgeExample() {
|
|
|
120
125
|
var fixtures = [
|
|
121
126
|
{ id: "by-measure", tags: ["interaction"], hover: { owner: { rowId: dimswitchRowId("by-measure", "total", "orders"), colId: "range" } }, title: "KPIs and their channel members", kind: "example", data: exampleData, options: { title: "Channel performance", variant: "by-measure", depth: 2, order: "sheet", show: "always" } },
|
|
122
127
|
{ id: "by-member", title: "Channels and their KPIs", kind: "example", data: { ...exampleData, measures: [...exampleData.measures.map((m) => m.id === "new" ? { ...m, parentId: void 0, splitOf: "orders" } : m), { id: "rate", scale: "percent", label: "New customer share", value: { op: "div", a: { field: "nc" }, b: { field: "orders" }, factor: 100 }, format: "1.2%", unit: "%", change: "pp", judge: { family: "rate", base: "orders" } }] }, options: { title: "Channel performance", show: "withData", variant: "by-member", depth: 1, splits: !0 } }
|
|
123
|
-
]
|
|
128
|
+
];
|
|
129
|
+
fixtures.push({ id: "periods-only", title: "KPIs by period without the Range and vs prior columns", kind: "example", data: exampleData, options: { title: "Channel performance by week", variant: "by-measure", depth: 2, columnVisibility: { range: !1, pp: !1 } } });
|
|
130
|
+
fixtures.push({ id: "range-only", title: "KPIs with the Range column alone", kind: "example", data: exampleData, options: { title: "Channel performance in the range", variant: "by-measure", depth: 2, columnVisibility: { pp: !1, w1: !1, w2: !1 } } });
|
|
131
|
+
fixtures.push({ id: "column-overrides", title: "KPIs with authored head text, track widths and alignment", kind: "example", data: exampleData, options: { title: "Channel performance", variant: "by-measure", depth: 2, notes: { show: ["disclosure"] }, columnOverrides: { label: { label: "Metric", width: 200 }, range: { label: "Selected", width: 130, headAlign: "left" }, pp: { label: "Change", width: 80, align: "center" }, w2: { label: "Latest", width: 120 } } } });
|
|
132
|
+
fixtures.push({ id: "periods-first", title: "KPIs with the periods before the Range block", kind: "example", data: exampleData, options: { title: "Channel performance by week, then the range", variant: "by-measure", depth: 2, columnOrder: ["periods", "block"] } });
|
|
133
|
+
var sheet = { ...exampleData, changeLabel: "WoW", measures: exampleData.measures.map((m) => m.id === "revenue" ? { ...m, divider: !0 } : m.id === "cac" ? { ...m, group: "Unit costs" } : m) };
|
|
124
134
|
fixtures.push({ id: "sheet", title: "KPIs on the report sheet", kind: "example", data: sheet, options: {
|
|
125
135
|
title: "Channel performance",
|
|
126
136
|
variant: "by-measure",
|
|
@@ -151,6 +161,12 @@ var multipleBases = judgeExample();
|
|
|
151
161
|
multipleBases.measures = multipleBases.measures.map((m) => ({ ...m, judge: { family: "rate", base: ["orders", "sessions"] } }));
|
|
152
162
|
multipleBases.facts.find((f) => f.memberId === "alpha" && f.periodId === "budget").sums.sessions = 40;
|
|
153
163
|
fixtures.push({ id: "multiple-sample-bases", title: "Judge only when both sample fields pass", kind: "example", data: multipleBases, options: { title: "Both sample fields must pass", widths: { change: 110, period: 110 }, variant: "by-member", depth: 2, minimumSample: { orders: 50, sessions: 100 } } });
|
|
164
|
+
fixtures.push({ id: "no-bars", title: "KPIs without the automatic size bars", kind: "example", data: exampleData, options: { title: "Channel performance", variant: "by-measure", depth: 2, bars: !1 } });
|
|
165
|
+
fixtures.push({ id: "no-total-block", title: "Channels and their KPIs without the Total block", kind: "example", data: fixtures[1].data, options: { ...fixtures[1].options, title: "Channel performance", rowVisibility: { total: !1 } } });
|
|
166
|
+
fixtures.push({ id: "total-row-blank", title: "KPIs over their members with blank Total cells", kind: "example", data: exampleData, options: { title: "Channel performance", variant: "by-measure", depth: 2, rowVisibility: { total: !1 } } });
|
|
167
|
+
fixtures.push({ id: "total-bottom", title: "Channels and their KPIs with the Total block last", kind: "example", data: fixtures[1].data, options: { ...fixtures[1].options, title: "Channel performance", totalPosition: "bottom" } });
|
|
168
|
+
fixtures.push({ id: "no-group-heads", title: "KPIs without their section heads", kind: "example", data: sheet, options: { title: "Channel performance", variant: "by-measure", depth: 2, rowVisibility: { "group:": !1, "group:Unit costs": !1 } } });
|
|
169
|
+
fixtures.push({ id: "no-group-heads-by-member", title: "Channels with grouped KPIs and no group label rows", kind: "example", data: sheet, options: { title: "Channel performance", variant: "by-member", depth: 2, rowVisibility: { "group:Unit costs": !1 } } });
|
|
154
170
|
var nearZero = { ...fixtures[1].data, facts: fixtures[1].data.facts.map((f) => f.memberId === "organic" && f.periodId === "prior" ? { ...f, sums: { ...f.sums, orders: 0.4, nc: 0.2 } } : f) };
|
|
155
171
|
fixtures.push({ id: "card-notes-de", title: "German engine notes on a phone card", kind: "torture", data: nearZero, options: { ...fixtures[1].options, title: "Channel overview", depth: 2, locale: { language: "de" }, size: { width: 320 } } });
|
|
156
172
|
registerFixtures("dimswitch", fixtures);
|
|
@@ -967,6 +983,28 @@ fixtures2.push(
|
|
|
967
983
|
]
|
|
968
984
|
}
|
|
969
985
|
);
|
|
986
|
+
var diffOnArrow = {
|
|
987
|
+
id: "diff-on-arrow",
|
|
988
|
+
title: "Difference between two regions on its arrow",
|
|
989
|
+
kind: "example",
|
|
990
|
+
data: {
|
|
991
|
+
categories: [{ id: "north", label: "North" }, { id: "south", label: "South" }, { id: "east", label: "East" }, { id: "west", label: "West" }],
|
|
992
|
+
series: [{ id: "sales", label: "Sales", values: [82, 64, 41, 23] }]
|
|
993
|
+
},
|
|
994
|
+
options: {
|
|
995
|
+
title: "West sells 59 less than North",
|
|
996
|
+
unit: "EUR m",
|
|
997
|
+
source: "Illustrative data",
|
|
998
|
+
highlight: ["north", "west"]
|
|
999
|
+
},
|
|
1000
|
+
annotations: [{ kind: "diff", mode: "absolute", from: { categoryId: "north", seriesId: "sales" }, to: { categoryId: "west", seriesId: "sales" } }]
|
|
1001
|
+
};
|
|
1002
|
+
fixtures2.push(diffOnArrow, {
|
|
1003
|
+
...diffOnArrow,
|
|
1004
|
+
id: "diff-beside-arrow",
|
|
1005
|
+
title: "Difference with placement 'label': the arrow off the rows",
|
|
1006
|
+
annotations: [{ ...diffOnArrow.annotations[0], placement: "label" }]
|
|
1007
|
+
});
|
|
970
1008
|
var toleranceFixture = fixtures2.find((fixture) => fixture.id === "plan-corridor");
|
|
971
1009
|
fixtures2.push({
|
|
972
1010
|
...toleranceFixture,
|
|
@@ -1470,6 +1508,48 @@ fixtures2.push({
|
|
|
1470
1508
|
size: { width: 1184, height: 528 }
|
|
1471
1509
|
}
|
|
1472
1510
|
});
|
|
1511
|
+
fixtures2.push({
|
|
1512
|
+
id: "column-overrides",
|
|
1513
|
+
title: "columnOverrides sets the width of the name column",
|
|
1514
|
+
kind: "example",
|
|
1515
|
+
data: {
|
|
1516
|
+
categories: [{ id: "north", label: "North region" }, { id: "south", label: "South region" }, { id: "east", label: "East region" }],
|
|
1517
|
+
series: [{ id: "revenue", label: "Revenue", values: [42, 55, 31] }]
|
|
1518
|
+
},
|
|
1519
|
+
options: { title: "South leads", unit: "$m", source: "Illustrative data", size: { width: 640 }, columnOverrides: { label: { width: 200 } } }
|
|
1520
|
+
});
|
|
1521
|
+
fixtures2.push(
|
|
1522
|
+
{
|
|
1523
|
+
id: "centered-values",
|
|
1524
|
+
title: "Bar values at the center",
|
|
1525
|
+
kind: "example",
|
|
1526
|
+
data: {
|
|
1527
|
+
categories: [{ id: "a", label: "Group A" }, { id: "b", label: "Group B" }, { id: "c", label: "Group C" }],
|
|
1528
|
+
series: [{ id: "value", label: "Value", values: [80, -65, 100] }]
|
|
1529
|
+
},
|
|
1530
|
+
options: { title: "Values at the center of each bar", variant: "grouped", labelPosition: "center" }
|
|
1531
|
+
}
|
|
1532
|
+
);
|
|
1533
|
+
fixtures2.push({
|
|
1534
|
+
id: "drawing-on-value-axis",
|
|
1535
|
+
title: "A line at the top level and an arrow over the gap, on a horizontal value axis",
|
|
1536
|
+
kind: "example",
|
|
1537
|
+
data: {
|
|
1538
|
+
categories: [
|
|
1539
|
+
{ id: "north", label: "North" },
|
|
1540
|
+
{ id: "south", label: "South" },
|
|
1541
|
+
{ id: "east", label: "East" },
|
|
1542
|
+
{ id: "west", label: "West" }
|
|
1543
|
+
],
|
|
1544
|
+
series: [{ id: "sales", label: "Sales", values: [82, 64, 41, 23] }]
|
|
1545
|
+
},
|
|
1546
|
+
options: { title: "West sells 59 less than North", unit: "EUR m", source: "Illustrative data", valueAxis: { min: 0, max: 100 } },
|
|
1547
|
+
annotations: [
|
|
1548
|
+
{ kind: "line", id: "north-level", from: { categoryId: "north", value: 82 }, to: { categoryId: "west", value: 82 }, dashed: !0 },
|
|
1549
|
+
{ kind: "text", id: "gap-note", at: { categoryId: "west", value: 52 }, text: "Gap 59" },
|
|
1550
|
+
{ kind: "arrow", id: "gap", from: { categoryId: "west", value: 24 }, to: { categoryId: "west", value: 81 } }
|
|
1551
|
+
]
|
|
1552
|
+
});
|
|
1473
1553
|
registerFixtures("bar", fixtures2);
|
|
1474
1554
|
|
|
1475
1555
|
// src/core/charts/bartable/fixtures.ts
|
|
@@ -1726,6 +1806,73 @@ fixtures3.push({
|
|
|
1726
1806
|
size: { width: 1060, height: 380 }
|
|
1727
1807
|
}
|
|
1728
1808
|
});
|
|
1809
|
+
var storeData = {
|
|
1810
|
+
categories: [
|
|
1811
|
+
{ id: "north", label: "Northern region" },
|
|
1812
|
+
{ id: "east", label: "Eastern region" },
|
|
1813
|
+
{ id: "south", label: "Southern region" },
|
|
1814
|
+
{ id: "west", label: "Western region" }
|
|
1815
|
+
],
|
|
1816
|
+
series: [{ id: "online", label: "Online" }, { id: "stores", label: "Stores" }],
|
|
1817
|
+
columns: [
|
|
1818
|
+
{ id: "count", label: "Stores open", values: [42, 31, 27, 18], format: "1,234" },
|
|
1819
|
+
{ id: "staff", label: "Staff", values: [640, 480, 390, 210], format: "1,234" }
|
|
1820
|
+
],
|
|
1821
|
+
panels: [
|
|
1822
|
+
{ id: "sales", label: "Sales", unit: "$m", values: { online: [34, 26, 18, 9], stores: [58, 41, 37, 22] } },
|
|
1823
|
+
{ id: "margin", label: "Gross margin", unit: "$m", values: { online: [12, 9, 7, 3], stores: [19, 15, 11, 8] } }
|
|
1824
|
+
]
|
|
1825
|
+
}, storeOptions = { title: "Sales and gross margin by region, 2025", source: "Invented retail data", size: { width: 760 } };
|
|
1826
|
+
fixtures3.push(
|
|
1827
|
+
{
|
|
1828
|
+
id: "columns-reordered",
|
|
1829
|
+
title: "Panels before the number columns",
|
|
1830
|
+
kind: "example",
|
|
1831
|
+
tags: [],
|
|
1832
|
+
data: storeData,
|
|
1833
|
+
options: { ...storeOptions, columnOrder: ["panels", "numbers"] }
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
id: "total-top",
|
|
1837
|
+
title: "The Total row above the rows, with its rule and ground",
|
|
1838
|
+
kind: "example",
|
|
1839
|
+
tags: [],
|
|
1840
|
+
data: storeData,
|
|
1841
|
+
options: { ...storeOptions, totalPosition: "top" }
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
id: "no-values",
|
|
1845
|
+
title: "No values at the bars: number columns and the Total keep theirs",
|
|
1846
|
+
kind: "example",
|
|
1847
|
+
tags: [],
|
|
1848
|
+
data: storeData,
|
|
1849
|
+
options: { ...storeOptions, labels: { point: !1 } }
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
id: "column-widths",
|
|
1853
|
+
title: "Authored widths, alignment and heads per column",
|
|
1854
|
+
kind: "example",
|
|
1855
|
+
tags: [],
|
|
1856
|
+
data: storeData,
|
|
1857
|
+
options: {
|
|
1858
|
+
...storeOptions,
|
|
1859
|
+
columnOverrides: {
|
|
1860
|
+
label: { width: 150, align: "right" },
|
|
1861
|
+
count: { width: 70, align: "center", label: "Open" },
|
|
1862
|
+
staff: { width: 70, align: "left", headAlign: "right" },
|
|
1863
|
+
sales: { width: 240, align: "right" }
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
id: "no-column-heads",
|
|
1869
|
+
title: "No head row: the first row starts at the top of the table",
|
|
1870
|
+
kind: "example",
|
|
1871
|
+
tags: [],
|
|
1872
|
+
data: storeData,
|
|
1873
|
+
options: { ...storeOptions, subtitle: "Stores open, staff, then sales and gross margin in $m", columnHeads: !1 }
|
|
1874
|
+
}
|
|
1875
|
+
);
|
|
1729
1876
|
registerFixtures("bartable", fixtures3);
|
|
1730
1877
|
|
|
1731
1878
|
// src/core/charts/box/fixtures.ts
|
|
@@ -2623,6 +2770,18 @@ fixtures4.push({
|
|
|
2623
2770
|
valueAxis: { break: { from: 60, to: 380 } }
|
|
2624
2771
|
}
|
|
2625
2772
|
});
|
|
2773
|
+
fixtures4.push({
|
|
2774
|
+
id: "column-overrides",
|
|
2775
|
+
title: "columnOverrides sets the name and n columns",
|
|
2776
|
+
kind: "example",
|
|
2777
|
+
data: {
|
|
2778
|
+
groups: [
|
|
2779
|
+
{ id: "north", label: "North depot", observations: [10, 12, 14, 15, 16, 18, 20, 22, 25, 27] },
|
|
2780
|
+
{ id: "south", label: "South depot", observations: [11, 13, 15, 16, 17, 19, 21, 23, 26, 30] }
|
|
2781
|
+
]
|
|
2782
|
+
},
|
|
2783
|
+
options: { title: "Both depots deliver in about 17 days", unit: "days", source: "Illustrative data", size: { width: 720 }, columnOverrides: { label: { width: 150 }, n: { width: 90 } } }
|
|
2784
|
+
});
|
|
2626
2785
|
registerFixtures("box", fixtures4);
|
|
2627
2786
|
|
|
2628
2787
|
// src/core/charts/bullet/fixtures.ts
|
|
@@ -3314,6 +3473,49 @@ fixtures5.push({
|
|
|
3314
3473
|
strings: { target: "plan", targetColumn: "Plan", gapColumn: "Distance", gapBelow: "short of {v1}", gapAbove: "beyond {v1}", gapOn: "at {v1}" }
|
|
3315
3474
|
}
|
|
3316
3475
|
});
|
|
3476
|
+
var regionRows = { rows: [
|
|
3477
|
+
{ id: "north", label: "North", value: 412, target: 450, bands: [{ to: 300, label: "Weak" }, { to: 400, label: "Fair" }, { to: 500, label: "Strong" }] },
|
|
3478
|
+
{ id: "south", label: "South", value: 366, target: 340, bands: [{ to: 300, label: "Weak" }, { to: 400, label: "Fair" }, { to: 500, label: "Strong" }] },
|
|
3479
|
+
{ id: "returns", label: "Returns", value: 38, target: 45, direction: "lowerIsBetter", bands: [{ to: 300, label: "Strong" }, { to: 400, label: "Fair" }, { to: 500, label: "Weak" }] }
|
|
3480
|
+
] }, targetRows = { rows: [
|
|
3481
|
+
{ id: "revenue", label: "Revenue", value: { number: 412, format: "$412k" }, target: { number: 450, format: "$450k" } },
|
|
3482
|
+
{ id: "orders", label: "Orders", value: 1860, target: 1700 },
|
|
3483
|
+
{ id: "returns", label: "Return rate", value: { pct: 6.2 }, target: { pct: 5 }, direction: "lowerIsBetter" }
|
|
3484
|
+
] };
|
|
3485
|
+
fixtures5.push({
|
|
3486
|
+
id: "column-overrides",
|
|
3487
|
+
title: "columnOverrides sets the widths, alignment and head words of the generated columns",
|
|
3488
|
+
kind: "example",
|
|
3489
|
+
data: regionRows,
|
|
3490
|
+
options: {
|
|
3491
|
+
title: "South is the only region above plan",
|
|
3492
|
+
unit: "$k",
|
|
3493
|
+
source: "Illustrative data",
|
|
3494
|
+
size: { width: 800 },
|
|
3495
|
+
columnOverrides: { label: { width: 110, align: "right" }, target: { width: 80, label: "Plan", align: "center" }, gap: { width: 110, label: "To plan", align: "left" } }
|
|
3496
|
+
}
|
|
3497
|
+
});
|
|
3498
|
+
fixtures5.push({
|
|
3499
|
+
id: "columns-hidden",
|
|
3500
|
+
title: "columnVisibility leaves the share column out of the percent-of-target rows",
|
|
3501
|
+
kind: "example",
|
|
3502
|
+
data: targetRows,
|
|
3503
|
+
options: { title: "Orders are the only KPI on target", sharedScale: "percentOfTarget", source: "Illustrative data", size: { width: 720 }, columnVisibility: { share: !1 } }
|
|
3504
|
+
});
|
|
3505
|
+
fixtures5.push({
|
|
3506
|
+
id: "plot-first",
|
|
3507
|
+
title: "columnOrder puts the marks first and reverses the columns behind them",
|
|
3508
|
+
kind: "example",
|
|
3509
|
+
data: targetRows,
|
|
3510
|
+
options: { title: "Orders are the only KPI on target", sharedScale: "percentOfTarget", source: "Illustrative data", size: { width: 720 }, columnOrder: ["plot", "delta", "share", "actual"] }
|
|
3511
|
+
});
|
|
3512
|
+
fixtures5.push({
|
|
3513
|
+
id: "no-direction-line",
|
|
3514
|
+
title: "labels.direction and labels.position drop the second lines beside the target columns",
|
|
3515
|
+
kind: "example",
|
|
3516
|
+
data: regionRows,
|
|
3517
|
+
options: { title: "South is the only region above plan", unit: "$k", source: "Illustrative data", size: { width: 720 }, labels: { direction: !1, position: !1 } }
|
|
3518
|
+
});
|
|
3317
3519
|
registerFixtures("bullet", fixtures5);
|
|
3318
3520
|
|
|
3319
3521
|
// src/core/charts/butterfly/fixtures.ts
|
|
@@ -3698,6 +3900,37 @@ fixtures6.push({
|
|
|
3698
3900
|
},
|
|
3699
3901
|
options: { a: "emails", b: "public", sharedScale: !1, title: "Each pane reads against its own axis" }
|
|
3700
3902
|
});
|
|
3903
|
+
fixtures6.push({
|
|
3904
|
+
id: "column-overrides",
|
|
3905
|
+
title: "columnOverrides sets the name column and the difference column, beating centerColumnWidth",
|
|
3906
|
+
kind: "example",
|
|
3907
|
+
data: {
|
|
3908
|
+
categories: [{ id: "north", label: "North" }, { id: "south", label: "South" }, { id: "east", label: "East" }],
|
|
3909
|
+
series: [{ id: "fy25", label: "FY25", values: [42, 55, 31] }, { id: "fy26", label: "FY26", values: [48, 51, 39] }]
|
|
3910
|
+
},
|
|
3911
|
+
options: {
|
|
3912
|
+
a: "fy25",
|
|
3913
|
+
b: "fy26",
|
|
3914
|
+
diffColumn: !0,
|
|
3915
|
+
centerColumnWidth: 60,
|
|
3916
|
+
title: "East gained the most",
|
|
3917
|
+
source: "Illustrative data",
|
|
3918
|
+
size: { width: 720 },
|
|
3919
|
+
columnOverrides: { label: { width: 130, align: "left" }, diff: { width: 80, label: "Change", align: "center" } }
|
|
3920
|
+
}
|
|
3921
|
+
});
|
|
3922
|
+
fixtures6.push(
|
|
3923
|
+
{
|
|
3924
|
+
id: "centered-values",
|
|
3925
|
+
title: "Butterfly values at the center",
|
|
3926
|
+
kind: "example",
|
|
3927
|
+
data: {
|
|
3928
|
+
categories: [{ id: "a", label: "Group A" }, { id: "b", label: "Group B" }, { id: "c", label: "Group C" }],
|
|
3929
|
+
series: [{ id: "left", label: "First", values: [80, 60, 100] }, { id: "right", label: "Second", values: [70, 90, 80] }]
|
|
3930
|
+
},
|
|
3931
|
+
options: { title: "Values at the center of each side", a: "left", b: "right", labelPosition: "center" }
|
|
3932
|
+
}
|
|
3933
|
+
);
|
|
3701
3934
|
registerFixtures("butterfly", fixtures6);
|
|
3702
3935
|
|
|
3703
3936
|
// src/core/charts/choropleth/fixtures.generated.ts
|
|
@@ -4600,6 +4833,30 @@ fixtures7.push({
|
|
|
4600
4833
|
] },
|
|
4601
4834
|
options: { title: "Ready and information sites have matching keys", overlayTones: { good: "Ready", info: "Information" }, size: { width: 900, height: 650 } }
|
|
4602
4835
|
});
|
|
4836
|
+
fixtures7.push(
|
|
4837
|
+
{
|
|
4838
|
+
...germanStates,
|
|
4839
|
+
id: "lookup-columns",
|
|
4840
|
+
title: "The value table without swatches, with rows left out, moved and renamed",
|
|
4841
|
+
tags: ["coverage"],
|
|
4842
|
+
options: {
|
|
4843
|
+
...germanStates.options,
|
|
4844
|
+
size: { width: 960 },
|
|
4845
|
+
columnVisibility: { swatch: !1 },
|
|
4846
|
+
columnOverrides: { code: { width: 96 }, value: { align: "right", headAlign: "right", label: "Revenue" } },
|
|
4847
|
+
rowVisibility: { "DE-HB": !1, "DE-SL": !1 },
|
|
4848
|
+
rowOrder: ["DE-BE"],
|
|
4849
|
+
rowOverrides: { "DE-BE": { label: "Capital" } }
|
|
4850
|
+
}
|
|
4851
|
+
},
|
|
4852
|
+
{
|
|
4853
|
+
...germanStates,
|
|
4854
|
+
id: "lookup-no-emphasis",
|
|
4855
|
+
title: "The value table and the map set no top group in bold",
|
|
4856
|
+
tags: ["coverage"],
|
|
4857
|
+
options: { ...germanStates.options, valueTable: "below", valueTableEmphasis: !1 }
|
|
4858
|
+
}
|
|
4859
|
+
);
|
|
4603
4860
|
registerFixtures("choropleth", fixtures7);
|
|
4604
4861
|
|
|
4605
4862
|
// src/core/charts/cohort/fixtures.ts
|
|
@@ -4820,7 +5077,7 @@ fixtures8.push({
|
|
|
4820
5077
|
label: `Batch ${i + 1}`,
|
|
4821
5078
|
active: Array.from({ length: 8 - i }, (_2, j) => 432100 - j * 1703)
|
|
4822
5079
|
})) },
|
|
4823
|
-
options: { title: "Average support narrows in later periods", variant: "stepped",
|
|
5080
|
+
options: { title: "Average support narrows in later periods", variant: "stepped", size: { width: 1351 } }
|
|
4824
5081
|
});
|
|
4825
5082
|
fixtures8.push({
|
|
4826
5083
|
id: "emphasis-disabled",
|
|
@@ -4843,8 +5100,7 @@ for (let variant of ["pure", "stepped"]) fixtures8.push({
|
|
|
4843
5100
|
options: {
|
|
4844
5101
|
title: "Cumulative conversion rises by the second week",
|
|
4845
5102
|
variant,
|
|
4846
|
-
formatScope: "classic",
|
|
4847
|
-
...variant === "stepped" ? { steps: [0.5, 1, 2, 3] } : {},
|
|
5103
|
+
...variant === "stepped" ? { formatScope: "classic", steps: [0.5, 1, 2, 3] } : {},
|
|
4848
5104
|
basis: "cohort",
|
|
4849
5105
|
unit: "%",
|
|
4850
5106
|
visiblePeriods: [1, 2],
|
|
@@ -4854,6 +5110,48 @@ for (let variant of ["pure", "stepped"]) fixtures8.push({
|
|
|
4854
5110
|
strings: { cohortMeasure: "Cumulative conversion", cohortFormula: "Cumulative conversion = converted so far / cohort base." }
|
|
4855
5111
|
}
|
|
4856
5112
|
});
|
|
5113
|
+
var SIGNUPS = {
|
|
5114
|
+
periodLabel: "Month",
|
|
5115
|
+
cohorts: [
|
|
5116
|
+
{ id: "jan", label: "January signups", active: [1200, 780, 690, 636, 590] },
|
|
5117
|
+
{ id: "feb", label: "February signups", active: [900, 603, 531, 495] },
|
|
5118
|
+
{ id: "mar", label: "March signups", active: [1050, 735, 640] },
|
|
5119
|
+
{ id: "apr", label: "April signups", active: [800, 584] },
|
|
5120
|
+
{ id: "may", label: "May signups", active: [760] }
|
|
5121
|
+
]
|
|
5122
|
+
}, SIGNUP_OPTIONS = { title: "Later signups keep more customers after one month", unit: "% of cohort base", source: "Invented subscription ledger" }, exhibit = (id, title, options, data = SIGNUPS) => ({
|
|
5123
|
+
id,
|
|
5124
|
+
title,
|
|
5125
|
+
kind: "example",
|
|
5126
|
+
tags: ["coverage"],
|
|
5127
|
+
data,
|
|
5128
|
+
options: { ...SIGNUP_OPTIONS, ...options }
|
|
5129
|
+
});
|
|
5130
|
+
fixtures8.push(
|
|
5131
|
+
exhibit("no-size-column", "Pure exhibit without the size column, whose bases stay in the weighted total", { variant: "pure", columnVisibility: { size: !1 }, size: { width: 760 } }),
|
|
5132
|
+
exhibit("column-tracks", "Pure exhibit with authored track widths, alignment and heads", {
|
|
5133
|
+
variant: "pure",
|
|
5134
|
+
size: { width: 900 },
|
|
5135
|
+
columnOverrides: {
|
|
5136
|
+
label: { width: 190, label: "Signup month", align: "right" },
|
|
5137
|
+
size: { width: 110, align: "left", label: "Customers" },
|
|
5138
|
+
periods: { width: 80, align: "right", headAlign: "center" }
|
|
5139
|
+
}
|
|
5140
|
+
}),
|
|
5141
|
+
exhibit("size-after-periods", "Stepped exhibit with the size column after the periods", { variant: "stepped", columnOrder: ["periods", "size"], size: { width: 820 } }),
|
|
5142
|
+
exhibit("no-column-heads", "Pure exhibit without its head row, with the periods named in the subtitle", {
|
|
5143
|
+
variant: "pure",
|
|
5144
|
+
columnHeads: !1,
|
|
5145
|
+
size: { width: 760 },
|
|
5146
|
+
subtitle: { measure: "Customers retained, months 0 to 4 from the left" }
|
|
5147
|
+
}),
|
|
5148
|
+
exhibit("no-column-heads-stepped", "Stepped exhibit without heads or the range lines under them", { variant: "stepped", formatScope: "column", columnHeads: !1, size: { width: 760 }, subtitle: { measure: "Customers retained, months 0 to 4 from the left" } }),
|
|
5149
|
+
exhibit("total-top", "Stepped exhibit with the weighted average above the cohorts", { variant: "stepped", totalPosition: "top", size: { width: 760 } }),
|
|
5150
|
+
exhibit("no-designated-period", "Pure exhibit with no tinted column", { variant: "pure", designatedPeriod: !1, size: { width: 760 } }),
|
|
5151
|
+
exhibit("stepped-no-figures", "Stepped exhibit whose fills carry the rates without printed numbers", { variant: "stepped", formatScope: "classic", figures: !1, size: { width: 760 } }),
|
|
5152
|
+
exhibit("heatmap-weighted-total", "Heatmap with the weighted average row set by total", { total: "weighted", size: { width: 720, height: 460 } }),
|
|
5153
|
+
exhibit("heatmap-visible-periods", "Heatmap showing the later periods only, with no trace of the hidden ones", { averages: "weighted", methodNote: !0, visiblePeriods: [1, 2, 4], size: { width: 720, height: 480 } })
|
|
5154
|
+
);
|
|
4857
5155
|
registerFixtures("cohort", fixtures8);
|
|
4858
5156
|
|
|
4859
5157
|
// src/core/charts/cohortSample.ts
|
|
@@ -5879,6 +6177,110 @@ var ANOMALY_MONTHS = [
|
|
|
5879
6177
|
}
|
|
5880
6178
|
]
|
|
5881
6179
|
},
|
|
6180
|
+
{
|
|
6181
|
+
// A plan tick over a column short of plan keeps the column's value inside its end, and the
|
|
6182
|
+
// delta and the callout on that column stack straight above the tick.
|
|
6183
|
+
id: "plan-ticks-delta-callout",
|
|
6184
|
+
title: "Actual columns with plan ticks, a delta and a callout stacked over the one year below plan",
|
|
6185
|
+
kind: "example",
|
|
6186
|
+
data: {
|
|
6187
|
+
categories: ["FY21", "FY22", "FY23", "FY24", "FY25"].map((label) => ({ id: label.toLowerCase(), label })),
|
|
6188
|
+
series: [
|
|
6189
|
+
{ id: "revenue", label: "Revenue", values: [410, 455, 470, 552, 588] },
|
|
6190
|
+
{ id: "plan", label: "Plan", role: "reference", values: [400, 450, 505, 545, 580] }
|
|
6191
|
+
]
|
|
6192
|
+
},
|
|
6193
|
+
options: {
|
|
6194
|
+
title: "FY23 was the only year below plan",
|
|
6195
|
+
unit: "EUR m",
|
|
6196
|
+
source: "Illustrative data",
|
|
6197
|
+
highlight: ["fy23"],
|
|
6198
|
+
referenceStyle: "tick",
|
|
6199
|
+
legend: "top"
|
|
6200
|
+
},
|
|
6201
|
+
annotations: [
|
|
6202
|
+
{ kind: "delta", at: { categoryId: "fy23", seriesId: "revenue" }, vs: { categoryId: "fy23", seriesId: "plan" } },
|
|
6203
|
+
{ kind: "callout", at: { categoryId: "fy23", seriesId: "revenue" }, text: "Supplier switch delayed launches" }
|
|
6204
|
+
]
|
|
6205
|
+
},
|
|
6206
|
+
{
|
|
6207
|
+
// referenceTick.position 'front': the earlier look, the plan tick over the column on a page-colour band.
|
|
6208
|
+
id: "plan-ticks-front",
|
|
6209
|
+
title: "Actual columns with plan ticks drawn over the columns",
|
|
6210
|
+
kind: "example",
|
|
6211
|
+
data: {
|
|
6212
|
+
categories: ["W01", "W02", "W03", "W04", "W05", "W06"].map((label) => ({ id: label.toLowerCase(), label })),
|
|
6213
|
+
series: [
|
|
6214
|
+
{ id: "orders", label: "Orders", values: [118, 124, 109, 131, 127, 112] },
|
|
6215
|
+
{ id: "plan", label: "Plan", role: "reference", values: [115, 120, 115, 122, 125, 126] }
|
|
6216
|
+
]
|
|
6217
|
+
},
|
|
6218
|
+
options: {
|
|
6219
|
+
title: "Orders beat plan in four of six weeks",
|
|
6220
|
+
unit: "k orders",
|
|
6221
|
+
source: "Illustrative data",
|
|
6222
|
+
referenceTick: { position: "front" },
|
|
6223
|
+
legend: "top"
|
|
6224
|
+
}
|
|
6225
|
+
},
|
|
6226
|
+
{
|
|
6227
|
+
// A difference across the whole year: the growth bracket over the columns, its value and percent on the run.
|
|
6228
|
+
id: "monthly-diff-bracket",
|
|
6229
|
+
title: "Twelve monthly columns with a difference in value and percent from the first to the last month",
|
|
6230
|
+
kind: "example",
|
|
6231
|
+
data: {
|
|
6232
|
+
categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"].map((label) => ({ id: label.toLowerCase(), label })),
|
|
6233
|
+
series: [{ id: "tickets", label: "Tickets", values: [412, 398, 431, 447, 452, 468, 503, 497, 488, 512, 534, 561] }]
|
|
6234
|
+
},
|
|
6235
|
+
options: {
|
|
6236
|
+
title: "Support tickets rose 36% over the year",
|
|
6237
|
+
unit: "tickets",
|
|
6238
|
+
source: "Illustrative data",
|
|
6239
|
+
labelDensity: "minimal"
|
|
6240
|
+
},
|
|
6241
|
+
annotations: [
|
|
6242
|
+
{ kind: "diff", from: { categoryId: "jan", seriesId: "tickets" }, to: { categoryId: "dec", seriesId: "tickets" }, mode: "both" }
|
|
6243
|
+
]
|
|
6244
|
+
},
|
|
6245
|
+
{
|
|
6246
|
+
// placement 'label' keeps the arrow in a free gap between the columns with its number beside it.
|
|
6247
|
+
id: "monthly-diff-between",
|
|
6248
|
+
title: "Twelve monthly columns with a difference whose arrow stands between the columns",
|
|
6249
|
+
kind: "example",
|
|
6250
|
+
data: {
|
|
6251
|
+
categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"].map((label) => ({ id: label.toLowerCase(), label })),
|
|
6252
|
+
series: [{ id: "tickets", label: "Tickets", values: [412, 398, 431, 447, 452, 468, 503, 497, 488, 512, 534, 561] }]
|
|
6253
|
+
},
|
|
6254
|
+
options: {
|
|
6255
|
+
title: "Support tickets rose 36% over the year",
|
|
6256
|
+
unit: "tickets",
|
|
6257
|
+
source: "Illustrative data",
|
|
6258
|
+
labelDensity: "minimal"
|
|
6259
|
+
},
|
|
6260
|
+
annotations: [
|
|
6261
|
+
{ kind: "diff", from: { categoryId: "jan", seriesId: "tickets" }, to: { categoryId: "dec", seriesId: "tickets" }, placement: "label" }
|
|
6262
|
+
]
|
|
6263
|
+
},
|
|
6264
|
+
{
|
|
6265
|
+
// A delta between two column totals takes the bracket too, with the value difference and the percent change.
|
|
6266
|
+
id: "monthly-delta-both",
|
|
6267
|
+
title: "Highlighted first and last month with a delta in value and percent",
|
|
6268
|
+
kind: "example",
|
|
6269
|
+
data: {
|
|
6270
|
+
categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"].map((label) => ({ id: label.toLowerCase(), label })),
|
|
6271
|
+
series: [{ id: "tickets", label: "Tickets", values: [412, 398, 431, 447, 452, 468, 503, 497, 488, 512, 534, 561] }]
|
|
6272
|
+
},
|
|
6273
|
+
options: {
|
|
6274
|
+
title: "Support tickets rose by 149 over the year",
|
|
6275
|
+
unit: "tickets",
|
|
6276
|
+
source: "Illustrative data",
|
|
6277
|
+
labelDensity: "minimal",
|
|
6278
|
+
highlight: ["jan", "dec"]
|
|
6279
|
+
},
|
|
6280
|
+
annotations: [
|
|
6281
|
+
{ kind: "delta", at: { categoryId: "dec", seriesId: "tickets" }, vs: { categoryId: "jan", seriesId: "tickets" }, mode: "both" }
|
|
6282
|
+
]
|
|
6283
|
+
},
|
|
5882
6284
|
{
|
|
5883
6285
|
// Ranked dense columns: values wider than their columns lift clear of the
|
|
5884
6286
|
// taller neighbour or stagger one row up on a short leader, none floats.
|
|
@@ -7750,6 +8152,52 @@ fixtures9.push({
|
|
|
7750
8152
|
size: { width: 1184, height: 528 }
|
|
7751
8153
|
}
|
|
7752
8154
|
});
|
|
8155
|
+
fixtures9.push(
|
|
8156
|
+
{
|
|
8157
|
+
id: "inside-base-values",
|
|
8158
|
+
title: "Column values inside the base",
|
|
8159
|
+
kind: "example",
|
|
8160
|
+
data: {
|
|
8161
|
+
categories: [{ id: "a", label: "Group A" }, { id: "b", label: "Group B" }, { id: "c", label: "Group C" }],
|
|
8162
|
+
series: [{ id: "value", label: "Value", values: [80, -65, 100] }]
|
|
8163
|
+
},
|
|
8164
|
+
options: { title: "Values inside the column base", variant: "grouped", labelPosition: "insideBase" }
|
|
8165
|
+
},
|
|
8166
|
+
{
|
|
8167
|
+
id: "stacked-inside-base-values",
|
|
8168
|
+
title: "Stacked column values inside each base",
|
|
8169
|
+
kind: "example",
|
|
8170
|
+
data: {
|
|
8171
|
+
categories: [{ id: "a", label: "Group A" }, { id: "b", label: "Group B" }, { id: "c", label: "Group C" }],
|
|
8172
|
+
series: [{ id: "first", label: "First", values: [60, 50, 90] }, { id: "second", label: "Second", values: [40, 60, 0] }]
|
|
8173
|
+
},
|
|
8174
|
+
options: { title: "Values inside each segment base", variant: "stacked", labelPosition: "insideBase" }
|
|
8175
|
+
}
|
|
8176
|
+
);
|
|
8177
|
+
fixtures9.push({
|
|
8178
|
+
id: "drawing-kinds",
|
|
8179
|
+
title: "A box around the launch months, the old level and an arrow from a note",
|
|
8180
|
+
kind: "example",
|
|
8181
|
+
data: {
|
|
8182
|
+
categories: [
|
|
8183
|
+
{ id: "jan", label: "Jan" },
|
|
8184
|
+
{ id: "feb", label: "Feb" },
|
|
8185
|
+
{ id: "mar", label: "Mar" },
|
|
8186
|
+
{ id: "apr", label: "Apr" },
|
|
8187
|
+
{ id: "may", label: "May" },
|
|
8188
|
+
{ id: "jun", label: "Jun" }
|
|
8189
|
+
],
|
|
8190
|
+
series: [{ id: "orders", label: "Orders", values: [30, 34, 31, 62, 70, 66] }]
|
|
8191
|
+
},
|
|
8192
|
+
options: { title: "Orders doubled after the April launch", unit: "thousand", source: "Illustrative data", valueAxis: { min: 0, max: 80 }, labelPosition: "insideEnd" },
|
|
8193
|
+
annotations: [
|
|
8194
|
+
{ kind: "box", id: "launch-months", from: { categoryId: "apr", value: 0 }, to: { categoryId: "jun", value: 80 }, dashed: !0 },
|
|
8195
|
+
{ kind: "line", id: "old-level", from: { categoryId: "jan", value: 36 }, to: { categoryId: "mar", value: 36 }, dashed: !0 },
|
|
8196
|
+
{ kind: "text", id: "old-level-note", at: { categoryId: "feb", value: 42 }, text: "Before launch: under 36" },
|
|
8197
|
+
{ kind: "text", id: "launch-note", at: { categoryId: "feb", value: 64 }, text: "Launch moved the level" },
|
|
8198
|
+
{ kind: "arrow", id: "step-up", from: { annotationId: "launch-note" }, to: { categoryId: "apr", value: 65 } }
|
|
8199
|
+
]
|
|
8200
|
+
});
|
|
7753
8201
|
registerFixtures("column", fixtures9);
|
|
7754
8202
|
|
|
7755
8203
|
// src/core/charts/combo/fixtures.ts
|
|
@@ -7936,11 +8384,11 @@ var revenueUnitsData = {
|
|
|
7936
8384
|
id: "secondary-unacknowledged",
|
|
7937
8385
|
title: "Refusal example: a line on its own scale without an acknowledged secondary axis",
|
|
7938
8386
|
kind: "torture",
|
|
7939
|
-
refuses: { code: "dual-axis" },
|
|
8387
|
+
refuses: { code: "dual-axis-unacknowledged" },
|
|
7940
8388
|
data: revenueUnitsData,
|
|
7941
8389
|
options: {
|
|
7942
8390
|
// NO secondaryAxis gate: the CLI, MCP, React and the library layout
|
|
7943
|
-
// refuse the chart with the error-severity 'dual-axis' lint.
|
|
8391
|
+
// refuse the chart with the error-severity 'dual-axis-unacknowledged' lint.
|
|
7944
8392
|
valueAxis: { show: !0 },
|
|
7945
8393
|
title: "Unacknowledged dual axis is refused",
|
|
7946
8394
|
subtitle: { measure: "Revenue and units sold", period: "2019\u20132024" },
|
|
@@ -8894,6 +9342,21 @@ fixtures10.push({
|
|
|
8894
9342
|
{ kind: "band", id: "launch", from: "q4", to: "q5", label: "Launch" }
|
|
8895
9343
|
]
|
|
8896
9344
|
});
|
|
9345
|
+
fixtures10.push(
|
|
9346
|
+
{
|
|
9347
|
+
id: "inside-base-values",
|
|
9348
|
+
title: "Combo column values inside the base",
|
|
9349
|
+
kind: "example",
|
|
9350
|
+
data: {
|
|
9351
|
+
categories: [{ id: "a", label: "Period A" }, { id: "b", label: "Period B" }, { id: "c", label: "Period C" }],
|
|
9352
|
+
series: [
|
|
9353
|
+
{ id: "value", label: "Column value", values: [80, 60, 100] },
|
|
9354
|
+
{ id: "line", label: "Line value", kind: "line", values: [50, 70, 80] }
|
|
9355
|
+
]
|
|
9356
|
+
},
|
|
9357
|
+
options: { title: "Column values near the base", labelPosition: "insideBase" }
|
|
9358
|
+
}
|
|
9359
|
+
);
|
|
8897
9360
|
registerFixtures("combo", fixtures10);
|
|
8898
9361
|
|
|
8899
9362
|
// src/core/charts/creative/fixtures.ts
|
|
@@ -8978,8 +9441,21 @@ var creativePlaceholderFixture = {
|
|
|
8978
9441
|
...creativeImageFixture.data,
|
|
8979
9442
|
media: { kind: "video", aspect: "1:1", poster: syntheticCreativeImage, alt: "Poster frame of a synthetic product video" }
|
|
8980
9443
|
}
|
|
9444
|
+
}, creativeColumnsRowsFixture = {
|
|
9445
|
+
...creativePlaceholderFixture,
|
|
9446
|
+
id: "columns-rows",
|
|
9447
|
+
title: "A creative table with the median column and two metrics left out",
|
|
9448
|
+
options: {
|
|
9449
|
+
...creativePlaceholderFixture.options,
|
|
9450
|
+
columnVisibility: { median: !1 },
|
|
9451
|
+
columnOrder: ["delta", "value"],
|
|
9452
|
+
columnOverrides: { value: { label: "This ad", width: 72, align: "right" }, delta: { label: "Against median", headAlign: "right" }, label: { width: 120 } },
|
|
9453
|
+
rowVisibility: { holdRate: !1, frequency: !1 },
|
|
9454
|
+
rowOrder: ["roas", "cpa"],
|
|
9455
|
+
rowOverrides: { roas: { label: "Return on spend" } }
|
|
9456
|
+
}
|
|
8981
9457
|
};
|
|
8982
|
-
registerFixtures("creative", [creativePlaceholderFixture, creativeImageFixture, creativeHostFixture, creativeVideoFixture]);
|
|
9458
|
+
registerFixtures("creative", [creativePlaceholderFixture, creativeImageFixture, creativeHostFixture, creativeVideoFixture, creativeColumnsRowsFixture]);
|
|
8983
9459
|
|
|
8984
9460
|
// src/core/charts/diagram/fixtures.ts
|
|
8985
9461
|
var fixtures11 = [
|
|
@@ -10045,6 +10521,19 @@ fixtures11.push({
|
|
|
10045
10521
|
},
|
|
10046
10522
|
options: { variant: "architecture", title: "Twenty nodes keep clear routes across four zones", source: "Illustrative", size: { width: 960 } }
|
|
10047
10523
|
});
|
|
10524
|
+
var serviceLevels = fixtures11.find((fixture) => fixture.data.inset !== void 0), serviceInset = serviceLevels.data.inset;
|
|
10525
|
+
fixtures11.push({
|
|
10526
|
+
...serviceLevels,
|
|
10527
|
+
id: "inset-no-heading",
|
|
10528
|
+
title: "An inset without its title, with authored column widths and alignment",
|
|
10529
|
+
tags: ["coverage"],
|
|
10530
|
+
data: { ...serviceLevels.data, inset: {
|
|
10531
|
+
title: serviceInset.title,
|
|
10532
|
+
rows: serviceInset.rows,
|
|
10533
|
+
heading: !1,
|
|
10534
|
+
columnOverrides: { label: { width: 120 }, value: { width: 80, align: "left" } }
|
|
10535
|
+
} }
|
|
10536
|
+
});
|
|
10048
10537
|
registerFixtures("diagram", fixtures11);
|
|
10049
10538
|
|
|
10050
10539
|
// src/core/charts/dot/fixtures.ts
|
|
@@ -10516,6 +11005,23 @@ fixtures12.push({
|
|
|
10516
11005
|
options: { title: "Group B exceeds the 35% target", format: "0%", valueAxis: { show: !0 }, size: { width: 640, height: 360 } },
|
|
10517
11006
|
annotations: [{ kind: "valueLine", value: 0.35, valueKind: "fraction", label: "Target" }]
|
|
10518
11007
|
});
|
|
11008
|
+
fixtures12.push({
|
|
11009
|
+
id: "column-overrides",
|
|
11010
|
+
title: "columnOverrides sets the widths, alignment and head word of the name and gap columns",
|
|
11011
|
+
kind: "example",
|
|
11012
|
+
data: {
|
|
11013
|
+
categories: [{ id: "north", label: "North region" }, { id: "south", label: "South region" }, { id: "east", label: "East region" }],
|
|
11014
|
+
series: [{ id: "fy25", label: "FY25", values: [42, 55, 31] }, { id: "fy26", label: "FY26", values: [48, 51, 39] }]
|
|
11015
|
+
},
|
|
11016
|
+
options: {
|
|
11017
|
+
title: "East gained the most",
|
|
11018
|
+
variant: "dumbbell",
|
|
11019
|
+
gapColumn: !0,
|
|
11020
|
+
source: "Illustrative data",
|
|
11021
|
+
size: { width: 720 },
|
|
11022
|
+
columnOverrides: { label: { width: 150, align: "left" }, gap: { width: 90, label: "Change", align: "center" } }
|
|
11023
|
+
}
|
|
11024
|
+
});
|
|
10519
11025
|
registerFixtures("dot", fixtures12);
|
|
10520
11026
|
|
|
10521
11027
|
// src/core/charts/funnel/fixtures.ts
|
|
@@ -10963,6 +11469,24 @@ fixtures13.push({
|
|
|
10963
11469
|
source: "Northwind Analytics, illustrative data"
|
|
10964
11470
|
}
|
|
10965
11471
|
});
|
|
11472
|
+
fixtures13.push({
|
|
11473
|
+
id: "column-overrides",
|
|
11474
|
+
title: "columnOverrides sets the width and head word of the cumulative conversion column",
|
|
11475
|
+
kind: "example",
|
|
11476
|
+
data: {
|
|
11477
|
+
categories: [{ id: "visits", label: "Visits" }, { id: "carts", label: "Carts" }, { id: "orders", label: "Orders" }],
|
|
11478
|
+
series: [{ id: "sessions", label: "Sessions", values: [12e3, 4200, 1800] }]
|
|
11479
|
+
},
|
|
11480
|
+
options: {
|
|
11481
|
+
variant: "centered",
|
|
11482
|
+
totalCvr: "column",
|
|
11483
|
+
title: "One visit in seven ends in an order",
|
|
11484
|
+
unit: "Sessions",
|
|
11485
|
+
source: "Illustrative data",
|
|
11486
|
+
size: { width: 720, height: 360 },
|
|
11487
|
+
columnOverrides: { totalCvr: { width: 130, label: "Of all visits", headAlign: "right" } }
|
|
11488
|
+
}
|
|
11489
|
+
});
|
|
10966
11490
|
registerFixtures("funnel", fixtures13);
|
|
10967
11491
|
|
|
10968
11492
|
// src/core/charts/gantt/fixtures.ts
|
|
@@ -11851,6 +12375,49 @@ fixtures14.push({
|
|
|
11851
12375
|
},
|
|
11852
12376
|
options: { title: "Data programme runs to November", source: "Invented data", size: { width: 900 } }
|
|
11853
12377
|
});
|
|
12378
|
+
var columnPlan = {
|
|
12379
|
+
rows: [
|
|
12380
|
+
{ id: "scope", label: "Scope", cols: ["Ana", { text: "Done", tone: "good" }], items: [{ id: "scope-bar", kind: "bar", start: "2026-01-12", end: "2026-02-27", label: "Scope" }] },
|
|
12381
|
+
{ id: "build", label: "Build", cols: ["Ben", { text: "On track", tone: "neutral" }], items: [{ id: "build-bar", kind: "bar", start: "2026-02-16", end: "2026-05-15", label: "Build" }] },
|
|
12382
|
+
{ id: "pilot", label: "Pilot", cols: ["Cleo", { text: "At risk", tone: "warn" }], items: [{ id: "pilot-bar", kind: "bar", start: "2026-05-04", end: "2026-06-26", label: "Pilot wave" }] },
|
|
12383
|
+
{ id: "launch", label: "Launch", cols: ["Dev", { text: "Not started", tone: "neutral" }], items: [{ id: "launch-bar", kind: "bar", start: "2026-06-15", end: "2026-07-31", label: "Launch" }, { id: "launch-day", kind: "milestone", start: "2026-07-31", label: "Go-live" }] }
|
|
12384
|
+
]
|
|
12385
|
+
};
|
|
12386
|
+
fixtures14.push(
|
|
12387
|
+
{
|
|
12388
|
+
id: "column-overrides",
|
|
12389
|
+
title: "Widths, alignment and heads set per column: a wide name column, the owner flush right and a renamed status head",
|
|
12390
|
+
kind: "example",
|
|
12391
|
+
data: columnPlan,
|
|
12392
|
+
options: {
|
|
12393
|
+
title: "Launch lands at the end of July",
|
|
12394
|
+
subtitle: { measure: "Launch plan", period: "H1 2026" },
|
|
12395
|
+
source: "Invented data",
|
|
12396
|
+
size: { width: 960 },
|
|
12397
|
+
colHeaders: ["Owner", "Status"],
|
|
12398
|
+
columnOverrides: {
|
|
12399
|
+
name: { width: 180, label: "Workstream" },
|
|
12400
|
+
meta0: { width: 90, align: "right", headAlign: "right" },
|
|
12401
|
+
meta1: { width: 120, label: "Health" }
|
|
12402
|
+
}
|
|
12403
|
+
}
|
|
12404
|
+
},
|
|
12405
|
+
{
|
|
12406
|
+
id: "meta-after-plot",
|
|
12407
|
+
title: "Owner and status columns on the far side of the bars",
|
|
12408
|
+
kind: "example",
|
|
12409
|
+
data: columnPlan,
|
|
12410
|
+
options: {
|
|
12411
|
+
title: "Launch lands at the end of July",
|
|
12412
|
+
subtitle: { measure: "Launch plan", period: "H1 2026" },
|
|
12413
|
+
source: "Invented data",
|
|
12414
|
+
size: { width: 960 },
|
|
12415
|
+
rowTint: !0,
|
|
12416
|
+
colHeaders: ["Owner", "Status"],
|
|
12417
|
+
columnOrder: ["plot", "meta"]
|
|
12418
|
+
}
|
|
12419
|
+
}
|
|
12420
|
+
);
|
|
11854
12421
|
registerFixtures("gantt", fixtures14);
|
|
11855
12422
|
|
|
11856
12423
|
// src/core/charts/grid/metricStackFixtures.ts
|
|
@@ -11897,6 +12464,33 @@ var categories = ["Oct", "Nov", "Dec", "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
|
|
11897
12464
|
{ id: "completion", type: "line", title: "Attended \u2192 completed", unit: "% of attended", measure: { numerator: ["completed"], denominator: "attended" }, readout: { base: "intake" } }
|
|
11898
12465
|
], states: { maturing: { from: "2026-07", to: "2026-09", panels: ["qualification", "booking", "attendance", "completion"] }, partial: { panels: ["qualification", "booking", "attendance", "completion"], footnote: "October is month to date." } }, periods: periods2.slice(2) },
|
|
11899
12466
|
options: { stack: {}, rows: [1, 1, 1, 1], size: { width: 1180 }, title: "The booking step loses the largest share of the original intake", subtitle: { measure: "Step conversion by creation cohort", period: "April\u2013October 2026" }, footnotes: ["Readouts use mature cohorts, weighted by source volume. Each panel starts at zero on its own scale."], source: "Invented example" }
|
|
12467
|
+
},
|
|
12468
|
+
{
|
|
12469
|
+
id: "stack-readout-parts",
|
|
12470
|
+
kind: "example",
|
|
12471
|
+
title: "Metric stack: readout gutter without the unit and the span",
|
|
12472
|
+
data: { categories: categories.slice(6, 12), measures: [
|
|
12473
|
+
{ id: "intake", label: "Intake", values: intake.slice(6, 12) },
|
|
12474
|
+
{ id: "retained", label: "Retained", values: retained.slice(6, 12) }
|
|
12475
|
+
], panels: [
|
|
12476
|
+
{ id: "intake", type: "column", title: "New enquiries", unit: "per month", measure: { sum: ["intake"] }, readout: "change" },
|
|
12477
|
+
{ id: "conversion", type: "line", title: "Conversion", unit: "% of enquiries", measure: { numerator: ["retained"], denominator: "intake" }, readout: "change", emphasis: !0 }
|
|
12478
|
+
], windows: { grain: "month", base: { from: "2026-04", to: "2026-06", label: "Q2 2026" }, compare: { from: "2026-07", to: "2026-09", label: "Q3 2026" } } },
|
|
12479
|
+
options: { stack: { columnVisibility: { unit: !1, span: !1 } }, size: { width: 960 }, title: "Enquiries rise while conversion falls", subtitle: { measure: "Enquiries and conversion", period: "April\u2013September 2026" }, source: "Invented example" }
|
|
12480
|
+
},
|
|
12481
|
+
{
|
|
12482
|
+
id: "stack-gutter-right",
|
|
12483
|
+
kind: "example",
|
|
12484
|
+
title: "Metric stack: readout gutter right of the plots, with a set width and alignment",
|
|
12485
|
+
data: { categories: categories.slice(6), measures: [
|
|
12486
|
+
{ id: "intake", label: "Intake", values: intake.slice(6) },
|
|
12487
|
+
{ id: "qualified", label: "Qualified", values: [2240, 2200, 2028, 2250, 2336, 2165, 390] },
|
|
12488
|
+
{ id: "booked", label: "Booked", values: [560, 528, 527, 608, 701, 693, 90] }
|
|
12489
|
+
], panels: [
|
|
12490
|
+
{ id: "qualification", type: "line", title: "Intake \u2192 qualified", unit: "% of intake", measure: { numerator: ["qualified"], denominator: "intake" }, readout: { base: "intake" } },
|
|
12491
|
+
{ id: "booking", type: "line", title: "Qualified \u2192 booked", unit: "% of qualified", measure: { numerator: ["booked"], denominator: "qualified" }, readout: { base: "intake" }, emphasis: !0 }
|
|
12492
|
+
], periods: periods2.slice(2) },
|
|
12493
|
+
options: { stack: { columnOrder: ["plot", "gutter"], columnOverrides: { gutter: { width: 200, align: "right" } } }, size: { width: 960 }, title: "The booking step loses the most intake", subtitle: { measure: "Step conversion by creation cohort", period: "April\u2013October 2026" }, source: "Invented example" }
|
|
11900
12494
|
}
|
|
11901
12495
|
];
|
|
11902
12496
|
|
|
@@ -11926,6 +12520,12 @@ var REV = {
|
|
|
11926
12520
|
{ id: "ac", label: "Actual", scenario: "AC", values: [118, 124, 109, 131, 127, 112, 135, 140] },
|
|
11927
12521
|
{ id: "pl", label: "Plan", scenario: "PL", role: "reference", values: [115, 120, 118, 122, 125, 126, 128, 130] }
|
|
11928
12522
|
]
|
|
12523
|
+
}, FY_PLAN = {
|
|
12524
|
+
categories: ["FY21", "FY22", "FY23", "FY24", "FY25"].map((label) => ({ id: label.toLowerCase(), label })),
|
|
12525
|
+
series: [
|
|
12526
|
+
{ id: "ac", label: "Actual", scenario: "AC", values: [410, 455, 470, 552, 588] },
|
|
12527
|
+
{ id: "pl", label: "Plan", scenario: "PL", role: "reference", values: [400, 450, 505, 545, 580] }
|
|
12528
|
+
]
|
|
11929
12529
|
}, fixtures15 = [
|
|
11930
12530
|
{
|
|
11931
12531
|
id: "stacked-plus-dpy",
|
|
@@ -12040,6 +12640,54 @@ var REV = {
|
|
|
12040
12640
|
source: "Illustrative order book"
|
|
12041
12641
|
}
|
|
12042
12642
|
},
|
|
12643
|
+
{
|
|
12644
|
+
// A callout on the one year below plan: at phone width the grid grows until it seats, wrapped over the column's plan tick.
|
|
12645
|
+
id: "actual-vs-plan-callout",
|
|
12646
|
+
title: "Actual vs plan by year with a callout on the year below plan, over a \u0394PL tier",
|
|
12647
|
+
kind: "example",
|
|
12648
|
+
data: {
|
|
12649
|
+
panels: [
|
|
12650
|
+
{
|
|
12651
|
+
id: "rev",
|
|
12652
|
+
type: "column",
|
|
12653
|
+
data: FY_PLAN,
|
|
12654
|
+
options: { labels: { tick: !1 }, highlight: ["fy23"] },
|
|
12655
|
+
annotations: [{ kind: "callout", at: { categoryId: "fy23", seriesId: "ac" }, text: "Supplier switch delayed launches" }]
|
|
12656
|
+
},
|
|
12657
|
+
{ id: "dpl", type: "variance", data: FY_PLAN, options: { variant: "absolute", variance: { vs: "pl" } } }
|
|
12658
|
+
]
|
|
12659
|
+
},
|
|
12660
|
+
options: {
|
|
12661
|
+
sharedAxis: "category",
|
|
12662
|
+
legend: "top",
|
|
12663
|
+
unit: "EUR m",
|
|
12664
|
+
title: "FY23 was the only year below plan",
|
|
12665
|
+
subtitle: { measure: "Revenue", period: "FY21 to FY25", scenarios: ["AC", "PL"] },
|
|
12666
|
+
source: "Illustrative data",
|
|
12667
|
+
sharedScale: !1
|
|
12668
|
+
}
|
|
12669
|
+
},
|
|
12670
|
+
{
|
|
12671
|
+
// The variance tier under the columns: the week labels stand between the columns and the ΔPL bars.
|
|
12672
|
+
id: "weekly-actual-vs-plan-variance-below",
|
|
12673
|
+
title: "Actual vs plan by week with the \u0394PL tier below the columns",
|
|
12674
|
+
kind: "example",
|
|
12675
|
+
data: {
|
|
12676
|
+
panels: [
|
|
12677
|
+
{ id: "orders", type: "column", data: WEEKLY_ORDERS, options: { labels: { tick: !1 } } },
|
|
12678
|
+
{ id: "dpl", type: "variance", data: WEEKLY_ORDERS, options: { variant: "absolute", variance: { vs: "pl" } } }
|
|
12679
|
+
]
|
|
12680
|
+
},
|
|
12681
|
+
options: {
|
|
12682
|
+
sharedAxis: "category",
|
|
12683
|
+
variancePosition: "below",
|
|
12684
|
+
legend: "top",
|
|
12685
|
+
unit: "k orders",
|
|
12686
|
+
title: "Orders beat plan in six of eight weeks; W06 fell 14k short",
|
|
12687
|
+
subtitle: { measure: "Weekly orders", period: "W01 to W08 2026", scenarios: ["AC", "PL"] },
|
|
12688
|
+
source: "Illustrative order book"
|
|
12689
|
+
}
|
|
12690
|
+
},
|
|
12043
12691
|
{
|
|
12044
12692
|
id: "compact-tier-slack",
|
|
12045
12693
|
title: "Torture: compact tiers distribute vertical slack",
|
|
@@ -13459,11 +14107,35 @@ fixtures16.push({
|
|
|
13459
14107
|
series: journeySegments.slice(0, 4).map(([id, label, sizes, values]) => ({ id, label, values: values.slice(0, 8).map((pct) => ({ pct })), sizes: sizes.slice(0, 8).map((level) => level * 120) }))
|
|
13460
14108
|
},
|
|
13461
14109
|
options: {
|
|
13462
|
-
variant: "bubble",
|
|
13463
|
-
bubble: { track: !0, sizeLabel: "Respondents", colorLabel: "Satisfied, %" },
|
|
13464
|
-
title: "Satisfaction along the buying journey for four segments",
|
|
13465
|
-
source: "Invented customer survey",
|
|
13466
|
-
size: { width: 820, height: 420 }
|
|
14110
|
+
variant: "bubble",
|
|
14111
|
+
bubble: { track: !0, sizeLabel: "Respondents", colorLabel: "Satisfied, %" },
|
|
14112
|
+
title: "Satisfaction along the buying journey for four segments",
|
|
14113
|
+
source: "Invented customer survey",
|
|
14114
|
+
size: { width: 820, height: 420 }
|
|
14115
|
+
}
|
|
14116
|
+
});
|
|
14117
|
+
fixtures16.push({
|
|
14118
|
+
id: "column-widths",
|
|
14119
|
+
kind: "example",
|
|
14120
|
+
title: "A wider first column, aligned values and a renamed head",
|
|
14121
|
+
tags: [],
|
|
14122
|
+
data: {
|
|
14123
|
+
categories: [{ id: "q1", label: "Q1" }, { id: "q2", label: "Q2" }, { id: "q3", label: "Q3" }, { id: "fy", label: "FY" }],
|
|
14124
|
+
series: [
|
|
14125
|
+
{ id: "north", label: "Northern region", values: [12, 18, 21, 51] },
|
|
14126
|
+
{ id: "east", label: "Eastern region", values: [9, 11, 14, 34] },
|
|
14127
|
+
{ id: "south", label: "Southern region", values: [15, 13, 10, 38] }
|
|
14128
|
+
]
|
|
14129
|
+
},
|
|
14130
|
+
options: {
|
|
14131
|
+
title: "Support tickets by region and quarter",
|
|
14132
|
+
source: "Invented support data",
|
|
14133
|
+
size: { width: 720 },
|
|
14134
|
+
columnOverrides: {
|
|
14135
|
+
label: { width: 170, align: "left" },
|
|
14136
|
+
q2: { align: "right", headAlign: "right" },
|
|
14137
|
+
fy: { width: 150, label: "Full year" }
|
|
14138
|
+
}
|
|
13467
14139
|
}
|
|
13468
14140
|
});
|
|
13469
14141
|
registerFixtures("heatmap", fixtures16);
|
|
@@ -14061,6 +14733,18 @@ fixtures18.push({
|
|
|
14061
14733
|
bands: [{ to: 2.5, tone: "good", label: "On plan" }, { to: 4, tone: "warn", label: "Watch" }, { to: 7, tone: "neutral", label: "Unrated" }, { to: 10, tone: "bad", label: "Off plan" }]
|
|
14062
14734
|
}
|
|
14063
14735
|
});
|
|
14736
|
+
fixtures18.push({
|
|
14737
|
+
id: "column-overrides",
|
|
14738
|
+
title: "columnOverrides sets the width and alignment of the comparison columns",
|
|
14739
|
+
kind: "example",
|
|
14740
|
+
data: {
|
|
14741
|
+
label: "Net revenue",
|
|
14742
|
+
value: 412e3,
|
|
14743
|
+
format: "$412k",
|
|
14744
|
+
compare: [{ vs: 38e4, label: "PY" }, { vs: 45e4, label: "Plan" }]
|
|
14745
|
+
},
|
|
14746
|
+
options: { size: { width: 420 }, columnOverrides: { value: { width: 130, align: "right" }, label: { width: 80, align: "right" } } }
|
|
14747
|
+
});
|
|
14064
14748
|
registerFixtures("kpi", fixtures18);
|
|
14065
14749
|
|
|
14066
14750
|
// src/core/charts/likert/fixtures.ts
|
|
@@ -14428,6 +15112,52 @@ fixtures19.push({
|
|
|
14428
15112
|
size: { width: 1184, height: 528 }
|
|
14429
15113
|
}
|
|
14430
15114
|
});
|
|
15115
|
+
var pulse = {
|
|
15116
|
+
scale: [
|
|
15117
|
+
{ id: "sd", label: "Strongly disagree" },
|
|
15118
|
+
{ id: "d", label: "Disagree" },
|
|
15119
|
+
{ id: "n", label: "Neutral", role: "neutral" },
|
|
15120
|
+
{ id: "a", label: "Agree" },
|
|
15121
|
+
{ id: "sa", label: "Strongly agree" }
|
|
15122
|
+
],
|
|
15123
|
+
items: [
|
|
15124
|
+
{ id: "tools", label: "I have the tools I need", values: [12, 24, 40, 88, 36] },
|
|
15125
|
+
{ id: "goals", label: "My goals are clear", values: [8, 18, 34, 92, 48] },
|
|
15126
|
+
{ id: "growth", label: "I can grow here", values: [20, 32, 44, 70, 24] }
|
|
15127
|
+
]
|
|
15128
|
+
};
|
|
15129
|
+
fixtures19.push({
|
|
15130
|
+
id: "column-overrides",
|
|
15131
|
+
title: "columnOverrides sets the widths, alignment and head words of the name, net and base columns",
|
|
15132
|
+
kind: "example",
|
|
15133
|
+
data: pulse,
|
|
15134
|
+
options: {
|
|
15135
|
+
title: "Clear goals earn the strongest agreement",
|
|
15136
|
+
values: "counts",
|
|
15137
|
+
source: "Pulse survey, invented data",
|
|
15138
|
+
size: { width: 800 },
|
|
15139
|
+
columnOverrides: { label: { width: 240, align: "right" }, net: { width: 80, label: "Net score" }, base: { width: 70, label: "Answers", align: "center" } }
|
|
15140
|
+
}
|
|
15141
|
+
});
|
|
15142
|
+
fixtures19.push({
|
|
15143
|
+
id: "columns-after-plot",
|
|
15144
|
+
title: "columnOrder moves the net and base columns to the other side of the marks",
|
|
15145
|
+
kind: "example",
|
|
15146
|
+
data: pulse,
|
|
15147
|
+
options: { title: "Clear goals earn the strongest agreement", values: "counts", source: "Pulse survey, invented data", size: { width: 800 }, columnOrder: ["base", "net", "plot"] }
|
|
15148
|
+
});
|
|
15149
|
+
fixtures19.push(
|
|
15150
|
+
{
|
|
15151
|
+
id: "inside-base-values",
|
|
15152
|
+
title: "Response shares inside each segment base",
|
|
15153
|
+
kind: "example",
|
|
15154
|
+
data: { scale: FIVE_POINT, items: [
|
|
15155
|
+
{ id: "first", label: "The first step is clear", values: [20, 20, 20, 20, 20] },
|
|
15156
|
+
{ id: "next", label: "The next step is clear", values: [15, 25, 20, 25, 15] }
|
|
15157
|
+
] },
|
|
15158
|
+
options: { title: "Response shares near each segment base", values: "counts", neutral: "split", labelPosition: "insideBase", labelDensity: "full" }
|
|
15159
|
+
}
|
|
15160
|
+
);
|
|
14431
15161
|
registerFixtures("likert", fixtures19);
|
|
14432
15162
|
|
|
14433
15163
|
// src/core/charts/line/cohortFixtures.ts
|
|
@@ -17130,6 +17860,98 @@ fixtures20.push(
|
|
|
17130
17860
|
to: { categoryId: "fy24", seriesId: "cloud" }
|
|
17131
17861
|
}
|
|
17132
17862
|
]
|
|
17863
|
+
},
|
|
17864
|
+
/** A callout arrow under the arrow standard: an 8 x 7 px head, the tip 6 px off the marker, a shaft of at least 24 px. */
|
|
17865
|
+
{
|
|
17866
|
+
id: "callout-arrow",
|
|
17867
|
+
title: "Callout arrow from a note to the point it names",
|
|
17868
|
+
kind: "example",
|
|
17869
|
+
data: {
|
|
17870
|
+
categories: [
|
|
17871
|
+
{ id: "q1-24", label: "Q1 24" },
|
|
17872
|
+
{ id: "q2-24", label: "Q2 24" },
|
|
17873
|
+
{ id: "q3-24", label: "Q3 24" },
|
|
17874
|
+
{ id: "q4-24", label: "Q4 24" },
|
|
17875
|
+
{ id: "q1-25", label: "Q1 25" },
|
|
17876
|
+
{ id: "q2-25", label: "Q2 25" },
|
|
17877
|
+
{ id: "q3-25", label: "Q3 25" },
|
|
17878
|
+
{ id: "q4-25", label: "Q4 25" }
|
|
17879
|
+
],
|
|
17880
|
+
series: [
|
|
17881
|
+
{ id: "us", label: "Our share", values: [18, 19, 19, 21, 24, 27, 28, 29] },
|
|
17882
|
+
{ id: "rival", label: "Main rival", values: [26, 26, 25, 24, 23, 22, 22, 21] }
|
|
17883
|
+
]
|
|
17884
|
+
},
|
|
17885
|
+
options: {
|
|
17886
|
+
title: "We overtook the main rival in Q1 2025",
|
|
17887
|
+
unit: "%",
|
|
17888
|
+
source: "Illustrative panel data",
|
|
17889
|
+
valueAxis: { min: 15, max: 30 },
|
|
17890
|
+
highlight: ["us"]
|
|
17891
|
+
},
|
|
17892
|
+
annotations: [{ kind: "callout", at: { categoryId: "q4-24", seriesId: "us" }, text: "Price cut in Q4 24", preferSide: "below", arrow: !0 }]
|
|
17893
|
+
},
|
|
17894
|
+
/** The same callout under the theme key marks.arrow.style 'compact': the small head and 1 px shaft before the arrow standard. */
|
|
17895
|
+
{
|
|
17896
|
+
id: "callout-arrow-compact",
|
|
17897
|
+
title: "Callout arrow in the compact arrow look",
|
|
17898
|
+
kind: "example",
|
|
17899
|
+
data: {
|
|
17900
|
+
categories: [
|
|
17901
|
+
{ id: "q1-24", label: "Q1 24" },
|
|
17902
|
+
{ id: "q2-24", label: "Q2 24" },
|
|
17903
|
+
{ id: "q3-24", label: "Q3 24" },
|
|
17904
|
+
{ id: "q4-24", label: "Q4 24" },
|
|
17905
|
+
{ id: "q1-25", label: "Q1 25" },
|
|
17906
|
+
{ id: "q2-25", label: "Q2 25" },
|
|
17907
|
+
{ id: "q3-25", label: "Q3 25" },
|
|
17908
|
+
{ id: "q4-25", label: "Q4 25" }
|
|
17909
|
+
],
|
|
17910
|
+
series: [
|
|
17911
|
+
{ id: "us", label: "Our share", values: [18, 19, 19, 21, 24, 27, 28, 29] },
|
|
17912
|
+
{ id: "rival", label: "Main rival", values: [26, 26, 25, 24, 23, 22, 22, 21] }
|
|
17913
|
+
]
|
|
17914
|
+
},
|
|
17915
|
+
options: {
|
|
17916
|
+
theme: { preset: "bridge", overrides: { marks: { arrow: { style: "compact" } } } },
|
|
17917
|
+
title: "We overtook the main rival in Q1 2025",
|
|
17918
|
+
unit: "%",
|
|
17919
|
+
source: "Illustrative panel data",
|
|
17920
|
+
valueAxis: { min: 15, max: 30 },
|
|
17921
|
+
highlight: ["us"]
|
|
17922
|
+
},
|
|
17923
|
+
annotations: [{ kind: "callout", at: { categoryId: "q4-24", seriesId: "us" }, text: "Price cut in Q4 24", preferSide: "below", arrow: !0 }]
|
|
17924
|
+
},
|
|
17925
|
+
/** The same callout with the theme key marks.arrow.stroke 1.5: a shaft as heavy as the data marks. */
|
|
17926
|
+
{
|
|
17927
|
+
id: "callout-arrow-heavy",
|
|
17928
|
+
title: "Callout arrow with a heavy shaft",
|
|
17929
|
+
kind: "example",
|
|
17930
|
+
data: {
|
|
17931
|
+
categories: [
|
|
17932
|
+
{ id: "q1-24", label: "Q1 24" },
|
|
17933
|
+
{ id: "q2-24", label: "Q2 24" },
|
|
17934
|
+
{ id: "q3-24", label: "Q3 24" },
|
|
17935
|
+
{ id: "q4-24", label: "Q4 24" },
|
|
17936
|
+
{ id: "q1-25", label: "Q1 25" },
|
|
17937
|
+
{ id: "q2-25", label: "Q2 25" },
|
|
17938
|
+
{ id: "q3-25", label: "Q3 25" },
|
|
17939
|
+
{ id: "q4-25", label: "Q4 25" }
|
|
17940
|
+
],
|
|
17941
|
+
series: [
|
|
17942
|
+
{ id: "us", label: "Our share", values: [18, 19, 19, 21, 24, 27, 28, 29] },
|
|
17943
|
+
{ id: "rival", label: "Main rival", values: [26, 26, 25, 24, 23, 22, 22, 21] }
|
|
17944
|
+
]
|
|
17945
|
+
},
|
|
17946
|
+
options: {
|
|
17947
|
+
theme: { preset: "bridge", overrides: { marks: { arrow: { stroke: 1.5 } } } },
|
|
17948
|
+
title: "We overtook the main rival in Q1 2025",
|
|
17949
|
+
unit: "%",
|
|
17950
|
+
source: "Illustrative panel data",
|
|
17951
|
+
valueAxis: { min: 15, max: 30 },
|
|
17952
|
+
highlight: ["us"]
|
|
17953
|
+
},
|
|
17954
|
+
annotations: [{ kind: "callout", at: { categoryId: "q4-24", seriesId: "us" }, text: "Price cut in Q4 24", preferSide: "below", arrow: !0 }]
|
|
17133
17955
|
}
|
|
17134
17956
|
);
|
|
17135
17957
|
var focusFixture = {
|
|
@@ -17889,8 +18711,56 @@ var smallDrawerFixture = {
|
|
|
17889
18711
|
]
|
|
17890
18712
|
},
|
|
17891
18713
|
options: { title: "Active users grow over five years", unit: "users", source: "Illustrative data", valueAxis: { log: !0, show: !0 } }
|
|
18714
|
+
}, drawingKindsFixture = {
|
|
18715
|
+
id: "drawing-kinds",
|
|
18716
|
+
title: "A box over the maintenance weeks, the normal load and an arrow from a note",
|
|
18717
|
+
kind: "example",
|
|
18718
|
+
data: {
|
|
18719
|
+
categories: [
|
|
18720
|
+
{ id: "w1", label: "W1" },
|
|
18721
|
+
{ id: "w2", label: "W2" },
|
|
18722
|
+
{ id: "w3", label: "W3" },
|
|
18723
|
+
{ id: "w4", label: "W4" },
|
|
18724
|
+
{ id: "w5", label: "W5" },
|
|
18725
|
+
{ id: "w6", label: "W6" },
|
|
18726
|
+
{ id: "w7", label: "W7" },
|
|
18727
|
+
{ id: "w8", label: "W8" }
|
|
18728
|
+
],
|
|
18729
|
+
series: [{ id: "load", label: "Load", values: [52, 54, 51, 38, 35, 37, 49, 53] }]
|
|
18730
|
+
},
|
|
18731
|
+
options: { title: "Load dropped during the maintenance weeks", unit: "%", source: "Illustrative data", valueAxis: { min: 20, max: 60 } },
|
|
18732
|
+
annotations: [
|
|
18733
|
+
{ kind: "box", id: "maintenance", from: { categoryId: "w4", value: 30 }, to: { categoryId: "w6", value: 42 } },
|
|
18734
|
+
{ kind: "line", id: "normal-load", from: { categoryId: "w1", value: 53 }, to: { categoryId: "w8", value: 53 }, dashed: !0 },
|
|
18735
|
+
{ kind: "text", id: "normal-load-note", at: { categoryId: "w2", value: 58 }, text: "Normal load" },
|
|
18736
|
+
{ kind: "text", id: "maintenance-note", at: { categoryId: "w2", value: 28 }, text: "Planned maintenance" },
|
|
18737
|
+
{ kind: "arrow", id: "low-point", from: { annotationId: "maintenance-note" }, to: { categoryId: "w5", value: 33 } }
|
|
18738
|
+
]
|
|
18739
|
+
}, valueLineEndValueFixture = {
|
|
18740
|
+
id: "value-line-end-value",
|
|
18741
|
+
title: "A named value line at the series end value prints its name beside that value",
|
|
18742
|
+
kind: "example",
|
|
18743
|
+
data: drawingKindsFixture.data,
|
|
18744
|
+
options: { title: "Load dropped during the maintenance weeks", unit: "%", source: "Illustrative data", valueAxis: { min: 30, max: 60 }, valueLabels: "extremes" },
|
|
18745
|
+
annotations: [
|
|
18746
|
+
{ kind: "band", style: "shade", from: "w4", to: "w6", label: "Planned maintenance" },
|
|
18747
|
+
{ kind: "valueLine", value: 53, label: "Normal load" }
|
|
18748
|
+
]
|
|
18749
|
+
}, shadeBandInsideWrapFixture = {
|
|
18750
|
+
...valueLineEndValueFixture,
|
|
18751
|
+
id: "shade-band-inside-wrap",
|
|
18752
|
+
title: "A narrow shaded band wraps its name inside",
|
|
18753
|
+
options: { ...valueLineEndValueFixture.options, subtitle: { measure: "Load by week" }, size: { width: 360 } },
|
|
18754
|
+
annotations: [
|
|
18755
|
+
{ kind: "band", id: "maintenance", style: "shade", from: "w4", to: "w6", label: "Planned maintenance" }
|
|
18756
|
+
]
|
|
18757
|
+
}, pointEmphasisFixture = {
|
|
18758
|
+
...valueLineEndValueFixture,
|
|
18759
|
+
id: "point-emphasis",
|
|
18760
|
+
title: "A selected trough emphasizes its marker and value while the line keeps its ink",
|
|
18761
|
+
options: { ...valueLineEndValueFixture.options, subtitle: { measure: "Load by week" }, highlight: ["w5"], pointLabelSide: "shape", valueAxis: { min: 30, max: 60, gridlines: !0 } }
|
|
17892
18762
|
};
|
|
17893
|
-
registerFixtures("line", [...fixtures20, smallDrawerFixture, anomalyLineFixture, weeklyEventsLineFixture, eventsKeyLineFixture, focusFixture, nearZeroTailsFixture, partialWeekFixture2, hostCardFixture, hostCardUnitShownFixture, markInkFixture, cellLabelFixture, ...cohortLineFixtures, briefLineFixture, themeConventionsFixture, areaFromOriginFixture, ...coverageLineFixtures, cycleBandsFixture, gapBracketFixture, stackedAreaBenchmarkFixture, stackedAreaRestFixture, strokeSamplerFixture, ratioPlainFormatRefusal, rebaseMissingNoteFixture, rebaseZeroNoteFixture, bandHeadroomFixture, lateStartFixture, trendFixture, ...continuousLineFixtures, logAxisFixture]);
|
|
18763
|
+
registerFixtures("line", [...fixtures20, drawingKindsFixture, valueLineEndValueFixture, shadeBandInsideWrapFixture, pointEmphasisFixture, smallDrawerFixture, anomalyLineFixture, weeklyEventsLineFixture, eventsKeyLineFixture, focusFixture, nearZeroTailsFixture, partialWeekFixture2, hostCardFixture, hostCardUnitShownFixture, markInkFixture, cellLabelFixture, ...cohortLineFixtures, briefLineFixture, themeConventionsFixture, areaFromOriginFixture, ...coverageLineFixtures, cycleBandsFixture, gapBracketFixture, stackedAreaBenchmarkFixture, stackedAreaRestFixture, strokeSamplerFixture, ratioPlainFormatRefusal, rebaseMissingNoteFixture, rebaseZeroNoteFixture, bandHeadroomFixture, lateStartFixture, trendFixture, ...continuousLineFixtures, logAxisFixture]);
|
|
17894
18764
|
|
|
17895
18765
|
// src/core/charts/mekko/fixtures.ts
|
|
17896
18766
|
var fixtures21 = [
|
|
@@ -18241,6 +19111,21 @@ fixtures21.push({
|
|
|
18241
19111
|
}
|
|
18242
19112
|
});
|
|
18243
19113
|
fixtures21.push({ id: "rounding-smallest-tie", title: "Equal-remainder ties favor the smaller share", kind: "torture", data: { categories: [{ id: "a", label: "A" }], series: [{ id: "large", label: "Large", unit: "$", values: [4025] }, { id: "small", label: "Small", unit: "$", values: [3025] }, { id: "other", label: "Other", unit: "$", values: [2025] }, { id: "tiny", label: "Smallest", unit: "$", values: [925] }] }, options: { title: "The smaller share gets the tie adjustment", variant: "stacked100", rounding: "sum-consistent", format: "1%", size: { width: 700, height: 400 } } });
|
|
19114
|
+
fixtures21.push(
|
|
19115
|
+
{
|
|
19116
|
+
id: "bar-inside-base-values",
|
|
19117
|
+
title: "Mekko bar values inside the base",
|
|
19118
|
+
kind: "example",
|
|
19119
|
+
data: {
|
|
19120
|
+
categories: [{ id: "a", label: "Group A" }, { id: "b", label: "Group B" }, { id: "c", label: "Group C" }],
|
|
19121
|
+
series: [
|
|
19122
|
+
{ id: "value", label: "Value", unit: "%", values: [80, 60, 100] },
|
|
19123
|
+
{ id: "width", label: "Width", role: "reference", unit: "$bn", values: [30, 40, 30] }
|
|
19124
|
+
]
|
|
19125
|
+
},
|
|
19126
|
+
options: { title: "Values inside each variable-width bar", variant: "bar", widthSeriesId: "width", unit: "%", valueAxis: { show: !0 }, axisTitles: { primary: "Value, %" }, labelPosition: "insideBase" }
|
|
19127
|
+
}
|
|
19128
|
+
);
|
|
18244
19129
|
registerFixtures("mekko", fixtures21);
|
|
18245
19130
|
|
|
18246
19131
|
// src/core/charts/pareto/fixtures.ts
|
|
@@ -18383,7 +19268,7 @@ var ACCOUNTS = [
|
|
|
18383
19268
|
subtitle: { measure: "Revenue", period: "FY25" },
|
|
18384
19269
|
unit: "$k",
|
|
18385
19270
|
axisTitles: { primary: "Revenue, $k" },
|
|
18386
|
-
topN: { n: 10, rest: !0, restLabel: "Other accounts"
|
|
19271
|
+
topN: { n: 10, rest: !0, restLabel: "Other accounts" },
|
|
18387
19272
|
source: "Billing extract"
|
|
18388
19273
|
}
|
|
18389
19274
|
},
|
|
@@ -19091,6 +19976,20 @@ fixtures24.push({
|
|
|
19091
19976
|
title: "The revenue bridge without the net change over the closing column",
|
|
19092
19977
|
options: { ...revenueBridge.options, netChange: !1 }
|
|
19093
19978
|
});
|
|
19979
|
+
fixtures24.push({
|
|
19980
|
+
...revenueBridge,
|
|
19981
|
+
id: "no-point-labels",
|
|
19982
|
+
title: "The revenue bridge prints no step or total values, and keeps the net change",
|
|
19983
|
+
tags: ["coverage"],
|
|
19984
|
+
options: { ...revenueBridge.options, labels: { point: !1 } }
|
|
19985
|
+
}, {
|
|
19986
|
+
...revenueBridge,
|
|
19987
|
+
id: "column-overrides",
|
|
19988
|
+
title: "A bridge whose long names turn it horizontal takes an authored name band",
|
|
19989
|
+
tags: ["coverage"],
|
|
19990
|
+
data: { ...revenueBridge.data, priorLabel: "Audited consolidated revenue of the prior fiscal year", currentLabel: "Audited consolidated revenue of the current fiscal year" },
|
|
19991
|
+
options: { ...revenueBridge.options, netChange: !1, size: { width: 720 }, columnOverrides: { label: { width: 220 } } }
|
|
19992
|
+
});
|
|
19094
19993
|
registerFixtures("pvm", fixtures24);
|
|
19095
19994
|
|
|
19096
19995
|
// src/core/charts/pyramid/fixtures.ts
|
|
@@ -19316,6 +20215,16 @@ fixtures25.push({
|
|
|
19316
20215
|
annotations: [{ id: "gap", kind: "diff", mode: "absolute", from: { categoryId: "adult", seriesId: "before" }, to: { categoryId: "adult", seriesId: "after" }, text: "FY21 to FY23: ${value}" }]
|
|
19317
20216
|
}
|
|
19318
20217
|
});
|
|
20218
|
+
fixtures25.push({
|
|
20219
|
+
id: "column-overrides",
|
|
20220
|
+
title: "columnOverrides sets the width and alignment of the band column",
|
|
20221
|
+
kind: "example",
|
|
20222
|
+
data: {
|
|
20223
|
+
bands: [{ id: "young", from: 0, to: 20, label: "0 to 19" }, { id: "adult", from: 20, to: 40, label: "20 to 39" }, { id: "older", from: 40, to: 60, label: "40 to 59" }],
|
|
20224
|
+
groups: [{ id: "women", label: "Women", values: [31, 42, 38] }, { id: "men", label: "Men", values: [33, 44, 35] }]
|
|
20225
|
+
},
|
|
20226
|
+
options: { title: "Ages 20 to 39 are the largest group on both sides", source: "Illustrative data", size: { width: 640 }, columnOverrides: { label: { width: 120, align: "left" } } }
|
|
20227
|
+
});
|
|
19319
20228
|
registerFixtures("pyramid", fixtures25);
|
|
19320
20229
|
|
|
19321
20230
|
// src/core/charts/scatter/fixtures.ts
|
|
@@ -20854,6 +21763,22 @@ fixtures27.push({
|
|
|
20854
21763
|
tags: ["coverage"],
|
|
20855
21764
|
options: { ...plantCost.options, variant: "lines" }
|
|
20856
21765
|
});
|
|
21766
|
+
fixtures27.push({
|
|
21767
|
+
id: "column-overrides",
|
|
21768
|
+
title: "columnOverrides sets the width, alignment and head word of the change column",
|
|
21769
|
+
kind: "example",
|
|
21770
|
+
data: {
|
|
21771
|
+
categories: [{ id: "fy25", label: "FY25" }, { id: "fy26", label: "FY26" }],
|
|
21772
|
+
series: [{ id: "north", label: "North", values: [42, 48] }, { id: "south", label: "South", values: [55, 51] }, { id: "east", label: "East", values: [31, 39] }]
|
|
21773
|
+
},
|
|
21774
|
+
options: {
|
|
21775
|
+
title: "East gained the most",
|
|
21776
|
+
change: "absolute",
|
|
21777
|
+
source: "Illustrative data",
|
|
21778
|
+
size: { width: 720 },
|
|
21779
|
+
columnOverrides: { change: { width: 110, label: "Move", align: "center", headAlign: "right" } }
|
|
21780
|
+
}
|
|
21781
|
+
});
|
|
20857
21782
|
registerFixtures("slope", fixtures27);
|
|
20858
21783
|
|
|
20859
21784
|
// src/core/charts/sparkline/fixtures.ts
|
|
@@ -21361,6 +22286,41 @@ fixtures29.push({
|
|
|
21361
22286
|
tags: ["theme"],
|
|
21362
22287
|
options: { ...capability.options, theme: { preset: "standard", overrides: { marks: { statusFill: "full" } } } }
|
|
21363
22288
|
});
|
|
22289
|
+
fixtures29.push({
|
|
22290
|
+
id: "column-widths",
|
|
22291
|
+
kind: "example",
|
|
22292
|
+
title: "A wider last column, aligned heads and a renamed head",
|
|
22293
|
+
tags: [],
|
|
22294
|
+
data: {
|
|
22295
|
+
rows: [{ id: "web", label: "Web shop" }, { id: "app", label: "Mobile app" }, { id: "pos", label: "Store tills" }],
|
|
22296
|
+
columns: [{ id: "design", label: "Design" }, { id: "build", label: "Build" }, { id: "test", label: "Test" }, { id: "ship", label: "Ship" }],
|
|
22297
|
+
cells: [
|
|
22298
|
+
{ row: "web", col: "design", state: "done" },
|
|
22299
|
+
{ row: "web", col: "build", state: "done" },
|
|
22300
|
+
{ row: "web", col: "test", state: "late" },
|
|
22301
|
+
{ row: "web", col: "ship", state: "open" },
|
|
22302
|
+
{ row: "app", col: "design", state: "done" },
|
|
22303
|
+
{ row: "app", col: "build", state: "late" },
|
|
22304
|
+
{ row: "app", col: "test", state: "open" },
|
|
22305
|
+
{ row: "app", col: "ship", state: "open" },
|
|
22306
|
+
{ row: "pos", col: "design", state: "done" },
|
|
22307
|
+
{ row: "pos", col: "build", state: "done" },
|
|
22308
|
+
{ row: "pos", col: "test", state: "done" },
|
|
22309
|
+
{ row: "pos", col: "ship", state: "late" }
|
|
22310
|
+
]
|
|
22311
|
+
},
|
|
22312
|
+
options: {
|
|
22313
|
+
title: "Release stages by product",
|
|
22314
|
+
source: "Invented project data",
|
|
22315
|
+
size: { width: 720 },
|
|
22316
|
+
states: [{ id: "done", label: "Done", tone: "good" }, { id: "late", label: "Late", tone: "bad" }, { id: "open", label: "Open", tone: "neutral" }],
|
|
22317
|
+
columnOverrides: {
|
|
22318
|
+
label: { width: 170, align: "left" },
|
|
22319
|
+
design: { headAlign: "left" },
|
|
22320
|
+
ship: { width: 220, label: "Ship to customers", headAlign: "right" }
|
|
22321
|
+
}
|
|
22322
|
+
}
|
|
22323
|
+
});
|
|
21364
22324
|
registerFixtures("status", fixtures29);
|
|
21365
22325
|
|
|
21366
22326
|
// src/core/charts/table/cohortFixtures.ts
|
|
@@ -24610,6 +25570,22 @@ fixtures30.push({
|
|
|
24610
25570
|
] },
|
|
24611
25571
|
options: { title: "Branded search spends $4,400 a month", variant: "steering", mountCollapsed: !1 }
|
|
24612
25572
|
});
|
|
25573
|
+
fixtures30.push({
|
|
25574
|
+
id: "row-label-three-lines",
|
|
25575
|
+
title: "Campaign names on three lines in a capped label track",
|
|
25576
|
+
kind: "example",
|
|
25577
|
+
data: { columns: [
|
|
25578
|
+
{ id: "name", kind: "rowLabel", label: "Campaign", maxWidth: 170 },
|
|
25579
|
+
{ id: "spend", kind: "value", label: "Spend", format: "$1.1k", aggregate: "sum" },
|
|
25580
|
+
{ id: "purchases", kind: "value", label: "Purchases", format: "1", aggregate: "sum" }
|
|
25581
|
+
], rows: [
|
|
25582
|
+
{ id: "a", label: "Garden-Tools_Spring-Sale_Northern_Region_Broad-Reach_Wave_Q4", cells: { spend: 28e3, purchases: 18 } },
|
|
25583
|
+
{ id: "b", label: "Garden-Tools_Spring-Sale_Northern_Return-Visitors_14d", cells: { spend: 38e3, purchases: 31 } },
|
|
25584
|
+
{ id: "c", label: "Brand search", cells: { spend: 12500, purchases: 52 } },
|
|
25585
|
+
{ id: "d", label: "Kitchen-Goods_Autumn-Sale_Southern_Hobby-Cooks_v3.2", cells: { spend: 24500, purchases: 46 } }
|
|
25586
|
+
] },
|
|
25587
|
+
options: { title: "Four campaigns spend $103k", source: "Invented campaign names", rowLabelLines: 3 }
|
|
25588
|
+
});
|
|
24613
25589
|
fixtures30.push({
|
|
24614
25590
|
id: "long-campaign-names",
|
|
24615
25591
|
title: "Campaign names that wrap after _ and - in a capped label track",
|
|
@@ -24828,6 +25804,10 @@ fixtures30.push(
|
|
|
24828
25804
|
{ id: "height-fill-none", title: "A pinned height keeps the rows at their natural height and leaves the rest empty", kind: "example", tags: [], data: groupsData(), options: { title: "Rows keep their natural height", heightFill: "none", size: { width: 720, height: 405 } } },
|
|
24829
25805
|
{ id: "table-look-keys", title: "A theme sets the quiet row rule, its width and the secondary ink; each open block opens on the rule ink", kind: "example", tags: [], data: groupsData(), options: { title: "Costs rose less than revenue", theme: { preset: "boardroom", overrides: { table: { ruleInk: "#B9C7D6", ruleWidths: { row: 1 }, inks: { secondary: "#3A5F86" }, blockRule: "rule" } } } } }
|
|
24830
25806
|
);
|
|
25807
|
+
fixtures30.push(
|
|
25808
|
+
{ id: "no-column-heads", title: "No head row and no group heading: the first row starts at the top of the table", kind: "example", tags: [], data: { ...groupsData(), columnGroups: [{ id: "years", label: "Fiscal years", columns: ["fy25", "fy26"] }] }, options: { title: "Revenue and costs, FY2025 and FY2026, in $k", columnHeads: !1, size: { width: 720 } } },
|
|
25809
|
+
{ id: "head-align", title: "The figures stay right under a head set left", kind: "example", tags: [], data: { ...groupsData(), columns: groupsData().columns.map((column) => column.id === "fy25" ? { ...column, headAlign: "left" } : column) }, options: { title: "One head reads from the left of its column", size: { width: 720 } } }
|
|
25810
|
+
);
|
|
24831
25811
|
registerFixtures("table", fixtures30);
|
|
24832
25812
|
|
|
24833
25813
|
// src/core/charts/tilemap/fixtures.ts
|
|
@@ -25376,7 +26356,23 @@ var journeys = {
|
|
|
25376
26356
|
stages: [{ id: "jan" }, { id: "feb" }]
|
|
25377
26357
|
}
|
|
25378
26358
|
}
|
|
25379
|
-
];
|
|
26359
|
+
], channelFlows = fixtures33[0];
|
|
26360
|
+
fixtures33.push(
|
|
26361
|
+
{
|
|
26362
|
+
...channelFlows,
|
|
26363
|
+
id: "no-node-values",
|
|
26364
|
+
title: "Nodes print their names only",
|
|
26365
|
+
tags: ["coverage"],
|
|
26366
|
+
options: { ...channelFlows.options, nodeValue: !1, linkValue: "none" }
|
|
26367
|
+
},
|
|
26368
|
+
{
|
|
26369
|
+
...channelFlows,
|
|
26370
|
+
id: "column-overrides",
|
|
26371
|
+
title: "Authored widths for the label gutters of the first and last stage",
|
|
26372
|
+
tags: ["coverage"],
|
|
26373
|
+
options: { ...channelFlows.options, columnOverrides: { first: { width: 150 }, last: { width: 120 } } }
|
|
26374
|
+
}
|
|
26375
|
+
);
|
|
25380
26376
|
registerFixtures("sankey", fixtures33);
|
|
25381
26377
|
|
|
25382
26378
|
// src/core/charts/variance/fixtures.ts
|
|
@@ -25880,6 +26876,34 @@ fixtures34.push({
|
|
|
25880
26876
|
source: "Illustrative data; March plan covers the same days as actual"
|
|
25881
26877
|
}
|
|
25882
26878
|
});
|
|
26879
|
+
fixtures34.push(
|
|
26880
|
+
{
|
|
26881
|
+
id: "absolute-centered-values",
|
|
26882
|
+
title: "Absolute variance values at the center",
|
|
26883
|
+
kind: "example",
|
|
26884
|
+
data: {
|
|
26885
|
+
categories: [{ id: "a", label: "Group A" }, { id: "b", label: "Group B" }, { id: "c", label: "Group C" }],
|
|
26886
|
+
series: [
|
|
26887
|
+
{ id: "value", label: "Value", values: [140, 50, 110] },
|
|
26888
|
+
{ id: "ref", label: "Reference", role: "reference", values: [60, 100, 70] }
|
|
26889
|
+
]
|
|
26890
|
+
},
|
|
26891
|
+
options: { title: "Variance values at the center", variant: "absolute", variance: { vs: "ref" }, labelPosition: "center" }
|
|
26892
|
+
},
|
|
26893
|
+
{
|
|
26894
|
+
id: "integrated-centered-values",
|
|
26895
|
+
title: "Integrated totals on one paint",
|
|
26896
|
+
kind: "example",
|
|
26897
|
+
data: {
|
|
26898
|
+
categories: [{ id: "a", label: "Group A" }, { id: "b", label: "Group B" }, { id: "c", label: "Group C" }],
|
|
26899
|
+
series: [
|
|
26900
|
+
{ id: "value", label: "Value", values: [100, 100, 100] },
|
|
26901
|
+
{ id: "ref", label: "Reference", role: "reference", values: [80, 50, 120] }
|
|
26902
|
+
]
|
|
26903
|
+
},
|
|
26904
|
+
options: { title: "Totals centered where one fill holds them", variant: "integrated", variance: { vs: "ref" }, labelPosition: "center" }
|
|
26905
|
+
}
|
|
26906
|
+
);
|
|
25883
26907
|
registerFixtures("variance", fixtures34);
|
|
25884
26908
|
|
|
25885
26909
|
// src/core/charts/waffle/fixtures.ts
|
|
@@ -26211,6 +27235,103 @@ var fixtures36 = [
|
|
|
26211
27235
|
{ kind: "bracket", from: "materials", to: "labour", label: "Costs" }
|
|
26212
27236
|
]
|
|
26213
27237
|
},
|
|
27238
|
+
{
|
|
27239
|
+
id: "step-brackets-span",
|
|
27240
|
+
title: "bracketRow 'span' stands each bracket right above its own steps",
|
|
27241
|
+
kind: "example",
|
|
27242
|
+
data: {
|
|
27243
|
+
items: [
|
|
27244
|
+
{ id: "ebit24", label: "EBIT 2024", type: "total", value: 412 },
|
|
27245
|
+
{ id: "volume", label: "Volume", value: 64 },
|
|
27246
|
+
{ id: "price", label: "Price", value: 38 },
|
|
27247
|
+
{ id: "mix", label: "Mix", value: -21 },
|
|
27248
|
+
{ id: "materials", label: "Materials", value: -47 },
|
|
27249
|
+
{ id: "labour", label: "Labour", value: -33 },
|
|
27250
|
+
{ id: "fx", label: "FX", value: 12 },
|
|
27251
|
+
{ id: "ebit25", label: "EBIT 2025", type: "total" }
|
|
27252
|
+
]
|
|
27253
|
+
},
|
|
27254
|
+
options: {
|
|
27255
|
+
title: "Commercial gains outweigh the cost increases",
|
|
27256
|
+
unit: "USD m",
|
|
27257
|
+
source: "Illustrative bridge; each bracket adds up its steps",
|
|
27258
|
+
bracketRow: "span"
|
|
27259
|
+
},
|
|
27260
|
+
annotations: [
|
|
27261
|
+
{ kind: "bracket", from: "volume", to: "mix", label: "Commercial" },
|
|
27262
|
+
{ kind: "bracket", from: "materials", to: "labour", label: "Costs" }
|
|
27263
|
+
]
|
|
27264
|
+
},
|
|
27265
|
+
{
|
|
27266
|
+
id: "total-change-bracket",
|
|
27267
|
+
title: "The total change runs as the growth bracket over the step brackets",
|
|
27268
|
+
kind: "example",
|
|
27269
|
+
data: {
|
|
27270
|
+
items: [
|
|
27271
|
+
{ id: "fy24", label: "EBIT FY24", type: "total", value: 180 },
|
|
27272
|
+
{ id: "volume", label: "Volume", value: 34 },
|
|
27273
|
+
{ id: "mix", label: "Mix", value: 12 },
|
|
27274
|
+
{ id: "price", label: "Price", value: 21 },
|
|
27275
|
+
{ id: "material", label: "Material", value: -28 },
|
|
27276
|
+
{ id: "labour", label: "Labour", value: -19 },
|
|
27277
|
+
{ id: "energy", label: "Energy", value: -14 },
|
|
27278
|
+
{ id: "fy25", label: "EBIT FY25", type: "total" }
|
|
27279
|
+
]
|
|
27280
|
+
},
|
|
27281
|
+
options: {
|
|
27282
|
+
title: "Cost inflation eats most of the commercial gains",
|
|
27283
|
+
subtitle: "EBIT bridge, FY24 to FY25",
|
|
27284
|
+
unit: "\u20AC million",
|
|
27285
|
+
source: "Illustrative bridge"
|
|
27286
|
+
},
|
|
27287
|
+
annotations: [
|
|
27288
|
+
{ kind: "bracket", from: "volume", to: "price", label: "Commercial" },
|
|
27289
|
+
{ kind: "bracket", from: "material", to: "energy", label: "Cost inflation" },
|
|
27290
|
+
{ kind: "diff", from: { categoryId: "fy24" }, to: { categoryId: "fy25" }, mode: "both" }
|
|
27291
|
+
]
|
|
27292
|
+
},
|
|
27293
|
+
{
|
|
27294
|
+
id: "callout-label-offset",
|
|
27295
|
+
title: "labelOffsets moves a callout up from its step",
|
|
27296
|
+
kind: "example",
|
|
27297
|
+
data: {
|
|
27298
|
+
items: [
|
|
27299
|
+
{ id: "open", label: "Opening", type: "total", value: 200 },
|
|
27300
|
+
{ id: "volume", label: "Volume", value: 42 },
|
|
27301
|
+
{ id: "price", label: "Price", value: -18 },
|
|
27302
|
+
{ id: "costs", label: "Costs", value: -36 },
|
|
27303
|
+
{ id: "close", label: "Closing", type: "total" }
|
|
27304
|
+
]
|
|
27305
|
+
},
|
|
27306
|
+
options: {
|
|
27307
|
+
title: "Costs take back most of the volume gain",
|
|
27308
|
+
unit: "EUR m",
|
|
27309
|
+
source: "Illustrative bridge",
|
|
27310
|
+
labelOffsets: { "annotation:callout-1": { y: -24 } }
|
|
27311
|
+
},
|
|
27312
|
+
annotations: [{ kind: "callout", at: "costs", text: "Energy contracts renewed" }]
|
|
27313
|
+
},
|
|
27314
|
+
{
|
|
27315
|
+
id: "bracket-low-steps",
|
|
27316
|
+
title: "A bracket stands directly above low steps",
|
|
27317
|
+
kind: "example",
|
|
27318
|
+
data: {
|
|
27319
|
+
items: [
|
|
27320
|
+
{ id: "open", label: "Opening", type: "total", value: 400 },
|
|
27321
|
+
{ id: "loss", label: "Write-off", value: -310 },
|
|
27322
|
+
{ id: "fees", label: "Fees", value: 24 },
|
|
27323
|
+
{ id: "interest", label: "Interest", value: 18 },
|
|
27324
|
+
{ id: "tax", label: "Tax", value: -12 },
|
|
27325
|
+
{ id: "close", label: "Closing", type: "total" }
|
|
27326
|
+
]
|
|
27327
|
+
},
|
|
27328
|
+
options: {
|
|
27329
|
+
title: "Small income steps follow one large write-off",
|
|
27330
|
+
unit: "EUR m",
|
|
27331
|
+
source: "Illustrative bridge"
|
|
27332
|
+
},
|
|
27333
|
+
annotations: [{ kind: "bracket", from: "fees", to: "tax", label: "Other items" }]
|
|
27334
|
+
},
|
|
26214
27335
|
{
|
|
26215
27336
|
id: "build-down",
|
|
26216
27337
|
title: "Build-down: revenue to net income",
|
|
@@ -26662,6 +27783,64 @@ fixtures36.push({
|
|
|
26662
27783
|
source: "Invented example"
|
|
26663
27784
|
}
|
|
26664
27785
|
});
|
|
27786
|
+
fixtures36.push({
|
|
27787
|
+
id: "column-overrides",
|
|
27788
|
+
title: "A horizontal bridge with authored name and value bands",
|
|
27789
|
+
kind: "example",
|
|
27790
|
+
tags: ["coverage"],
|
|
27791
|
+
data: { items: [
|
|
27792
|
+
{ id: "open", label: "Opening balance", type: "total", value: 420 },
|
|
27793
|
+
{ id: "sales", label: "Subscription renewals", value: 96 },
|
|
27794
|
+
{ id: "new", label: "New customers", value: 54 },
|
|
27795
|
+
{ id: "churn", label: "Cancelled contracts", value: -38 },
|
|
27796
|
+
{ id: "close", label: "Closing balance", type: "total" }
|
|
27797
|
+
] },
|
|
27798
|
+
options: { title: "Renewals carry the balance up by $112k", unit: "$k", variant: "horizontal", size: { width: 720 }, columnOverrides: { label: { width: 200 }, value: { width: 90 } } }
|
|
27799
|
+
});
|
|
27800
|
+
fixtures36.push(
|
|
27801
|
+
{
|
|
27802
|
+
id: "centered-values",
|
|
27803
|
+
title: "Centered bridge values with a thin falling step",
|
|
27804
|
+
kind: "example",
|
|
27805
|
+
data: { items: [
|
|
27806
|
+
{ id: "open", label: "Opening", type: "total", value: 100 },
|
|
27807
|
+
{ id: "gain", label: "Increase", value: 40 },
|
|
27808
|
+
{ id: "thin", label: "Small decrease", value: -2 },
|
|
27809
|
+
{ id: "loss", label: "Decrease", value: -30 },
|
|
27810
|
+
{ id: "close", label: "Closing", type: "total" }
|
|
27811
|
+
] },
|
|
27812
|
+
options: { title: "Bridge values at the center", variant: "vertical", labelPosition: "center" }
|
|
27813
|
+
},
|
|
27814
|
+
{
|
|
27815
|
+
id: "horizontal-centered-values",
|
|
27816
|
+
title: "Centered horizontal bridge values",
|
|
27817
|
+
kind: "example",
|
|
27818
|
+
data: { items: [
|
|
27819
|
+
{ id: "open", label: "Opening", type: "total", value: 80 },
|
|
27820
|
+
{ id: "gain", label: "Increase", value: 50 },
|
|
27821
|
+
{ id: "thin", label: "Small decrease", value: -1 },
|
|
27822
|
+
{ id: "close", label: "Closing", type: "total" }
|
|
27823
|
+
] },
|
|
27824
|
+
options: { title: "Horizontal bridge values at the center", variant: "horizontal", labelPosition: "center" }
|
|
27825
|
+
},
|
|
27826
|
+
{
|
|
27827
|
+
id: "sign-inside-values",
|
|
27828
|
+
title: "Inside values on signed bridge fills",
|
|
27829
|
+
kind: "example",
|
|
27830
|
+
data: { items: [
|
|
27831
|
+
{ id: "open", label: "Opening", type: "total", value: 100 },
|
|
27832
|
+
{ id: "gain", label: "Increase", value: 60 },
|
|
27833
|
+
{ id: "loss", label: "Decrease", value: { number: -55, scenario: "FC" } },
|
|
27834
|
+
{ id: "close", label: "Closing", type: "total" }
|
|
27835
|
+
] },
|
|
27836
|
+
options: {
|
|
27837
|
+
title: "Inside values keep contrast on signed fills",
|
|
27838
|
+
variant: "vertical",
|
|
27839
|
+
labelPosition: "center",
|
|
27840
|
+
theme: { preset: "standard", overrides: { marks: { bridge: "sign" } } }
|
|
27841
|
+
}
|
|
27842
|
+
}
|
|
27843
|
+
);
|
|
26665
27844
|
registerFixtures("waterfall", fixtures36);
|
|
26666
27845
|
|
|
26667
27846
|
export {
|