@arcgis/charts-components 4.34.0-next.142 → 4.34.0-next.144
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/README.md +2 -4
- package/dist/cdn/{2ITCGPIY.js → 26T2FPTR.js} +2 -2
- package/dist/cdn/{4CPCHUKN.js → 2DZFSDBN.js} +2 -2
- package/dist/cdn/2HQVR6SZ.js +4 -0
- package/dist/cdn/{EOS32NLK.js → 2J4AFSSU.js} +2 -2
- package/dist/cdn/{ZZPTMSTP.js → 2J4UJYZT.js} +2 -2
- package/dist/cdn/{IECIRQ6O.js → 2VI6QT44.js} +2 -2
- package/dist/cdn/{32WTDHJV.js → 2ZSQMPK2.js} +2 -2
- package/dist/cdn/{HDUUEU5A.js → 324WBHNZ.js} +2 -2
- package/dist/cdn/{BKHZOZUN.js → 3DH2WQCY.js} +2 -2
- package/dist/cdn/{7UM2QM5C.js → 3EQGJ46N.js} +2 -2
- package/dist/cdn/{BKY6HJ2A.js → 3LVFJPNB.js} +2 -2
- package/dist/cdn/{F67J6QGU.js → 3O63ZEAS.js} +2 -2
- package/dist/cdn/3S5BN4GW.js +42 -0
- package/dist/cdn/3UQIPQ6U.js +4 -0
- package/dist/cdn/{T4K26RPW.js → 3VLXQDI7.js} +2 -2
- package/dist/cdn/3XVJSKYV.js +4 -0
- package/dist/cdn/452LBU4V.js +4 -0
- package/dist/cdn/{3V3P3WDO.js → 47AOTDB3.js} +2 -2
- package/dist/cdn/{KY7RUQ64.js → 4BC4VABF.js} +2 -2
- package/dist/cdn/{BUSHRUK5.js → 4GA7RI44.js} +2 -2
- package/dist/cdn/4VYULJJW.js +4 -0
- package/dist/cdn/{OTNJTF2I.js → 5GYKLEQM.js} +2 -2
- package/dist/cdn/{ISDSAFJS.js → 5OERBFEV.js} +2 -2
- package/dist/cdn/5SHBQMVW.js +4 -0
- package/dist/cdn/{S2FI3DXC.js → 5VJ42MLL.js} +2 -2
- package/dist/cdn/{Z44G5QWL.js → 5WMWKB7J.js} +2 -2
- package/dist/cdn/{ZNSS2AZV.js → 64HSDV7Y.js} +2 -2
- package/dist/cdn/{PLNR6RYO.js → 66G4VCA2.js} +2 -2
- package/dist/cdn/{Y4K3CSNK.js → 6M6NDQL6.js} +2 -2
- package/dist/cdn/{YFMHX76Y.js → 6PKWE2PB.js} +2 -2
- package/dist/cdn/{XSLZJPOC.js → 6RJ3EKY6.js} +2 -2
- package/dist/cdn/6SLJ2XOA.js +4 -0
- package/dist/cdn/6VOROOAO.js +4 -0
- package/dist/cdn/{YFBKDK6E.js → 7DOQLCKT.js} +2 -2
- package/dist/cdn/{LFUDSJMK.js → 7O3QYHLA.js} +2 -2
- package/dist/cdn/{BDQVET3Y.js → 7U3RNTZB.js} +2 -2
- package/dist/cdn/A7LSUGPI.js +4 -0
- package/dist/cdn/AFDFEA7M.js +4 -0
- package/dist/cdn/AFEYBTJC.js +4 -0
- package/dist/cdn/{GEF364YZ.js → AFHYC374.js} +2 -2
- package/dist/cdn/{LX54RJ62.js → ANRJWG4F.js} +2 -2
- package/dist/cdn/B35VGUTH.js +4 -0
- package/dist/cdn/{FXJPNW2X.js → BQOMTSTB.js} +2 -2
- package/dist/cdn/{M3YVRGJ4.js → C2SCAZ57.js} +2 -2
- package/dist/cdn/C6LCXOTC.js +4 -0
- package/dist/cdn/CA7YIB7J.js +4 -0
- package/dist/cdn/{FYPHTJDG.js → CKC6B2DW.js} +2 -2
- package/dist/cdn/COLTV55S.js +4 -0
- package/dist/cdn/{JF3EDWHN.js → CXO6JCQV.js} +2 -2
- package/dist/cdn/{C72ZXTKO.js → D7XYADY6.js} +2 -2
- package/dist/cdn/{SOFZLGIF.js → DAVXOLUV.js} +2 -2
- package/dist/cdn/{RY7UIBTO.js → EHCGN2NF.js} +2 -2
- package/dist/cdn/ENFIPPSJ.js +4 -0
- package/dist/cdn/EOYAAN5E.js +4 -0
- package/dist/cdn/{Q3UU6TPH.js → ESUQO7J5.js} +2 -2
- package/dist/cdn/{QV5GZWKW.js → EU437XMK.js} +2 -2
- package/dist/cdn/EXR5RQLP.js +4 -0
- package/dist/cdn/FKU45S4A.js +6 -0
- package/dist/cdn/{RALLQ5TP.js → FMZL75OL.js} +2 -2
- package/dist/cdn/FN5KCLZU.js +4 -0
- package/dist/cdn/FNSZJRYO.js +4 -0
- package/dist/cdn/FZ6XXAI7.js +4 -0
- package/dist/cdn/GKMSHJIH.js +4 -0
- package/dist/cdn/{C2RQCDZI.js → GKUFSUNB.js} +2 -2
- package/dist/cdn/{DOKRNRNV.js → GTQ3T45E.js} +2 -2
- package/dist/cdn/{ICFNCHVX.js → H73SF3NZ.js} +2 -2
- package/dist/cdn/HMDP6YQB.js +4 -0
- package/dist/cdn/{LYOUJX3G.js → HTBKBCF3.js} +2 -2
- package/dist/cdn/{IUDJVWHQ.js → HXBO345N.js} +2 -2
- package/dist/cdn/{XIMHJK6E.js → I3FF3ITK.js} +1 -1
- package/dist/cdn/IE5CIF3O.js +4 -0
- package/dist/cdn/ILBPUKJK.js +4 -0
- package/dist/cdn/IM3FJOHF.js +4 -0
- package/dist/cdn/{PGWJFVFS.js → IMXOWATK.js} +2 -2
- package/dist/cdn/{OMDALIWB.js → IOB5KVZO.js} +2 -2
- package/dist/cdn/IXVKNKW3.js +4 -0
- package/dist/cdn/{BIVUYEQS.js → IY2KY4AZ.js} +2 -2
- package/dist/cdn/IZKXPUQX.js +4 -0
- package/dist/cdn/{K3OJHBYP.js → JBE4H2O2.js} +2 -2
- package/dist/cdn/JEVESPWP.js +4 -0
- package/dist/cdn/{QGAWAYOO.js → JFYW4T4Q.js} +2 -2
- package/dist/cdn/{2ANVMV6D.js → JINHIAI2.js} +2 -2
- package/dist/cdn/{IA6QL63S.js → JTPSBTFO.js} +2 -2
- package/dist/cdn/{6VBYFOB3.js → JZTHURAB.js} +2 -2
- package/dist/cdn/{TLQPERBZ.js → KBR526EG.js} +2 -2
- package/dist/cdn/{5IQP3K3O.js → KGRVWUYS.js} +2 -2
- package/dist/cdn/{DU6B4YFO.js → KKJOXTSR.js} +2 -2
- package/dist/cdn/KO6HL5WN.js +4 -0
- package/dist/cdn/{IZIIQRYW.js → KYKSOV37.js} +2 -2
- package/dist/cdn/{UWGKEJY2.js → L2BAYKOL.js} +2 -2
- package/dist/cdn/{T6OCVJ2S.js → LHT7AL35.js} +2 -2
- package/dist/cdn/{WEJ4N7K4.js → LJXSCSVX.js} +2 -2
- package/dist/cdn/{2IM2HTSE.js → LK4UCIKB.js} +2 -2
- package/dist/cdn/{HEY72GFW.js → LKQ2XH6L.js} +1 -1
- package/dist/cdn/{5X62346I.js → LKQAEQZ4.js} +2 -2
- package/dist/cdn/{SD3RGLHI.js → LXROLJPG.js} +2 -2
- package/dist/cdn/{LR25PBXF.js → LYM4PVSU.js} +2 -2
- package/dist/cdn/MEZYLQ45.js +4 -0
- package/dist/cdn/{P66NRJ4E.js → MSXPH4IW.js} +2 -2
- package/dist/cdn/{RFZUXU4W.js → MUBP4D6K.js} +1 -1
- package/dist/cdn/{5AEK7BD7.js → NGOQVF7W.js} +2 -2
- package/dist/cdn/NJVTIVJO.js +4 -0
- package/dist/cdn/NK325K6C.js +4 -0
- package/dist/cdn/{CK2ST5HA.js → NZKJX6ED.js} +2 -2
- package/dist/cdn/{NMOMSPHP.js → O44Y3FT3.js} +2 -2
- package/dist/cdn/{UYGW4DEM.js → O64LL5JP.js} +2 -2
- package/dist/cdn/O7ABFKF6.js +4 -0
- package/dist/cdn/{BNCPYPO4.js → O7PUN6ZV.js} +2 -2
- package/dist/cdn/{ZHHABKJS.js → ODBKODK2.js} +2 -2
- package/dist/cdn/{L7NEHANE.js → OOALXYFO.js} +2 -2
- package/dist/cdn/{TGBR4CIO.js → OPBAP7ZZ.js} +2 -2
- package/dist/cdn/{XX7RCQWQ.js → OQMEHUIV.js} +2 -2
- package/dist/cdn/{SZYALN76.js → OTDS6EZI.js} +1 -1
- package/dist/cdn/OTQYWZXU.js +4 -0
- package/dist/cdn/OTZBMQH6.js +4 -0
- package/dist/cdn/{WV4BV5C5.js → OZXWBKPW.js} +1 -1
- package/dist/cdn/{ONERQRVY.js → P5GLJFDO.js} +2 -2
- package/dist/cdn/{PUJWL5ZS.js → QBWY6DPH.js} +2 -2
- package/dist/cdn/QIS3JY7M.js +4 -0
- package/dist/cdn/QQ35LHQ5.js +4 -0
- package/dist/cdn/QSHXM4K4.js +4 -0
- package/dist/cdn/{JQECSEAU.js → QYCK6SCJ.js} +33 -33
- package/dist/cdn/{QM34HTYR.js → R6GAXB4J.js} +2 -2
- package/dist/cdn/{I3JCQUVZ.js → RDWNQEK3.js} +2 -2
- package/dist/cdn/RNVTPVVG.js +4 -0
- package/dist/cdn/RPYIRMJI.js +4 -0
- package/dist/cdn/{FFKFBICZ.js → RQ2ZKKIA.js} +2 -2
- package/dist/cdn/{R2BT4X5U.js → RSLPD74V.js} +2 -2
- package/dist/cdn/{FQWZZW7B.js → RXFAANT4.js} +2 -2
- package/dist/cdn/{ITYHMXBD.js → RZAKBIOP.js} +2 -2
- package/dist/cdn/S4VVEI76.js +4 -0
- package/dist/cdn/{S6FSW5BY.js → SB4ENFB3.js} +2 -2
- package/dist/cdn/{IRO3ZG66.js → SDWGJR2S.js} +2 -2
- package/dist/cdn/{OFXR4HCP.js → SII7V63Y.js} +2 -2
- package/dist/cdn/{4AVQKAIL.js → SKJD5NC2.js} +2 -2
- package/dist/cdn/SME6FTK3.js +4 -0
- package/dist/cdn/{OQKREWR6.js → SS6K4KIU.js} +2 -2
- package/dist/cdn/{D6KUZQDE.js → SSHVHR3U.js} +2 -2
- package/dist/cdn/{U2NNEZ7L.js → SWMOL4WC.js} +2 -2
- package/dist/cdn/{JQE62N64.js → SYLYSYJM.js} +1 -1
- package/dist/cdn/{TBBKIV5V.js → T2SQNU52.js} +2 -2
- package/dist/cdn/{RJDHGWZF.js → T4V2RWLD.js} +2 -2
- package/dist/cdn/{EMMBGTXG.js → TA3LA3EO.js} +2 -2
- package/dist/cdn/{FYJBWI3W.js → TK7EIFKF.js} +2 -2
- package/dist/cdn/UOXIKDZ3.js +4 -0
- package/dist/cdn/V54C7QR7.js +4 -0
- package/dist/cdn/{HTQR2XNZ.js → VD7464WE.js} +2 -2
- package/dist/cdn/{X2WO4BRB.js → VF3BUMUL.js} +2 -2
- package/dist/cdn/{4JNZ6PXG.js → VNQJMRIR.js} +2 -2
- package/dist/cdn/{PL5PWWIA.js → VR5C5DQV.js} +2 -2
- package/dist/cdn/{5KHI2IV3.js → VT4TGCUW.js} +2 -2
- package/dist/cdn/{6QM47ABB.js → VWXK72J2.js} +2 -2
- package/dist/cdn/W4N6GP7X.js +4 -0
- package/dist/cdn/{UHZ3QVOM.js → W5Q3Y3N4.js} +2 -2
- package/dist/cdn/{FXOAIE77.js → WFLWRMBB.js} +2 -2
- package/dist/cdn/{6G6CZXJT.js → WHYKP7IA.js} +2 -2
- package/dist/cdn/{R6IOVFXZ.js → WKZBZW57.js} +2 -2
- package/dist/cdn/{JLKM3HUU.js → WNPMDSIC.js} +2 -2
- package/dist/cdn/{MRFM24KT.js → WQLQYEUT.js} +2 -2
- package/dist/cdn/{FKIB464H.js → WSYMOSDL.js} +2 -2
- package/dist/cdn/XDSEA2AW.js +4 -0
- package/dist/cdn/{Y7MJCEGF.js → XE5PWURJ.js} +2 -2
- package/dist/cdn/{2G25A3QA.js → XGJQE7ML.js} +2 -2
- package/dist/cdn/{A3AS74X2.js → XJJJZ6HK.js} +1 -1
- package/dist/cdn/{TIR7SJCN.js → XKJAM2RL.js} +2 -2
- package/dist/cdn/{CCGL4BTR.js → XNXEABAK.js} +2 -2
- package/dist/cdn/{FXBN362H.js → XU5NNLEE.js} +2 -2
- package/dist/cdn/{WHTHFRGI.js → YAZ7WAIQ.js} +2 -2
- package/dist/cdn/{NJEKREZ7.js → YJAFVJ5U.js} +2 -2
- package/dist/cdn/{AJ3VGUC7.js → YOL4HGR7.js} +2 -2
- package/dist/cdn/{QPKBEQ6E.js → YRTJBFQX.js} +2 -2
- package/dist/cdn/YTYT3OZE.js +4 -0
- package/dist/cdn/{45VOMRAM.js → Z7HN543Y.js} +2 -2
- package/dist/cdn/ZEXUMO6C.js +4 -0
- package/dist/cdn/{UD6X7PZM.js → ZK4Z2WFD.js} +2 -2
- package/dist/cdn/ZRRL7AJ4.js +4 -0
- package/dist/cdn/{BDSIRWPW.js → ZSWJPEGA.js} +2 -2
- package/dist/cdn/{SPTEILAX.js → ZU5OZ232.js} +2 -2
- package/dist/cdn/{SV22W6AC.js → ZXQV2IGL.js} +2 -2
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-series/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +2 -1
- package/dist/chunks/action-bar-utils.js +8 -8
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +53 -53
- package/dist/chunks/bar-chart-series.js +3 -3
- package/dist/chunks/baseline-stacking.js +23 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +306 -348
- package/dist/chunks/box-plot-model.js +239 -203
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +77 -122
- package/dist/chunks/combo-bar-line-chart-model.js +129 -99
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +703 -772
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +194 -231
- package/dist/chunks/histogram-data.js +64 -68
- package/dist/chunks/histogram-model.js +106 -141
- package/dist/chunks/index.js +6163 -69
- package/dist/chunks/index2.js +38 -52
- package/dist/chunks/index3.js +50 -6113
- package/dist/chunks/index4.js +95 -0
- package/dist/chunks/index5.js +66 -0
- package/dist/chunks/interfaces.js +16206 -90
- package/dist/chunks/interfaces2.js +13 -16121
- package/dist/chunks/interfaces3.js +91 -486
- package/dist/chunks/interfaces4.js +486 -13
- package/dist/chunks/line-chart-model.js +51 -54
- package/dist/chunks/model-with-baseline-stacking.js +77 -57
- package/dist/chunks/model-with-data-labels.js +112 -168
- package/dist/chunks/model-with-multi-axes.js +675 -769
- package/dist/chunks/model-with-rotation.js +8 -11
- package/dist/chunks/pie-chart-data.js +163 -162
- package/dist/chunks/pie-chart-model.js +363 -448
- package/dist/chunks/popover-ui-utils.js +7 -7
- package/dist/chunks/radar-chart-model.js +51 -54
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +138 -168
- package/dist/chunks/serial-chart-model.js +281 -272
- package/dist/chunks/series-types.js +21 -16
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +49 -49
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +28 -26
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +3733 -3715
- package/dist/components/arcgis-charts-action-bar/customElement.js +43 -43
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +67 -68
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +29 -28
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +36 -36
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +60 -60
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +18 -17
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +95 -97
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +51 -51
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-guide/customElement.js +22 -21
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +52 -52
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +20 -0
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +70 -71
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +32 -32
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +38 -39
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +34 -34
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +41 -41
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +1 -0
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +13 -9
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +543 -90
- package/dist/json-schema/index.d.ts +3 -0
- package/dist/loader.js +1 -1
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +1 -6
- package/dist/model/box-plot-model/box-plot-model.d.ts +70 -93
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +33 -27
- package/dist/model/chart-model/chart-model.d.ts +81 -189
- package/dist/model/chart-model/utils/types.d.ts +2 -2
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -4
- package/dist/model/gauge-model/gauge-model.d.ts +61 -153
- package/dist/model/gauge-model/utils/gauge-data.d.ts +24 -10
- package/dist/model/gauge-model/utils/gauge-series.d.ts +12 -6
- package/dist/model/histogram-model/histogram-model.d.ts +41 -106
- package/dist/model/histogram-model/utils/histogram-data.d.ts +11 -4
- package/dist/model/line-chart-model/line-chart-model.d.ts +2 -7
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +23 -68
- package/dist/model/mixins/model-with-color-match.d.ts +3 -14
- package/dist/model/mixins/model-with-data-labels.d.ts +7 -26
- package/dist/model/mixins/model-with-guides.d.ts +3 -7
- package/dist/model/mixins/model-with-legend.d.ts +24 -76
- package/dist/model/mixins/model-with-multi-axes.d.ts +14 -40
- package/dist/model/mixins/model-with-rotation.d.ts +3 -8
- package/dist/model/mixins/model-with-temporal-binning.d.ts +15 -48
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +88 -248
- package/dist/model/pie-chart-model/utils/pie-chart-data.d.ts +10 -5
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +10 -10
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +2 -7
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +26 -70
- package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +17 -5
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +75 -85
- package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +32 -36
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +14 -6
- package/dist/model/shared/axes.d.ts +9 -6
- package/dist/model/shared/data.d.ts +6 -0
- package/dist/model/shared/utils.d.ts +0 -1
- package/dist/model.js +5 -5
- package/dist/spec/data-source.d.ts +1 -0
- package/dist/spec/events.d.ts +1 -1
- package/dist/utils/defaults/index.d.ts +24 -23
- package/dist/utils/layer/utils/index.d.ts +1 -1
- package/dist/utils/localization/interfaces.d.ts +1 -1
- package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/25GEW6NE.js +0 -4
- package/dist/cdn/2HPRLYWX.js +0 -4
- package/dist/cdn/2K3K5MH5.js +0 -4
- package/dist/cdn/2SESEFCH.js +0 -4
- package/dist/cdn/4E2Y2BIG.js +0 -4
- package/dist/cdn/4ZGTWTZN.js +0 -4
- package/dist/cdn/6HRX7ISE.js +0 -4
- package/dist/cdn/6UVBQF2N.js +0 -4
- package/dist/cdn/6UVVRH2Q.js +0 -4
- package/dist/cdn/7BV4UPBJ.js +0 -4
- package/dist/cdn/7V5BAGW6.js +0 -4
- package/dist/cdn/A27LIBVO.js +0 -4
- package/dist/cdn/AXBERCQX.js +0 -4
- package/dist/cdn/B3WCL2RF.js +0 -4
- package/dist/cdn/BUXHF7JZ.js +0 -4
- package/dist/cdn/BWVYUXHU.js +0 -4
- package/dist/cdn/CWGPLHBO.js +0 -4
- package/dist/cdn/GGQORSJO.js +0 -4
- package/dist/cdn/H2XTFWDF.js +0 -4
- package/dist/cdn/HUID3T4Q.js +0 -4
- package/dist/cdn/IWGGUORQ.js +0 -4
- package/dist/cdn/IXZTLHMK.js +0 -4
- package/dist/cdn/K3PAHXMA.js +0 -4
- package/dist/cdn/K5M7QNES.js +0 -4
- package/dist/cdn/KYI6IVTD.js +0 -4
- package/dist/cdn/L44BSTBV.js +0 -4
- package/dist/cdn/LD3EFKD2.js +0 -4
- package/dist/cdn/LEXHRATX.js +0 -4
- package/dist/cdn/LJIUOK56.js +0 -4
- package/dist/cdn/N2OEM76I.js +0 -4
- package/dist/cdn/NX5JPPZY.js +0 -4
- package/dist/cdn/OQBDZQXQ.js +0 -4
- package/dist/cdn/OSLZCSUP.js +0 -4
- package/dist/cdn/PNZEAROD.js +0 -4
- package/dist/cdn/PW2UIMX7.js +0 -4
- package/dist/cdn/RDKIDYXY.js +0 -4
- package/dist/cdn/RF6WSBHG.js +0 -4
- package/dist/cdn/RH2JK5VB.js +0 -4
- package/dist/cdn/RMVF2EB7.js +0 -4
- package/dist/cdn/RNCBXUCQ.js +0 -4
- package/dist/cdn/SQHK5QIZ.js +0 -4
- package/dist/cdn/TU5ZGCNX.js +0 -42
- package/dist/cdn/UMKC7ISM.js +0 -4
- package/dist/cdn/UPSO7Y5L.js +0 -4
- package/dist/cdn/VZKZKSXL.js +0 -4
- package/dist/cdn/W5TAEYXR.js +0 -4
- package/dist/cdn/XNHQVDR6.js +0 -4
- package/dist/cdn/XXCIZ3KV.js +0 -4
- package/dist/cdn/YC2RL6CV.js +0 -4
- package/dist/cdn/YJ6P4MDL.js +0 -6
- package/dist/cdn/ZG3BCJ7P.js +0 -4
- package/dist/cdn/ZS5EATJF.js +0 -4
- package/dist/chunks/events.js +0 -18
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { fetchT9nStringsBundle as _, getElementLocale as C } from "@arcgis/toolkit/intl";
|
|
2
|
+
import { cloneDeep as X } from "lodash-es";
|
|
3
|
+
import { W as p, o as v } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { ab as x, b2 as g, a9 as f, cm as R, p as E, g as N, b7 as z, aj as k, aa as W, ac as H, j as Y, a7 as y } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -10,329 +10,251 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
10
10
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
11
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
|
-
import "./runtime.js";
|
|
13
|
+
import { g as P } from "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
15
|
import "@arcgis/core/intl.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { g as
|
|
20
|
-
import { getAssetPath as
|
|
21
|
-
import { c as
|
|
16
|
+
import { R as u } from "./rest-js-object-literals.js";
|
|
17
|
+
import { c as Z, b as j } from "./index4.js";
|
|
18
|
+
import { G as c } from "./common.js";
|
|
19
|
+
import { g as b, O as A, P as $, Q as q, R as Q, S as J, T as K, U as tt, V as it, W as et, X as st, Y as rt, Z as ot, _ as nt, $ as at, a0 as gt, a1 as ct, a2 as lt, a3 as ut, a4 as ht, a5 as ft, a6 as dt, a7 as mt, l as xt, a8 as yt, a9 as bt, a as T, aa as L, ab as F, ac as V, ad as h, s as m, ae as St, af as w, ag as G, ah as pt, ai as _t, aj as Ct, ak as vt, e as S, al as r, am as At, an as Tt, ao as Lt, ap as Ft, aq as Vt, ar as wt, as as Gt, at as Ut, au as Ot, av as Bt, aw as Dt, ax as It, ay as Mt, az as Xt, aA as Rt, aB as Et, aC as Nt } from "./data.js";
|
|
20
|
+
import { getAssetPath as zt } from "@esri/calcite-components";
|
|
21
|
+
import { c as kt } from "./index.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
24
|
-
v4.34.0-next.
|
|
25
|
-
const
|
|
24
|
+
v4.34.0-next.144 */
|
|
25
|
+
const Wt = (e) => e.title?.content, Ht = (e, t) => {
|
|
26
26
|
if (e) {
|
|
27
|
-
const
|
|
28
|
-
|
|
27
|
+
const i = b(t);
|
|
28
|
+
t.title === void 0 && (t.title = x({
|
|
29
29
|
text: "",
|
|
30
30
|
visible: !0,
|
|
31
|
-
font:
|
|
31
|
+
font: f(g.ChartTitle),
|
|
32
32
|
type: g.ChartTitle
|
|
33
|
-
})),
|
|
33
|
+
})), t.title.content = e, t.title.content.text = i;
|
|
34
34
|
}
|
|
35
|
-
},
|
|
35
|
+
}, Yt = (e) => e.subtitle?.content, Pt = (e, t) => {
|
|
36
36
|
if (e) {
|
|
37
|
-
const
|
|
38
|
-
|
|
37
|
+
const i = b(t);
|
|
38
|
+
t.subtitle === void 0 && (t.subtitle = x({
|
|
39
39
|
text: "",
|
|
40
40
|
visible: !0,
|
|
41
|
-
font:
|
|
41
|
+
font: f(g.ChartSubtitle),
|
|
42
42
|
type: g.ChartSubtitle
|
|
43
|
-
})),
|
|
43
|
+
})), t.subtitle.content = e, t.subtitle.content.text = i;
|
|
44
44
|
}
|
|
45
|
-
},
|
|
45
|
+
}, Zt = (e) => e.footer?.content, jt = (e, t) => {
|
|
46
46
|
if (e) {
|
|
47
|
-
const
|
|
48
|
-
|
|
47
|
+
const i = A(t);
|
|
48
|
+
t.footer === void 0 && (t.footer = x({
|
|
49
49
|
text: "",
|
|
50
50
|
visible: !0,
|
|
51
|
-
font:
|
|
51
|
+
font: f(g.DescriptionText),
|
|
52
52
|
type: g.DescriptionText
|
|
53
|
-
})),
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
function Pi(e, i) {
|
|
59
|
-
let t;
|
|
60
|
-
return e.length !== 0 && i < e.length && (t = e[i].dataTooltipValueFormat), t;
|
|
61
|
-
}
|
|
62
|
-
function ji(e) {
|
|
63
|
-
const { series: i, seriesIndex: t, valueFormat: s } = e;
|
|
64
|
-
i.length !== 0 && t < i.length && (i[t].dataTooltipValueFormat = s);
|
|
65
|
-
}
|
|
53
|
+
})), t.footer.content = e, t.footer.content.text = i;
|
|
54
|
+
}
|
|
55
|
+
}, $t = (e) => e.background, qt = (e, t) => {
|
|
56
|
+
t.background = e;
|
|
57
|
+
};
|
|
66
58
|
class U extends EventTarget {
|
|
67
59
|
constructor() {
|
|
68
|
-
super(...arguments), this.dataStore = {}, this.setupFinished = new Promise((
|
|
69
|
-
this.resolveSetup =
|
|
60
|
+
super(...arguments), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.dataStore = {}, this.setupFinished = new Promise((t) => {
|
|
61
|
+
this.resolveSetup = t;
|
|
70
62
|
});
|
|
71
63
|
}
|
|
72
|
-
static {
|
|
73
|
-
this.supportsCustomSort = !1;
|
|
74
|
-
}
|
|
75
64
|
/**
|
|
76
65
|
* Checks if the current chart model is for the same chart as another chart model.
|
|
77
66
|
* @param {ChartModel | undefined} otherModel The other chart model to compare to.
|
|
78
|
-
* @returns {boolean}
|
|
79
67
|
*/
|
|
80
|
-
isSameChartAs(
|
|
81
|
-
const
|
|
82
|
-
return
|
|
68
|
+
isSameChartAs(t) {
|
|
69
|
+
const i = t?.layer;
|
|
70
|
+
return i !== void 0 && this._config.id === t?.chartId && this.layerInfo?.layer.id === i.id;
|
|
83
71
|
}
|
|
84
72
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @returns {ChartConfig}
|
|
73
|
+
* The current chart configuration object.
|
|
87
74
|
*/
|
|
88
|
-
|
|
75
|
+
get config() {
|
|
89
76
|
return this._config;
|
|
90
77
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
setConfig(i) {
|
|
96
|
-
this._config = i, this.emitConfigUpdate("setConfig");
|
|
78
|
+
set config(t) {
|
|
79
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
80
|
+
this._config = t, this.emitConfigUpdate("config");
|
|
81
|
+
});
|
|
97
82
|
}
|
|
98
83
|
/**
|
|
99
|
-
*
|
|
100
|
-
* @returns {ChartTypes}
|
|
84
|
+
* The chart type.
|
|
101
85
|
*/
|
|
102
|
-
|
|
86
|
+
get chartType() {
|
|
103
87
|
return this._chartType;
|
|
104
88
|
}
|
|
105
89
|
/**
|
|
106
|
-
*
|
|
107
|
-
* @returns {SupportedLayer | undefined}
|
|
90
|
+
* The associated layer.
|
|
108
91
|
*/
|
|
109
|
-
|
|
92
|
+
get layer() {
|
|
110
93
|
return this.layerInfo?.layer;
|
|
111
94
|
}
|
|
112
95
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @returns {string | undefined}
|
|
96
|
+
* The chart ID.
|
|
115
97
|
*/
|
|
116
|
-
|
|
98
|
+
get chartId() {
|
|
117
99
|
return this._config.id;
|
|
118
100
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
* @param {string} id
|
|
122
|
-
*/
|
|
123
|
-
setChartId(i) {
|
|
124
|
-
this._config.id = i;
|
|
101
|
+
set chartId(t) {
|
|
102
|
+
this._config.id = t;
|
|
125
103
|
}
|
|
126
104
|
//#end region
|
|
127
105
|
// ---------------------------------------------------------------------------------------------
|
|
128
|
-
// #region General
|
|
106
|
+
// #region General Properties
|
|
129
107
|
// ---------------------------------------------------------------------------------------------
|
|
130
108
|
/**
|
|
131
|
-
*
|
|
132
|
-
* @returns {string}
|
|
109
|
+
* The version of the chart configuration.
|
|
133
110
|
*/
|
|
134
|
-
|
|
135
|
-
return this.
|
|
111
|
+
get version() {
|
|
112
|
+
return $(this._config);
|
|
136
113
|
}
|
|
137
114
|
/**
|
|
138
|
-
*
|
|
139
|
-
* @
|
|
115
|
+
* The chart title text.
|
|
116
|
+
* @type {string}
|
|
140
117
|
*/
|
|
141
|
-
|
|
142
|
-
return
|
|
118
|
+
get titleText() {
|
|
119
|
+
return b(this._config);
|
|
143
120
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
setTitleText(i) {
|
|
149
|
-
j(i, this._config), this.emitConfigUpdate("setTitleText");
|
|
121
|
+
set titleText(t) {
|
|
122
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
123
|
+
q(t, this._config), this.emitConfigUpdate("titleText");
|
|
124
|
+
});
|
|
150
125
|
}
|
|
151
126
|
/**
|
|
152
|
-
*
|
|
127
|
+
* The chart subtitle text.
|
|
153
128
|
* @returns {string}
|
|
154
129
|
*/
|
|
155
|
-
|
|
156
|
-
return
|
|
130
|
+
get subtitleText() {
|
|
131
|
+
return Q(this._config);
|
|
157
132
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
setSubtitleText(i) {
|
|
163
|
-
$(i, this._config), this.emitConfigUpdate("setSubtitleText");
|
|
133
|
+
set subtitleText(t) {
|
|
134
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
135
|
+
J(t, this._config), this.emitConfigUpdate("subtitleText");
|
|
136
|
+
});
|
|
164
137
|
}
|
|
165
138
|
/**
|
|
166
|
-
*
|
|
167
|
-
* @returns {string}
|
|
139
|
+
* The chart description text.
|
|
168
140
|
*/
|
|
169
|
-
|
|
170
|
-
return
|
|
141
|
+
get descriptionText() {
|
|
142
|
+
return A(this._config);
|
|
171
143
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
setDescriptionText(i) {
|
|
177
|
-
J(i, this._config), this.emitConfigUpdate("setDescriptionText");
|
|
144
|
+
set descriptionText(t) {
|
|
145
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
146
|
+
K(t, this._config), this.emitConfigUpdate("descriptionText");
|
|
147
|
+
});
|
|
178
148
|
}
|
|
179
149
|
/**
|
|
180
|
-
*
|
|
150
|
+
* Whether or not the chart title is visible.
|
|
181
151
|
*
|
|
182
152
|
* `true`: Chart title is visible.
|
|
183
153
|
*
|
|
184
154
|
* `false`: Chart title is hidden.
|
|
185
155
|
*
|
|
186
|
-
* @returns {boolean}
|
|
187
|
-
*
|
|
188
156
|
* **Note: Even if the title is visible, it may not be displayed if the title text is empty.**
|
|
189
157
|
*/
|
|
190
|
-
|
|
191
|
-
return
|
|
158
|
+
get chartTitleVisibility() {
|
|
159
|
+
return tt(this._config);
|
|
192
160
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
*
|
|
198
|
-
* `false`: Hide chart title.
|
|
199
|
-
*
|
|
200
|
-
* @param {boolean} visibility The visibility state of the chart title.
|
|
201
|
-
*
|
|
202
|
-
* **Note: Even if the title is visible, it may not be displayed if the title text is empty.**
|
|
203
|
-
*/
|
|
204
|
-
setChartTitleVisibility(i) {
|
|
205
|
-
ii(i, this._config), this.emitConfigUpdate("setChartTitleVisibility");
|
|
161
|
+
set chartTitleVisibility(t) {
|
|
162
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
163
|
+
it(t, this._config), this.emitConfigUpdate("chartTitleVisibility");
|
|
164
|
+
});
|
|
206
165
|
}
|
|
207
166
|
/**
|
|
208
|
-
*
|
|
167
|
+
* Whether or not the chart subtitle is visible.
|
|
209
168
|
*
|
|
210
169
|
* `true`: Chart subtitle is visible.
|
|
211
170
|
*
|
|
212
171
|
* `false`: Chart subtitle is hidden.
|
|
213
172
|
*
|
|
214
|
-
* @returns {boolean}
|
|
215
|
-
*
|
|
216
173
|
* **Note: Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.**
|
|
217
174
|
*/
|
|
218
|
-
|
|
219
|
-
return
|
|
175
|
+
get chartSubtitleVisibility() {
|
|
176
|
+
return et(this._config);
|
|
220
177
|
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
*
|
|
226
|
-
* `false`: Hide chart subtitle.
|
|
227
|
-
*
|
|
228
|
-
* @param {boolean} visibility The visibility state of the chart subtitle.
|
|
229
|
-
*
|
|
230
|
-
* **Note: Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.**
|
|
231
|
-
*/
|
|
232
|
-
setChartSubtitleVisibility(i) {
|
|
233
|
-
ei(i, this._config), this.emitConfigUpdate("setChartSubtitleVisibility");
|
|
178
|
+
set chartSubtitleVisibility(t) {
|
|
179
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
180
|
+
st(t, this._config), this.emitConfigUpdate("chartSubtitleVisibility");
|
|
181
|
+
});
|
|
234
182
|
}
|
|
235
183
|
/**
|
|
236
|
-
*
|
|
184
|
+
* Whether or not the chart description is visible.
|
|
237
185
|
*
|
|
238
186
|
* `true`: Description is visible.
|
|
239
187
|
*
|
|
240
188
|
* `false`: Description is hidden.
|
|
241
189
|
*
|
|
242
|
-
* @returns {boolean}
|
|
243
|
-
*
|
|
244
190
|
* **Note: Even if the description is visible, it may not be displayed if the description text is empty.**
|
|
245
191
|
*/
|
|
246
|
-
|
|
247
|
-
return
|
|
192
|
+
get descriptionVisibility() {
|
|
193
|
+
return rt(this._config);
|
|
248
194
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
*
|
|
254
|
-
* `false`: Hide description.
|
|
255
|
-
*
|
|
256
|
-
* @param {boolean} visibility The visibility state of the description.
|
|
257
|
-
*
|
|
258
|
-
* **Note: Even if the description is visible, it may not be displayed if the description text is empty.**
|
|
259
|
-
*/
|
|
260
|
-
setDescriptionVisibility(i) {
|
|
261
|
-
oi(i, this._config), this.emitConfigUpdate("setDescriptionVisibility");
|
|
195
|
+
set descriptionVisibility(t) {
|
|
196
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
197
|
+
ot(t, this._config), this.emitConfigUpdate("descriptionVisibility");
|
|
198
|
+
});
|
|
262
199
|
}
|
|
263
200
|
/**
|
|
264
|
-
*
|
|
265
|
-
* @returns {IDrawingInfo["renderer"] | undefined} The chart renderer if defined, otherwise undefined.
|
|
201
|
+
* The chart renderer.
|
|
266
202
|
*/
|
|
267
|
-
|
|
268
|
-
return
|
|
203
|
+
get chartRenderer() {
|
|
204
|
+
return nt(this._config);
|
|
269
205
|
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
setChartRenderer(i) {
|
|
275
|
-
ri(i, this._config), this.emitConfigUpdate("setChartRenderer");
|
|
206
|
+
set chartRenderer(t) {
|
|
207
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
208
|
+
at(t, this._config), this.emitConfigUpdate("chartRenderer");
|
|
209
|
+
});
|
|
276
210
|
}
|
|
277
211
|
// #endregion
|
|
278
212
|
// ---------------------------------------------------------------------------------------------
|
|
279
|
-
//#region Format
|
|
213
|
+
//#region Format Properties
|
|
280
214
|
// ---------------------------------------------------------------------------------------------
|
|
281
215
|
/**
|
|
282
|
-
*
|
|
283
|
-
* @returns {WebChartTextSymbol | undefined}
|
|
216
|
+
* The title text symbol. Contains styling information such as font, color, and symbol style.
|
|
284
217
|
*/
|
|
285
|
-
|
|
286
|
-
return
|
|
218
|
+
get titleSymbol() {
|
|
219
|
+
return Wt(this._config);
|
|
287
220
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
setTitleSymbol(i) {
|
|
293
|
-
zi(i, this._config), this.emitConfigUpdate("setTitleSymbol");
|
|
221
|
+
set titleSymbol(t) {
|
|
222
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
223
|
+
Ht(t, this._config), this.emitConfigUpdate("titleSymbol");
|
|
224
|
+
});
|
|
294
225
|
}
|
|
295
226
|
/**
|
|
296
|
-
*
|
|
297
|
-
* @returns {WebChartTextSymbol | undefined}
|
|
227
|
+
* The subtitle text symbol. Contains styling information such as font, color, and symbol style.
|
|
298
228
|
*/
|
|
299
|
-
|
|
300
|
-
return
|
|
229
|
+
get subtitleSymbol() {
|
|
230
|
+
return Yt(this._config);
|
|
301
231
|
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
setSubtitleSymbol(i) {
|
|
307
|
-
Ri(i, this._config), this.emitConfigUpdate("setSubtitleSymbol");
|
|
232
|
+
set subtitleSymbol(t) {
|
|
233
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
234
|
+
Pt(t, this._config), this.emitConfigUpdate("subtitleSymbol");
|
|
235
|
+
});
|
|
308
236
|
}
|
|
309
237
|
/**
|
|
310
|
-
*
|
|
311
|
-
* @returns {WebChartTextSymbol | undefined}
|
|
238
|
+
* The description text symbol. Contains styling information such as font, color, and symbol style.
|
|
312
239
|
*/
|
|
313
|
-
|
|
314
|
-
return
|
|
240
|
+
get descriptionSymbol() {
|
|
241
|
+
return Zt(this._config);
|
|
315
242
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
setDescriptionSymbol(i) {
|
|
321
|
-
Oi(i, this._config), this.emitConfigUpdate("setDescriptionSymbol");
|
|
243
|
+
set descriptionSymbol(t) {
|
|
244
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
245
|
+
jt(t, this._config), this.emitConfigUpdate("descriptionSymbol");
|
|
246
|
+
});
|
|
322
247
|
}
|
|
323
248
|
/**
|
|
324
|
-
*
|
|
325
|
-
* @returns {Color | undefined}
|
|
249
|
+
* The background color of the chart.
|
|
326
250
|
*/
|
|
327
|
-
|
|
328
|
-
return
|
|
251
|
+
get backgroundColor() {
|
|
252
|
+
return $t(this._config);
|
|
329
253
|
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
setBackgroundColor(i) {
|
|
335
|
-
Hi(i, this._config), this.emitConfigUpdate("setBackgroundColor");
|
|
254
|
+
set backgroundColor(t) {
|
|
255
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
256
|
+
qt(t, this._config), this.emitConfigUpdate("backgroundColor");
|
|
257
|
+
});
|
|
336
258
|
}
|
|
337
259
|
// #endregion
|
|
338
260
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -343,8 +265,8 @@ class U extends EventTarget {
|
|
|
343
265
|
* @param seriesIndex The series index
|
|
344
266
|
* @returns {boolean}
|
|
345
267
|
*/
|
|
346
|
-
getSeriesVisibility(
|
|
347
|
-
return
|
|
268
|
+
getSeriesVisibility(t) {
|
|
269
|
+
return gt(t, this._config);
|
|
348
270
|
}
|
|
349
271
|
/**
|
|
350
272
|
* Sets the visibility of a series.
|
|
@@ -354,8 +276,10 @@ class U extends EventTarget {
|
|
|
354
276
|
* @param {string} props.sliceId
|
|
355
277
|
* @param {WebChartDataItem} props.sliceData
|
|
356
278
|
*/
|
|
357
|
-
setSeriesVisibility(
|
|
358
|
-
|
|
279
|
+
setSeriesVisibility(t) {
|
|
280
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
281
|
+
R({ detail: t }, this._config), this.emitConfigUpdate("setSeriesVisibility");
|
|
282
|
+
});
|
|
359
283
|
}
|
|
360
284
|
/**
|
|
361
285
|
* Gets the series ID for a given series index.
|
|
@@ -365,8 +289,8 @@ class U extends EventTarget {
|
|
|
365
289
|
* @param {number} seriesIndex The index of the series.
|
|
366
290
|
* @returns {string | undefined}
|
|
367
291
|
*/
|
|
368
|
-
getSeriesId(
|
|
369
|
-
return
|
|
292
|
+
getSeriesId(t) {
|
|
293
|
+
return ct(t, this._config);
|
|
370
294
|
}
|
|
371
295
|
/**
|
|
372
296
|
* Gets the series index for a given series ID.
|
|
@@ -376,22 +300,20 @@ class U extends EventTarget {
|
|
|
376
300
|
* @param {string} seriesId
|
|
377
301
|
* @returns {number | undefined}
|
|
378
302
|
*/
|
|
379
|
-
getSeriesIndex(
|
|
380
|
-
return
|
|
303
|
+
getSeriesIndex(t) {
|
|
304
|
+
return lt(t, this._config);
|
|
381
305
|
}
|
|
382
306
|
/**
|
|
383
|
-
*
|
|
384
|
-
* @returns {number}
|
|
307
|
+
* The length of the series array.
|
|
385
308
|
*/
|
|
386
|
-
|
|
387
|
-
return
|
|
309
|
+
get seriesLength() {
|
|
310
|
+
return ut(this._config);
|
|
388
311
|
}
|
|
389
312
|
/**
|
|
390
|
-
*
|
|
391
|
-
* @returns {ChartSubType}
|
|
313
|
+
* The chart sub type of the series.
|
|
392
314
|
*/
|
|
393
|
-
|
|
394
|
-
return
|
|
315
|
+
get chartSubType() {
|
|
316
|
+
return E(this._config.series);
|
|
395
317
|
}
|
|
396
318
|
/**
|
|
397
319
|
* Gets the data tooltip value format for a series.
|
|
@@ -401,8 +323,8 @@ class U extends EventTarget {
|
|
|
401
323
|
* @param {number} seriesIndex The index of the series to retrieve the value format for.
|
|
402
324
|
* @returns {NumberFormatOptions | undefined}
|
|
403
325
|
*/
|
|
404
|
-
getDataTooltipValueFormat(
|
|
405
|
-
return
|
|
326
|
+
getDataTooltipValueFormat(t) {
|
|
327
|
+
return ht(this._config.series, t);
|
|
406
328
|
}
|
|
407
329
|
/**
|
|
408
330
|
* Sets the data tooltip value format for a series.
|
|
@@ -410,86 +332,48 @@ class U extends EventTarget {
|
|
|
410
332
|
* @param {number} seriesIndex The index of the series to set the value format for.
|
|
411
333
|
* @param {NumberFormatOptions | undefined} valueFormat The value format to set.
|
|
412
334
|
*/
|
|
413
|
-
setDataTooltipValueFormat(
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
335
|
+
setDataTooltipValueFormat(t, i) {
|
|
336
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
337
|
+
ft({
|
|
338
|
+
series: this._config.series,
|
|
339
|
+
seriesIndex: t,
|
|
340
|
+
valueFormat: i
|
|
341
|
+
});
|
|
418
342
|
});
|
|
419
343
|
}
|
|
420
344
|
//#endregion
|
|
421
|
-
|
|
422
|
-
// #region Data
|
|
345
|
+
//---------------------------------------------------------------------------------------------
|
|
346
|
+
// #region Data Properties
|
|
423
347
|
// ---------------------------------------------------------------------------------------------
|
|
424
348
|
/**
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
* @param fetchNULLValues Whether to fetch `null` values.
|
|
349
|
+
* Whether to fetch `null` values for them to be counted or displayed as categories on the chart.
|
|
428
350
|
*/
|
|
429
|
-
|
|
430
|
-
|
|
351
|
+
get fetchNULLValues() {
|
|
352
|
+
return dt(this._config);
|
|
431
353
|
}
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
*/
|
|
437
|
-
getFetchNULLValues() {
|
|
438
|
-
return gi(this._config);
|
|
439
|
-
}
|
|
440
|
-
/**
|
|
441
|
-
* Gets the split-by values for the chart.
|
|
442
|
-
* @returns {string[]}
|
|
443
|
-
*/
|
|
444
|
-
getSplitByValues() {
|
|
445
|
-
return li(this._config);
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
* Get the sort order kind.
|
|
449
|
-
* Only called if `supportsCustomSort` is true.
|
|
450
|
-
*/
|
|
451
|
-
getSortOrderKind() {
|
|
452
|
-
return "";
|
|
453
|
-
}
|
|
454
|
-
/**
|
|
455
|
-
* Get custom sort values.
|
|
456
|
-
* Only called if `supportsCustomSort` is true.
|
|
457
|
-
*/
|
|
458
|
-
async getCustomSortValues() {
|
|
459
|
-
return await new Promise((i) => i([]));
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* Set sort order kind.
|
|
463
|
-
* Only called if `supportsCustomSort` is true.
|
|
464
|
-
*/
|
|
465
|
-
setSortOrderKind(i, t) {
|
|
354
|
+
set fetchNULLValues(t) {
|
|
355
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
356
|
+
mt(t, this._config), this.emitConfigUpdate("fetchNULLValues");
|
|
357
|
+
});
|
|
466
358
|
}
|
|
467
359
|
/**
|
|
468
|
-
*
|
|
469
|
-
* Only called if `supportsCustomSort` is true.
|
|
360
|
+
* The split-by values for the chart.
|
|
470
361
|
*/
|
|
471
|
-
|
|
472
|
-
return
|
|
362
|
+
get splitByValues() {
|
|
363
|
+
return xt(this._config);
|
|
473
364
|
}
|
|
474
365
|
/**
|
|
475
366
|
* Gets the data filter for the bar chart.
|
|
476
367
|
* @returns {WebChartDataFilters | undefined}
|
|
477
368
|
*/
|
|
478
369
|
getDataFilters() {
|
|
479
|
-
return
|
|
370
|
+
return yt(this._config);
|
|
480
371
|
}
|
|
481
372
|
/**
|
|
482
373
|
* Shared method for all chart types.
|
|
483
374
|
*/
|
|
484
|
-
async setDataFilters(
|
|
485
|
-
|
|
486
|
-
const t = this.getSortOrderKind();
|
|
487
|
-
if (this.isSortOrderCustomSort(t)) {
|
|
488
|
-
const s = await this.getCustomSortValues();
|
|
489
|
-
this.setSortOrderKind(t, s);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilters");
|
|
375
|
+
async setDataFilters(t) {
|
|
376
|
+
bt(t, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilters");
|
|
493
377
|
}
|
|
494
378
|
// #endregion
|
|
495
379
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -499,10 +383,10 @@ class U extends EventTarget {
|
|
|
499
383
|
* Emits a config update event.
|
|
500
384
|
* @category Protected
|
|
501
385
|
*/
|
|
502
|
-
emitConfigUpdate(
|
|
386
|
+
emitConfigUpdate(t) {
|
|
503
387
|
this.dispatchEvent(
|
|
504
388
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
505
|
-
detail: { config: this._config,
|
|
389
|
+
detail: { config: this._config, setterName: t }
|
|
506
390
|
})
|
|
507
391
|
);
|
|
508
392
|
}
|
|
@@ -513,234 +397,213 @@ class U extends EventTarget {
|
|
|
513
397
|
* @param params.iLayer The layer description to use if the layer is not provided
|
|
514
398
|
* @param params.config The config object to be loaded.
|
|
515
399
|
*/
|
|
516
|
-
async loadConfigFromLayer(
|
|
517
|
-
const { layer:
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
400
|
+
async loadConfigFromLayer(t) {
|
|
401
|
+
const { layer: i, iLayer: s, config: a } = t;
|
|
402
|
+
this.commonStrings = await _(
|
|
403
|
+
C(document.documentElement).t9nLocale,
|
|
404
|
+
P("./assets/common/t9n"),
|
|
405
|
+
"messages."
|
|
406
|
+
);
|
|
407
|
+
let n = i;
|
|
408
|
+
if (!n && s && (n = await N(s)), n) {
|
|
409
|
+
const l = await z(n, !0), { objectIdField: M } = n;
|
|
521
410
|
this.layerInfo = {
|
|
522
|
-
layer:
|
|
523
|
-
layerFieldsInfo:
|
|
411
|
+
layer: n,
|
|
412
|
+
layerFieldsInfo: l,
|
|
524
413
|
objectIdField: M
|
|
525
414
|
};
|
|
526
415
|
}
|
|
527
|
-
this._config = a !== void 0 ? await
|
|
416
|
+
this._config = a !== void 0 ? await kt(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = k().title), s && (this._config.iLayer = s);
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Guards a setter from being called while an async config update is in progress so that the value being set is not overwritten by the async config update.
|
|
420
|
+
* @param setter The setter callback to call after setup or async config update is finished.
|
|
421
|
+
*/
|
|
422
|
+
async guardSetterFromAsyncOverwrite(t) {
|
|
423
|
+
t(), this.asyncConfigUpdateInProgress && (await this.setupFinished, t());
|
|
528
424
|
}
|
|
529
425
|
// #endregion
|
|
530
426
|
}
|
|
531
|
-
class
|
|
427
|
+
class O extends U {
|
|
532
428
|
/**
|
|
533
|
-
*
|
|
534
|
-
* @returns {string}
|
|
429
|
+
* The x-axis title text.
|
|
535
430
|
*/
|
|
536
|
-
|
|
431
|
+
get xAxisTitleText() {
|
|
537
432
|
return T(0, this._config);
|
|
538
433
|
}
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
setXAxisTitleText(i) {
|
|
544
|
-
L(i, 0, this._config), this.emitConfigUpdate("setXAxisTitleText");
|
|
434
|
+
set xAxisTitleText(t) {
|
|
435
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
436
|
+
L(t, 0, this._config), this.emitConfigUpdate("xAxisTitleText");
|
|
437
|
+
});
|
|
545
438
|
}
|
|
546
439
|
/**
|
|
547
|
-
*
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
* `false`: X-axis title is hidden.
|
|
552
|
-
*
|
|
553
|
-
* @returns {boolean}
|
|
440
|
+
* Whether the x-axis title is visible.
|
|
441
|
+
* true: X-axis title is visible.
|
|
442
|
+
* false: X-axis title is hidden.
|
|
554
443
|
*/
|
|
555
|
-
|
|
556
|
-
return
|
|
444
|
+
get xAxisTitleVisibility() {
|
|
445
|
+
return F(0, this._config);
|
|
557
446
|
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
*
|
|
563
|
-
* `false`: X-axis title is hidden.
|
|
564
|
-
*
|
|
565
|
-
* @param {boolean} newXAxisTitleVisibility - Whether the x-axis title is visible or not.
|
|
566
|
-
*/
|
|
567
|
-
setXAxisTitleVisibility(i) {
|
|
568
|
-
A(i, 0, this._config), this.emitConfigUpdate("setXAxisTitleVisibility");
|
|
447
|
+
set xAxisTitleVisibility(t) {
|
|
448
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
449
|
+
V(t, 0, this._config), this.emitConfigUpdate("xAxisTitleVisibility");
|
|
450
|
+
});
|
|
569
451
|
}
|
|
570
452
|
/**
|
|
571
|
-
*
|
|
572
|
-
* @returns {number | null}
|
|
453
|
+
* Maximum bound set for the x-axis. Null indicates no explicit maximum.
|
|
573
454
|
*/
|
|
574
|
-
|
|
575
|
-
return
|
|
455
|
+
get maxXBound() {
|
|
456
|
+
return h({ config: this._config, axisIndex: 0, isMax: !0 });
|
|
576
457
|
}
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
*/
|
|
582
|
-
setMaxXBound(i) {
|
|
583
|
-
x({ config: this._config, value: i, axisIndex: 0, isMax: !0 }), this.emitConfigUpdate("setMaxXBound");
|
|
458
|
+
set maxXBound(t) {
|
|
459
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
460
|
+
m({ config: this._config, value: t, axisIndex: 0, isMax: !0 }), this.emitConfigUpdate("maxXBound");
|
|
461
|
+
});
|
|
584
462
|
}
|
|
585
463
|
/**
|
|
586
|
-
*
|
|
587
|
-
* @returns {number | null}
|
|
464
|
+
* Minimum bound set for the x-axis. Null indicates no explicit minimum.
|
|
588
465
|
*/
|
|
589
|
-
|
|
590
|
-
return
|
|
466
|
+
get minXBound() {
|
|
467
|
+
return h({ config: this._config, axisIndex: 0, isMax: !1 });
|
|
591
468
|
}
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
*/
|
|
597
|
-
setMinXBound(i) {
|
|
598
|
-
ui(this._config, i), this.emitConfigUpdate("setMinXBound");
|
|
469
|
+
set minXBound(t) {
|
|
470
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
471
|
+
St(this._config, t), this.emitConfigUpdate("minXBound");
|
|
472
|
+
});
|
|
599
473
|
}
|
|
600
474
|
/**
|
|
601
|
-
*
|
|
602
|
-
* @returns {WebChartTextSymbol | undefined}
|
|
475
|
+
* X-axis title text symbol (font, color, style).
|
|
603
476
|
*/
|
|
604
|
-
|
|
605
|
-
return
|
|
477
|
+
get xAxisTitleSymbol() {
|
|
478
|
+
return w(this._config, 0);
|
|
606
479
|
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
setXAxisTitleSymbol(i) {
|
|
612
|
-
G({ symbol: i, axisIndex: 0, config: this._config }), this.emitConfigUpdate("setXAxisTitleSymbol");
|
|
480
|
+
set xAxisTitleSymbol(t) {
|
|
481
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
482
|
+
G({ symbol: t, axisIndex: 0, config: this._config }), this.emitConfigUpdate("xAxisTitleSymbol");
|
|
483
|
+
});
|
|
613
484
|
}
|
|
614
485
|
/**
|
|
615
|
-
*
|
|
616
|
-
* @returns {WebChartTextSymbol | undefined}
|
|
486
|
+
* Axis labels text symbol (font, color, style).
|
|
617
487
|
*/
|
|
618
|
-
|
|
619
|
-
return
|
|
488
|
+
get axisLabelsSymbol() {
|
|
489
|
+
return pt(this._config);
|
|
620
490
|
}
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
setAxisLabelsSymbol(i) {
|
|
626
|
-
di(i, this._config), this.emitConfigUpdate("setAxisLabelsSymbol");
|
|
491
|
+
set axisLabelsSymbol(t) {
|
|
492
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
493
|
+
_t(t, this._config), this.emitConfigUpdate("axisLabelsSymbol");
|
|
494
|
+
});
|
|
627
495
|
}
|
|
628
496
|
/**
|
|
629
|
-
*
|
|
630
|
-
* @returns {ISimpleLineSymbol | undefined}
|
|
497
|
+
* Axis lines symbol (line width, style, color).
|
|
631
498
|
*/
|
|
632
|
-
|
|
633
|
-
return
|
|
499
|
+
get axisLinesSymbol() {
|
|
500
|
+
return Ct(this._config);
|
|
634
501
|
}
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
setAxisLinesSymbol(i) {
|
|
640
|
-
mi(i, this._config), this.emitConfigUpdate("setAxisLinesSymbol");
|
|
502
|
+
set axisLinesSymbol(t) {
|
|
503
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
504
|
+
vt(t, this._config), this.emitConfigUpdate("axisLinesSymbol");
|
|
505
|
+
});
|
|
641
506
|
}
|
|
642
507
|
}
|
|
643
|
-
const
|
|
644
|
-
for (const
|
|
645
|
-
for (const
|
|
646
|
-
if (
|
|
647
|
-
return
|
|
648
|
-
},
|
|
649
|
-
for (const
|
|
650
|
-
for (const s of
|
|
508
|
+
const Qt = (e) => {
|
|
509
|
+
for (const t of e.axes ?? [])
|
|
510
|
+
for (const i of t?.guides ?? [])
|
|
511
|
+
if (i.label !== void 0)
|
|
512
|
+
return i.label;
|
|
513
|
+
}, Jt = (e, t) => {
|
|
514
|
+
for (const i of t.axes ?? [])
|
|
515
|
+
for (const s of i?.guides ?? []) {
|
|
651
516
|
const a = s.label?.text ?? "";
|
|
652
|
-
s.label =
|
|
517
|
+
s.label = X(e), s.label !== void 0 && (s.label.text = a);
|
|
653
518
|
}
|
|
654
519
|
};
|
|
655
|
-
function
|
|
520
|
+
function o(e) {
|
|
656
521
|
return {
|
|
657
522
|
...e,
|
|
658
|
-
axis: e.orientation ===
|
|
523
|
+
axis: e.orientation === c.X ? e.config.axes?.[0] : e.config.axes?.[1],
|
|
659
524
|
index: e.index ?? 0,
|
|
660
|
-
orientation: e.orientation ??
|
|
525
|
+
orientation: e.orientation ?? c.Y
|
|
661
526
|
};
|
|
662
527
|
}
|
|
663
|
-
const
|
|
664
|
-
const { axis:
|
|
665
|
-
return
|
|
666
|
-
},
|
|
667
|
-
const { visible:
|
|
668
|
-
|
|
528
|
+
const Kt = (e) => {
|
|
529
|
+
const { axis: t, index: i } = o(e);
|
|
530
|
+
return t?.guides?.[i]?.visible ?? !0;
|
|
531
|
+
}, ti = (e) => {
|
|
532
|
+
const { visible: t, axis: i, index: s } = o(e);
|
|
533
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].visible = t);
|
|
669
534
|
}, B = (e) => {
|
|
670
|
-
const
|
|
671
|
-
Z(e.style) &&
|
|
672
|
-
},
|
|
673
|
-
const { axis:
|
|
674
|
-
return
|
|
675
|
-
},
|
|
676
|
-
const { start:
|
|
677
|
-
|
|
678
|
-
},
|
|
679
|
-
const { axis:
|
|
680
|
-
return
|
|
681
|
-
},
|
|
682
|
-
const { end:
|
|
683
|
-
|
|
684
|
-
},
|
|
685
|
-
const { axis:
|
|
686
|
-
return
|
|
687
|
-
},
|
|
688
|
-
const { name:
|
|
689
|
-
|
|
690
|
-
},
|
|
691
|
-
const { axis:
|
|
692
|
-
return
|
|
693
|
-
},
|
|
694
|
-
const { labelText:
|
|
695
|
-
|
|
696
|
-
},
|
|
697
|
-
const { axis:
|
|
698
|
-
return
|
|
699
|
-
},
|
|
700
|
-
const { above:
|
|
701
|
-
|
|
702
|
-
},
|
|
703
|
-
const { axis:
|
|
704
|
-
return
|
|
705
|
-
},
|
|
706
|
-
const { style:
|
|
707
|
-
|
|
708
|
-
},
|
|
709
|
-
const { config:
|
|
710
|
-
if (
|
|
711
|
-
|
|
712
|
-
const
|
|
535
|
+
const t = Y(e.start, e.end);
|
|
536
|
+
Z(e.style) && t === u.SFS ? e.style = { type: u.SFS, color: e.style.color } : j(e.style) && t === u.SLS && (e.style = { type: u.SLS, color: e.style.color });
|
|
537
|
+
}, ii = (e) => {
|
|
538
|
+
const { axis: t, index: i } = o(e);
|
|
539
|
+
return t?.guides?.[i]?.start ?? null;
|
|
540
|
+
}, ei = (e) => {
|
|
541
|
+
const { start: t, axis: i, index: s } = o(e);
|
|
542
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].start = t, B(i.guides[s]));
|
|
543
|
+
}, si = (e) => {
|
|
544
|
+
const { axis: t, index: i } = o(e);
|
|
545
|
+
return t?.guides?.[i]?.end;
|
|
546
|
+
}, ri = (e) => {
|
|
547
|
+
const { end: t, axis: i, index: s } = o(e);
|
|
548
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].end = t, B(i.guides[s]));
|
|
549
|
+
}, oi = (e) => {
|
|
550
|
+
const { axis: t, index: i } = o(e);
|
|
551
|
+
return t?.guides?.[i]?.name;
|
|
552
|
+
}, ni = (e) => {
|
|
553
|
+
const { name: t, axis: i, index: s } = o(e);
|
|
554
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].name = t);
|
|
555
|
+
}, ai = (e) => {
|
|
556
|
+
const { axis: t, index: i } = o(e);
|
|
557
|
+
return t?.guides?.[i]?.label?.text;
|
|
558
|
+
}, gi = (e) => {
|
|
559
|
+
const { labelText: t, axis: i, index: s } = o(e), a = i?.guides?.[s]?.label ?? W(t, f(g.GuideLabel), g.GuideLabel);
|
|
560
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...a, text: t });
|
|
561
|
+
}, ci = (e) => {
|
|
562
|
+
const { axis: t, index: i } = o(e);
|
|
563
|
+
return t?.guides?.[i]?.above ?? !1;
|
|
564
|
+
}, li = (e) => {
|
|
565
|
+
const { above: t, axis: i, index: s } = o(e);
|
|
566
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].above = t);
|
|
567
|
+
}, ui = (e) => {
|
|
568
|
+
const { axis: t, index: i } = o(e);
|
|
569
|
+
return t?.guides?.[i]?.style;
|
|
570
|
+
}, hi = (e) => {
|
|
571
|
+
const { style: t, axis: i, index: s } = o(e);
|
|
572
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].style = t);
|
|
573
|
+
}, D = (e) => {
|
|
574
|
+
const { config: t, name: i, index: s, orientation: a } = e, n = a === c.X ? t.axes?.[0] : t.axes?.[1];
|
|
575
|
+
if (n !== void 0) {
|
|
576
|
+
n.guides = n.guides ?? [];
|
|
577
|
+
const l = {
|
|
713
578
|
type: p.Guide,
|
|
714
|
-
name:
|
|
715
|
-
start:
|
|
716
|
-
style:
|
|
579
|
+
name: i,
|
|
580
|
+
start: n.valueFormat.type === p.DateAxisFormat ? "" : 0,
|
|
581
|
+
style: H()
|
|
717
582
|
};
|
|
718
|
-
s !== void 0 && s <
|
|
583
|
+
s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, l) : n.guides.push(l);
|
|
719
584
|
}
|
|
720
585
|
}, I = (e) => {
|
|
721
|
-
const { config:
|
|
722
|
-
a?.guides !== void 0 && (
|
|
723
|
-
},
|
|
724
|
-
const { axis:
|
|
725
|
-
return
|
|
726
|
-
},
|
|
727
|
-
const { reverseColor:
|
|
728
|
-
|
|
586
|
+
const { config: t, index: i, orientation: s } = e, a = s === c.X ? t.axes?.[0] : t.axes?.[1];
|
|
587
|
+
a?.guides !== void 0 && (i !== void 0 && i < a.guides.length ? a.guides.splice(i, 1) : a.guides.pop());
|
|
588
|
+
}, fi = (e) => {
|
|
589
|
+
const { axis: t, index: i } = o(e);
|
|
590
|
+
return t?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
591
|
+
}, di = (e) => {
|
|
592
|
+
const { reverseColor: t, axis: i, index: s } = o(e);
|
|
593
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = t);
|
|
729
594
|
};
|
|
730
595
|
class d extends U {
|
|
731
596
|
/**
|
|
732
|
-
*
|
|
597
|
+
* The guide labels text symbol (font, color, style).
|
|
733
598
|
* @returns {WebChartTextSymbol | undefined}
|
|
734
599
|
*/
|
|
735
|
-
|
|
736
|
-
return
|
|
600
|
+
get guideLabelsSymbol() {
|
|
601
|
+
return Qt(this._config);
|
|
737
602
|
}
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
setGuideLabelsSymbol(i) {
|
|
743
|
-
$i(i, this._config), this.emitConfigUpdate("setGuideLabels");
|
|
603
|
+
set guideLabelsSymbol(t) {
|
|
604
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
605
|
+
Jt(t, this._config), this.emitConfigUpdate("guideLabelsSymbol");
|
|
606
|
+
});
|
|
744
607
|
}
|
|
745
608
|
/**
|
|
746
609
|
* Gets whether a guide is visible.
|
|
@@ -748,8 +611,8 @@ class d extends U {
|
|
|
748
611
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
749
612
|
* @returns {boolean}
|
|
750
613
|
*/
|
|
751
|
-
getGuideVisibility(
|
|
752
|
-
return
|
|
614
|
+
getGuideVisibility(t, i) {
|
|
615
|
+
return Kt({ config: this._config, index: t, orientation: i });
|
|
753
616
|
}
|
|
754
617
|
/**
|
|
755
618
|
* Sets whether a guide is visible
|
|
@@ -757,8 +620,10 @@ class d extends U {
|
|
|
757
620
|
* @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
758
621
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
759
622
|
*/
|
|
760
|
-
setGuideVisibility(
|
|
761
|
-
|
|
623
|
+
setGuideVisibility(t, i, s) {
|
|
624
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
625
|
+
ti({ visible: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideVisibility");
|
|
626
|
+
});
|
|
762
627
|
}
|
|
763
628
|
/**
|
|
764
629
|
* Gets the start value of a guide.
|
|
@@ -766,8 +631,8 @@ class d extends U {
|
|
|
766
631
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
767
632
|
* @returns {Date | number | string | null}
|
|
768
633
|
*/
|
|
769
|
-
getGuideStart(
|
|
770
|
-
return
|
|
634
|
+
getGuideStart(t, i) {
|
|
635
|
+
return ii({ config: this._config, index: t, orientation: i });
|
|
771
636
|
}
|
|
772
637
|
/**
|
|
773
638
|
* Sets the start value of a guide.
|
|
@@ -775,8 +640,10 @@ class d extends U {
|
|
|
775
640
|
* @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
776
641
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
777
642
|
*/
|
|
778
|
-
setGuideStart(
|
|
779
|
-
|
|
643
|
+
setGuideStart(t, i, s) {
|
|
644
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
645
|
+
ei({ start: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideStart");
|
|
646
|
+
});
|
|
780
647
|
}
|
|
781
648
|
/**
|
|
782
649
|
* Gets the end value of a guide.
|
|
@@ -784,8 +651,8 @@ class d extends U {
|
|
|
784
651
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
785
652
|
* @returns {Date | number | string | null}
|
|
786
653
|
*/
|
|
787
|
-
getGuideEnd(
|
|
788
|
-
return
|
|
654
|
+
getGuideEnd(t, i) {
|
|
655
|
+
return si({ config: this._config, index: t, orientation: i });
|
|
789
656
|
}
|
|
790
657
|
/**
|
|
791
658
|
* Sets the end value of a guide.
|
|
@@ -793,8 +660,10 @@ class d extends U {
|
|
|
793
660
|
* @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
794
661
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
795
662
|
*/
|
|
796
|
-
setGuideEnd(
|
|
797
|
-
|
|
663
|
+
setGuideEnd(t, i, s) {
|
|
664
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
665
|
+
ri({ end: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideEnd");
|
|
666
|
+
});
|
|
798
667
|
}
|
|
799
668
|
/**
|
|
800
669
|
* Gets the name of a guide.
|
|
@@ -802,8 +671,8 @@ class d extends U {
|
|
|
802
671
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
803
672
|
* @returns {string | undefined}
|
|
804
673
|
*/
|
|
805
|
-
getGuideName(
|
|
806
|
-
return
|
|
674
|
+
getGuideName(t, i) {
|
|
675
|
+
return oi({ config: this._config, index: t, orientation: i });
|
|
807
676
|
}
|
|
808
677
|
/**
|
|
809
678
|
* Sets the name of a guide.
|
|
@@ -811,8 +680,10 @@ class d extends U {
|
|
|
811
680
|
* @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
812
681
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
813
682
|
*/
|
|
814
|
-
setGuideName(
|
|
815
|
-
|
|
683
|
+
setGuideName(t, i, s) {
|
|
684
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
685
|
+
ni({ name: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideName");
|
|
686
|
+
});
|
|
816
687
|
}
|
|
817
688
|
/**
|
|
818
689
|
* Gets the guide label text.
|
|
@@ -820,8 +691,8 @@ class d extends U {
|
|
|
820
691
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
821
692
|
* @returns {string | undefined}
|
|
822
693
|
*/
|
|
823
|
-
getGuideLabelText(
|
|
824
|
-
return
|
|
694
|
+
getGuideLabelText(t, i) {
|
|
695
|
+
return ai({ config: this._config, index: t, orientation: i });
|
|
825
696
|
}
|
|
826
697
|
/**
|
|
827
698
|
* Sets the guide label text.
|
|
@@ -829,8 +700,10 @@ class d extends U {
|
|
|
829
700
|
* @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
830
701
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
831
702
|
*/
|
|
832
|
-
setGuideLabelText(
|
|
833
|
-
|
|
703
|
+
setGuideLabelText(t, i, s) {
|
|
704
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
705
|
+
gi({ labelText: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideLabelText");
|
|
706
|
+
});
|
|
834
707
|
}
|
|
835
708
|
/**
|
|
836
709
|
* Gets whether the guide should be rendered above the other chart elements.
|
|
@@ -838,8 +711,8 @@ class d extends U {
|
|
|
838
711
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
839
712
|
* @returns {boolean}
|
|
840
713
|
*/
|
|
841
|
-
getGuideAbove(
|
|
842
|
-
return
|
|
714
|
+
getGuideAbove(t, i) {
|
|
715
|
+
return ci({ config: this._config, index: t, orientation: i });
|
|
843
716
|
}
|
|
844
717
|
/**
|
|
845
718
|
* Sets whether the guide should be rendered above the other chart elements.
|
|
@@ -847,8 +720,10 @@ class d extends U {
|
|
|
847
720
|
* @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
848
721
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
849
722
|
*/
|
|
850
|
-
setGuideAbove(
|
|
851
|
-
|
|
723
|
+
setGuideAbove(t, i, s) {
|
|
724
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
725
|
+
li({ above: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideAbove");
|
|
726
|
+
});
|
|
852
727
|
}
|
|
853
728
|
/**
|
|
854
729
|
* Gets the guide style.
|
|
@@ -856,8 +731,8 @@ class d extends U {
|
|
|
856
731
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
857
732
|
* @returns {ISimpleFillSymbol | ISimpleLineSymbol | undefined}
|
|
858
733
|
*/
|
|
859
|
-
getGuideStyle(
|
|
860
|
-
return
|
|
734
|
+
getGuideStyle(t, i) {
|
|
735
|
+
return ui({ config: this._config, index: t, orientation: i });
|
|
861
736
|
}
|
|
862
737
|
/**
|
|
863
738
|
* Sets the guide style.
|
|
@@ -865,8 +740,10 @@ class d extends U {
|
|
|
865
740
|
* @param {number} [index] Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
866
741
|
* @param {GuideOrientation} [orientation] Default `y`. The axis orientation of the guide.
|
|
867
742
|
*/
|
|
868
|
-
setGuideStyle(
|
|
869
|
-
|
|
743
|
+
setGuideStyle(t, i, s) {
|
|
744
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
745
|
+
hi({ style: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideStyle");
|
|
746
|
+
});
|
|
870
747
|
}
|
|
871
748
|
/**
|
|
872
749
|
* Gets whether the tooltip text color should be reversed for a guide.
|
|
@@ -874,8 +751,8 @@ class d extends U {
|
|
|
874
751
|
* @param orientation - The axis orientation of the guide.
|
|
875
752
|
* @returns {boolean}
|
|
876
753
|
*/
|
|
877
|
-
getTooltipReverseColor(
|
|
878
|
-
return
|
|
754
|
+
getTooltipReverseColor(t, i) {
|
|
755
|
+
return fi({ config: this._config, index: t, orientation: i });
|
|
879
756
|
}
|
|
880
757
|
/**
|
|
881
758
|
* Sets whether the tooltip text color should be reversed for a guide.
|
|
@@ -883,11 +760,13 @@ class d extends U {
|
|
|
883
760
|
* @param index - The index of the guide in the list of guides for the given axis orientation.
|
|
884
761
|
* @param orientation - The axis orientation of the guide.
|
|
885
762
|
*/
|
|
886
|
-
setTooltipReverseColor(
|
|
887
|
-
|
|
763
|
+
setTooltipReverseColor(t, i, s) {
|
|
764
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
765
|
+
di({ reverseColor: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setTooltipReverseColor");
|
|
766
|
+
});
|
|
888
767
|
}
|
|
889
768
|
}
|
|
890
|
-
class
|
|
769
|
+
class mi extends d {
|
|
891
770
|
// ---------------------------------------------------------------------------------------------
|
|
892
771
|
// Guides Methods
|
|
893
772
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -903,28 +782,32 @@ class dt extends d {
|
|
|
903
782
|
* @param {string} name The name of the guide.
|
|
904
783
|
* @param {number} [index] The index to insert the new guide in the list of X-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
905
784
|
*/
|
|
906
|
-
addXAxisGuide(
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
785
|
+
addXAxisGuide(t, i) {
|
|
786
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
787
|
+
D({
|
|
788
|
+
config: this._config,
|
|
789
|
+
name: t,
|
|
790
|
+
index: i,
|
|
791
|
+
orientation: c.X
|
|
792
|
+
}), this.emitConfigUpdate("addXAxisGuide");
|
|
793
|
+
});
|
|
913
794
|
}
|
|
914
795
|
/**
|
|
915
796
|
* Deletes an X-axis guide.
|
|
916
797
|
* @param {number} [index] The index of the guide to delete in the list of X-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
917
798
|
*/
|
|
918
|
-
deleteXAxisGuide(
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
799
|
+
deleteXAxisGuide(t) {
|
|
800
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
801
|
+
I({
|
|
802
|
+
config: this._config,
|
|
803
|
+
index: t,
|
|
804
|
+
orientation: c.X
|
|
805
|
+
}), this.emitConfigUpdate("deleteXAxisGuide");
|
|
806
|
+
});
|
|
924
807
|
}
|
|
925
808
|
}
|
|
926
|
-
|
|
927
|
-
class
|
|
809
|
+
S(mi, [d]);
|
|
810
|
+
class xi extends d {
|
|
928
811
|
/**
|
|
929
812
|
* Gets the number guides in the Y-axis guides list.
|
|
930
813
|
* @returns {number | undefined} The number of Y-axis guides.
|
|
@@ -937,51 +820,55 @@ class xt extends d {
|
|
|
937
820
|
* @param {string} name The name of the guide.
|
|
938
821
|
* @param {number} [index] The index to insert the new guide in the list of Y-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
939
822
|
*/
|
|
940
|
-
addYAxisGuide(
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
823
|
+
addYAxisGuide(t, i) {
|
|
824
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
825
|
+
D({
|
|
826
|
+
config: this._config,
|
|
827
|
+
name: t,
|
|
828
|
+
index: i,
|
|
829
|
+
orientation: c.Y
|
|
830
|
+
}), this.emitConfigUpdate("addYAxisGuide");
|
|
831
|
+
});
|
|
947
832
|
}
|
|
948
833
|
/**
|
|
949
834
|
* Deletes a Y-axis guide.
|
|
950
835
|
* @param {number} [index] The index of the guide to delete in the list of Y-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
951
836
|
*/
|
|
952
|
-
deleteYAxisGuide(
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
837
|
+
deleteYAxisGuide(t) {
|
|
838
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
839
|
+
I({
|
|
840
|
+
config: this._config,
|
|
841
|
+
index: t,
|
|
842
|
+
orientation: c.Y
|
|
843
|
+
}), this.emitConfigUpdate("deleteYAxisGuide");
|
|
844
|
+
});
|
|
958
845
|
}
|
|
959
846
|
}
|
|
960
|
-
|
|
961
|
-
const
|
|
962
|
-
|
|
963
|
-
},
|
|
964
|
-
|
|
965
|
-
},
|
|
966
|
-
|
|
967
|
-
},
|
|
968
|
-
|
|
969
|
-
},
|
|
970
|
-
|
|
971
|
-
},
|
|
972
|
-
|
|
847
|
+
S(xi, [d]);
|
|
848
|
+
const yi = (e) => e.horizontalAxisLabelsBehavior ?? v.Rotate, bi = (e, t) => {
|
|
849
|
+
t.horizontalAxisLabelsBehavior = e;
|
|
850
|
+
}, Si = (e) => e.verticalAxisLabelsBehavior ?? v.Wrap, pi = (e, t) => {
|
|
851
|
+
t.verticalAxisLabelsBehavior = e;
|
|
852
|
+
}, _i = (e) => e.cursorCrosshair?.horizontalLineVisible ?? !1, Ci = (e, t) => {
|
|
853
|
+
t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.horizontalLineVisible = e;
|
|
854
|
+
}, vi = (e) => e.cursorCrosshair?.verticalLineVisible ?? !1, Ai = (e, t) => {
|
|
855
|
+
t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.verticalLineVisible = e;
|
|
856
|
+
}, Ti = (e) => e.cursorCrosshair?.style, Li = (e, t) => {
|
|
857
|
+
t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.style = e;
|
|
858
|
+
}, Fi = (e) => e.cursorCrosshair, Vi = (e, t) => {
|
|
859
|
+
t.cursorCrosshair = e;
|
|
973
860
|
};
|
|
974
|
-
class
|
|
861
|
+
class wi extends O {
|
|
975
862
|
/**
|
|
976
863
|
* Gets the title text of the specified axis.
|
|
977
864
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
978
865
|
* @returns {string}
|
|
979
866
|
*/
|
|
980
|
-
getAxisTitleText(
|
|
981
|
-
return
|
|
867
|
+
getAxisTitleText(t) {
|
|
868
|
+
return r({
|
|
982
869
|
config: this._config,
|
|
983
|
-
axisIndex:
|
|
984
|
-
func: (
|
|
870
|
+
axisIndex: t,
|
|
871
|
+
func: (i) => T(i, this._config)
|
|
985
872
|
}) ?? "";
|
|
986
873
|
}
|
|
987
874
|
/**
|
|
@@ -992,13 +879,15 @@ class Gt extends D {
|
|
|
992
879
|
* **NOTE**: The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
993
880
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
994
881
|
*/
|
|
995
|
-
setAxisTitleText(
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
882
|
+
setAxisTitleText(t, i) {
|
|
883
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
884
|
+
r({
|
|
885
|
+
config: this._config,
|
|
886
|
+
axisIndex: i,
|
|
887
|
+
func: (s) => {
|
|
888
|
+
L(t, s, this._config), this.emitConfigUpdate("setAxisTitleText");
|
|
889
|
+
}
|
|
890
|
+
});
|
|
1002
891
|
});
|
|
1003
892
|
}
|
|
1004
893
|
/**
|
|
@@ -1006,11 +895,11 @@ class Gt extends D {
|
|
|
1006
895
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1007
896
|
* @returns {boolean}
|
|
1008
897
|
*/
|
|
1009
|
-
getAxisTitleVisibility(
|
|
1010
|
-
return
|
|
898
|
+
getAxisTitleVisibility(t) {
|
|
899
|
+
return r({
|
|
1011
900
|
config: this._config,
|
|
1012
|
-
axisIndex:
|
|
1013
|
-
func: (
|
|
901
|
+
axisIndex: t,
|
|
902
|
+
func: (i) => F(i, this._config)
|
|
1014
903
|
}) ?? !1;
|
|
1015
904
|
}
|
|
1016
905
|
/**
|
|
@@ -1021,13 +910,15 @@ class Gt extends D {
|
|
|
1021
910
|
* **NOTE**: The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1022
911
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1023
912
|
*/
|
|
1024
|
-
setAxisTitleVisibility(
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
913
|
+
setAxisTitleVisibility(t, i) {
|
|
914
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
915
|
+
r({
|
|
916
|
+
config: this._config,
|
|
917
|
+
axisIndex: i,
|
|
918
|
+
func: (s) => {
|
|
919
|
+
V(t, s, this._config), this.emitConfigUpdate("setAxisTitleVisibility");
|
|
920
|
+
}
|
|
921
|
+
});
|
|
1031
922
|
});
|
|
1032
923
|
}
|
|
1033
924
|
/**
|
|
@@ -1035,11 +926,11 @@ class Gt extends D {
|
|
|
1035
926
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1036
927
|
*@returns {number}
|
|
1037
928
|
*/
|
|
1038
|
-
getMaxBound(
|
|
1039
|
-
return
|
|
929
|
+
getMaxBound(t) {
|
|
930
|
+
return r({
|
|
1040
931
|
config: this._config,
|
|
1041
|
-
axisIndex:
|
|
1042
|
-
func: (
|
|
932
|
+
axisIndex: t,
|
|
933
|
+
func: (i) => h({ config: this._config, axisIndex: i, isMax: !0 })
|
|
1043
934
|
}) ?? Number.NaN;
|
|
1044
935
|
}
|
|
1045
936
|
/**
|
|
@@ -1050,13 +941,15 @@ class Gt extends D {
|
|
|
1050
941
|
* **NOTE**: The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1051
942
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1052
943
|
*/
|
|
1053
|
-
setMaxBound(
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
944
|
+
setMaxBound(t, i) {
|
|
945
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
946
|
+
r({
|
|
947
|
+
config: this._config,
|
|
948
|
+
axisIndex: i,
|
|
949
|
+
func: (s) => {
|
|
950
|
+
m({ config: this._config, value: t, axisIndex: s, isMax: !0 }), this.emitConfigUpdate("setMaxBound");
|
|
951
|
+
}
|
|
952
|
+
});
|
|
1060
953
|
});
|
|
1061
954
|
}
|
|
1062
955
|
/**
|
|
@@ -1064,11 +957,11 @@ class Gt extends D {
|
|
|
1064
957
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1065
958
|
* @returns {number}
|
|
1066
959
|
*/
|
|
1067
|
-
getMinBound(
|
|
1068
|
-
return
|
|
960
|
+
getMinBound(t) {
|
|
961
|
+
return r({
|
|
1069
962
|
config: this._config,
|
|
1070
|
-
axisIndex:
|
|
1071
|
-
func: (
|
|
963
|
+
axisIndex: t,
|
|
964
|
+
func: (i) => h({ config: this._config, axisIndex: i, isMax: !1 })
|
|
1072
965
|
}) ?? Number.NaN;
|
|
1073
966
|
}
|
|
1074
967
|
/**
|
|
@@ -1079,13 +972,15 @@ class Gt extends D {
|
|
|
1079
972
|
* **NOTE**: The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1080
973
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1081
974
|
*/
|
|
1082
|
-
setMinBound(
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
975
|
+
setMinBound(t, i) {
|
|
976
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
977
|
+
r({
|
|
978
|
+
config: this._config,
|
|
979
|
+
axisIndex: i,
|
|
980
|
+
func: (s) => {
|
|
981
|
+
m({ config: this._config, value: t, axisIndex: s, isMax: !1 }), this.emitConfigUpdate("setMinBound");
|
|
982
|
+
}
|
|
983
|
+
});
|
|
1089
984
|
});
|
|
1090
985
|
}
|
|
1091
986
|
/**
|
|
@@ -1093,28 +988,35 @@ class Gt extends D {
|
|
|
1093
988
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1094
989
|
* @returns {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined}
|
|
1095
990
|
*/
|
|
1096
|
-
getAxisValueFormat(
|
|
1097
|
-
return
|
|
991
|
+
getAxisValueFormat(t) {
|
|
992
|
+
return r({
|
|
1098
993
|
config: this._config,
|
|
1099
|
-
axisIndex:
|
|
1100
|
-
func: (
|
|
994
|
+
axisIndex: t,
|
|
995
|
+
func: (i) => Ft(i, this._config)
|
|
1101
996
|
});
|
|
1102
997
|
}
|
|
1103
998
|
/**
|
|
1104
999
|
* Sets the value format for the specified axis.
|
|
1105
|
-
* @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} valueFormat The value format to set.
|
|
1106
1000
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1001
|
+
* @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} valueFormat The value format to set.
|
|
1107
1002
|
*
|
|
1108
1003
|
* **NOTE**: The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1109
1004
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1110
1005
|
*/
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1006
|
+
setAxisValueFormat(t, i) {
|
|
1007
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1008
|
+
r({
|
|
1009
|
+
config: this._config,
|
|
1010
|
+
axisIndex: t,
|
|
1011
|
+
func: (s) => {
|
|
1012
|
+
Vt({
|
|
1013
|
+
config: this._config,
|
|
1014
|
+
valueFormat: i,
|
|
1015
|
+
axisIndex: s,
|
|
1016
|
+
commonStrings: this.commonStrings
|
|
1017
|
+
}), this.emitConfigUpdate("setAxisValueFormat");
|
|
1018
|
+
}
|
|
1019
|
+
});
|
|
1118
1020
|
});
|
|
1119
1021
|
}
|
|
1120
1022
|
/**
|
|
@@ -1127,11 +1029,11 @@ class Gt extends D {
|
|
|
1127
1029
|
*
|
|
1128
1030
|
* @returns {boolean}
|
|
1129
1031
|
*/
|
|
1130
|
-
getLogarithmic(
|
|
1131
|
-
return
|
|
1032
|
+
getLogarithmic(t) {
|
|
1033
|
+
return r({
|
|
1132
1034
|
config: this._config,
|
|
1133
|
-
axisIndex:
|
|
1134
|
-
func: (
|
|
1035
|
+
axisIndex: t,
|
|
1036
|
+
func: (i) => wt(this._config, i)
|
|
1135
1037
|
}) ?? !1;
|
|
1136
1038
|
}
|
|
1137
1039
|
/**
|
|
@@ -1147,17 +1049,19 @@ class Gt extends D {
|
|
|
1147
1049
|
* **NOTE**: The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1148
1050
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1149
1051
|
*/
|
|
1150
|
-
setLogarithmic(
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1052
|
+
setLogarithmic(t, i) {
|
|
1053
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1054
|
+
r({
|
|
1055
|
+
config: this._config,
|
|
1056
|
+
axisIndex: i,
|
|
1057
|
+
func: (s) => {
|
|
1058
|
+
Gt({
|
|
1059
|
+
config: this._config,
|
|
1060
|
+
isLogarithmic: t,
|
|
1061
|
+
axisIndex: s
|
|
1062
|
+
}), this.emitConfigUpdate("setLogarithmic");
|
|
1063
|
+
}
|
|
1064
|
+
});
|
|
1161
1065
|
});
|
|
1162
1066
|
}
|
|
1163
1067
|
/**
|
|
@@ -1165,11 +1069,11 @@ class Gt extends D {
|
|
|
1165
1069
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1166
1070
|
* @returns {WebChartAxisScrollBar | undefined}
|
|
1167
1071
|
*/
|
|
1168
|
-
getAxisScrollbar(
|
|
1169
|
-
return
|
|
1072
|
+
getAxisScrollbar(t) {
|
|
1073
|
+
return r({
|
|
1170
1074
|
config: this._config,
|
|
1171
|
-
axisIndex:
|
|
1172
|
-
func: (
|
|
1075
|
+
axisIndex: t,
|
|
1076
|
+
func: (i) => this._config.axes?.[i]?.scrollbar
|
|
1173
1077
|
});
|
|
1174
1078
|
}
|
|
1175
1079
|
/**
|
|
@@ -1180,28 +1084,30 @@ class Gt extends D {
|
|
|
1180
1084
|
* **NOTE**: The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1181
1085
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1182
1086
|
*/
|
|
1183
|
-
setAxisScrollbar(
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1087
|
+
setAxisScrollbar(t, i) {
|
|
1088
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1089
|
+
r({
|
|
1090
|
+
config: this._config,
|
|
1091
|
+
axisIndex: i,
|
|
1092
|
+
func: (s) => {
|
|
1093
|
+
Ut({
|
|
1094
|
+
config: this._config,
|
|
1095
|
+
scrollbar: t,
|
|
1096
|
+
axisIndex: s
|
|
1097
|
+
}), this.emitConfigUpdate("setAxisScrollbar");
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1194
1100
|
});
|
|
1195
1101
|
}
|
|
1196
1102
|
/**
|
|
1197
1103
|
* Gets the specified title text symbol. Contains styling information such as font, color, and symbol style.
|
|
1198
1104
|
* @returns {WebChartTextSymbol | undefined}
|
|
1199
1105
|
*/
|
|
1200
|
-
getAxisTitleSymbol(
|
|
1201
|
-
return
|
|
1106
|
+
getAxisTitleSymbol(t) {
|
|
1107
|
+
return r({
|
|
1202
1108
|
config: this._config,
|
|
1203
|
-
axisIndex:
|
|
1204
|
-
func: (
|
|
1109
|
+
axisIndex: t,
|
|
1110
|
+
func: (i) => w(this._config, i)
|
|
1205
1111
|
});
|
|
1206
1112
|
}
|
|
1207
1113
|
/**
|
|
@@ -1212,13 +1118,15 @@ class Gt extends D {
|
|
|
1212
1118
|
* **NOTE**: The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1213
1119
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1214
1120
|
*/
|
|
1215
|
-
setAxisTitleSymbol(
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1121
|
+
setAxisTitleSymbol(t, i) {
|
|
1122
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1123
|
+
r({
|
|
1124
|
+
config: this._config,
|
|
1125
|
+
axisIndex: i,
|
|
1126
|
+
func: (s) => {
|
|
1127
|
+
G({ symbol: t, config: this._config, axisIndex: s }), this.emitConfigUpdate("setAxisTitleSymbol");
|
|
1128
|
+
}
|
|
1129
|
+
});
|
|
1222
1130
|
});
|
|
1223
1131
|
}
|
|
1224
1132
|
/**
|
|
@@ -1226,7 +1134,7 @@ class Gt extends D {
|
|
|
1226
1134
|
* @returns {WebChartLabelBehavior}
|
|
1227
1135
|
*/
|
|
1228
1136
|
getHorizontalAxisLabelsBehavior() {
|
|
1229
|
-
return
|
|
1137
|
+
return yi(this._config);
|
|
1230
1138
|
}
|
|
1231
1139
|
/**
|
|
1232
1140
|
* Sets the horizontal axis labels behavior for the chart.
|
|
@@ -1236,15 +1144,17 @@ class Gt extends D {
|
|
|
1236
1144
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1237
1145
|
*
|
|
1238
1146
|
*/
|
|
1239
|
-
setHorizontalAxisLabelsBehavior(
|
|
1240
|
-
|
|
1147
|
+
setHorizontalAxisLabelsBehavior(t) {
|
|
1148
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1149
|
+
bi(t, this._config), this.emitConfigUpdate("setHorizontalAxisLabelsBehavior");
|
|
1150
|
+
});
|
|
1241
1151
|
}
|
|
1242
1152
|
/**
|
|
1243
1153
|
* Gets the vertical axis labels behavior for the chart.
|
|
1244
1154
|
* @returns {WebChartLabelBehavior}
|
|
1245
1155
|
*/
|
|
1246
1156
|
getVerticalAxisLabelsBehavior() {
|
|
1247
|
-
return
|
|
1157
|
+
return Si(this._config);
|
|
1248
1158
|
}
|
|
1249
1159
|
/**
|
|
1250
1160
|
* Sets the vertical axis labels behavior for the chart.
|
|
@@ -1253,15 +1163,17 @@ class Gt extends D {
|
|
|
1253
1163
|
* **NOTE**: The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1254
1164
|
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1255
1165
|
*/
|
|
1256
|
-
setVerticalAxisLabelsBehavior(
|
|
1257
|
-
|
|
1166
|
+
setVerticalAxisLabelsBehavior(t) {
|
|
1167
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1168
|
+
pi(t, this._config), this.emitConfigUpdate("setVerticalAxisLabelsBehavior");
|
|
1169
|
+
});
|
|
1258
1170
|
}
|
|
1259
1171
|
/**
|
|
1260
1172
|
* Gets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
1261
1173
|
* @returns {ISimpleLineSymbol | undefined}
|
|
1262
1174
|
*/
|
|
1263
1175
|
getGridLinesSymbol() {
|
|
1264
|
-
return
|
|
1176
|
+
return At(this._config);
|
|
1265
1177
|
}
|
|
1266
1178
|
/**
|
|
1267
1179
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
@@ -1270,17 +1182,19 @@ class Gt extends D {
|
|
|
1270
1182
|
*
|
|
1271
1183
|
* **NOTE**: To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1272
1184
|
*/
|
|
1273
|
-
setGridLinesSymbol(
|
|
1274
|
-
|
|
1185
|
+
setGridLinesSymbol(t, i) {
|
|
1186
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1187
|
+
Array.isArray(i) && Tt(t, this._config, i), this.emitConfigUpdate("setGridLinesSymbol");
|
|
1188
|
+
});
|
|
1275
1189
|
}
|
|
1276
1190
|
/**
|
|
1277
1191
|
* Get the default x-axis title text.
|
|
1278
1192
|
* @returns {Promise<string>}
|
|
1279
1193
|
*/
|
|
1280
1194
|
async getDefaultXAxisTitleText() {
|
|
1281
|
-
return (await
|
|
1282
|
-
|
|
1283
|
-
|
|
1195
|
+
return (await _(
|
|
1196
|
+
C(document.documentElement).t9nLocale,
|
|
1197
|
+
zt("./assets/common/t9n"),
|
|
1284
1198
|
"messages."
|
|
1285
1199
|
)).utilsStrings.statistics.count;
|
|
1286
1200
|
}
|
|
@@ -1293,11 +1207,11 @@ class Gt extends D {
|
|
|
1293
1207
|
* b. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1294
1208
|
* c. If the displayZeroLine is not set on the axis, the default value of `false` will be returned.
|
|
1295
1209
|
*/
|
|
1296
|
-
getDisplayZeroLine(
|
|
1297
|
-
return
|
|
1210
|
+
getDisplayZeroLine(t) {
|
|
1211
|
+
return r({
|
|
1298
1212
|
config: this._config,
|
|
1299
|
-
axisIndex:
|
|
1300
|
-
func: (
|
|
1213
|
+
axisIndex: t,
|
|
1214
|
+
func: (i) => Ot(this._config, i)
|
|
1301
1215
|
}) ?? !1;
|
|
1302
1216
|
}
|
|
1303
1217
|
/**
|
|
@@ -1310,13 +1224,15 @@ class Gt extends D {
|
|
|
1310
1224
|
*
|
|
1311
1225
|
* **NOTE**: To set the display zero line for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1312
1226
|
*/
|
|
1313
|
-
setDisplayZeroLine(
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1227
|
+
setDisplayZeroLine(t, i) {
|
|
1228
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1229
|
+
r({
|
|
1230
|
+
config: this._config,
|
|
1231
|
+
axisIndex: i,
|
|
1232
|
+
func: (s) => {
|
|
1233
|
+
Bt(this._config, t, s), this.emitConfigUpdate("setDisplayZeroLine");
|
|
1234
|
+
}
|
|
1235
|
+
});
|
|
1320
1236
|
});
|
|
1321
1237
|
}
|
|
1322
1238
|
/**
|
|
@@ -1327,11 +1243,11 @@ class Gt extends D {
|
|
|
1327
1243
|
* a. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1328
1244
|
* b. If the displayCursorTooltip is not set on the axis, the default value of `false` will be returned.
|
|
1329
1245
|
*/
|
|
1330
|
-
getDisplayCursorTooltip(
|
|
1331
|
-
return
|
|
1246
|
+
getDisplayCursorTooltip(t) {
|
|
1247
|
+
return r({
|
|
1332
1248
|
config: this._config,
|
|
1333
|
-
axisIndex:
|
|
1334
|
-
func: (
|
|
1249
|
+
axisIndex: t,
|
|
1250
|
+
func: (i) => Dt(this._config, i)
|
|
1335
1251
|
}) ?? !1;
|
|
1336
1252
|
}
|
|
1337
1253
|
/**
|
|
@@ -1343,17 +1259,19 @@ class Gt extends D {
|
|
|
1343
1259
|
*
|
|
1344
1260
|
* **NOTE**: To set the display cursor tooltip for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1345
1261
|
*/
|
|
1346
|
-
setDisplayCursorTooltip(
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1262
|
+
setDisplayCursorTooltip(t, i) {
|
|
1263
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1264
|
+
r({
|
|
1265
|
+
config: this._config,
|
|
1266
|
+
axisIndex: i,
|
|
1267
|
+
func: (s) => {
|
|
1268
|
+
It({
|
|
1269
|
+
config: this._config,
|
|
1270
|
+
displayCursorTooltip: t,
|
|
1271
|
+
axisIndex: s
|
|
1272
|
+
}), this.emitConfigUpdate("setDisplayCursorTooltip");
|
|
1273
|
+
}
|
|
1274
|
+
});
|
|
1357
1275
|
});
|
|
1358
1276
|
}
|
|
1359
1277
|
/**
|
|
@@ -1365,11 +1283,11 @@ class Gt extends D {
|
|
|
1365
1283
|
* b. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1366
1284
|
* c. If the `buffer` is not set on the axis, the default value of `false` will be returned.
|
|
1367
1285
|
*/
|
|
1368
|
-
getBuffer(
|
|
1369
|
-
return
|
|
1286
|
+
getBuffer(t) {
|
|
1287
|
+
return r({
|
|
1370
1288
|
config: this._config,
|
|
1371
|
-
axisIndex:
|
|
1372
|
-
func: (
|
|
1289
|
+
axisIndex: t,
|
|
1290
|
+
func: (i) => Mt(this._config, i)
|
|
1373
1291
|
}) ?? !1;
|
|
1374
1292
|
}
|
|
1375
1293
|
/**
|
|
@@ -1382,17 +1300,19 @@ class Gt extends D {
|
|
|
1382
1300
|
*
|
|
1383
1301
|
* **NOTE**: To set the buffer for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1384
1302
|
*/
|
|
1385
|
-
setBuffer(
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1303
|
+
setBuffer(t, i) {
|
|
1304
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1305
|
+
r({
|
|
1306
|
+
config: this._config,
|
|
1307
|
+
axisIndex: i,
|
|
1308
|
+
func: (s) => {
|
|
1309
|
+
Xt({
|
|
1310
|
+
config: this._config,
|
|
1311
|
+
buffer: t,
|
|
1312
|
+
axisIndex: s
|
|
1313
|
+
}), this.emitConfigUpdate("setBuffer");
|
|
1314
|
+
}
|
|
1315
|
+
});
|
|
1396
1316
|
});
|
|
1397
1317
|
}
|
|
1398
1318
|
/**
|
|
@@ -1402,8 +1322,8 @@ class Gt extends D {
|
|
|
1402
1322
|
* @remarks
|
|
1403
1323
|
* a. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1404
1324
|
*/
|
|
1405
|
-
getTickSpacing(
|
|
1406
|
-
return
|
|
1325
|
+
getTickSpacing(t) {
|
|
1326
|
+
return Lt(this._config, t);
|
|
1407
1327
|
}
|
|
1408
1328
|
/**
|
|
1409
1329
|
* Sets the tick spacing for the specified axis.
|
|
@@ -1414,17 +1334,19 @@ class Gt extends D {
|
|
|
1414
1334
|
*
|
|
1415
1335
|
* **NOTE**: To set the tick spacing for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1416
1336
|
*/
|
|
1417
|
-
setTickSpacing(
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1337
|
+
setTickSpacing(t, i) {
|
|
1338
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1339
|
+
r({
|
|
1340
|
+
config: this._config,
|
|
1341
|
+
axisIndex: i,
|
|
1342
|
+
func: (s) => {
|
|
1343
|
+
Rt({
|
|
1344
|
+
config: this._config,
|
|
1345
|
+
tickSpacing: t,
|
|
1346
|
+
axisIndex: s
|
|
1347
|
+
}), this.emitConfigUpdate("setTickSpacing");
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1428
1350
|
});
|
|
1429
1351
|
}
|
|
1430
1352
|
/**
|
|
@@ -1436,11 +1358,11 @@ class Gt extends D {
|
|
|
1436
1358
|
* b. To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1437
1359
|
* c. If the `integerOnlyValues` is not set on the axis, the default value of `false` will be returned.
|
|
1438
1360
|
*/
|
|
1439
|
-
getIntegerOnlyValues(
|
|
1440
|
-
return
|
|
1361
|
+
getIntegerOnlyValues(t) {
|
|
1362
|
+
return r({
|
|
1441
1363
|
config: this._config,
|
|
1442
|
-
axisIndex:
|
|
1443
|
-
func: (
|
|
1364
|
+
axisIndex: t,
|
|
1365
|
+
func: (i) => Et(this._config, i)
|
|
1444
1366
|
}) ?? !1;
|
|
1445
1367
|
}
|
|
1446
1368
|
/**
|
|
@@ -1453,97 +1375,81 @@ class Gt extends D {
|
|
|
1453
1375
|
*
|
|
1454
1376
|
* **NOTE**: To set the integer only values for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1455
1377
|
*/
|
|
1456
|
-
setIntegerOnlyValues(
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1378
|
+
setIntegerOnlyValues(t, i) {
|
|
1379
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1380
|
+
r({
|
|
1381
|
+
config: this._config,
|
|
1382
|
+
axisIndex: i,
|
|
1383
|
+
func: (s) => {
|
|
1384
|
+
Nt({
|
|
1385
|
+
config: this._config,
|
|
1386
|
+
integerOnlyValues: t,
|
|
1387
|
+
axisIndex: s
|
|
1388
|
+
}), this.emitConfigUpdate("setIntegerOnlyValues");
|
|
1389
|
+
}
|
|
1390
|
+
});
|
|
1467
1391
|
});
|
|
1468
1392
|
}
|
|
1469
1393
|
/**
|
|
1470
|
-
*
|
|
1471
|
-
* @returns {boolean}
|
|
1394
|
+
* Visibility of the horizontal line of the cursor's crosshair.
|
|
1472
1395
|
* @remarks if the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
1473
|
-
*/
|
|
1474
|
-
getCursorCrosshairHorizontalLineVisibility() {
|
|
1475
|
-
return pt(this._config);
|
|
1476
|
-
}
|
|
1477
|
-
/**
|
|
1478
|
-
* Sets the visibility of the horizontal line of the cursor's crosshair.
|
|
1479
|
-
* @param visibility The visibility to set for the cursor's crosshair horizontal line
|
|
1480
|
-
* @remarks if the cursor crosshair is not set, it will be created with the default values.
|
|
1481
1396
|
*
|
|
1482
1397
|
* **NOTE**: To set the cursor crosshair horizontal line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1483
1398
|
*/
|
|
1484
|
-
|
|
1485
|
-
|
|
1399
|
+
get cursorCrosshairHorizontalLineVisibility() {
|
|
1400
|
+
return _i(this._config);
|
|
1486
1401
|
}
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
*/
|
|
1492
|
-
getCursorCrosshairVerticalLineVisibility() {
|
|
1493
|
-
return St(this._config);
|
|
1402
|
+
set cursorCrosshairHorizontalLineVisibility(t) {
|
|
1403
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1404
|
+
Ci(t, this._config), this.emitConfigUpdate("cursorCrosshairHorizontalLineVisibility");
|
|
1405
|
+
});
|
|
1494
1406
|
}
|
|
1495
1407
|
/**
|
|
1496
|
-
*
|
|
1497
|
-
* @
|
|
1498
|
-
* @remarks if the cursor crosshair is not set, it will be created with the default values.
|
|
1408
|
+
* Visibility of the vertical line of the cursor's crosshair.
|
|
1409
|
+
* @remarks if the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
1499
1410
|
*
|
|
1500
1411
|
* **NOTE**: To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1501
1412
|
*/
|
|
1502
|
-
|
|
1503
|
-
|
|
1413
|
+
get cursorCrosshairVerticalLineVisibility() {
|
|
1414
|
+
return vi(this._config);
|
|
1504
1415
|
}
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
*/
|
|
1510
|
-
getCursorCrosshairStyle() {
|
|
1511
|
-
return Lt(this._config);
|
|
1416
|
+
set cursorCrosshairVerticalLineVisibility(t) {
|
|
1417
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
1418
|
+
Ai(t, this._config), this.emitConfigUpdate("cursorCrosshairVerticalLineVisibility");
|
|
1419
|
+
});
|
|
1512
1420
|
}
|
|
1513
1421
|
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @param style The style to set for the cursor's crosshair
|
|
1516
|
-
* @param config The chart configuration
|
|
1422
|
+
* Style of the cursor's crosshair from the chart config.
|
|
1517
1423
|
*
|
|
1518
1424
|
* **NOTE**: To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1519
1425
|
*/
|
|
1520
|
-
|
|
1521
|
-
|
|
1426
|
+
get cursorCrosshairStyle() {
|
|
1427
|
+
return Ti(this._config);
|
|
1522
1428
|
}
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
*/
|
|
1528
|
-
getCursorCrosshair() {
|
|
1529
|
-
return At(this._config);
|
|
1429
|
+
set cursorCrosshairStyle(t) {
|
|
1430
|
+
t && this.guardSetterFromAsyncOverwrite(() => {
|
|
1431
|
+
Li(t, this._config), this.emitConfigUpdate("cursorCrosshairStyle");
|
|
1432
|
+
});
|
|
1530
1433
|
}
|
|
1531
1434
|
/**
|
|
1532
|
-
*
|
|
1533
|
-
* @param cursorCrosshair The cursor crosshair to set
|
|
1534
|
-
* @param config The chart configuration object
|
|
1435
|
+
* Cursor crosshair from the chart config.
|
|
1535
1436
|
*
|
|
1536
1437
|
* **NOTE**: To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1537
1438
|
*/
|
|
1538
|
-
|
|
1539
|
-
|
|
1439
|
+
get cursorCrosshair() {
|
|
1440
|
+
return Fi(this._config);
|
|
1441
|
+
}
|
|
1442
|
+
set cursorCrosshair(t) {
|
|
1443
|
+
t && this.guardSetterFromAsyncOverwrite(() => {
|
|
1444
|
+
Vi(t, this._config), this.emitConfigUpdate("cursorCrosshair");
|
|
1445
|
+
});
|
|
1540
1446
|
}
|
|
1541
1447
|
}
|
|
1542
|
-
|
|
1448
|
+
S(wi, [O]);
|
|
1543
1449
|
export {
|
|
1544
1450
|
U as C,
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1451
|
+
wi as M,
|
|
1452
|
+
xi as a,
|
|
1453
|
+
mi as b,
|
|
1454
|
+
O as c
|
|
1549
1455
|
};
|