@arcgis/charts-components 5.2.0-next.8 → 5.2.0-next.85
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/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → 26DDVOQ7.js} +1 -1
- package/dist/cdn/2BA2QD2A.js +3 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2MF442VT.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3AYNHY7J.js +2 -0
- package/dist/cdn/{DCZWZOPF.js → 3FFCWEMV.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/3KDTVBIG.js +2 -0
- package/dist/cdn/3SSQPYQA.js +2 -0
- package/dist/cdn/{JRHMUFED.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4KF7SUJE.js +2 -0
- package/dist/cdn/{MVHQR4FJ.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/52NR6B2J.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5DHMYPPF.js +2 -0
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → 6AXYQGBN.js} +1 -1
- package/dist/cdn/6LV3ASGE.js +2 -0
- package/dist/cdn/6SQNRMJG.js +2 -0
- package/dist/cdn/{ETKPMU7Z.js → 6U6VAS2O.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/72KEQM4K.js +2 -0
- package/dist/cdn/72VGCAR5.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7CZMR2WF.js +2 -0
- package/dist/cdn/7JA63ENU.js +45 -0
- package/dist/cdn/7P3FHJUU.js +2 -0
- package/dist/cdn/7SIKOCYK.js +4 -0
- package/dist/cdn/7ZAT46VE.js +2 -0
- package/dist/cdn/{A5AECJXP.js → A2KSCV2I.js} +1 -1
- package/dist/cdn/ACMHG3RB.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → AF2GUPVE.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AS3QP77N.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → B5Z7FBO7.js} +1 -1
- package/dist/cdn/{2HUAW34Q.js → B7J5YIWF.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BV7UUWYI.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → BWR5ONE2.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{AWF4R7WL.js → C2ZX67U4.js} +1 -1
- package/dist/cdn/C5UI5MYS.js +2 -0
- package/dist/cdn/C7F4AVQU.js +104 -0
- package/dist/cdn/{EXXLJVGS.js → CFOB77PI.js} +1 -1
- package/dist/cdn/CSOYZJU5.js +2 -0
- package/dist/cdn/CVWT6DGY.js +2 -0
- package/dist/cdn/CXWBQG5O.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{L4G6FO7A.js → DDNOUE2T.js} +1 -1
- package/dist/cdn/DE3CJJG3.js +2 -0
- package/dist/cdn/DKC4NIUA.js +2 -0
- package/dist/cdn/DW5NK2B3.js +2 -0
- package/dist/cdn/DZWIVB6V.js +2 -0
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{HVO4LIXR.js → EQTI5Z4G.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EYYTKCXM.js +2 -0
- package/dist/cdn/EZLKMWI5.js +2 -0
- package/dist/cdn/F3LVXDV4.js +2 -0
- package/dist/cdn/FBU4ODQE.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → FFJTVPE4.js} +1 -1
- package/dist/cdn/FQKGQHVK.js +2 -0
- package/dist/cdn/{JCH3RDLR.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → G45UKTNI.js} +1 -1
- package/dist/cdn/GDGYKODO.js +2 -0
- package/dist/cdn/GX64OP3A.js +2 -0
- package/dist/cdn/GZEVPH4Y.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → H2DUFQAG.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → HABS63VB.js} +1 -1
- package/dist/cdn/HDIBDW52.js +2 -0
- package/dist/cdn/HOASAQAB.js +2 -0
- package/dist/cdn/HQ2JPCTQ.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3BMYY7N.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IN2IL6T2.js +2 -0
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → J3BB5KXD.js} +1 -1
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → JUFBIV44.js} +1 -1
- package/dist/cdn/JUU3BZT7.js +2 -0
- package/dist/cdn/KAQ5XSCQ.js +2 -0
- package/dist/cdn/KG574LAE.js +2 -0
- package/dist/cdn/KHJC5P5T.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → KTYFDFMQ.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → KWN3N6VE.js} +1 -1
- package/dist/cdn/KYOBS7XL.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L4BZX57U.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/LM6VCILT.js +2 -0
- package/dist/cdn/LMTSW3JM.js +2 -0
- package/dist/cdn/LPS3VU35.js +2 -0
- package/dist/cdn/{6XTKJ7DO.js → LXZXXY7V.js} +1 -1
- package/dist/cdn/M6OCFMDB.js +2 -0
- package/dist/cdn/MITW5XKW.js +2 -0
- package/dist/cdn/MJHVSD5B.js +2 -0
- package/dist/cdn/MNYNXHXE.js +2 -0
- package/dist/cdn/NH2A5QEU.js +2 -0
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{YOT6DVSU.js → NNHJ75EA.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → NWQ2L7IJ.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OMORDJT2.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → OMU647X3.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → OXPXA3PS.js} +1 -1
- package/dist/cdn/OYXDCECZ.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJDRJUEJ.js → P7FI5QUW.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → PCFEAGXP.js} +1 -1
- package/dist/cdn/PF6QOHZR.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → PMTNALXO.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PZP57FJ2.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q466K37N.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QIG7WTJF.js +2 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QXQC4CH5.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{7FZC3RZK.js → R5LIRRMK.js} +1 -1
- package/dist/cdn/R5VDQBUH.js +2 -0
- package/dist/cdn/RCAPTQFV.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → RHUEVXMR.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → RMIIDRGC.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{KFONSKQF.js → S4NQCINT.js} +1 -1
- package/dist/cdn/SC26LLWP.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → SVLOD3HQ.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TBW6K2TY.js +2 -0
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → TJ2NRLF6.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → TOCBEPNS.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/TSU6UVTL.js +2 -0
- package/dist/cdn/U3542JBJ.js +2 -0
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UYDDYD3O.js +2 -0
- package/dist/cdn/V3ITNIER.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VSPKBQS6.js +2 -0
- package/dist/cdn/WC22SRVJ.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/XBRRJQVR.js +2 -0
- package/dist/cdn/XFCDAI5T.js +2 -0
- package/dist/cdn/XHZAAQMF.js +2 -0
- package/dist/cdn/{SBYD2EKR.js → XR4O3AQ6.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/YAWW63A5.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → Z5EJIWAY.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → ZARYZFJ4.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/ZGIM53IQ.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{ZFZ5AEUQ.js → ZVOX72AF.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- 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 +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +52 -22
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +42 -38
- package/dist/chunks/box-plot-data.js +270 -279
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +182 -150
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +24 -24
- package/dist/chunks/combo-bar-line-chart-model.js +48 -40
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +9 -9
- package/dist/chunks/index.js +9363 -1079
- package/dist/chunks/index2.js +852 -8752
- package/dist/chunks/index3.js +1169 -847
- package/dist/chunks/index4.js +315 -86
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +18 -18
- package/dist/chunks/model-setter.js +57 -34
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +18 -9
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +40 -36
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-data.js +868 -748
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +16 -12
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +101 -91
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +591 -540
- package/dist/chunks/x-bounds.js +98 -97
- package/dist/components/arcgis-chart/customElement.d.ts +628 -254
- package/dist/components/arcgis-chart/customElement.js +10420 -10099
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- 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 +26 -28
- 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 +14 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- 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 +58 -59
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- 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 +42 -44
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
- 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 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- 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 +61 -61
- package/dist/index.js +476 -463
- package/dist/interfaces.d.ts +9 -11
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- 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/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +19 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +16 -7
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- 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/data-tooltip-font-size.d.ts +20 -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/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- 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 +210 -191
- package/dist/utils/chart-config/utils/index.d.ts +58 -8
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
- 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 +1 -1
- 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 +31 -6
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +6 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- 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/localization/interfaces.d.ts +8 -0
- package/dist/utils/misc/index.d.ts +2 -3
- 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/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/4ACX3XOE.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6C6AH4LL.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADGMA3ST.js +0 -3
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/AWKELFV6.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CBNT3DO7.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DF5P34HK.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FDFYTCDO.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/IXRBZPQL.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JPPGHHIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/JWPAMNU4.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KCMZSNBL.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KVUFR34S.js +0 -2
- package/dist/cdn/LTQRSPSC.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/NNEDF6G4.js +0 -2
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/OJIUI56Z.js +0 -2
- package/dist/cdn/OSNA56IW.js +0 -4
- package/dist/cdn/P3YHDWG2.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PBWZYX5M.js +0 -58
- package/dist/cdn/PPGRM3VJ.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PRMN6W5R.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S5UDCCRH.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SRPOC65M.js +0 -2
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/U2CYVAIC.js +0 -102
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VQU6N5HX.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZS6EP5BD.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/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
2
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
3
|
+
import type { WithRoundedCorners } from "../properties/rounded-corners.js";
|
|
3
4
|
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
4
5
|
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
5
6
|
import type { WebChartTypes } from "../../spec/chart-object-literals.js";
|
|
@@ -16,7 +17,7 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
16
17
|
*/
|
|
17
18
|
getAreaColor(seriesIndex: number): Color | undefined;
|
|
18
19
|
/**
|
|
19
|
-
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
20
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
20
21
|
*
|
|
21
22
|
* If the index is out of bounds, it will return `undefined`.
|
|
22
23
|
*
|
|
@@ -84,10 +85,12 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
84
85
|
*/
|
|
85
86
|
isMarkerVisible(seriesIndex: number): boolean;
|
|
86
87
|
/**
|
|
87
|
-
* Specify the color of the filled area
|
|
88
|
-
*
|
|
88
|
+
* Specify the color of the filled area.
|
|
89
|
+
*
|
|
90
|
+
* **Note:** This method will only work if the series is a line series.
|
|
91
|
+
* **Note:** `color` will be applied only if [`setAreaVisible`](#setareavisible) is true, and is defaulted to the line color if not provided.
|
|
89
92
|
*
|
|
90
|
-
* @param color - The color of the filled area
|
|
93
|
+
* @param color - The color of the filled area.
|
|
91
94
|
* @param seriesIndex - The index of the series.
|
|
92
95
|
*/
|
|
93
96
|
setAreaColor(color: Color | undefined, seriesIndex: number): void;
|
|
@@ -96,9 +99,9 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
96
99
|
* **Note:** This method will only work if the series is a line chart series.
|
|
97
100
|
*
|
|
98
101
|
* @param visible - `true` if the line series should show area, `false` otherwise.
|
|
99
|
-
* @param seriesIndex - The index of the series.
|
|
102
|
+
* @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
|
|
100
103
|
*/
|
|
101
|
-
setAreaVisible(visible: boolean, seriesIndex
|
|
104
|
+
setAreaVisible(visible: boolean, seriesIndex?: number): void;
|
|
102
105
|
/**
|
|
103
106
|
* Specify whether line segments of the series should be smoothed.
|
|
104
107
|
* **Note:** This method will only work if the series is a line chart series.
|
|
@@ -112,6 +115,15 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
112
115
|
* **Note:** This method will only work if the series is a line chart series.
|
|
113
116
|
*
|
|
114
117
|
* @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
118
|
+
* @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
|
|
119
|
+
*/
|
|
120
|
+
setMarkersVisible(visible: boolean, seriesIndex?: number): void;
|
|
121
|
+
/**
|
|
122
|
+
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
123
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
124
|
+
*
|
|
125
|
+
* @deprecated since 5.2. Use [setMarkersVisible](https://developers.arcgis.com/javascript/latest/references/charts-components/model/combo-bar-line-chart-model/combo-bar-line-chart-model/#setMarkersVisible) instead. This method will be removed from `ComboBarLineChartModel` in 6.0.
|
|
126
|
+
* @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
115
127
|
* @param seriesIndex - The index of the series.
|
|
116
128
|
*/
|
|
117
129
|
setMarkerVisible(visible: boolean, seriesIndex: number): void;
|
|
@@ -186,4 +198,4 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
186
198
|
*/
|
|
187
199
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.ComboBarLineChart>>): Promise<void>;
|
|
188
200
|
}
|
|
189
|
-
declare const ComboBarLineChartModelSuperclass: typeof SerialChartModel & typeof WithNegativeValuesStackedToBaseline
|
|
201
|
+
declare const ComboBarLineChartModelSuperclass: typeof SerialChartModel & typeof WithRoundedCorners & typeof WithNegativeValuesStackedToBaseline
|
|
@@ -164,8 +164,21 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
164
164
|
generateChartTitle(): string;
|
|
165
165
|
/** Generate the proper y-axis title given the current config. */
|
|
166
166
|
generateYAxisTitle(): string;
|
|
167
|
+
/**
|
|
168
|
+
* The heat chart's second axis (not supported)
|
|
169
|
+
*
|
|
170
|
+
* @deprecated since 5.2. Use [getSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/heat-chart-model/heat-chart-model/#getSeriesToSecondaryYAxis) instead.
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
getAssignToSecondValueAxis(): boolean;
|
|
167
174
|
/** Gets the grid lines symbol. Contains styling information such as line width, line style, and line color. */
|
|
168
175
|
getGridLinesSymbol(): ISimpleLineSymbol | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* The heat chart's secondary y-axis (not supported)
|
|
178
|
+
*
|
|
179
|
+
* @internal
|
|
180
|
+
*/
|
|
181
|
+
getSeriesToSecondaryYAxis(): boolean;
|
|
169
182
|
/** Gets the sort order for the bar chart. */
|
|
170
183
|
getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
|
|
171
184
|
/**
|
|
@@ -183,6 +196,7 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
183
196
|
/**
|
|
184
197
|
* The heat chart's second axis (not supported)
|
|
185
198
|
*
|
|
199
|
+
* @deprecated since 5.2. Use [setSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/heat-chart-model/heat-chart-model/#setSeriesToSecondaryYAxis) instead.
|
|
186
200
|
* @param _assign
|
|
187
201
|
* @param _seriesIndex
|
|
188
202
|
* @internal
|
|
@@ -194,15 +208,34 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
194
208
|
* @param linesSymbol - The grid lines symbol.
|
|
195
209
|
* @example
|
|
196
210
|
* ```ts
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
211
|
+
* // Set the grid lines symbol for all axes since `axisIndices` is omitted
|
|
212
|
+
* chartModel.setGridLinesSymbol(
|
|
213
|
+
* {
|
|
214
|
+
* type: "esriSLS",
|
|
215
|
+
* style: "esriSLSDashDot",
|
|
216
|
+
* color: [0, 0, 128, 255],
|
|
217
|
+
* width: 3,
|
|
218
|
+
* }
|
|
219
|
+
* );
|
|
203
220
|
* ```
|
|
221
|
+
*
|
|
222
|
+
* 
|
|
223
|
+
* @see [Styling with charts model](https://developers.arcgis.com/javascript/latest/charts/features-and-capabilities/styling-and-theming/#styling-with-charts-model)
|
|
204
224
|
*/
|
|
205
225
|
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined): void;
|
|
226
|
+
/**
|
|
227
|
+
* The heat chart's secondary y-axis (not supported)
|
|
228
|
+
*
|
|
229
|
+
* @param _assign
|
|
230
|
+
* @param _seriesIndex
|
|
231
|
+
* @internal
|
|
232
|
+
* @example
|
|
233
|
+
* ```ts
|
|
234
|
+
* chartModel.setSeriesToSecondaryYAxis(true, 0); // Assigns the first series to the secondary y-axis
|
|
235
|
+
* chartModel.setSeriesToSecondaryYAxis(false, 1); // Removes the second series from the secondary y-axis
|
|
236
|
+
* ```
|
|
237
|
+
*/
|
|
238
|
+
setSeriesToSecondaryYAxis(_assign: boolean, _seriesIndex: number): void;
|
|
206
239
|
/**
|
|
207
240
|
* setSortOrder is not used by heat chart; instead use setXAxisSortOrder for the x axis and setYAxisSortOrder for the y axis.
|
|
208
241
|
*
|
|
@@ -212,9 +245,9 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
212
245
|
*/
|
|
213
246
|
setSortOrder(_newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, _orderByList?: string[]): void;
|
|
214
247
|
/**
|
|
215
|
-
*
|
|
248
|
+
* Sets up the heat chart model from the provided model params.
|
|
216
249
|
*
|
|
217
|
-
* @param params
|
|
250
|
+
* @param params - ModelTypes.HeatChart>>} params - The model setup params.
|
|
218
251
|
*/
|
|
219
252
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.HeatChart>>): Promise<void>;
|
|
220
253
|
/**
|
|
@@ -163,11 +163,9 @@ export const ModelTypes: {
|
|
|
163
163
|
|
|
164
164
|
export type ModelTypes = (typeof ModelTypes)[keyof typeof ModelTypes];
|
|
165
165
|
|
|
166
|
-
/** @internal */
|
|
167
166
|
export type ModelTypeToSeriesType<T extends ModelTypes> = T extends typeof ModelTypes.BarChart ? WebChartBarChartSeries : T extends typeof ModelTypes.LineChart ? WebChartLineChartSeries : T extends typeof ModelTypes.ComboBarLineChart ? WebChartBarChartSeries | WebChartLineChartSeries : T extends typeof ModelTypes.BoxPlot ? WebChartBoxPlotSeries | WebChartLineChartSeries : T extends typeof ModelTypes.PieChart ? WebChartPieChartSeries : T extends typeof ModelTypes.Scatterplot ? WebChartScatterplotSeries : T extends typeof ModelTypes.Histogram ? WebChartHistogramSeries : T extends typeof ModelTypes.Gauge ? WebChartGaugeSeries : T extends typeof ModelTypes.RadarChart ? WebChartRadarChartSeries : T extends typeof ModelTypes.HeatChart ? WebChartHeatChartSeries : SupportedChartSeries;
|
|
168
167
|
|
|
169
168
|
/** @internal */
|
|
170
169
|
export type SeriesTypeToChartType<T extends SupportedChartSeries> = T extends WebChartBarChartSeries ? typeof WebChartTypes.BarSeries : T extends WebChartLineChartSeries ? typeof WebChartTypes.LineSeries : T extends WebChartBoxPlotSeries ? typeof WebChartTypes.BoxPlotSeries : T extends WebChartPieChartSeries ? typeof WebChartTypes.PieSeries : T extends WebChartScatterplotSeries ? typeof WebChartTypes.ScatterSeries : T extends WebChartHistogramSeries ? typeof WebChartTypes.HistogramSeries : T extends WebChartGaugeSeries ? typeof WebChartTypes.GaugeSeries : T extends WebChartRadarChartSeries ? typeof WebChartTypes.RadarSeries : T extends WebChartHeatChartSeries ? typeof WebChartTypes.HeatSeries : never;
|
|
171
170
|
|
|
172
|
-
/** @internal */
|
|
173
171
|
export type ModelOfType<T> = T extends typeof ModelTypes.BarChart ? BarChartModel : T extends typeof ModelTypes.BoxPlot ? BoxPlotModel : T extends typeof ModelTypes.LineChart ? LineChartModel : T extends typeof ModelTypes.ComboBarLineChart ? ComboBarLineChartModel : T extends typeof ModelTypes.PieChart ? PieChartModel : T extends typeof ModelTypes.Scatterplot ? ScatterplotModel : T extends typeof ModelTypes.Histogram ? HistogramModel : T extends typeof ModelTypes.Gauge ? GaugeModel : T extends typeof ModelTypes.RadarChart ? RadarChartModel : T extends typeof ModelTypes.HeatChart ? HeatChartModel : never;
|
|
@@ -125,7 +125,7 @@ export abstract class ModelWithGuides extends ChartModel {
|
|
|
125
125
|
* Sets whether a guide is visible.
|
|
126
126
|
*
|
|
127
127
|
* @param visible - New visibility to set.
|
|
128
|
-
* @param index -
|
|
128
|
+
* @param index - The index of the guide in the list of guides for the given axis orientation. If omitted, all guides for the orientation will be updated.
|
|
129
129
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
130
130
|
*/
|
|
131
131
|
setGuideVisibility(visible: boolean, index?: number, orientation?: GuideOrientation): void;
|
|
@@ -4,14 +4,13 @@ import type { Color } from "../../spec/rest-js-types.js";
|
|
|
4
4
|
|
|
5
5
|
export abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
7
|
+
* Get the color of the filled area.
|
|
9
8
|
*
|
|
10
9
|
* @param seriesIndex - The index of the series.
|
|
11
10
|
*/
|
|
12
11
|
getAreaColor(seriesIndex: number): Color | undefined;
|
|
13
12
|
/**
|
|
14
|
-
*
|
|
13
|
+
* Get whether to connect the lines when there's a gap in the data.
|
|
15
14
|
*
|
|
16
15
|
* @param seriesIndex - The index of the series.
|
|
17
16
|
*/
|
|
@@ -66,9 +65,11 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
66
65
|
*/
|
|
67
66
|
isMarkerVisible(seriesIndex: number): boolean;
|
|
68
67
|
/**
|
|
69
|
-
* Specify the color of the filled area
|
|
68
|
+
* Specify the color of the filled area.
|
|
70
69
|
*
|
|
71
|
-
*
|
|
70
|
+
* **Note:** `color` will be applied only if [`setAreaVisible`](#setareavisible) is true, and is defaulted to the line color if not provided.
|
|
71
|
+
*
|
|
72
|
+
* @param color - The color of the filled area.
|
|
72
73
|
* @param seriesIndex - The index of the series.
|
|
73
74
|
*/
|
|
74
75
|
setAreaColor(color: Color | undefined, seriesIndex: number): void;
|
|
@@ -76,9 +77,9 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
76
77
|
* Specify whether the line series should show area.
|
|
77
78
|
*
|
|
78
79
|
* @param visible - `true` if the line series should show area, `false` otherwise.
|
|
79
|
-
* @param seriesIndex - The index of the series.
|
|
80
|
+
* @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
|
|
80
81
|
*/
|
|
81
|
-
setAreaVisible(visible: boolean, seriesIndex
|
|
82
|
+
setAreaVisible(visible: boolean, seriesIndex?: number): void;
|
|
82
83
|
/**
|
|
83
84
|
* Specify whether to connect the lines when there's a gap in the data.
|
|
84
85
|
* **Note:** Can be overridden by the temporal data setting `nullPolicy`.
|
|
@@ -98,6 +99,14 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
98
99
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
99
100
|
*
|
|
100
101
|
* @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
102
|
+
* @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
|
|
103
|
+
*/
|
|
104
|
+
setMarkersVisible(visible: boolean, seriesIndex?: number): void;
|
|
105
|
+
/**
|
|
106
|
+
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
107
|
+
*
|
|
108
|
+
* @deprecated since 5.2. Use [setMarkersVisible](https://developers.arcgis.com/javascript/latest/references/charts-components/model/mixins/model-with-line-marker-styling/#setMarkersVisible) instead. This method will be removed from `ModelWithLineMarkerStyling` in 6.0.
|
|
109
|
+
* @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
101
110
|
* @param seriesIndex - The index of the series.
|
|
102
111
|
*/
|
|
103
112
|
setMarkerVisible(visible: boolean, seriesIndex: number): void;
|
|
@@ -4,30 +4,18 @@ import type { WebChartLabelBehavior } from "../../spec/chart-object-literals.js"
|
|
|
4
4
|
import type { ISimpleLineSymbol } from "../../spec/rest-js-types.js";
|
|
5
5
|
|
|
6
6
|
export abstract class ModelWithMultiAxes extends ChartModel {
|
|
7
|
-
/**
|
|
8
|
-
* Cursor crosshair from the chart config.
|
|
9
|
-
*
|
|
10
|
-
* **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.
|
|
11
|
-
*/
|
|
7
|
+
/** Gets the cursor crosshair. */
|
|
12
8
|
accessor cursorCrosshair: WebChartCursorCrosshair | undefined;
|
|
13
9
|
/**
|
|
14
|
-
*
|
|
10
|
+
* Gets the visibility of the horizontal line of the cursor's crosshair.
|
|
15
11
|
* - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
16
|
-
*
|
|
17
|
-
* **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.
|
|
18
12
|
*/
|
|
19
13
|
accessor cursorCrosshairHorizontalLineVisibility: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Style of the cursor's crosshair from the chart config.
|
|
22
|
-
*
|
|
23
|
-
* **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.
|
|
24
|
-
*/
|
|
14
|
+
/** Gets the style of the cursor's crosshair. */
|
|
25
15
|
accessor cursorCrosshairStyle: ISimpleLineSymbol | undefined;
|
|
26
16
|
/**
|
|
27
|
-
*
|
|
17
|
+
* Gets the visibility of the vertical line of the cursor's crosshair.
|
|
28
18
|
* - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
29
|
-
*
|
|
30
|
-
* **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.
|
|
31
19
|
*/
|
|
32
20
|
accessor cursorCrosshairVerticalLineVisibility: boolean;
|
|
33
21
|
/** Generate the proper y-axis title from the current config. */
|
|
@@ -35,14 +23,13 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
35
23
|
/**
|
|
36
24
|
* Gets the visibility of the specified axis labels.
|
|
37
25
|
*
|
|
38
|
-
* @param axisIndex -
|
|
39
|
-
* @returns {boolean}
|
|
26
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
40
27
|
*/
|
|
41
28
|
getAxisLabelsVisibility(axisIndex: number): boolean;
|
|
42
29
|
/**
|
|
43
30
|
* Gets the scrollbar configuration for the specified axis.
|
|
44
31
|
*
|
|
45
|
-
* @param axisIndex -
|
|
32
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
46
33
|
*/
|
|
47
34
|
getAxisScrollbar(axisIndex: number): WebChartAxisScrollBar | undefined;
|
|
48
35
|
/**
|
|
@@ -54,54 +41,50 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
54
41
|
/**
|
|
55
42
|
* Gets the title text of the specified axis.
|
|
56
43
|
*
|
|
57
|
-
* @param axisIndex -
|
|
44
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
58
45
|
*/
|
|
59
46
|
getAxisTitleText(axisIndex: number): string;
|
|
60
47
|
/**
|
|
61
48
|
* Gets the visibility of the specified axis title.
|
|
62
49
|
*
|
|
63
|
-
* @param axisIndex -
|
|
50
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
64
51
|
*/
|
|
65
52
|
getAxisTitleVisibility(axisIndex: number): boolean;
|
|
66
53
|
/**
|
|
67
54
|
* Gets the value format for the specified axis.
|
|
68
55
|
*
|
|
69
|
-
* @param axisIndex -
|
|
56
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
70
57
|
*/
|
|
71
58
|
getAxisValueFormat(axisIndex: number): CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined;
|
|
72
59
|
/**
|
|
73
60
|
* Gets the visibility of the specified axis.
|
|
74
61
|
*
|
|
75
|
-
* @param axisIndex -
|
|
76
|
-
* @returns {boolean}
|
|
62
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
77
63
|
*/
|
|
78
64
|
getAxisVisibility(axisIndex: number): boolean;
|
|
79
65
|
/**
|
|
80
66
|
* Gets the buffer setting for the specified axis.
|
|
81
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
82
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
67
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
83
68
|
* - If the `buffer` is not set on the axis, the default value of `false` will be returned.
|
|
84
69
|
*
|
|
85
|
-
* @param axisIndex -
|
|
70
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
86
71
|
*/
|
|
87
72
|
getBuffer(axisIndex: number): boolean;
|
|
88
73
|
/** Get the default x-axis title text. */
|
|
89
74
|
getDefaultXAxisTitleText(): string;
|
|
90
75
|
/**
|
|
91
76
|
* Gets the display cursor tooltip setting for the specified axis.
|
|
92
|
-
* -
|
|
93
|
-
* - If the displayCursorTooltip is not set on the axis, the default value of `false` will be returned.
|
|
77
|
+
* - If `displayCursorTooltip` is not set on the axis, the default value of `false` will be returned.
|
|
94
78
|
*
|
|
95
|
-
* @param axisIndex -
|
|
79
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
96
80
|
*/
|
|
97
81
|
getDisplayCursorTooltip(axisIndex: number): boolean;
|
|
98
82
|
/**
|
|
99
83
|
* Gets the display zero line setting for the specified axis.
|
|
100
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
101
|
-
* -
|
|
102
|
-
* - If the displayZeroLine is not set on the axis, the default value of `false` will be returned.
|
|
84
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
85
|
+
* - If the `displayZeroLine` is not set on the axis, the default value of `false` will be returned.
|
|
103
86
|
*
|
|
104
|
-
* @param axisIndex -
|
|
87
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
105
88
|
*/
|
|
106
89
|
getDisplayZeroLine(axisIndex: number): boolean;
|
|
107
90
|
/** Gets the grid lines symbol. Contains styling information such as line width, line style, and line color. */
|
|
@@ -110,196 +93,176 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
110
93
|
getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
111
94
|
/**
|
|
112
95
|
* Gets the integer only values setting for the specified axis.
|
|
113
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
114
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
96
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
115
97
|
* - If the `integerOnlyValues` is not set on the axis, the default value of `false` will be returned.
|
|
116
98
|
*
|
|
117
|
-
* @param axisIndex -
|
|
99
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
118
100
|
*/
|
|
119
101
|
getIntegerOnlyValues(axisIndex: number): boolean;
|
|
120
102
|
/**
|
|
121
103
|
* Gets whether logarithmic scale is enabled for the specified axis.
|
|
122
|
-
* - `true`: Logarithmic scale is enabled for the specified axis.
|
|
123
|
-
* - `false`: Logarithmic scale is disabled for the specified axis.
|
|
124
104
|
*
|
|
125
|
-
* @param axisIndex -
|
|
105
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
126
106
|
*/
|
|
127
107
|
getLogarithmic(axisIndex: number): boolean;
|
|
128
108
|
/**
|
|
129
109
|
* Gets the maximum bound for the specified axis.
|
|
130
110
|
*
|
|
131
|
-
* @param axisIndex -
|
|
111
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
132
112
|
*/
|
|
133
113
|
getMaxBound(axisIndex: number): number;
|
|
134
114
|
/**
|
|
135
115
|
* Gets the minimum bound for the specified axis.
|
|
136
116
|
*
|
|
137
|
-
* @param axisIndex -
|
|
117
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
138
118
|
*/
|
|
139
119
|
getMinBound(axisIndex: number): number;
|
|
140
120
|
/**
|
|
141
121
|
* Gets the tick spacing setting for the specified axis.
|
|
142
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
143
122
|
*
|
|
144
|
-
* @param axisIndex -
|
|
123
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
145
124
|
*/
|
|
146
125
|
getTickSpacing(axisIndex: number): number | undefined;
|
|
147
126
|
/** Gets the vertical axis labels behavior for the chart. */
|
|
148
127
|
getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
149
128
|
/**
|
|
150
129
|
* Sets the visibility of the specified axis labels.
|
|
151
|
-
* **Note:** The labels 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.
|
|
152
130
|
*
|
|
153
|
-
* @param isVisible -
|
|
154
|
-
* @param axisIndex -
|
|
131
|
+
* @param isVisible - The visibility state for the axis labels.
|
|
132
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
155
133
|
*/
|
|
156
134
|
setAxisLabelsVisibility(isVisible: boolean, axisIndex: number): void;
|
|
157
135
|
/**
|
|
158
136
|
* Sets the scrollbar configuration for the specified axis.
|
|
159
|
-
* **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.
|
|
160
137
|
*
|
|
161
138
|
* @param scrollbar - The scrollbar configuration to set.
|
|
162
|
-
* @param axisIndex -
|
|
139
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
163
140
|
*/
|
|
164
141
|
setAxisScrollbar(scrollbar: WebChartAxisScrollBar, axisIndex: number): void;
|
|
165
142
|
/**
|
|
166
143
|
* Sets the title text symbol for the specified axis. Contains styling information such as font, color, and symbol style.
|
|
167
|
-
* **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.
|
|
168
144
|
*
|
|
169
145
|
* @param titleSymbol - The title text symbol to set.
|
|
170
|
-
* @param axisIndex -
|
|
146
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
171
147
|
*/
|
|
172
148
|
setAxisTitleSymbol(titleSymbol: WebChartTextSymbol | undefined, axisIndex: number): void;
|
|
173
149
|
/**
|
|
174
150
|
* Sets the title text for the specified axis.
|
|
175
|
-
* **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.
|
|
176
151
|
*
|
|
177
152
|
* @param titleText - The title text for the axis.
|
|
178
|
-
* @param axisIndex -
|
|
153
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
179
154
|
*/
|
|
180
155
|
setAxisTitleText(titleText: string, axisIndex: number): void;
|
|
181
156
|
/**
|
|
182
157
|
* Sets the visibility of the specified axis title.
|
|
183
|
-
* **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.
|
|
184
158
|
*
|
|
185
159
|
* @param isVisible - The visibility state for the axis title.
|
|
186
|
-
* @param axisIndex -
|
|
160
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
187
161
|
*/
|
|
188
162
|
setAxisTitleVisibility(isVisible: boolean, axisIndex: number): void;
|
|
189
163
|
/**
|
|
190
164
|
* Sets the value format for the specified axis.
|
|
191
|
-
* **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.
|
|
192
165
|
*
|
|
193
|
-
* @param axisIndex -
|
|
166
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
194
167
|
* @param valueFormat - The value format to set.
|
|
195
168
|
*/
|
|
196
169
|
setAxisValueFormat(axisIndex: number, valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions): void;
|
|
197
170
|
/**
|
|
198
171
|
* Sets the visibility of the specified axis.
|
|
199
|
-
* **Note:** The 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.
|
|
200
172
|
*
|
|
201
|
-
* @param isVisible -
|
|
202
|
-
* @param axisIndex -
|
|
173
|
+
* @param isVisible - The visibility state for the axis.
|
|
174
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
203
175
|
*/
|
|
204
176
|
setAxisVisibility(isVisible: boolean, axisIndex: number): void;
|
|
205
177
|
/**
|
|
206
178
|
* Sets the buffer for the specified axis.
|
|
207
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
208
|
-
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
209
|
-
*
|
|
210
|
-
* **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.
|
|
179
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
211
180
|
*
|
|
212
|
-
* @param buffer - The setting for the buffer
|
|
213
|
-
* @param axisIndex -
|
|
181
|
+
* @param buffer - The setting for the buffer.
|
|
182
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
214
183
|
*/
|
|
215
184
|
setBuffer(buffer: boolean, axisIndex: number): void;
|
|
216
185
|
/**
|
|
217
186
|
* Sets the display cursor tooltip setting for the specified axis.
|
|
218
|
-
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
219
|
-
*
|
|
220
|
-
* **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.
|
|
221
187
|
*
|
|
222
188
|
* @param displayCursorTooltip - The display cursor tooltip setting for the axis.
|
|
223
|
-
* @param axisIndex -
|
|
189
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
224
190
|
*/
|
|
225
191
|
setDisplayCursorTooltip(displayCursorTooltip: boolean, axisIndex: number): void;
|
|
226
192
|
/**
|
|
227
193
|
* Sets the display zero line setting for the specified axis.
|
|
228
|
-
*
|
|
229
|
-
* - This setting is only applicable to the axis of type ValueAxis.
|
|
230
|
-
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
231
|
-
*
|
|
232
|
-
* **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.
|
|
194
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
233
195
|
*
|
|
234
196
|
* @param displayZeroLine - The display zero line setting for the axis.
|
|
235
|
-
* @param axisIndex -
|
|
197
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
236
198
|
*/
|
|
237
199
|
setDisplayZeroLine(displayZeroLine: boolean, axisIndex: number): void;
|
|
238
200
|
/**
|
|
239
201
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
240
|
-
* **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.
|
|
241
202
|
*
|
|
242
203
|
* @param linesSymbol - The grid lines symbol.
|
|
243
|
-
* @param axisIndices - The indices of the axes to set the grid lines symbol for.
|
|
204
|
+
* @param axisIndices - The indices of the axes to set the grid lines symbol for. If omitted, the symbol is applied to all axes.
|
|
205
|
+
* @example
|
|
206
|
+
* ```ts
|
|
207
|
+
* // Set the grid lines symbol for all axes since `axisIndices` is omitted
|
|
208
|
+
* chartModel.setGridLinesSymbol(
|
|
209
|
+
* {
|
|
210
|
+
* type: "esriSLS",
|
|
211
|
+
* style: "esriSLSDashDot",
|
|
212
|
+
* color: [0, 0, 128, 255],
|
|
213
|
+
* width: 3,
|
|
214
|
+
* }
|
|
215
|
+
* );
|
|
216
|
+
* ```
|
|
217
|
+
*
|
|
218
|
+
* 
|
|
219
|
+
* @see [Styling with charts model](https://developers.arcgis.com/javascript/latest/charts/features-and-capabilities/styling-and-theming/#styling-with-charts-model)
|
|
244
220
|
*/
|
|
245
221
|
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined, axisIndices?: number[]): void;
|
|
246
222
|
/**
|
|
247
223
|
* Sets the horizontal axis labels behavior for the chart.
|
|
248
|
-
* **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.
|
|
249
224
|
*
|
|
250
225
|
* @param horizontalBehavior - The behavior for the horizontal axis labels.
|
|
251
226
|
*/
|
|
252
227
|
setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
|
|
253
228
|
/**
|
|
254
229
|
* Sets the integer only values setting for the specified axis.
|
|
255
|
-
* - This setting is only applicable to the axis of type ValueAxis
|
|
256
|
-
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
257
|
-
*
|
|
258
|
-
* **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.
|
|
230
|
+
* - This setting is only applicable to the axis of type `ValueAxis`.
|
|
259
231
|
*
|
|
260
|
-
* @param integerOnlyValues - The boolean value to set for the integer only values setting
|
|
261
|
-
* @param axisIndex -
|
|
232
|
+
* @param integerOnlyValues - The boolean value to set for the integer only values setting.
|
|
233
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
262
234
|
*/
|
|
263
235
|
setIntegerOnlyValues(integerOnlyValues: boolean, axisIndex: number): void;
|
|
264
236
|
/**
|
|
265
237
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
266
|
-
* - `true`: Enable logarithmic scale for the specified axis.
|
|
267
|
-
* - `false`: Disable logarithmic scale for the specified axis.
|
|
268
|
-
*
|
|
269
|
-
* **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.
|
|
270
238
|
*
|
|
271
239
|
* @param isLogarithmic - Whether to enable logarithmic scale for the specified axis.
|
|
272
|
-
* @param axisIndex -
|
|
240
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
273
241
|
*/
|
|
274
242
|
setLogarithmic(isLogarithmic: boolean, axisIndex: number): void;
|
|
275
243
|
/**
|
|
276
244
|
* Sets the maximum bound for the specified axis.
|
|
277
|
-
* **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.
|
|
278
245
|
*
|
|
279
246
|
* @param newMaxBound - The value to set as the maximum bound.
|
|
280
|
-
* @param axisIndex -
|
|
247
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
281
248
|
*/
|
|
282
249
|
setMaxBound(newMaxBound: number | null, axisIndex: number): void;
|
|
283
250
|
/**
|
|
284
251
|
* Sets the minimum bound for the specified axis.
|
|
285
|
-
* **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.
|
|
286
252
|
*
|
|
287
253
|
* @param newMinBound - The value to set as the minimum bound.
|
|
288
|
-
* @param axisIndex -
|
|
254
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
289
255
|
*/
|
|
290
256
|
setMinBound(newMinBound: number | null, axisIndex: number): void;
|
|
291
257
|
/**
|
|
292
258
|
* Sets the tick spacing for the specified axis.
|
|
293
|
-
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
294
|
-
* **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.
|
|
295
259
|
*
|
|
296
|
-
* @param tickSpacing - The value to set for the tick spacing
|
|
297
|
-
* @param axisIndex -
|
|
260
|
+
* @param tickSpacing - The value to set for the tick spacing.
|
|
261
|
+
* @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
298
262
|
*/
|
|
299
263
|
setTickSpacing(tickSpacing: number, axisIndex: number): void;
|
|
300
264
|
/**
|
|
301
265
|
* Sets the vertical axis labels behavior for the chart.
|
|
302
|
-
* **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.
|
|
303
266
|
*
|
|
304
267
|
* @param verticalBehavior - The behavior for the vertical axis labels.
|
|
305
268
|
*/
|