@arcgis/charts-components 5.2.0-next.11 → 5.2.0-next.110
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{VDKFC44J.js → 2EUPFLNW.js} +2 -2
- package/dist/cdn/{L5DROI2A.js → 2IWBCO6Z.js} +2 -2
- package/dist/cdn/{II2ZPEUZ.js → 2VJWHI5H.js} +2 -2
- package/dist/cdn/{H3EXGCE7.js → 2VUR2GRV.js} +2 -2
- package/dist/cdn/{IHO3OLL3.js → 3DIZRBOJ.js} +2 -2
- package/dist/cdn/3LVNK4EI.js +2 -0
- package/dist/cdn/{2XXW3WF3.js → 3R6MHDQW.js} +2 -2
- package/dist/cdn/{OBPAQN4H.js → 3WARDHOQ.js} +1 -1
- package/dist/cdn/3XY3OEMH.js +2 -0
- package/dist/cdn/{FEKSPYHM.js → 3Z2C6NLH.js} +2 -2
- package/dist/cdn/{ZYOWZCR7.js → 4ABAUNOO.js} +2 -2
- package/dist/cdn/4DGRKLXO.js +2 -0
- package/dist/cdn/4G3OQ5FC.js +2 -0
- package/dist/cdn/{TACQVUBU.js → 4H2QKHO3.js} +2 -2
- package/dist/cdn/4L4ZZUIW.js +2 -0
- package/dist/cdn/{TFPQDMER.js → 4L6FQOVC.js} +2 -2
- package/dist/cdn/{ZBIVDGNH.js → 4RDHGQAL.js} +2 -2
- package/dist/cdn/5AMXSBVD.js +2 -0
- package/dist/cdn/{244ZX2UP.js → 5FBHUYVN.js} +2 -2
- package/dist/cdn/5GZBRQP2.js +2 -0
- package/dist/cdn/5HR252CM.js +2 -0
- package/dist/cdn/5L2GOXND.js +2 -0
- package/dist/cdn/62M4DHW3.js +2 -0
- package/dist/cdn/66O67DDO.js +2 -0
- package/dist/cdn/6KYYHQBS.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → 6ZDEWZ4A.js} +2 -2
- package/dist/cdn/{TYUVXRBO.js → 7EUVBNRP.js} +2 -2
- package/dist/cdn/7PAQCBZ7.js +2 -0
- package/dist/cdn/7RRUD4HM.js +2 -0
- package/dist/cdn/{3VMHKSYP.js → 7YROV2MS.js} +1 -1
- package/dist/cdn/{FWAXKDYV.js → AG3BRYP2.js} +2 -2
- package/dist/cdn/{7YXTWBT4.js → AJDNZRJP.js} +4 -4
- package/dist/cdn/AK34H2Z4.js +2 -0
- package/dist/cdn/{4USHOYLT.js → AMIF7IUE.js} +2 -2
- package/dist/cdn/AYS37I6F.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → B5M3UYOD.js} +2 -2
- package/dist/cdn/{6B7JCDQC.js → B6K3UJ5E.js} +2 -2
- package/dist/cdn/{2OHFSVV5.js → BE3IE4CJ.js} +2 -2
- package/dist/cdn/BGA3UX4U.js +2 -0
- package/dist/cdn/{KX7KGXKQ.js → BIXQAUTT.js} +1 -1
- package/dist/cdn/{IVLVCLDE.js → BK4JKDTR.js} +1 -1
- package/dist/cdn/BPYN2X7Q.js +45 -0
- package/dist/cdn/{KDJ5RVHA.js → BYSF3WH4.js} +2 -2
- package/dist/cdn/C4LXB6MK.js +2 -0
- package/dist/cdn/C4OPIUNW.js +2 -0
- package/dist/cdn/C7IT74BS.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → CAFMZZWU.js} +2 -2
- package/dist/cdn/CHCM5ZNC.js +2 -0
- package/dist/cdn/CKRMPTUO.js +2 -0
- package/dist/cdn/{SERX6V5M.js → CPPCFOXI.js} +2 -2
- package/dist/cdn/{O4HUYRYL.js → D4EPE7SG.js} +2 -2
- package/dist/cdn/{QR2OOC4D.js → DDKQH6CG.js} +2 -2
- package/dist/cdn/{7JIHGRTB.js → DGE5LAEC.js} +2 -2
- package/dist/cdn/{XY4TRZCG.js → DMCP4KFE.js} +2 -2
- package/dist/cdn/DMTY4NTC.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → DY4LKAXR.js} +2 -2
- package/dist/cdn/{Y6ZCTPJW.js → EEWNYPKP.js} +2 -2
- package/dist/cdn/EJCQJK4X.js +2 -0
- package/dist/cdn/EQLEA5AG.js +2 -0
- package/dist/cdn/EQNW3D27.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → EQUJMGCQ.js} +2 -2
- package/dist/cdn/EUSDSRSD.js +4 -0
- package/dist/cdn/EXQDBBLY.js +2 -0
- package/dist/cdn/F5C2X2NS.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → FAP35T3M.js} +2 -2
- package/dist/cdn/{MK5ZYSOD.js → FVIQ4YK2.js} +2 -2
- package/dist/cdn/FWVZY2DN.js +2 -0
- package/dist/cdn/FZ4P2E22.js +2 -0
- package/dist/cdn/G5NLV2CS.js +2 -0
- package/dist/cdn/{X2LW7GTR.js → G5NNGGAX.js} +2 -2
- package/dist/cdn/{N4L5KE23.js → GA2SIPMS.js} +2 -2
- package/dist/cdn/GDFKEJO4.js +2 -0
- package/dist/cdn/GFIZPXVK.js +2 -0
- package/dist/cdn/GG7KDNXF.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → GGLXIQWK.js} +2 -2
- package/dist/cdn/GQ6A5FQG.js +2 -0
- package/dist/cdn/{SP2IPHWF.js → GUQ44MLO.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → GVBJWBHM.js} +2 -2
- package/dist/cdn/GY72TEIZ.js +2 -0
- package/dist/cdn/H3GVLNRJ.js +2 -0
- package/dist/cdn/{AASL4RKT.js → HHMRE4ZV.js} +2 -2
- package/dist/cdn/{XMPLEHTW.js → HVB5AZOB.js} +2 -2
- package/dist/cdn/{JQKRGUBU.js → HX6ZTJDH.js} +2 -2
- package/dist/cdn/{VT4WJZN6.js → I5WKBYXW.js} +2 -2
- package/dist/cdn/{S3ZSZXYG.js → I6SPDO4B.js} +2 -2
- package/dist/cdn/{BDGHBTPU.js → IH7IBNZZ.js} +2 -2
- package/dist/cdn/IICYSP6T.js +2 -0
- package/dist/cdn/IOG2IVJN.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → IUALCYH2.js} +2 -2
- package/dist/cdn/{ETOGNYFU.js → IWEPAHDN.js} +2 -2
- package/dist/cdn/{BXYNEUQY.js → IXQLYXG3.js} +2 -2
- package/dist/cdn/J22FARAC.js +2 -0
- package/dist/cdn/J5SIGRGU.js +2 -0
- package/dist/cdn/JCGY4PXV.js +2 -0
- package/dist/cdn/JDCNFE5C.js +2 -0
- package/dist/cdn/JFRRNZCG.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → JFVAFJ4H.js} +2 -2
- package/dist/cdn/JGDOGMER.js +2 -0
- package/dist/cdn/JJLZNOU5.js +3 -0
- package/dist/cdn/JKDSYFI5.js +2 -0
- package/dist/cdn/{WAINRCCJ.js → JNPALTZY.js} +2 -2
- package/dist/cdn/{RSNZMJ6I.js → JYBHESZC.js} +2 -2
- package/dist/cdn/K4PGZCDZ.js +2 -0
- package/dist/cdn/K6PMOUYR.js +2 -0
- package/dist/cdn/{PMIWXHTG.js → K7M3AA6L.js} +2 -2
- package/dist/cdn/KSDWPX5N.js +2 -0
- package/dist/cdn/{4OH4NSIW.js → KW37MJXK.js} +2 -2
- package/dist/cdn/{XYKXBWIT.js → KW5VRQR3.js} +2 -2
- package/dist/cdn/{AY6IOQ3H.js → KZ2R4OLR.js} +2 -2
- package/dist/cdn/LBOJGYSL.js +2 -0
- package/dist/cdn/{I5T7JUDH.js → LD7OU6HP.js} +2 -2
- package/dist/cdn/{XG2KN6YJ.js → LF7NQGHA.js} +2 -2
- package/dist/cdn/LJOG5J2V.js +2 -0
- package/dist/cdn/{7QXRWMUN.js → LJYMDBF4.js} +2 -2
- package/dist/cdn/LTZBWR5K.js +2 -0
- package/dist/cdn/{ULWJ57VT.js → MBMJNR7H.js} +2 -2
- package/dist/cdn/{L47EGLUH.js → ME2NTJW5.js} +2 -2
- package/dist/cdn/{I6UPUSLQ.js → NOODYKYT.js} +2 -2
- package/dist/cdn/{OFWEHJDH.js → NQ3QW4ED.js} +2 -2
- package/dist/cdn/NRKA3PVS.js +2 -0
- package/dist/cdn/{OXYJKZEP.js → NS256ILC.js} +2 -2
- package/dist/cdn/{3JYZJUOM.js → NSZKEEMN.js} +2 -2
- package/dist/cdn/NVWHMHFJ.js +2 -0
- package/dist/cdn/O3F4PKL5.js +2 -0
- package/dist/cdn/O522WPHN.js +2 -0
- package/dist/cdn/ORXX53NO.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → OVUN4PSA.js} +2 -2
- package/dist/cdn/P6HJNWKL.js +2 -0
- package/dist/cdn/P7L3ARQ3.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → PCMTYFOA.js} +2 -2
- package/dist/cdn/{UE5VX2RL.js → POUXDWR6.js} +2 -2
- package/dist/cdn/{VY3KBD6N.js → PQCKQMUH.js} +2 -2
- package/dist/cdn/{7LYAWWOE.js → PUYHEQW6.js} +2 -2
- package/dist/cdn/PVNWEM36.js +2 -0
- package/dist/cdn/{SX6SDBU7.js → QBN2RUK7.js} +2 -2
- package/dist/cdn/{7UQHB6KY.js → QBRPQBRE.js} +2 -2
- package/dist/cdn/{QP5UAIC6.js → QIST2E6D.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → QKD52Y6W.js} +2 -2
- package/dist/cdn/{ZQDADGLQ.js → QPTOSFND.js} +2 -2
- package/dist/cdn/QQE67EPU.js +2 -0
- package/dist/cdn/QZCSTDPS.js +2 -0
- package/dist/cdn/{YJ6TRXMU.js → R5KXZK6C.js} +2 -2
- package/dist/cdn/{P5AO3V3M.js → RAWFU6UX.js} +2 -2
- package/dist/cdn/{XDMGH7YU.js → RD2GIVHJ.js} +2 -2
- package/dist/cdn/REC66TO6.js +2 -0
- package/dist/cdn/{YKDW7ZW3.js → RP3YFUJH.js} +2 -2
- package/dist/cdn/{N5ZUO6F3.js → RPILNNIB.js} +2 -2
- package/dist/cdn/{77A4T4FJ.js → RRFVH5KA.js} +2 -2
- package/dist/cdn/RT3RIRB5.js +2 -0
- package/dist/cdn/RYSXQJEF.js +2 -0
- package/dist/cdn/{SSQ3VCZ2.js → SCTII7J3.js} +2 -2
- package/dist/cdn/{ANN3O54W.js → SE6FHLO2.js} +2 -2
- package/dist/cdn/{5SIAOUPO.js → SILAGY2P.js} +2 -2
- package/dist/cdn/SMLGQATL.js +2 -0
- package/dist/cdn/SXOHCOAC.js +2 -0
- package/dist/cdn/{FOYOG3G7.js → TCW4HYMN.js} +2 -2
- package/dist/cdn/{VE3GFNNM.js → TI332EPG.js} +2 -2
- package/dist/cdn/{WMPWOPRZ.js → TIKRHNQ7.js} +2 -2
- package/dist/cdn/U4LGTOAJ.js +2 -0
- package/dist/cdn/U4LJEOCU.js +2 -0
- package/dist/cdn/UCS6KWEF.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → UNK7GZT3.js} +2 -2
- package/dist/cdn/UOXDMZSI.js +2 -0
- package/dist/cdn/UPENS2HR.js +3 -0
- package/dist/cdn/{LROW4Y6O.js → UWXENGPT.js} +2 -2
- package/dist/cdn/{L7CMLBHB.js → UZFD4QWD.js} +1 -1
- package/dist/cdn/UZKSCM2S.js +2 -0
- package/dist/cdn/VAWXK4TO.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → VIKLBNPF.js} +2 -2
- package/dist/cdn/VKEJFHGG.js +2 -0
- package/dist/cdn/VPWZC6PQ.js +2 -0
- package/dist/cdn/{AK7X7SGI.js → VTGIHCBG.js} +2 -2
- package/dist/cdn/{DFKVPDMJ.js → VUWVVCEB.js} +16 -14
- package/dist/cdn/{4C6KWLWN.js → W5VC7K62.js} +2 -2
- package/dist/cdn/WCG6VBHW.js +2 -0
- package/dist/cdn/WZZIHATO.js +2 -0
- package/dist/cdn/X4P4OY6S.js +2 -0
- package/dist/cdn/X6C44FPC.js +2 -0
- package/dist/cdn/XB5AI5AU.js +2 -0
- package/dist/cdn/XETRBEFO.js +2 -0
- package/dist/cdn/XHJGXDGC.js +2 -0
- package/dist/cdn/{IYA7HQMS.js → XI6IYELV.js} +2 -2
- package/dist/cdn/XJEWRYSH.js +2 -0
- package/dist/cdn/{Q7J7EKQW.js → XJWB6DUA.js} +2 -2
- package/dist/cdn/XURXJVLT.js +2 -0
- package/dist/cdn/Y3WE42BQ.js +2 -0
- package/dist/cdn/YCM6O6HX.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → YHBSS2N2.js} +2 -2
- package/dist/cdn/{DSIFL2DF.js → YHMODCYK.js} +2 -2
- package/dist/cdn/{H2A5GZ55.js → YJW653RP.js} +2 -2
- package/dist/cdn/YKAA3D7I.js +2 -0
- package/dist/cdn/{P2F2O6MH.js → YRPBDTCB.js} +2 -2
- package/dist/cdn/{3TZEMBXR.js → YX7IFYJP.js} +2 -2
- package/dist/cdn/Z2MRSW74.js +2 -0
- package/dist/cdn/{4Z23HWDH.js → Z56TJBFK.js} +2 -2
- package/dist/cdn/ZE4S6J2S.js +2 -0
- package/dist/cdn/ZJIYZYVK.js +2 -0
- package/dist/cdn/ZN7K5ISR.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → ZYCKBTVS.js} +2 -2
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +104 -66
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +38 -46
- package/dist/chunks/axis-lines-symbol.js +8 -8
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +47 -39
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/box-plot-data.js +292 -275
- package/dist/chunks/box-plot-model.js +144 -131
- package/dist/chunks/chart-model.js +66 -57
- package/dist/chunks/chart-object-literals.js +27 -26
- package/dist/chunks/chart-ui-utils.js +149 -67
- package/dist/chunks/chart-ui-utils2.js +69 -150
- package/dist/chunks/class-breaks.js +271 -239
- package/dist/chunks/combo-bar-line-chart-model.js +123 -102
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +40 -25
- package/dist/chunks/data-labels-visibility.js +9 -9
- package/dist/chunks/data.js +42 -42
- package/dist/chunks/default.js +7 -7
- package/dist/chunks/gauge-model.js +62 -62
- package/dist/chunks/generate-x-axis-title.js +20 -16
- package/dist/chunks/heat-chart-model.js +96 -67
- package/dist/chunks/histogram-data.js +24 -24
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index.js +9349 -1080
- package/dist/chunks/index2.js +852 -8758
- package/dist/chunks/index3.js +1170 -850
- package/dist/chunks/index4.js +412 -252
- package/dist/chunks/index5.js +67 -101
- package/dist/chunks/interfaces.js +10 -10
- package/dist/chunks/line-chart-model.js +41 -25
- package/dist/chunks/model-setter.js +60 -65
- package/dist/chunks/model-types.js +2 -2
- package/dist/chunks/model-with-line-marker-styling.js +73 -48
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +252 -272
- package/dist/chunks/negative-values-stacked-to-baseline.js +123 -72
- package/dist/chunks/pie-chart-data.js +176 -194
- package/dist/chunks/pie-chart-model.js +389 -321
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +414 -47
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +11 -11
- package/dist/chunks/rotated-state.js +2 -2
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +23 -23
- package/dist/chunks/serial-chart-data.js +935 -819
- package/dist/chunks/serial-chart-model.js +146 -124
- package/dist/chunks/series-length.js +18 -18
- package/dist/chunks/series-types.js +23 -19
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +50 -24
- package/dist/chunks/type-guards2.js +62 -53
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +111 -88
- package/dist/chunks/utils2.js +55 -38
- package/dist/chunks/web-component-utils.js +414 -384
- package/dist/chunks/x-bounds.js +104 -99
- package/dist/components/arcgis-chart/customElement.d.ts +728 -255
- package/dist/components/arcgis-chart/customElement.js +10834 -10589
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +35 -32
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +71 -65
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +40 -34
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +44 -44
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +55 -54
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +14 -13
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +32 -40
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +49 -50
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +245 -231
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-format/customElement.js +90 -83
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-guide/customElement.js +22 -23
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +13 -14
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +56 -56
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -24
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +39 -39
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +57 -64
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -54
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +68 -69
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +28 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +58 -27
- package/dist/components/arcgis-charts-info-modal/customElement.js +8 -8
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +489 -465
- package/dist/interfaces.d.ts +57 -14
- package/dist/json-schema/index.d.ts +154 -6
- package/dist/loader.js +3 -3
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/model/shared/setup-utils.js +1 -1
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +4 -3
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/web-chart.d.ts +34 -4
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +369 -350
- package/dist/utils/chart-config/utils/index.d.ts +28 -10
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +18 -2
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +30 -4
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/layer/index.d.ts +23 -5
- package/dist/utils/layer/interfaces.d.ts +0 -12
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/package.json +8 -9
- package/dist/cdn/24AOJE7B.js +0 -2
- package/dist/cdn/3KRPCKJZ.js +0 -2
- package/dist/cdn/3TBK72EK.js +0 -3
- package/dist/cdn/425PZ2QJ.js +0 -2
- package/dist/cdn/4PHYDOBF.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/567CLBG4.js +0 -2
- package/dist/cdn/5IIF22XN.js +0 -2
- package/dist/cdn/5IN5WK2R.js +0 -2
- package/dist/cdn/5LXX2PUM.js +0 -2
- package/dist/cdn/5NTIKQP4.js +0 -2
- package/dist/cdn/5YEADAVZ.js +0 -2
- package/dist/cdn/6R7VSDDU.js +0 -2
- package/dist/cdn/76MOP26H.js +0 -2
- package/dist/cdn/AHYYQWKY.js +0 -2
- package/dist/cdn/ASI7RDYV.js +0 -2
- package/dist/cdn/AXS3UMQJ.js +0 -2
- package/dist/cdn/BHUFE4DA.js +0 -2
- package/dist/cdn/CEWH3LQO.js +0 -2
- package/dist/cdn/CTBQ5Y4Z.js +0 -2
- package/dist/cdn/CVK7KFEC.js +0 -2
- package/dist/cdn/DJGEQ42V.js +0 -2
- package/dist/cdn/DL43NPDO.js +0 -2
- package/dist/cdn/E2DO2HQ6.js +0 -2
- package/dist/cdn/E4LJWBRC.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EE3KEIAT.js +0 -2
- package/dist/cdn/EJCGZPIV.js +0 -2
- package/dist/cdn/ETSB7KD3.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/F6QRLYSF.js +0 -2
- package/dist/cdn/FBMA7FW4.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/FUAA6IFR.js +0 -4
- package/dist/cdn/FWRMJQXY.js +0 -2
- package/dist/cdn/G5FULTB5.js +0 -2
- package/dist/cdn/GISGGO3Z.js +0 -2
- package/dist/cdn/GQPOEX7B.js +0 -58
- package/dist/cdn/GYXK3DV7.js +0 -2
- package/dist/cdn/H45LPCQ2.js +0 -2
- package/dist/cdn/HW6MJJSX.js +0 -2
- package/dist/cdn/HZFHTWL6.js +0 -2
- package/dist/cdn/I2EERAZ3.js +0 -2
- package/dist/cdn/IE3GLZJZ.js +0 -2
- package/dist/cdn/IL2FG26D.js +0 -2
- package/dist/cdn/JBPYGZPJ.js +0 -2
- package/dist/cdn/JEOBO5JM.js +0 -2
- package/dist/cdn/KPWHYSA5.js +0 -2
- package/dist/cdn/KXUQJ6GE.js +0 -2
- package/dist/cdn/KZQFX7LH.js +0 -2
- package/dist/cdn/LL7NH3VV.js +0 -2
- package/dist/cdn/LUMOL7ZP.js +0 -2
- package/dist/cdn/LYJFZA2M.js +0 -2
- package/dist/cdn/MBSMC77K.js +0 -2
- package/dist/cdn/MVGAATR7.js +0 -2
- package/dist/cdn/NNZCIR7W.js +0 -2
- package/dist/cdn/NZXQ5BWP.js +0 -2
- package/dist/cdn/O4LKWTBY.js +0 -2
- package/dist/cdn/OW2DLJGU.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/P4UJJCPG.js +0 -2
- package/dist/cdn/P56ROGSK.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PXIAM4CZ.js +0 -2
- package/dist/cdn/QPSJ6XOX.js +0 -2
- package/dist/cdn/R7HW5WVG.js +0 -2
- package/dist/cdn/RJCJ3F5C.js +0 -2
- package/dist/cdn/RKB6QZNW.js +0 -2
- package/dist/cdn/S6LH7YS6.js +0 -2
- package/dist/cdn/S74GCXXK.js +0 -3
- package/dist/cdn/SA22QZNW.js +0 -2
- package/dist/cdn/SJVVFOAX.js +0 -2
- package/dist/cdn/SOKKWGPA.js +0 -2
- package/dist/cdn/SQYOFBS6.js +0 -2
- package/dist/cdn/SVGAVKBQ.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TTBRUBXY.js +0 -2
- package/dist/cdn/U5IM4KAQ.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UIRKQREJ.js +0 -2
- package/dist/cdn/UIY2PSG4.js +0 -2
- package/dist/cdn/UNTIPIBS.js +0 -2
- package/dist/cdn/VIY3BCJZ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WHJU66P4.js +0 -2
- package/dist/cdn/WJ2VDT6B.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/WU3C7BQU.js +0 -2
- package/dist/cdn/WWO326JE.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XNWSVHA3.js +0 -2
- package/dist/cdn/XOM6LSIW.js +0 -2
- package/dist/cdn/XP4S2M7F.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/Y7HBWU3M.js +0 -2
- package/dist/cdn/YALB4GSA.js +0 -2
- package/dist/cdn/YUF4ZSA5.js +0 -2
- package/dist/cdn/ZJHV3UVG.js +0 -2
- package/dist/cdn/ZQ2WG55W.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import type { DataOrderParameters } from "../../../chart-rendering/common/data/utils/summarize-data/interfaces.js";
|
|
2
2
|
import type { WebChartTypes, WebChartVersionStatus } from "../../../spec/chart-object-literals.js";
|
|
3
|
+
import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
|
|
3
4
|
import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
|
|
4
|
-
import type { IField } from "../../../spec/rest-js-types.js";
|
|
5
|
-
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
5
|
+
import type { IField, ISimpleFillSymbol } from "../../../spec/rest-js-types.js";
|
|
6
|
+
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartNullCategory, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
6
7
|
import type { DataUpdateDetails } from "../../data/interfaces.js";
|
|
7
8
|
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
8
9
|
import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
|
|
9
10
|
import type { ChartSubType, SelectionData } from "../../misc/interfaces.js";
|
|
10
11
|
import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
|
|
11
|
-
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
12
|
-
import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
|
|
@@ -89,7 +88,7 @@ export function getSplitByValue(props: {
|
|
|
89
88
|
* @param where
|
|
90
89
|
* @internal
|
|
91
90
|
*/
|
|
92
|
-
export function isAbsoluteTruthWhereClause(where?: string): boolean;
|
|
91
|
+
export function isAbsoluteTruthWhereClause(where?: number | string): boolean;
|
|
93
92
|
|
|
94
93
|
/**
|
|
95
94
|
* Normalizes a where clause, by escaping the "'" character and other special characters if needed.
|
|
@@ -138,6 +137,7 @@ export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
|
|
|
138
137
|
*
|
|
139
138
|
* @param props - an optional map of statistics
|
|
140
139
|
* @returns A boolean indicating whether the scatterplot is aggregated
|
|
140
|
+
* @internal
|
|
141
141
|
*/
|
|
142
142
|
export function isScatterplotAggregated(props: {
|
|
143
143
|
statsMap?: Map<string, number>;
|
|
@@ -151,6 +151,7 @@ export function isScatterplotAggregated(props: {
|
|
|
151
151
|
*
|
|
152
152
|
* @param props - An optional data context object
|
|
153
153
|
* @returns A boolean indicating whether the chart is aggregated
|
|
154
|
+
* @internal
|
|
154
155
|
*/
|
|
155
156
|
export function isChartAggregated(props: {
|
|
156
157
|
dataContext?: WebChartBin | WebChartDataItem;
|
|
@@ -444,10 +445,10 @@ export function doesConfigChangeRequireNewData(props: {
|
|
|
444
445
|
previousSelectionOIDs?: (number | string)[];
|
|
445
446
|
fieldList?: IField[];
|
|
446
447
|
queryObject?: QueryObject;
|
|
447
|
-
filterBySelection?:
|
|
448
|
-
selectionData?:
|
|
449
|
-
setTimeBinningInfoWhenNotProvided?:
|
|
450
|
-
chartLimits?:
|
|
448
|
+
filterBySelection?: boolean;
|
|
449
|
+
selectionData?: SelectionData;
|
|
450
|
+
setTimeBinningInfoWhenNotProvided?: boolean;
|
|
451
|
+
chartLimits?: ChartElementLimit;
|
|
451
452
|
}): {
|
|
452
453
|
dataUpdateNeeded: boolean;
|
|
453
454
|
dataUpdateDetails: DataUpdateDetails;
|
|
@@ -470,6 +471,7 @@ export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T,
|
|
|
470
471
|
* This allows x and y category lists to be ordered independently from the flattened cell data traversal.
|
|
471
472
|
*
|
|
472
473
|
* @param props - The chart config containing the heat-chart multi-axis sort instructions
|
|
474
|
+
* @internal
|
|
473
475
|
*/
|
|
474
476
|
export function getHeatChartAxisDataOrderInstruction(props: {
|
|
475
477
|
chartConfig: WebHeatChart;
|
|
@@ -490,9 +492,25 @@ export function getDataOrderParameters(chartConfig: WebChart | undefined): DataO
|
|
|
490
492
|
* the data update is needed.
|
|
491
493
|
*
|
|
492
494
|
* @param props - The previous chart config
|
|
495
|
+
* @internal
|
|
493
496
|
*/
|
|
494
497
|
export function isNewSortNeeded(props: {
|
|
495
498
|
oldConfig: WebChart | undefined;
|
|
496
499
|
newConfig: WebChart;
|
|
497
500
|
dataWasUpdated: boolean;
|
|
498
|
-
}): boolean;
|
|
501
|
+
}): boolean;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Returns the fill symbol for the null category, if defined.
|
|
505
|
+
*
|
|
506
|
+
* @param nullCategory - The null category object
|
|
507
|
+
* @internal
|
|
508
|
+
*/
|
|
509
|
+
export function getNullCategoryFillSymbol(nullCategory?: WebChartNullCategory): ISimpleFillSymbol | undefined;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Get the text for null category if it is supported and defined in the chart config
|
|
513
|
+
*
|
|
514
|
+
* @param chartConfig - chartConfig
|
|
515
|
+
*/
|
|
516
|
+
export function getNullCategoryText(chartConfig?: WebChart): string | undefined;
|
|
@@ -65,6 +65,7 @@ export const DataWarningKeywords: {
|
|
|
65
65
|
readonly HeatChartExceedsLimit: "heatChartExceedsLimit";
|
|
66
66
|
readonly PieChartExceedsLimit: "pieChartExceedsLimit";
|
|
67
67
|
readonly GaugeExceedsLimit: "gaugeExceedsLimit";
|
|
68
|
+
readonly RadarChartExceedsLimit: "radarChartExceedsLimit";
|
|
68
69
|
readonly PieChartMixOfNegativePositiveSlices: "PieChartMixOfNegativePositiveSlices";
|
|
69
70
|
readonly NegativeValueInSqrtCalculation: "negativeValueInSqrtCalculation";
|
|
70
71
|
readonly NegativeValueInLogCalculation: "negativeValueInLogCalculation";
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Specifies how user interactions on the chart are handled.
|
|
3
|
+
*
|
|
4
|
+
* - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
|
|
5
|
+
* - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
|
|
6
|
+
* - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
|
|
7
|
+
* - `zoom`: Zoom into an area of the chart.
|
|
8
|
+
* - `none`: Disable interaction-driven selection and zoom actions.
|
|
9
|
+
*
|
|
10
|
+
* **Note**: Not applicable to gauges.
|
|
11
|
+
*/
|
|
1
12
|
export const ActionModes: {
|
|
2
13
|
readonly MonoSelection: "monoSelection";
|
|
3
14
|
readonly MultiSelection: "multiSelection";
|
|
@@ -8,6 +19,16 @@ export const ActionModes: {
|
|
|
8
19
|
|
|
9
20
|
export type ActionModes = (typeof ActionModes)[keyof typeof ActionModes];
|
|
10
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Defines how the cursor selection rectangle is constrained when `actionMode` is `zoom`, `multiSelection`, or `multiSelectionWithCtrlKey`.
|
|
24
|
+
*
|
|
25
|
+
* - `multi-axes`: Allows drawing a free rectangle across both axes.
|
|
26
|
+
* - `x-axis`: Constrains the rectangle to the x-axis direction.
|
|
27
|
+
* - `y-axis`: Constrains the rectangle to the y-axis direction.
|
|
28
|
+
* - `undefined`: Uses the default behavior for the current chart type and action mode.
|
|
29
|
+
*
|
|
30
|
+
* **Note**: Not applicable to gauges.
|
|
31
|
+
*/
|
|
11
32
|
export const CursorRange: {
|
|
12
33
|
readonly MultiAxes: "multi-axes";
|
|
13
34
|
readonly XAxis: "x-axis";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WebChartDataItem } from "../../../spec/data-source.js";
|
|
1
2
|
import type { WebChartQuery } from "../../../spec/web-chart.js";
|
|
2
3
|
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
3
4
|
import type { QueryObject } from "../../layer/interfaces.js";
|
|
@@ -5,7 +6,7 @@ import type { AbortControllerKeyType } from "../../layer/query-features/interfac
|
|
|
5
6
|
import type { ErrorStrings } from "../../localization/interfaces.js";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
|
-
* Fetches the unique values from a given field.
|
|
9
|
+
* Fetches the unique values from a given field and the number of features associated to each one of them.
|
|
9
10
|
* /!\ Currently the results for a same split-by field might differ from a category field to another.
|
|
10
11
|
* This is due to the server not being able to make a distinction in some cases between values having for
|
|
11
12
|
* only difference trailing spaces (e.g. `value` and `value ` and `value `). It means it will aggregate the
|
|
@@ -27,4 +28,19 @@ export function uniqueValues(props: {
|
|
|
27
28
|
errorStrings: ErrorStrings;
|
|
28
29
|
abortKey?: AbortControllerKeyType;
|
|
29
30
|
abortSignal?: AbortSignal;
|
|
30
|
-
}): Promise<(number | string)[]>;
|
|
31
|
+
}): Promise<(number | string)[]>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Group a dataset over a x field
|
|
35
|
+
*
|
|
36
|
+
* Notes: we regroup the data for:
|
|
37
|
+
* - processed data on split-by bar and line charts
|
|
38
|
+
* - selection data on multi-series bar and line charts
|
|
39
|
+
*
|
|
40
|
+
* @param props - the input data to be grouped
|
|
41
|
+
*/
|
|
42
|
+
export function groupDataByCategory(props: {
|
|
43
|
+
data: WebChartDataItem[];
|
|
44
|
+
x: string;
|
|
45
|
+
splitByField?: string;
|
|
46
|
+
}): WebChartDataItem[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
2
2
|
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
3
3
|
import type { WebChartBin, WebChartDataItem, WebChartDataTypes } from "../../spec/data-source.js";
|
|
4
|
-
import type { WebChart, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
|
|
4
|
+
import type { WebChart, WebChartDataFilters, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
|
|
5
|
+
import type { ChartElementLimit } from "../defaults/interfaces.js";
|
|
5
6
|
import type { QueryObject } from "../layer/interfaces.js";
|
|
6
7
|
import type { ErrorStrings } from "../localization/interfaces.js";
|
|
7
8
|
import type { ChartSubType } from "../misc/interfaces.js";
|
|
@@ -100,6 +101,7 @@ export function validateBarNLineChartDataItem(props: {
|
|
|
100
101
|
x: string;
|
|
101
102
|
y: string;
|
|
102
103
|
nullAsValid?: boolean;
|
|
104
|
+
zeroCountAsValid?: boolean;
|
|
103
105
|
aggregationType?: WebChartStatisticType;
|
|
104
106
|
}): boolean;
|
|
105
107
|
|
|
@@ -113,6 +115,7 @@ export function validateBarNLineChartDataItem(props: {
|
|
|
113
115
|
export function isEmptyDataset(props: {
|
|
114
116
|
chartConfig?: WebChart | WebGaugeChart;
|
|
115
117
|
nullAsValid?: boolean;
|
|
118
|
+
zeroCountAsValid?: boolean;
|
|
116
119
|
dataSet?: WebChartDataItem[];
|
|
117
120
|
}): boolean;
|
|
118
121
|
|
|
@@ -158,10 +161,11 @@ export function getDataMinMaxFromSeries(props: {
|
|
|
158
161
|
* Get the series id related to the given axis (useful in dual axis mode).
|
|
159
162
|
*
|
|
160
163
|
* @param props - The chart configuration
|
|
164
|
+
* @internal
|
|
161
165
|
*/
|
|
162
166
|
export function getAxisSeriesIds(props: {
|
|
163
167
|
chartConfig: WebChart;
|
|
164
|
-
|
|
168
|
+
isSecondaryYAxis?: boolean;
|
|
165
169
|
seriesIds?: string[];
|
|
166
170
|
}): string[] | undefined;
|
|
167
171
|
|
|
@@ -183,6 +187,7 @@ export function whetherLogScaleIsDataCompatible(props: {
|
|
|
183
187
|
*
|
|
184
188
|
* @param modifiedData - The data to revert
|
|
185
189
|
* @param seriesConfig - The series config
|
|
190
|
+
* @internal
|
|
186
191
|
*/
|
|
187
192
|
export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | WebChartDataTypes>(modifiedData: T, seriesConfig?: WebChart["series"]): T;
|
|
188
193
|
|
|
@@ -193,6 +198,7 @@ export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | Web
|
|
|
193
198
|
*
|
|
194
199
|
* @param data - The data containing modified x or y values
|
|
195
200
|
* @param seriesConfig - The series config
|
|
201
|
+
* @internal
|
|
196
202
|
*/
|
|
197
203
|
export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChartDataTypes>(data: T, seriesConfig?: WebChart["series"]): T;
|
|
198
204
|
|
|
@@ -201,6 +207,7 @@ export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChar
|
|
|
201
207
|
*
|
|
202
208
|
* @param dataItem - The data item to sanitize
|
|
203
209
|
* @returns The sanitized data item
|
|
210
|
+
* @internal
|
|
204
211
|
*/
|
|
205
212
|
export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): WebChartDataItem;
|
|
206
213
|
|
|
@@ -210,6 +217,7 @@ export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): W
|
|
|
210
217
|
* @param data - The data set to modify
|
|
211
218
|
* @param seriesConfig - The series config
|
|
212
219
|
* @returns The sanitized data
|
|
220
|
+
* @internal
|
|
213
221
|
*/
|
|
214
222
|
export function removeAdditionalStatistics(data: WebChartDataTypes, seriesConfig: WebChartSeriesType[]): WebChartDataTypes;
|
|
215
223
|
|
|
@@ -227,6 +235,7 @@ export function roundToDecimals(num: number, dec: number): number;
|
|
|
227
235
|
* The point is to send meaningful data to the user through events or the `chartWillRender()` function.
|
|
228
236
|
*
|
|
229
237
|
* @param props - The data to sanitize
|
|
238
|
+
* @internal
|
|
230
239
|
*/
|
|
231
240
|
export function sanitizeData(props: {
|
|
232
241
|
data?: WebChartDataTypes;
|
|
@@ -234,10 +243,10 @@ export function sanitizeData(props: {
|
|
|
234
243
|
}): WebChartDataTypes | undefined;
|
|
235
244
|
|
|
236
245
|
/**
|
|
237
|
-
* Fetches data from a list of OIDs. If the
|
|
238
|
-
* and if the chart is aggregated we perform queries to fetch the data.
|
|
246
|
+
* Fetches data from a list of OIDs. If the ids are stored within the chart's data we directly use them, otherwise we perform queries to find the matching data items.
|
|
239
247
|
*
|
|
240
248
|
* @param props - A snapshot of the updated props, used to determine whether the selection OIDs have changed
|
|
249
|
+
* @internal
|
|
241
250
|
*/
|
|
242
251
|
export function getSelectionItemsFromOIDs(props: {
|
|
243
252
|
chartData?: WebChartDataTypes;
|
|
@@ -245,27 +254,24 @@ export function getSelectionItemsFromOIDs(props: {
|
|
|
245
254
|
queryObject: QueryObject;
|
|
246
255
|
dataWasUpdated?: boolean;
|
|
247
256
|
selectionData?: ChartOptions["selectionData"];
|
|
248
|
-
replaceNoValueCategoryWithZero?:
|
|
249
|
-
hideZeroCountCategories?:
|
|
250
|
-
chartLimits?:
|
|
251
|
-
setTimeBinningInfoWhenNotProvided?:
|
|
252
|
-
returnFeaturesExtent?:
|
|
253
|
-
popupTemplateFieldInfosEnabled?:
|
|
257
|
+
replaceNoValueCategoryWithZero?: boolean;
|
|
258
|
+
hideZeroCountCategories?: boolean;
|
|
259
|
+
chartLimits?: ChartElementLimit;
|
|
260
|
+
setTimeBinningInfoWhenNotProvided?: boolean;
|
|
261
|
+
returnFeaturesExtent?: boolean;
|
|
262
|
+
popupTemplateFieldInfosEnabled?: boolean;
|
|
254
263
|
view?: ChartOptions["view"];
|
|
255
264
|
viewExtentUpdated?: ChartOptions["viewExtentUpdated"];
|
|
256
|
-
returnSelectionOIDs?:
|
|
257
|
-
runtimeDataFilters?:
|
|
258
|
-
ignoreViewExtent?:
|
|
265
|
+
returnSelectionOIDs?: boolean | undefined;
|
|
266
|
+
runtimeDataFilters?: WebChartDataFilters;
|
|
267
|
+
ignoreViewExtent?: boolean;
|
|
259
268
|
errorStrings: ErrorStrings;
|
|
260
269
|
selectionIDsChanged: boolean;
|
|
261
270
|
}): Promise<WebChartDataItem[] | undefined>;
|
|
262
271
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
axisConfigIndex: number;
|
|
270
|
-
}) => boolean;
|
|
271
|
-
};
|
|
272
|
+
/**
|
|
273
|
+
* Indicates whether a data array is a WebChartBin[].
|
|
274
|
+
*
|
|
275
|
+
* @param data - The data array to test
|
|
276
|
+
*/
|
|
277
|
+
export function isWebChartBinArray(data: WebChartBin[] | WebChartDataItem[]): data is WebChartBin[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { GaugeMinMaxFromData } from "../../chart-rendering/common/interfaces.js";
|
|
2
1
|
import type { WebChartDataTypes } from "../../spec/data-source.js";
|
|
3
2
|
import type { WebChartQuery } from "../../spec/web-chart.js";
|
|
4
3
|
import type { DataWarningKeywords } from "../chart-config/validator/interfaces.js";
|
|
@@ -19,7 +18,6 @@ export interface DataInfo {
|
|
|
19
18
|
count?: number;
|
|
20
19
|
data?: WebChartDataTypes;
|
|
21
20
|
queryConfig?: WebChartQuery;
|
|
22
|
-
gaugeMinMaxFromData?: GaugeMinMaxFromData;
|
|
23
21
|
}
|
|
24
22
|
|
|
25
23
|
/** @internal */
|
|
@@ -65,7 +63,10 @@ export interface DataUpdateDetails {
|
|
|
65
63
|
valueFormatChangeRequiresNewData?: boolean;
|
|
66
64
|
};
|
|
67
65
|
histogram?: { dataPropsChanged?: boolean; };
|
|
68
|
-
gauge?: {
|
|
66
|
+
gauge?: {
|
|
67
|
+
valueConversionChanged?: boolean;
|
|
68
|
+
minMaxFromFieldsChanged?: boolean;
|
|
69
|
+
};
|
|
69
70
|
boxPlot?: { showMeanChanged?: boolean; };
|
|
70
71
|
heatChart?: {
|
|
71
72
|
binningChanged?: boolean;
|
|
@@ -2,7 +2,7 @@ import type { WebChartStackedKinds, WebChartTypes } from "../../spec/chart-objec
|
|
|
2
2
|
import type { Color, IFont, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from "../../spec/rest-js-types.js";
|
|
3
3
|
import type { CategoryFormatOptions, DateTimeFormatOptions, HistogramOverlays, NumberFormatOptions, ScatterplotOverlays, SizePolicy, WebBoxPlot, WebChart, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartCursorCrosshair, WebChartGaugeAxis, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartHistogramSeries, WebChartLegend, WebChartLineChartSeries, WebChartNeedle, WebChartOverlay, WebChartPieChartSeries, WebChartPieChartTick, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartText, WebChartTextSymbol, WebGaugeChart, WebHeatChart } from "../../spec/web-chart.js";
|
|
4
4
|
import type { CommonStrings } from "../localization/interfaces.js";
|
|
5
|
-
import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from "./interfaces.js";
|
|
5
|
+
import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, GaugeChartDefaults, QueryDefaults, TextElements } from "./interfaces.js";
|
|
6
6
|
|
|
7
7
|
/** @internal */
|
|
8
8
|
export const histogramBinCount: 32;
|
|
@@ -55,12 +55,22 @@ export const defaultHeatChartFields: {
|
|
|
55
55
|
yField: string;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const isHeatChartEmptyCell: "arcgis_charts_heat_chart_empty_cell";
|
|
60
|
+
|
|
58
61
|
/** @internal */
|
|
59
62
|
export const defaultHeatChartNumberOfBreaks: {
|
|
60
63
|
min: number;
|
|
61
64
|
max: number;
|
|
62
65
|
};
|
|
63
66
|
|
|
67
|
+
export const gaugeDefaults: GaugeChartDefaults;
|
|
68
|
+
|
|
69
|
+
export const gaugeSpecialIds: {
|
|
70
|
+
gaugeFirstLabelId: string;
|
|
71
|
+
gaugeLastLabelId: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
64
74
|
/**
|
|
65
75
|
* default color set from Pro
|
|
66
76
|
*
|
|
@@ -458,14 +468,27 @@ export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeri
|
|
|
458
468
|
*/
|
|
459
469
|
export function getDefaultHistogram(commonStrings: CommonStrings, id?: string): WebChart;
|
|
460
470
|
|
|
471
|
+
/** @internal */
|
|
472
|
+
export type RequiredChartElementLimit = Required<ChartElementLimit>
|
|
473
|
+
& {
|
|
474
|
+
serialChart: Required<ChartElementLimit["serialChart"]>;
|
|
475
|
+
boxPlot: Required<ChartElementLimit["boxPlot"]>;
|
|
476
|
+
heatChart: Required<ChartElementLimit["heatChart"]>;
|
|
477
|
+
pieChart: Required<ChartElementLimit["pieChart"]>;
|
|
478
|
+
scatterplot: Required<ChartElementLimit["scatterplot"]>;
|
|
479
|
+
gauge: Required<ChartElementLimit["gauge"]>;
|
|
480
|
+
};
|
|
481
|
+
|
|
461
482
|
/**
|
|
462
483
|
* Returns a list of render limitations, mainly set for performance reasons. They can be overridden through the chart options,
|
|
463
484
|
* or let as defaults.
|
|
485
|
+
* The utility type 'Required' only affects the top-level properties so we need to specify a more complex return type to make
|
|
486
|
+
* sure all the nested properties are set.
|
|
464
487
|
*
|
|
465
|
-
* @param customizedLimits
|
|
488
|
+
* @param customizedLimits - Customized limits to override the default ones
|
|
466
489
|
* @internal
|
|
467
490
|
*/
|
|
468
|
-
export function getChartLimits(customizedLimits?: ChartElementLimit):
|
|
491
|
+
export function getChartLimits(customizedLimits?: ChartElementLimit): RequiredChartElementLimit;
|
|
469
492
|
|
|
470
493
|
/**
|
|
471
494
|
* Returns a list of technical limitations, mainly to the size of large queries.
|
|
@@ -523,4 +546,7 @@ export const defaultColorForBoxPlotWithMeanLines: Color;
|
|
|
523
546
|
export const percentageSuffix: " percentage ";
|
|
524
547
|
|
|
525
548
|
/** @internal */
|
|
526
|
-
export const heatChartFirstDayOfWeek: 7;
|
|
549
|
+
export const heatChartFirstDayOfWeek: 7;
|
|
550
|
+
|
|
551
|
+
/** @internal */
|
|
552
|
+
export const defaultCornerRadius: 5;
|
|
@@ -7,33 +7,97 @@ export const LimitBehavior: {
|
|
|
7
7
|
|
|
8
8
|
export type LimitBehavior = (typeof LimitBehavior)[keyof typeof LimitBehavior];
|
|
9
9
|
|
|
10
|
+
export interface SerialChartLimit {
|
|
11
|
+
series?: number;
|
|
12
|
+
elements?: number;
|
|
13
|
+
categories?: number;
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
export interface ChartElementLimit {
|
|
11
17
|
behaviorAfterLimit?: LimitBehavior;
|
|
18
|
+
/** @deprecated since 5.2. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
12
19
|
maxCategoryCount?: number;
|
|
20
|
+
/** @deprecated since 5.2. Use [serialChart.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
13
21
|
maxBarChartSeriesCount?: number;
|
|
22
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
14
23
|
maxBarUniqueSeriesCountTotal?: number;
|
|
24
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
15
25
|
maxBarTwoSeriesCountPerSeries?: number;
|
|
26
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
16
27
|
maxBarTwoSeriesCountTotal?: number;
|
|
28
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
17
29
|
maxBarThreePlusSeriesCountPerSeries?: number;
|
|
30
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
18
31
|
maxBarThreePlusSeriesCountTotal?: number;
|
|
19
|
-
|
|
20
|
-
maxScatterPointsAfterAggregation?: number;
|
|
32
|
+
/** @deprecated since 5.2. Use [serialChart.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
21
33
|
maxLineChartSeriesCount?: number;
|
|
34
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
22
35
|
maxLineUniqueSeriesCountTotal?: number;
|
|
36
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
23
37
|
maxLineTwoSeriesCountPerSeries?: number;
|
|
38
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
24
39
|
maxLineTwoSeriesCountTotal?: number;
|
|
40
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
25
41
|
maxLineThreePlusSeriesCountPerSeries?: number;
|
|
42
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
26
43
|
maxLineThreePlusSeriesCountTotal?: number;
|
|
44
|
+
/** @deprecated since 5.2. Use [serialChart.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
45
|
+
maxRadarChartSeriesCount?: number;
|
|
46
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
47
|
+
maxRadarUniqueSeriesCountTotal?: number;
|
|
48
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
49
|
+
maxRadarTwoSeriesCountTotal?: number;
|
|
50
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
51
|
+
maxRadarTwoSeriesCountPerSeries?: number;
|
|
52
|
+
/** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
53
|
+
maxRadarThreePlusSeriesCountTotal?: number;
|
|
54
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
|
|
55
|
+
maxRadarThreePlusSeriesCountPerSeries?: number;
|
|
56
|
+
/** @deprecated since 5.2. Use [scatterplot.aggregationThreshold](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-scatterplot) instead. */
|
|
57
|
+
maxScatterPointsBeforeAggregation?: number;
|
|
58
|
+
/** @deprecated since 5.2. Use [scatterplot.pointsAfterAggregation](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-scatterplot) instead. */
|
|
59
|
+
maxScatterPointsAfterAggregation?: number;
|
|
60
|
+
/** @deprecated since 5.2. Use [pieChart.slices](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-pieChart) instead. */
|
|
27
61
|
maxPieChartSliceCountTotal?: number;
|
|
62
|
+
/** @deprecated since 5.2. Use [gauge.features](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-gauge) instead. */
|
|
28
63
|
maxGaugeByFeaturesLimit?: number;
|
|
64
|
+
/** @deprecated since 5.2. Use [boxPlot.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
|
|
29
65
|
maxBoxPlotSeriesCount?: number;
|
|
66
|
+
/** @deprecated since 5.2. Use [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
|
|
30
67
|
maxBoxUniqueSeriesCountTotal?: number;
|
|
68
|
+
/** @deprecated since 5.2. Use [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
|
|
31
69
|
maxBoxTwoSeriesCountTotal?: number;
|
|
70
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [boxPlot.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) or [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
|
|
32
71
|
maxBoxTwoSeriesCountPerSeries?: number;
|
|
72
|
+
/** @deprecated since 5.2. Use [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
|
|
33
73
|
maxBoxThreePlusSeriesCountTotal?: number;
|
|
74
|
+
/** @deprecated since 5.2. Won't be directly replaced. Use [boxPlot.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) or [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
|
|
34
75
|
maxBoxThreePlusSeriesCountPerSeries?: number;
|
|
76
|
+
/** @deprecated since 5.2. Use [boxPlot.outliers](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
|
|
35
77
|
maxBoxPlotOutlierLimit?: number;
|
|
78
|
+
/** @deprecated since 5.2. Use [heatChart.cells](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-heatChart) instead. */
|
|
36
79
|
maxHeatChartCellLimit?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Applies to charts that can have multiple series: bar chart, line chart, combo bar-line chart and radar chart.
|
|
82
|
+
*
|
|
83
|
+
* Box plot also can have multiple series but it has its own [boxPlot](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) property.
|
|
84
|
+
*
|
|
85
|
+
* @since 5.2
|
|
86
|
+
*/
|
|
87
|
+
serialChart?: SerialChartLimit;
|
|
88
|
+
/** @since 5.2 */
|
|
89
|
+
boxPlot?: SerialChartLimit & { outliers?: number; };
|
|
90
|
+
/** @since 5.2 */
|
|
91
|
+
heatChart?: { cells?: number; };
|
|
92
|
+
/** @since 5.2 */
|
|
93
|
+
scatterplot?: {
|
|
94
|
+
aggregationThreshold?: number;
|
|
95
|
+
markersAfterAggregation?: number;
|
|
96
|
+
};
|
|
97
|
+
/** @since 5.2 */
|
|
98
|
+
pieChart?: { slices?: number; };
|
|
99
|
+
/** @since 5.2 */
|
|
100
|
+
gauge?: { features?: number; };
|
|
37
101
|
}
|
|
38
102
|
|
|
39
103
|
export interface ChartElementTechnicalLimit {
|
|
@@ -50,7 +114,7 @@ export interface QueryDefaults {
|
|
|
50
114
|
maxParallelRequests: number;
|
|
51
115
|
maxRecords: number;
|
|
52
116
|
outStatistics: Readonly<IStatisticDefinition>;
|
|
53
|
-
|
|
117
|
+
uniqueIds: string;
|
|
54
118
|
orderByJSAPIDelimiter: string;
|
|
55
119
|
heatChartLowerBoundaryAlias: string;
|
|
56
120
|
heatChartUpperBoundaryAlias: string;
|
|
@@ -79,4 +143,9 @@ export const TextElements: {
|
|
|
79
143
|
};
|
|
80
144
|
|
|
81
145
|
/** @internal */
|
|
82
|
-
export type TextElements = (typeof TextElements)[keyof typeof TextElements];
|
|
146
|
+
export type TextElements = (typeof TextElements)[keyof typeof TextElements];
|
|
147
|
+
|
|
148
|
+
export interface GaugeChartDefaults {
|
|
149
|
+
axisMinimum: number;
|
|
150
|
+
axisMaximum: number;
|
|
151
|
+
}
|
|
@@ -12,7 +12,7 @@ import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
|
12
12
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
13
13
|
import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
|
|
14
14
|
import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
|
|
15
|
-
import type { QueryObject, QueryObjectOrRaster,
|
|
15
|
+
import type { QueryObject, QueryObjectOrRaster, RendererInfo } from "./interfaces.js";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Returns the renderer type and the field and normalization field if applicable.
|
|
@@ -22,6 +22,16 @@ import type { QueryObject, QueryObjectOrRaster, QueryObjectProps, RendererInfo }
|
|
|
22
22
|
*/
|
|
23
23
|
export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Function creating a FeatureLayer from a set of parameters.
|
|
27
|
+
* It returns the created Feature Layer.
|
|
28
|
+
* It is memoized (cached) to avoid multiple creations for a same feature layer.
|
|
29
|
+
*
|
|
30
|
+
* @param featureLayer
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export function getFeatureLayerUnloaded(featureLayer: IFeatureLayer): FeatureLayer;
|
|
34
|
+
|
|
25
35
|
/**
|
|
26
36
|
* Function creating a FeatureLayer from a set of parameters.
|
|
27
37
|
* It returns the created Feature Layer.
|
|
@@ -58,13 +68,18 @@ export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImag
|
|
|
58
68
|
export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer | IWCSLayer, abortSignal?: AbortSignal): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer | WCSLayer>;
|
|
59
69
|
|
|
60
70
|
/**
|
|
61
|
-
* Returns the
|
|
62
|
-
* It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer,
|
|
71
|
+
* Returns the layer object for the given layer or ILayer synchronously (without loading it).
|
|
72
|
+
* It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer, or a WCSLayer (and possibly nothing).
|
|
63
73
|
*
|
|
64
74
|
* @param props
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
|
-
export function
|
|
77
|
+
export function getQueryObjectUnloaded(props: {
|
|
78
|
+
layerOrLayerView?: QueryObjectOrRaster;
|
|
79
|
+
iLayer?: WebChart["iLayer"];
|
|
80
|
+
view?: MapView | SceneView;
|
|
81
|
+
layerItemId?: string;
|
|
82
|
+
}): QueryObjectOrRaster | undefined;
|
|
68
83
|
|
|
69
84
|
/**
|
|
70
85
|
* Fetches all the fields info from a layer.
|
|
@@ -187,6 +202,7 @@ export function getFieldCodedValueDomain(queryObject: QueryObject, field?: strin
|
|
|
187
202
|
*
|
|
188
203
|
* @param fieldValue - The field value to get the description for
|
|
189
204
|
* @param domain - The domain of the field
|
|
205
|
+
* @internal
|
|
190
206
|
*/
|
|
191
207
|
export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
|
|
192
208
|
|
|
@@ -194,6 +210,7 @@ export function getFieldDescriptionFromDomain(fieldValue: number | string, domai
|
|
|
194
210
|
* Get the field description from the query object given a field name and a field value.
|
|
195
211
|
*
|
|
196
212
|
* @param props - The query object (layer or feature layer view)
|
|
213
|
+
* @internal
|
|
197
214
|
*/
|
|
198
215
|
export function getFieldDescriptionFromQueryObject(props: {
|
|
199
216
|
queryObject: QueryObjectOrRaster;
|
|
@@ -273,6 +290,7 @@ export function buildQueryConfig(props: {
|
|
|
273
290
|
queryObject?: QueryObjectOrRaster;
|
|
274
291
|
chartConfig: WebChart;
|
|
275
292
|
runtimeDataFilters?: WebChartDataFilters;
|
|
293
|
+
filterByViewExtent?: boolean;
|
|
276
294
|
ignoreViewExtent?: boolean;
|
|
277
295
|
view?: ChartOptions["view"];
|
|
278
296
|
}): WebChartQuery;
|
|
@@ -332,4 +350,4 @@ export function findMatchingLayerFromView(props: {
|
|
|
332
350
|
* @param layer - The layer
|
|
333
351
|
* @param abortSignal - Optional abort signal to cancel the request
|
|
334
352
|
*/
|
|
335
|
-
export function loadLayer(layer: Layer | SupportedLayer | SupportedRasterLayer, abortSignal?: AbortSignal): Promise<void>;
|
|
353
|
+
export function loadLayer(layer: Layer | SupportedLayer | SupportedRasterLayer | undefined, abortSignal?: AbortSignal): Promise<void>;
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
import type MapView from "@arcgis/core/views/MapView.js";
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
1
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
4
2
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
5
3
|
import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
|
|
6
|
-
import type { WebChart } from "../../spec/web-chart.js";
|
|
7
|
-
|
|
8
|
-
/** @internal */
|
|
9
|
-
export interface QueryObjectProps {
|
|
10
|
-
chartConfig?: WebChart;
|
|
11
|
-
layer?: QueryObjectOrRaster;
|
|
12
|
-
view?: MapView | SceneView;
|
|
13
|
-
filterByViewExtent?: boolean;
|
|
14
|
-
abortSignal?: AbortSignal;
|
|
15
|
-
}
|
|
16
4
|
|
|
17
5
|
/** @internal */
|
|
18
6
|
export interface RendererInfo {
|