@arcgis/charts-components 5.0.0-next.2 → 5.0.0-next.21
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/dist/cdn/{6X4IOTIX.js → 27XFXHX3.js} +2 -2
- package/dist/cdn/{U7PC37X6.js → 2GTKWA5H.js} +2 -2
- package/dist/cdn/{6MANQPFR.js → 2LGKZA3D.js} +2 -2
- package/dist/cdn/{H55KMHCY.js → 2QKTTKXR.js} +2 -2
- package/dist/cdn/2QSUIX4S.js +4 -0
- package/dist/cdn/2RWSL7IX.js +4 -0
- package/dist/cdn/{RSHRZ4MU.js → 2SKLLTUK.js} +2 -2
- package/dist/cdn/2VILXJOT.js +4 -0
- package/dist/cdn/{B54HNL65.js → 2XT2IEZM.js} +2 -2
- package/dist/cdn/2YL53ROC.js +4 -0
- package/dist/cdn/{BJ437O6R.js → 33KUWTZT.js} +2 -2
- package/dist/cdn/37E7RGPD.js +58 -0
- package/dist/cdn/3A2O7DDS.js +4 -0
- package/dist/cdn/{37KGNLME.js → 3BISEDHE.js} +2 -2
- package/dist/cdn/{QVFF3NZF.js → 3DBFREGP.js} +2 -2
- package/dist/cdn/3DMAIADS.js +4 -0
- package/dist/cdn/3H6MQGAF.js +4 -0
- package/dist/cdn/3HOM2AAM.js +4 -0
- package/dist/cdn/{UR6AIX3U.js → 3PSCXSCX.js} +2 -2
- package/dist/cdn/{KCZ3WIW6.js → 3QQT2OFZ.js} +2 -2
- package/dist/cdn/{2WEBNHQN.js → 3VLDLE6L.js} +2 -2
- package/dist/cdn/3YBDI7B2.js +4 -0
- package/dist/cdn/{7EOQ5TCI.js → 3Z3H7AJK.js} +2 -2
- package/dist/cdn/45775PJA.js +4 -0
- package/dist/cdn/{IIU7SIYD.js → 4BOV2Y63.js} +2 -2
- package/dist/cdn/{YWQ4X7JY.js → 4DBXVCU5.js} +2 -2
- package/dist/cdn/{ROQWPMNA.js → 4FJ6DD46.js} +2 -2
- package/dist/cdn/{QO2W5K2E.js → 4IELDMUR.js} +2 -2
- package/dist/cdn/{EVHG3NOW.js → 4LUTUOMB.js} +2 -2
- package/dist/cdn/{Z72YZBVK.js → 4QEL6SWZ.js} +2 -2
- package/dist/cdn/{KSIS2GMN.js → 4SSTFMY7.js} +2 -2
- package/dist/cdn/56I7NHOB.js +4 -0
- package/dist/cdn/5JRBTMQB.js +4 -0
- package/dist/cdn/{QFDNK4AG.js → 5LWSMXGB.js} +2 -2
- package/dist/cdn/5ZZTHPU3.js +4 -0
- package/dist/cdn/6BBA432G.js +4 -0
- package/dist/cdn/{E7J2SU77.js → 6HNTAPCU.js} +2 -2
- package/dist/cdn/{H7A6K4TS.js → 6OH6RCK2.js} +2 -2
- package/dist/cdn/6OKM2AD7.js +4 -0
- package/dist/cdn/{4LKCRN7B.js → 6SJFVCSA.js} +2 -2
- package/dist/cdn/{IOESBG3D.js → 6WOSWGX2.js} +2 -2
- package/dist/cdn/{RQYYBI4H.js → 6X3NOINZ.js} +1 -1
- package/dist/cdn/77TQR4ZW.js +4 -0
- package/dist/cdn/7CSVCFNW.js +4 -0
- package/dist/cdn/7E2TXYCU.js +4 -0
- package/dist/cdn/{GG7SUIY3.js → 7INUYOOA.js} +2 -2
- package/dist/cdn/{R3PMNECX.js → 7JN3FSLF.js} +2 -2
- package/dist/cdn/{J5N73PSS.js → 7RMKZ4PY.js} +2 -2
- package/dist/cdn/{WSRS6VM3.js → 7ZDGHDOM.js} +2 -2
- package/dist/cdn/A36CMQLA.js +4 -0
- package/dist/cdn/{O2CFKWNX.js → ADLS2ZLX.js} +2 -2
- package/dist/cdn/AEPH7374.js +4 -0
- package/dist/cdn/{FLEXUMVX.js → ALOVAZQZ.js} +2 -2
- package/dist/cdn/{J55STN4N.js → AN4HYYA6.js} +2 -2
- package/dist/cdn/AS2DLPC7.js +4 -0
- package/dist/cdn/ATDRUK5H.js +4 -0
- package/dist/cdn/AUY2C3MV.js +4 -0
- package/dist/cdn/AYUFTRIT.js +4 -0
- package/dist/cdn/{QT4EBDYM.js → B6DGELGV.js} +2 -2
- package/dist/cdn/{QUALYXLD.js → B6EUGEFM.js} +2 -2
- package/dist/cdn/{JJ3HEDMX.js → BCRSZBJ4.js} +2 -2
- package/dist/cdn/{KH24YX2V.js → BCVSCME7.js} +2 -2
- package/dist/cdn/{ALPDGAEI.js → BEJPPLLY.js} +3 -3
- package/dist/cdn/BL24Q2DY.js +4 -0
- package/dist/cdn/BT3MLYYC.js +4 -0
- package/dist/cdn/{FZHL35W5.js → BTJD7NJJ.js} +2 -2
- package/dist/cdn/BVI2CNZ4.js +4 -0
- package/dist/cdn/BWIAZPK7.js +4 -0
- package/dist/cdn/C4RKHVAB.js +4 -0
- package/dist/cdn/{SQCQR2L2.js → CWCJ67DX.js} +1 -1
- package/dist/cdn/DGL5MMG2.js +4 -0
- package/dist/cdn/{IAODGTXG.js → DIBR77KB.js} +2 -2
- package/dist/cdn/{DZHN5VUX.js → DTZBBW3J.js} +2 -2
- package/dist/cdn/DVUF3VD6.js +4 -0
- package/dist/cdn/{UBMVTRQT.js → DXBRNGNX.js} +2 -2
- package/dist/cdn/E7AI2PIF.js +4 -0
- package/dist/cdn/{MWYGGYUB.js → EGXV5J2I.js} +2 -2
- package/dist/cdn/{4VEYBWNU.js → ENYRGENB.js} +2 -2
- package/dist/cdn/EVKL64OR.js +4 -0
- package/dist/cdn/{OWIU32TC.js → F3BSM26R.js} +1 -1
- package/dist/cdn/FHRNXBNT.js +4 -0
- package/dist/cdn/FJU67NCM.js +4 -0
- package/dist/cdn/{U4IE7DFG.js → FLQVC3QN.js} +1 -1
- package/dist/cdn/FOEFA6XN.js +4 -0
- package/dist/cdn/FTB74LRR.js +4 -0
- package/dist/cdn/{KRIG7CPX.js → FVW7NJSZ.js} +2 -2
- package/dist/cdn/{BUEMLPMQ.js → GDA7PY47.js} +1 -1
- package/dist/cdn/{XSAIZFKV.js → GDH5MMXJ.js} +2 -2
- package/dist/cdn/HTUWZPXF.js +4 -0
- package/dist/cdn/{6G2R3MN5.js → I3XNEEG3.js} +2 -2
- package/dist/cdn/I5A4I3KQ.js +4 -0
- package/dist/cdn/{ZDMEEWOX.js → IADBQMEH.js} +2 -2
- package/dist/cdn/{CXRCG5DA.js → IAUJMVQ2.js} +2 -2
- package/dist/cdn/{GF2COPTT.js → ILBYEM4Q.js} +2 -2
- package/dist/cdn/{7OCR5LGZ.js → IRT2BB2N.js} +1 -1
- package/dist/cdn/ITA3V35F.js +4 -0
- package/dist/cdn/{IVURDFPA.js → JQD4UPZS.js} +2 -2
- package/dist/cdn/JRCM3ZZS.js +4 -0
- package/dist/cdn/JZP5EKAS.js +4 -0
- package/dist/cdn/K3VQ7SOM.js +4 -0
- package/dist/cdn/K5QIOPE3.js +4 -0
- package/dist/cdn/KDJVFOEU.js +4 -0
- package/dist/cdn/KFAH7XXB.js +4 -0
- package/dist/cdn/{6ARHZZVD.js → KIHFM4UW.js} +2 -2
- package/dist/cdn/KII6BNEA.js +4 -0
- package/dist/cdn/{CTBTU6R7.js → KIR56BS5.js} +2 -2
- package/dist/cdn/{DLU3HUP7.js → KMD36BPP.js} +2 -2
- package/dist/cdn/{H2UPKR6S.js → KMZACD46.js} +2 -2
- package/dist/cdn/{OWBI3ZU7.js → KT4MZPI5.js} +2 -2
- package/dist/cdn/KU6KRXTD.js +4 -0
- package/dist/cdn/KWSSY2YG.js +4 -0
- package/dist/cdn/{3ZV3NNGN.js → L6UUC2GI.js} +1 -1
- package/dist/cdn/{YAGWLY75.js → LAF3DUQE.js} +2 -2
- package/dist/cdn/LF7YJBPT.js +4 -0
- package/dist/cdn/{GMEM7HDR.js → LGG6TMNC.js} +2 -2
- package/dist/cdn/LH2XZLNO.js +4 -0
- package/dist/cdn/{XJF6GKGF.js → LM3OOFPM.js} +2 -2
- package/dist/cdn/{S7VLGFBV.js → LQEMVEGU.js} +2 -2
- package/dist/cdn/{YLZX2MHJ.js → LQF35FG3.js} +2 -2
- package/dist/cdn/{LOTUCDOA.js → LSOZEH46.js} +1 -1
- package/dist/cdn/M3WEYTH3.js +4 -0
- package/dist/cdn/MLRU55AD.js +4 -0
- package/dist/cdn/{ZDENIMCH.js → MVCPUXFX.js} +2 -2
- package/dist/cdn/{6YTCTNPK.js → NALBE2KT.js} +2 -2
- package/dist/cdn/{34XV3PST.js → NAXC3EBC.js} +1 -1
- package/dist/cdn/{R3G5M4F7.js → NJB5K5JL.js} +2 -2
- package/dist/cdn/{4FGITNJL.js → NKZDAPEF.js} +2 -2
- package/dist/cdn/{5U4QI3M3.js → NLIO3CCN.js} +2 -2
- package/dist/cdn/NLNGAKVV.js +4 -0
- package/dist/cdn/NM5GSIVR.js +4 -0
- package/dist/cdn/{6HMKNYAB.js → NZYB5FHU.js} +2 -2
- package/dist/cdn/O3Z6UI77.js +4 -0
- package/dist/cdn/OMYA6OIW.js +4 -0
- package/dist/cdn/{STTIBK4B.js → OY2YV2JP.js} +2 -2
- package/dist/cdn/{A4BYZFQP.js → PAS7LG4L.js} +2 -2
- package/dist/cdn/{GZJQC62G.js → PZMADEY3.js} +2 -2
- package/dist/cdn/{AKSR565H.js → Q5TR7VJT.js} +2 -2
- package/dist/cdn/QBXIU4YH.js +42 -0
- package/dist/cdn/{P6E42R4P.js → QKDL5MZQ.js} +2 -2
- package/dist/cdn/{VA7NRPXH.js → QV63CON6.js} +2 -2
- package/dist/cdn/RG5MV5UQ.js +4 -0
- package/dist/cdn/RHKK3RMO.js +4 -0
- package/dist/cdn/{PC6FCSDX.js → RHYXGTHM.js} +2 -2
- package/dist/cdn/{MAMDCTEO.js → RIIIVJLP.js} +2 -2
- package/dist/cdn/RV6XNEGA.js +4 -0
- package/dist/cdn/SACMBQQE.js +4 -0
- package/dist/cdn/SQWACKER.js +4 -0
- package/dist/cdn/{TQ4SKFMX.js → ST6LAIAP.js} +2 -2
- package/dist/cdn/{O2MX3VL7.js → SWIWUWM6.js} +2 -2
- package/dist/cdn/{PGLIJUXT.js → T6XDJGHP.js} +2 -2
- package/dist/cdn/{JFODPCBN.js → TJEXEEIW.js} +2 -2
- package/dist/cdn/TVY5A5W3.js +4 -0
- package/dist/cdn/U2N5M3G6.js +4 -0
- package/dist/cdn/UEQU7T6L.js +4 -0
- package/dist/cdn/{HJPNRGYL.js → UFL5N6OV.js} +2 -2
- package/dist/cdn/{OFLIEREM.js → UXLQ7M3B.js} +2 -2
- package/dist/cdn/{YGKNSXIY.js → V5K3XKFG.js} +2 -2
- package/dist/cdn/VJKH6CJN.js +4 -0
- package/dist/cdn/{5BZKB5WN.js → VO5QPZD7.js} +2 -2
- package/dist/cdn/{RRBCAYMC.js → W2ISC3E6.js} +2 -2
- package/dist/cdn/{LDBUAPTJ.js → W6GYOREV.js} +2 -2
- package/dist/cdn/WHA4WMJN.js +4 -0
- package/dist/cdn/{KMANLUX6.js → WJMUP3NY.js} +2 -2
- package/dist/cdn/{7CQNT5AG.js → WSRLORRS.js} +2 -2
- package/dist/cdn/WZFIJ2YC.js +4 -0
- package/dist/cdn/{YPC6LVPV.js → XBSU5RMI.js} +2 -2
- package/dist/cdn/{FSO7EWOR.js → XEZUUESQ.js} +2 -2
- package/dist/cdn/XKGITGT4.js +4 -0
- package/dist/cdn/XNEVNDQM.js +4 -0
- package/dist/cdn/XOUCFNJO.js +4 -0
- package/dist/cdn/{O4CVPZBZ.js → YBUQ2CZN.js} +2 -2
- package/dist/cdn/YHTDEGGL.js +4 -0
- package/dist/cdn/{7KDPHVPV.js → YMXAYPQF.js} +2 -2
- package/dist/cdn/YNTNCLUF.js +4 -0
- package/dist/cdn/YOCJL575.js +4 -0
- package/dist/cdn/{OG7U546P.js → YSC56A32.js} +2 -2
- package/dist/cdn/{W7UZLF7Y.js → ZA2QWT56.js} +2 -2
- package/dist/cdn/ZEXQVTYO.js +4 -0
- package/dist/cdn/ZG54HWVW.js +4 -0
- package/dist/cdn/{CX4UFCYA.js → ZJRC5EPB.js} +2 -2
- package/dist/cdn/ZPSD5J36.js +4 -0
- package/dist/cdn/{CORIQ62W.js → ZR2JJJTB.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
- package/dist/chart-rendering/common/config-utils/index.d.ts +11 -16
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +0 -8
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +1 -0
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +4 -6
- package/dist/chart-rendering/common/interfaces.d.ts +11 -6
- package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/utils/index.d.ts +14 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/index.d.ts +5 -3
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +25 -16
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +164 -162
- package/dist/chunks/box-plot-model.js +41 -43
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +32 -46
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +2174 -2179
- package/dist/chunks/data.js +330 -330
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +11 -11
- package/dist/chunks/heat-chart-model.js +166 -49
- package/dist/chunks/histogram-data.js +9 -9
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +440 -5953
- package/dist/chunks/index2.js +2 -2
- package/dist/chunks/index3.js +2 -2
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +7846 -2264
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +8 -8
- package/dist/chunks/line-chart-model.js +6 -6
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +2 -2
- package/dist/chunks/model-with-multi-axes.js +30 -70
- package/dist/chunks/model-with-rotation.js +2 -2
- package/dist/chunks/pie-chart-data.js +83 -77
- package/dist/chunks/pie-chart-model.js +25 -25
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +6 -6
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +2 -2
- package/dist/chunks/serial-chart-model.js +23 -23
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +30 -30
- package/dist/components/arcgis-chart/customElement.d.ts +7 -10
- package/dist/components/arcgis-chart/customElement.js +6200 -6089
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +111 -107
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +36 -36
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -4
- 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 +3 -3
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +67 -67
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +26 -26
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +52 -48
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- 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 +6 -6
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +38 -35
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +6 -90
- package/dist/docs/docs.json +87 -91
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +206 -205
- package/dist/json-schema/index.d.ts +4 -0
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +8 -23
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +21 -47
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +2 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +5 -0
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/store.d.ts +24 -3
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -8
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/dist/utils/chart-config/utils/index.d.ts +7 -0
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +11 -3
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/package.json +5 -5
- package/dist/cdn/26ZDKIM2.js +0 -4
- package/dist/cdn/2722MDKQ.js +0 -4
- package/dist/cdn/2GXXGXVH.js +0 -4
- package/dist/cdn/2OF4P5LU.js +0 -4
- package/dist/cdn/2ZDHGQFG.js +0 -4
- package/dist/cdn/4IIZMUKW.js +0 -4
- package/dist/cdn/4OPEZPGO.js +0 -4
- package/dist/cdn/53YQPQU7.js +0 -4
- package/dist/cdn/5QEGZD45.js +0 -4
- package/dist/cdn/65CIPXBU.js +0 -4
- package/dist/cdn/7BZGKSJP.js +0 -4
- package/dist/cdn/7VA7HFFX.js +0 -4
- package/dist/cdn/AQP4LAW6.js +0 -4
- package/dist/cdn/B3SKHW55.js +0 -4
- package/dist/cdn/B56HEX5S.js +0 -4
- package/dist/cdn/BGU75DEL.js +0 -4
- package/dist/cdn/BZEZGR3Q.js +0 -4
- package/dist/cdn/CN6C7CKP.js +0 -4
- package/dist/cdn/CODB7654.js +0 -4
- package/dist/cdn/DAFES5NQ.js +0 -4
- package/dist/cdn/DBCE6YK4.js +0 -4
- package/dist/cdn/DBOVM2GI.js +0 -4
- package/dist/cdn/DVYMNVKQ.js +0 -58
- package/dist/cdn/F4X5AZYC.js +0 -4
- package/dist/cdn/FCZE76ZT.js +0 -4
- package/dist/cdn/FQLRTUFP.js +0 -4
- package/dist/cdn/GB2LCBGU.js +0 -4
- package/dist/cdn/GLHSUPO2.js +0 -4
- package/dist/cdn/GOEKIBRP.js +0 -4
- package/dist/cdn/H7VGLHF3.js +0 -4
- package/dist/cdn/HCZCK553.js +0 -4
- package/dist/cdn/HQSU7XQD.js +0 -4
- package/dist/cdn/I4COPFSD.js +0 -4
- package/dist/cdn/I7XMRSKS.js +0 -4
- package/dist/cdn/IG6J4GJL.js +0 -4
- package/dist/cdn/IHGIFUEA.js +0 -4
- package/dist/cdn/IPZ3UP5O.js +0 -4
- package/dist/cdn/IVCEM4ZM.js +0 -4
- package/dist/cdn/KCQLJI57.js +0 -4
- package/dist/cdn/KNRKRRRO.js +0 -4
- package/dist/cdn/KYFOBNT7.js +0 -4
- package/dist/cdn/LWDUNAKP.js +0 -4
- package/dist/cdn/M2BNPJIN.js +0 -4
- package/dist/cdn/N7MD6SPR.js +0 -4
- package/dist/cdn/NGAGKKLX.js +0 -4
- package/dist/cdn/NHJSWMJ3.js +0 -4
- package/dist/cdn/NK55SOH6.js +0 -4
- package/dist/cdn/NN2EIGE6.js +0 -4
- package/dist/cdn/O3JYODXZ.js +0 -4
- package/dist/cdn/OHMBY6IK.js +0 -4
- package/dist/cdn/OMG6SL3T.js +0 -4
- package/dist/cdn/OMNGUMOT.js +0 -4
- package/dist/cdn/OTMFFLYC.js +0 -4
- package/dist/cdn/P5O2P2RF.js +0 -4
- package/dist/cdn/P5Q43U7B.js +0 -4
- package/dist/cdn/PFVQP4GC.js +0 -4
- package/dist/cdn/PKT6EC3O.js +0 -4
- package/dist/cdn/PNWEOTMI.js +0 -4
- package/dist/cdn/PRVCQVPA.js +0 -4
- package/dist/cdn/QZB4NFIW.js +0 -4
- package/dist/cdn/R2UESZZA.js +0 -4
- package/dist/cdn/RTDALJUF.js +0 -4
- package/dist/cdn/S5IAVCC4.js +0 -4
- package/dist/cdn/SCGRHZME.js +0 -4
- package/dist/cdn/SLFY6MNY.js +0 -4
- package/dist/cdn/TBXOAJ6X.js +0 -4
- package/dist/cdn/UFRAN3HD.js +0 -4
- package/dist/cdn/UJZLVYVW.js +0 -4
- package/dist/cdn/UO74AY6S.js +0 -4
- package/dist/cdn/UWTMDEXN.js +0 -4
- package/dist/cdn/V4K56KHO.js +0 -42
- package/dist/cdn/V53H2UTK.js +0 -4
- package/dist/cdn/VPSPX45T.js +0 -4
- package/dist/cdn/X4ZPL74N.js +0 -4
- package/dist/cdn/XHUTCLWD.js +0 -4
- package/dist/cdn/XN26QRQK.js +0 -4
- package/dist/cdn/Y2AI5DXX.js +0 -4
- package/dist/cdn/Z7YX3V7O.js +0 -4
- package/dist/cdn/ZYYIRFRL.js +0 -4
|
@@ -11,11 +11,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
11
11
|
getAxisTitleText(axisIndex: number): string;
|
|
12
12
|
/**
|
|
13
13
|
* Sets the title text for the specified axis.
|
|
14
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
14
15
|
* @param {string} titleText The title text for the axis.
|
|
15
16
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
16
|
-
*
|
|
17
|
-
* **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.
|
|
18
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
19
17
|
*/
|
|
20
18
|
setAxisTitleText(titleText: string, axisIndex: number): void;
|
|
21
19
|
/**
|
|
@@ -26,11 +24,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
26
24
|
getAxisTitleVisibility(axisIndex: number): boolean;
|
|
27
25
|
/**
|
|
28
26
|
* Sets the visibility of the specified axis title.
|
|
27
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
29
28
|
* @param {boolean} isVisible The visibility state for the axis title.
|
|
30
29
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
31
|
-
*
|
|
32
|
-
* **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.
|
|
33
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
34
30
|
*/
|
|
35
31
|
setAxisTitleVisibility(isVisible: boolean, axisIndex: number): void;
|
|
36
32
|
/**
|
|
@@ -41,11 +37,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
41
37
|
getMaxBound(axisIndex: number): number;
|
|
42
38
|
/**
|
|
43
39
|
* Sets the maximum bound for the specified axis.
|
|
40
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
44
41
|
* @param {number | null} newMaxBound The value to set as the maximum bound.
|
|
45
42
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
46
|
-
*
|
|
47
|
-
* **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.
|
|
48
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
49
43
|
*/
|
|
50
44
|
setMaxBound(newMaxBound: number | null, axisIndex: number): void;
|
|
51
45
|
/**
|
|
@@ -56,11 +50,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
56
50
|
getMinBound(axisIndex: number): number;
|
|
57
51
|
/**
|
|
58
52
|
* Sets the minimum bound for the specified axis.
|
|
53
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
59
54
|
* @param {number | null} newMinBound The value to set as the minimum bound.
|
|
60
55
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
61
|
-
*
|
|
62
|
-
* **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.
|
|
63
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
64
56
|
*/
|
|
65
57
|
setMinBound(newMinBound: number | null, axisIndex: number): void;
|
|
66
58
|
/**
|
|
@@ -71,11 +63,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
71
63
|
getAxisValueFormat(axisIndex: number): CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined;
|
|
72
64
|
/**
|
|
73
65
|
* Sets the value format for the specified axis.
|
|
66
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
74
67
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
75
68
|
* @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} valueFormat The value format to set.
|
|
76
|
-
*
|
|
77
|
-
* **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.
|
|
78
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
79
69
|
*/
|
|
80
70
|
setAxisValueFormat(axisIndex: number, valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions): void;
|
|
81
71
|
/**
|
|
@@ -91,16 +81,11 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
91
81
|
getLogarithmic(axisIndex: number): boolean;
|
|
92
82
|
/**
|
|
93
83
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
94
|
-
*
|
|
95
84
|
* `true`: Enable logarithmic scale for the specified axis.
|
|
96
|
-
*
|
|
97
85
|
* `false`: Disable logarithmic scale for the specified axis.
|
|
98
|
-
*
|
|
86
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
99
87
|
* @param {boolean} isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
100
88
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
101
|
-
*
|
|
102
|
-
* **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.
|
|
103
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
104
89
|
*/
|
|
105
90
|
setLogarithmic(isLogarithmic: boolean, axisIndex: number): void;
|
|
106
91
|
/**
|
|
@@ -111,25 +96,22 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
111
96
|
getAxisScrollbar(axisIndex: number): WebChartAxisScrollBar | undefined;
|
|
112
97
|
/**
|
|
113
98
|
* Sets the scrollbar configuration for the specified axis.
|
|
99
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
114
100
|
* @param {WebChartAxisScrollBar} scrollbar The scrollbar configuration to set.
|
|
115
101
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
116
|
-
*
|
|
117
|
-
* **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.
|
|
118
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
119
102
|
*/
|
|
120
103
|
setAxisScrollbar(scrollbar: WebChartAxisScrollBar, axisIndex: number): void;
|
|
121
104
|
/**
|
|
122
105
|
* Gets the specified title text symbol. Contains styling information such as font, color, and symbol style.
|
|
106
|
+
* @param {number} axisIndex The index of the axis to get the title symbol for
|
|
123
107
|
* @returns {WebChartTextSymbol | undefined}
|
|
124
108
|
*/
|
|
125
109
|
getAxisTitleSymbol(axisIndex: number): WebChartTextSymbol | undefined;
|
|
126
110
|
/**
|
|
127
111
|
* Sets the title text symbol for the specified axis. Contains styling information such as font, color, and symbol style.
|
|
112
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
128
113
|
* @param {WebChartTextSymbol | undefined} titleSymbol The title text symbol to set.
|
|
129
114
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
130
|
-
*
|
|
131
|
-
* **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.
|
|
132
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
133
115
|
*/
|
|
134
116
|
setAxisTitleSymbol(titleSymbol: WebChartTextSymbol | undefined, axisIndex: number): void;
|
|
135
117
|
/**
|
|
@@ -139,11 +121,8 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
139
121
|
getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
140
122
|
/**
|
|
141
123
|
* Sets the horizontal axis labels behavior for the chart.
|
|
124
|
+
* **Note:** The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
142
125
|
* @param horizontalBehavior The behavior for the horizontal axis labels.
|
|
143
|
-
*
|
|
144
|
-
* **NOTE**: The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
145
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
146
|
-
*
|
|
147
126
|
*/
|
|
148
127
|
setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
|
|
149
128
|
/**
|
|
@@ -153,10 +132,8 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
153
132
|
getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
154
133
|
/**
|
|
155
134
|
* Sets the vertical axis labels behavior for the chart.
|
|
135
|
+
* **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. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
156
136
|
* @param verticalBehavior The behavior for the vertical axis labels.
|
|
157
|
-
*
|
|
158
|
-
* **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.
|
|
159
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
160
137
|
*/
|
|
161
138
|
setVerticalAxisLabelsBehavior(verticalBehavior: WebChartLabelBehavior): void;
|
|
162
139
|
/**
|
|
@@ -166,10 +143,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
166
143
|
getGridLinesSymbol(): ISimpleLineSymbol | undefined;
|
|
167
144
|
/**
|
|
168
145
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
146
|
+
* **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.
|
|
169
147
|
* @param {ISimpleLineSymbol | undefined} linesSymbol The grid lines symbol.
|
|
170
148
|
* @param {number[]} axisIndices The indices of the axes to set the grid lines symbol for.
|
|
171
|
-
*
|
|
172
|
-
* **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.
|
|
173
149
|
*/
|
|
174
150
|
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined, axisIndices?: number[]): void;
|
|
175
151
|
/**
|
|
@@ -195,7 +171,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
195
171
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
196
172
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
197
173
|
*
|
|
198
|
-
* **
|
|
174
|
+
* **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.
|
|
199
175
|
*/
|
|
200
176
|
setDisplayZeroLine(displayZeroLine: boolean, axisIndex: number): void;
|
|
201
177
|
/**
|
|
@@ -214,7 +190,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
214
190
|
* @remarks
|
|
215
191
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
216
192
|
*
|
|
217
|
-
* **
|
|
193
|
+
* **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.
|
|
218
194
|
*/
|
|
219
195
|
setDisplayCursorTooltip(displayCursorTooltip: boolean, axisIndex: number): void;
|
|
220
196
|
/**
|
|
@@ -235,7 +211,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
235
211
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
236
212
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
237
213
|
*
|
|
238
|
-
* **
|
|
214
|
+
* **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.
|
|
239
215
|
*/
|
|
240
216
|
setBuffer(buffer: boolean, axisIndex: number): void;
|
|
241
217
|
/**
|
|
@@ -253,7 +229,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
253
229
|
* @remarks
|
|
254
230
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
255
231
|
*
|
|
256
|
-
* **
|
|
232
|
+
* **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.
|
|
257
233
|
*/
|
|
258
234
|
setTickSpacing(tickSpacing: number, axisIndex: number): void;
|
|
259
235
|
/**
|
|
@@ -274,14 +250,14 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
274
250
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
275
251
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
276
252
|
*
|
|
277
|
-
* **
|
|
253
|
+
* **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.
|
|
278
254
|
*/
|
|
279
255
|
setIntegerOnlyValues(integerOnlyValues: boolean, axisIndex: number): void;
|
|
280
256
|
/**
|
|
281
257
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
282
258
|
* @remarks if the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
283
259
|
*
|
|
284
|
-
* **
|
|
260
|
+
* **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.
|
|
285
261
|
*/
|
|
286
262
|
get cursorCrosshairHorizontalLineVisibility(): boolean;
|
|
287
263
|
set cursorCrosshairHorizontalLineVisibility(visibility: boolean);
|
|
@@ -289,21 +265,19 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
289
265
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
290
266
|
* @remarks if the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
291
267
|
*
|
|
292
|
-
* **
|
|
268
|
+
* **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.
|
|
293
269
|
*/
|
|
294
270
|
get cursorCrosshairVerticalLineVisibility(): boolean;
|
|
295
271
|
set cursorCrosshairVerticalLineVisibility(visibility: boolean);
|
|
296
272
|
/**
|
|
297
273
|
* Style of the cursor's crosshair from the chart config.
|
|
298
|
-
*
|
|
299
|
-
* **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.
|
|
274
|
+
* **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.
|
|
300
275
|
*/
|
|
301
276
|
get cursorCrosshairStyle(): ISimpleLineSymbol | undefined;
|
|
302
277
|
set cursorCrosshairStyle(style: ISimpleLineSymbol | undefined);
|
|
303
278
|
/**
|
|
304
279
|
* Cursor crosshair from the chart config.
|
|
305
|
-
*
|
|
306
|
-
* **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.
|
|
280
|
+
* **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.
|
|
307
281
|
*/
|
|
308
282
|
get cursorCrosshair(): WebChartCursorCrosshair | undefined;
|
|
309
283
|
set cursorCrosshair(cursorCrosshair: WebChartCursorCrosshair | undefined);
|
|
@@ -2,25 +2,19 @@ import { ChartConfig } from '../../../utils';
|
|
|
2
2
|
import { ModelTypes } from '../../interfaces/common';
|
|
3
3
|
/**
|
|
4
4
|
* Specify how negative values are treated in stacked series.
|
|
5
|
+
* * **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
5
6
|
* @param {number} seriesIndex - The index of the series.
|
|
6
7
|
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
7
|
-
*
|
|
8
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
9
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
10
|
-
*
|
|
11
8
|
* @default true
|
|
12
9
|
* @returns {boolean}
|
|
13
10
|
*/
|
|
14
11
|
export declare const isNegativeValuesStackedToBaseline: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
15
12
|
/**
|
|
16
13
|
* Specify how negative values are treated in stacked series.
|
|
17
|
-
*
|
|
18
|
-
* @param {
|
|
19
|
-
* @param {
|
|
20
|
-
*
|
|
21
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
22
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
23
|
-
*
|
|
14
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
15
|
+
* @param {boolean} stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
|
|
16
|
+
* @param {number} seriesIndex - The index of the series.
|
|
17
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
24
18
|
*/
|
|
25
19
|
export declare const setNegativeValuesStackedToBaseline: (props: {
|
|
26
20
|
stackNegativeValuesToBaseline: boolean;
|
|
@@ -22,9 +22,9 @@ export declare const setMarkerSize: (newSize: number | undefined, seriesIndex: n
|
|
|
22
22
|
export declare const isLineSmoothed: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
23
23
|
/**
|
|
24
24
|
* Specify whether line segments of the series should be smoothed.
|
|
25
|
-
* @param {boolean}
|
|
26
|
-
* @param {number}
|
|
27
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
25
|
+
* @param {boolean} smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
|
|
26
|
+
* @param {number} seriesIndex - The index of the series.
|
|
27
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
28
28
|
*/
|
|
29
29
|
export declare const setLineSmoothed: (props: {
|
|
30
30
|
smoothed: boolean;
|
|
@@ -42,9 +42,9 @@ export declare const setLineSmoothed: (props: {
|
|
|
42
42
|
export declare const isAreaVisible: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Specify whether the line series should show area.
|
|
45
|
-
* @param {boolean}
|
|
46
|
-
* @param {number}
|
|
47
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
45
|
+
* @param {boolean} visible - `true` if the line series should show area, `false` otherwise.
|
|
46
|
+
* @param {number} seriesIndex - The index of the series.
|
|
47
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
48
48
|
*/
|
|
49
49
|
export declare const setAreaVisible: (props: {
|
|
50
50
|
visible: boolean;
|
|
@@ -62,9 +62,9 @@ export declare const setAreaVisible: (props: {
|
|
|
62
62
|
export declare const isMarkerVisible: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
63
63
|
/**
|
|
64
64
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
65
|
-
* @param {boolean}
|
|
66
|
-
* @param {number}
|
|
67
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
65
|
+
* @param {boolean} visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
66
|
+
* @param {number} seriesIndex - The index of the series.
|
|
67
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
68
68
|
*/
|
|
69
69
|
export declare const setMarkerVisible: (props: {
|
|
70
70
|
visible: boolean;
|
|
@@ -73,21 +73,18 @@ export declare const setMarkerVisible: (props: {
|
|
|
73
73
|
}) => void;
|
|
74
74
|
/**
|
|
75
75
|
* Specify the color of the filled area for line chart.
|
|
76
|
+
* **Note:** areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
76
77
|
* @param {number} seriesIndex - The index of the series.
|
|
77
78
|
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
78
|
-
*
|
|
79
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
80
|
-
*
|
|
81
79
|
* @returns {Color | undefined}
|
|
82
80
|
*/
|
|
83
81
|
export declare const getAreaColor: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => Color | undefined;
|
|
84
82
|
/**
|
|
85
83
|
* Specify the color of the filled area for line chart.
|
|
86
|
-
*
|
|
87
|
-
* @param {
|
|
88
|
-
* @param {
|
|
89
|
-
*
|
|
90
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
84
|
+
* **Note:** areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
85
|
+
* @param {Color | undefined} color - The color of the filled area for line chart.
|
|
86
|
+
* @param {number} seriesIndex - The index of the series.
|
|
87
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
91
88
|
*/
|
|
92
89
|
export declare const setAreaColor: (props: {
|
|
93
90
|
color: Color | undefined;
|
|
@@ -98,17 +95,15 @@ export declare const setAreaColor: (props: {
|
|
|
98
95
|
* Specify whether to connect the lines when there's a gap in the data.
|
|
99
96
|
* @param {number} seriesIndex - The index of the series.
|
|
100
97
|
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
101
|
-
*
|
|
102
98
|
* @returns {boolean | undefined}
|
|
103
99
|
*/
|
|
104
100
|
export declare const getConnectLines: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean | undefined;
|
|
105
101
|
/**
|
|
106
102
|
* Specify whether to connect the lines when there's a gap in the data.
|
|
107
|
-
*
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
110
|
-
*
|
|
111
|
-
* NOTE: Can be overridden by the temporal data setting `nullPolicy`.
|
|
103
|
+
* **Note:** Can be overridden by the temporal data setting `nullPolicy`.
|
|
104
|
+
* @param {boolean | undefined} connect - Whether to connect the gap in the data
|
|
105
|
+
* @param {number} seriesIndex - The index of the series.
|
|
106
|
+
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
112
107
|
*/
|
|
113
108
|
export declare const setConnectLines: (props: {
|
|
114
109
|
connect: boolean | undefined;
|
|
@@ -51,15 +51,17 @@ export declare class PieChartModel extends ChartModel {
|
|
|
51
51
|
/**
|
|
52
52
|
* Sets the sort order for the pie chart.
|
|
53
53
|
* @param {PieChartDataSortingKinds} sortOrder The sort order.
|
|
54
|
+
* @param {string[]} orderByList The list of category values.
|
|
54
55
|
*/
|
|
55
56
|
setSortOrder(sortOrder: PieChartDataSortingKinds, orderByList?: string[]): void;
|
|
57
|
+
/**
|
|
58
|
+
* List of category's values for custom sort
|
|
59
|
+
*/
|
|
56
60
|
get orderByList(): string[];
|
|
57
61
|
set orderByList(orderByList: string[]);
|
|
58
62
|
/**
|
|
59
63
|
* The pie chart data mode (Category or Fields).
|
|
60
|
-
*
|
|
61
64
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
62
|
-
*
|
|
63
65
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
64
66
|
*/
|
|
65
67
|
get mode(): PieChartDataModes;
|
|
@@ -71,8 +73,7 @@ export declare class PieChartModel extends ChartModel {
|
|
|
71
73
|
getCustomSortValues(): Promise<string[]>;
|
|
72
74
|
/**
|
|
73
75
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
74
|
-
*
|
|
75
|
-
* NOTE: This method should be only used when the sort order is set to `customSort`.
|
|
76
|
+
* **Note:** This method should be only used when the sort order is set to `customSort`.
|
|
76
77
|
* @param {number} fromIndex The index to move the custom sort item from.
|
|
77
78
|
* @param {number} toIndex The index to move the category item to.
|
|
78
79
|
*/
|
|
@@ -125,6 +126,7 @@ export declare class PieChartModel extends ChartModel {
|
|
|
125
126
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
126
127
|
/**
|
|
127
128
|
* Gets the original name of the slice based on the slice index.
|
|
129
|
+
* @param {number} sliceIndex - The index of the slice.
|
|
128
130
|
* @returns {Date | number | string | null | undefined}
|
|
129
131
|
*/
|
|
130
132
|
getOriginalSliceName(sliceIndex: number): Date | number | string | null | undefined;
|
|
@@ -99,8 +99,7 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
99
99
|
updateSeriesFromLayerFilter(): Promise<void>;
|
|
100
100
|
/**
|
|
101
101
|
* Whether temporal binning is enabled for all series in the config.
|
|
102
|
-
*
|
|
103
|
-
* **NOTE** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
102
|
+
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
104
103
|
*/
|
|
105
104
|
get binTemporalData(): boolean;
|
|
106
105
|
set binTemporalData(value: boolean);
|
|
@@ -159,8 +158,7 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
159
158
|
moveSeries(fromIndex: number, toIndex: number): void;
|
|
160
159
|
/**
|
|
161
160
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
162
|
-
*
|
|
163
|
-
* NOTE: This method should be only used when the sort order is set to `SerialChartDataSortingKinds.customSort`.
|
|
161
|
+
* **Note:** This method should be only used when the sort order is set to `SerialChartDataSortingKinds.customSort`.
|
|
164
162
|
* @param {number} fromIndex The index to move the custom sort value from.
|
|
165
163
|
* @param {number} toIndex The index to move the custom sort value to.
|
|
166
164
|
*/
|
|
@@ -144,11 +144,8 @@ export declare const setAxisValueFormat: (props: {
|
|
|
144
144
|
export declare const getAxisLogarithmic: (config: WebChart, axisIndex: number) => boolean;
|
|
145
145
|
/**
|
|
146
146
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
147
|
-
*
|
|
148
147
|
* `true`: Enable logarithmic scale for the specified axis.
|
|
149
|
-
*
|
|
150
148
|
* `false`: Disable logarithmic scale for the specified axis.
|
|
151
|
-
*
|
|
152
149
|
* @param {WebChart} props.config The chart configuration object.
|
|
153
150
|
* @param {boolean} props.isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
154
151
|
* @param {number} props.axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
package/dist/model.js
CHANGED
|
@@ -4,7 +4,7 @@ import { s as r, t as s, u as n } from "./chunks/type-guards.js";
|
|
|
4
4
|
import { a as B, e as P, i as S, g as x, b as W, r as v, h as G, l as K, m as D, p as F, j as H, k as O, q as R, n as A, o as E, d as X, f as Y, c as $ } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.21 */
|
|
8
8
|
async function c(t) {
|
|
9
9
|
const o = "config" in t ? r(t.config) : t.chartType;
|
|
10
10
|
let a;
|
|
@@ -67,6 +67,11 @@ export interface WebChartGenericDataItem {
|
|
|
67
67
|
* Time interval information, only for line charts
|
|
68
68
|
*/
|
|
69
69
|
timeIntervalInfo?: TimeIntervalInfo;
|
|
70
|
+
/**
|
|
71
|
+
* Indicates whether the server limit has been reached when fetching data.
|
|
72
|
+
* Currently applies only to the queries leveraging the /queryBins operation.
|
|
73
|
+
*/
|
|
74
|
+
serverLimitReached?: boolean;
|
|
70
75
|
}
|
|
71
76
|
/**
|
|
72
77
|
* JSON representation of a Histogram bin
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IPoint, IPolygo
|
|
|
6
6
|
/**
|
|
7
7
|
* Version of the current specification.
|
|
8
8
|
*/
|
|
9
|
-
export declare const WebChartCurrentVersion = "24.
|
|
9
|
+
export declare const WebChartCurrentVersion = "24.4.0";
|
|
10
10
|
/**
|
|
11
11
|
* Stores information regarding a numeric conversion
|
|
12
12
|
*/
|
|
@@ -267,7 +267,7 @@ export interface DateTimeFormatOptions {
|
|
|
267
267
|
*/
|
|
268
268
|
type: typeof WebChartTypes.DateAxisFormat;
|
|
269
269
|
/**
|
|
270
|
-
* Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/
|
|
270
|
+
* Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications.
|
|
271
271
|
*/
|
|
272
272
|
intlOptions: Intl.DateTimeFormatOptions;
|
|
273
273
|
/**
|
package/dist/store.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TimeIntervalInfo } from './spec';
|
|
1
2
|
/**
|
|
2
3
|
* Type definition for axes bound data
|
|
3
4
|
* Holds the default and current min and max bound values for an axis
|
|
@@ -28,15 +29,18 @@ type AppState = {
|
|
|
28
29
|
chartAxesBoundDataMap: ChartAxesBoundDataMap;
|
|
29
30
|
/** Stores cached scatterplot data representing specific UI states that are not saved at the model level */
|
|
30
31
|
scatterplotData: ScatterplotDataMap;
|
|
32
|
+
/** Stores cached time binning interval for each chart */
|
|
33
|
+
timeBinningIntervalMap: Record<string, TimeIntervalInfo | undefined>;
|
|
31
34
|
};
|
|
32
35
|
declare const state: {
|
|
33
36
|
selectedChartId: string;
|
|
34
37
|
chartAxesBoundDataMap: ChartAxesBoundDataMap;
|
|
35
38
|
scatterplotData: ScatterplotDataMap;
|
|
39
|
+
timeBinningIntervalMap: {};
|
|
36
40
|
};
|
|
37
41
|
/**
|
|
38
42
|
* Generates the min max axis key for the selected chart based on the axis type and logarithmic scale.
|
|
39
|
-
* The key is used to fetch/store the min max axis related values in the
|
|
43
|
+
* The key is used to fetch/store the min max axis related values in the state for the selected chart
|
|
40
44
|
*
|
|
41
45
|
* @param {string} props.chartId - The selected chart id
|
|
42
46
|
* @param {boolean} props.isXAxis - The axis type (`true` for x-axis, `false` for y-axis)
|
|
@@ -48,9 +52,26 @@ export declare const generateAxisMinMaxKey: (props: {
|
|
|
48
52
|
isLogarithmic: boolean;
|
|
49
53
|
}) => string;
|
|
50
54
|
/**
|
|
51
|
-
* Deletes the min max axis key from the
|
|
55
|
+
* Deletes the min max axis key from the state for the selected chart
|
|
52
56
|
*
|
|
53
|
-
* @param {AppState} appState - The current app state
|
|
57
|
+
* @param {AppState} appState - The current app state
|
|
54
58
|
*/
|
|
55
59
|
export declare const deleteMinMaxAxisKey: (appState: AppState) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Gets the axes bound data for the selected chart
|
|
62
|
+
* @param {AppState} appState - The current app state
|
|
63
|
+
* @returns {TimeIntervalInfo | undefined} - The axes bound data map for the selected chart
|
|
64
|
+
*/
|
|
65
|
+
export declare const getTimeBinningForChart: (appState: AppState) => TimeIntervalInfo | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the time binning interval for a specific chart
|
|
68
|
+
* @param {AppState} appState - The current app state
|
|
69
|
+
* @param {TimeIntervalInfo} timeBinning - The time binning interval to set
|
|
70
|
+
*/
|
|
71
|
+
export declare const setTimeBinningForChart: (appState: AppState, timeBinning: TimeIntervalInfo) => void;
|
|
72
|
+
/**
|
|
73
|
+
* Resets the time binning interval for a specific chart
|
|
74
|
+
* @param {AppState} appState - The current app state
|
|
75
|
+
*/
|
|
76
|
+
export declare const resetTimeBinningForChart: (appState: AppState) => void;
|
|
56
77
|
export default state;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provides a way to mock a private function.
|
|
3
|
-
*
|
|
4
|
-
* @param privateFunctionFolder The folder under src containing the private function
|
|
5
|
-
* @param functionName The function to mock
|
|
6
|
-
* @param mockedImplementation The mocked implementation
|
|
7
|
-
*/
|
|
8
|
-
export declare function mockPrivateFunction(privateFunctionFolder: string, functionName: string, mockedImplementation: any): Promise<void>;
|
|
9
1
|
/**
|
|
10
2
|
* Resets the mocked implementation of a specific private function
|
|
11
3
|
*
|
|
@@ -388,12 +388,12 @@ declare function convertTo21x1x0(configToUpdate: WebChart): WebChart;
|
|
|
388
388
|
*/
|
|
389
389
|
declare function convertTo23x3x0(configToUpdate: WebChart): WebChart;
|
|
390
390
|
/**
|
|
391
|
-
* Conversion for v24.
|
|
391
|
+
* Conversion for v24.4.0:
|
|
392
392
|
* - Converts the temporal binning properties from the old pattern to the new pattern
|
|
393
393
|
* @param configToUpdate The chart's config to update
|
|
394
394
|
* @returns The updated chart config
|
|
395
395
|
*/
|
|
396
|
-
declare function
|
|
396
|
+
declare function convertTo24x4x0(configToUpdate: WebChart): WebChart;
|
|
397
397
|
/**
|
|
398
398
|
* Apply the needed function calls depending on the current chart version.
|
|
399
399
|
* Note: Additional switch cases and convertToxxx functions are to be added to this function accordingly.
|
|
@@ -476,7 +476,7 @@ export declare const chartConfigConverterPrivateFunctions: {
|
|
|
476
476
|
convertTo20x2x0: typeof convertTo20x2x0;
|
|
477
477
|
convertTo21x1x0: typeof convertTo21x1x0;
|
|
478
478
|
convertTo23x3x0: typeof convertTo23x3x0;
|
|
479
|
-
|
|
479
|
+
convertTo24x4x0: typeof convertTo24x4x0;
|
|
480
480
|
convertTemporalBinningProps2: typeof convertTemporalBinningProps2;
|
|
481
481
|
applyConversions: typeof applyConversions;
|
|
482
482
|
convertDataSourceToILayer: typeof convertDataSourceToILayer;
|
|
@@ -124,6 +124,13 @@ export declare function isSeriesUsingTimeBinning(props: {
|
|
|
124
124
|
* @param series The series to test
|
|
125
125
|
*/
|
|
126
126
|
export declare function doesSeriesSupportTemporalBinning(series: WebChartSeriesType): series is WebChartSeriesSupportingTemporalBinning;
|
|
127
|
+
/**
|
|
128
|
+
* Compares two config data filters and returns true if they are identical, false otherwise
|
|
129
|
+
*
|
|
130
|
+
* @param oldConfig
|
|
131
|
+
* @param newConfig
|
|
132
|
+
*/
|
|
133
|
+
export declare function hasConfigFilterChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
127
134
|
export declare const chartConfigUtilsPrivateFunctions: {
|
|
128
135
|
getPieChartChartSubType: typeof getPieChartChartSubType;
|
|
129
136
|
getBarLineChartSubType: typeof getBarLineChartSubType;
|
|
@@ -61,16 +61,6 @@ declare function findWarnings(props: {
|
|
|
61
61
|
* @param chartConfig The chart config
|
|
62
62
|
*/
|
|
63
63
|
declare function findCustomErrors(queryObject?: QueryObject, chartConfig?: WebChart | WebGaugeChart): Promise<CustomErrorObject[]>;
|
|
64
|
-
export declare const chartConfigValidatorPrivateFunctions: {
|
|
65
|
-
findCustomErrors: typeof findCustomErrors;
|
|
66
|
-
findWarnings: typeof findWarnings;
|
|
67
|
-
findNumericAggregationWarnings: typeof findNumericAggregationWarnings;
|
|
68
|
-
findDuplicateSeriesIDWarnings: typeof findDuplicateSeriesIDWarnings;
|
|
69
|
-
findLayerLoadError: typeof findLayerLoadError;
|
|
70
|
-
createStartingSchema: typeof createStartingSchema;
|
|
71
|
-
extractSchemaNameFromRefPath: typeof extractSchemaNameFromRefPath;
|
|
72
|
-
customizeValidationErrors: typeof customizeValidationErrors;
|
|
73
|
-
};
|
|
74
64
|
/**
|
|
75
65
|
* Validates the `WebChart` config by checking for and displays `Errors` and `Warnings`.
|
|
76
66
|
* - `Errors` are violations in the config w.r.t the JSON schema.
|
|
@@ -90,4 +80,14 @@ export declare function validateWebChart(props: {
|
|
|
90
80
|
* @param config The config to analyze
|
|
91
81
|
*/
|
|
92
82
|
export declare function isPartialConfig(config?: WebChart): boolean;
|
|
83
|
+
export declare const chartConfigValidatorPrivateFunctions: {
|
|
84
|
+
findCustomErrors: typeof findCustomErrors;
|
|
85
|
+
findWarnings: typeof findWarnings;
|
|
86
|
+
findNumericAggregationWarnings: typeof findNumericAggregationWarnings;
|
|
87
|
+
findDuplicateSeriesIDWarnings: typeof findDuplicateSeriesIDWarnings;
|
|
88
|
+
findLayerLoadError: typeof findLayerLoadError;
|
|
89
|
+
createStartingSchema: typeof createStartingSchema;
|
|
90
|
+
extractSchemaNameFromRefPath: typeof extractSchemaNameFromRefPath;
|
|
91
|
+
customizeValidationErrors: typeof customizeValidationErrors;
|
|
92
|
+
};
|
|
93
93
|
export {};
|
|
@@ -2,6 +2,7 @@ import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLa
|
|
|
2
2
|
import { ChartOptions } from '../../chart-rendering/common/interfaces';
|
|
3
3
|
import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
|
|
4
4
|
import { SupportedLayer, WebChart, WebChartLegendPositions } from '../../spec';
|
|
5
|
+
import { QueryObject } from '../../utils';
|
|
5
6
|
/**
|
|
6
7
|
* Updates the legend position for a given WebChart config.
|
|
7
8
|
* Returns the updated config.
|
|
@@ -40,7 +41,14 @@ export declare function isValidDataSource(config?: WebChart, layer?: FeatureLaye
|
|
|
40
41
|
* - adding missing series was requested (through the `updateSplitBySeries` property)
|
|
41
42
|
* - unique values for the given split-by field don't have a series associated
|
|
42
43
|
*
|
|
43
|
-
* @param component The chart component
|
|
44
|
-
* @param options The runtime options
|
|
44
|
+
* @param props.component The chart component
|
|
45
|
+
* @param props.options The runtime options
|
|
46
|
+
* @param props.config The chart config
|
|
47
|
+
* @param props.queryObject The query object (layer or feature layer view)
|
|
45
48
|
*/
|
|
46
|
-
export declare function addMissingSplitBySeries(
|
|
49
|
+
export declare function addMissingSplitBySeries(props: {
|
|
50
|
+
component: ArcgisChart;
|
|
51
|
+
config: WebChart | undefined;
|
|
52
|
+
options: ChartOptions;
|
|
53
|
+
queryObject: QueryObject;
|
|
54
|
+
}): Promise<void>;
|