@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2G65P262.js +2 -0
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/3AYXOX4U.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
- package/dist/cdn/3UHXOKCR.js +2 -0
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -0
- package/dist/cdn/4COV22K4.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
- package/dist/cdn/54W4C75M.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → 5EYVH3PA.js} +1 -1
- package/dist/cdn/5MPXETTU.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YP7P6S3.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67QYTLMM.js +2 -0
- package/dist/cdn/6AI3ZXL5.js +2 -0
- package/dist/cdn/6DOANSRL.js +45 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/6PIQ2O5S.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/7CMQGTU6.js +2 -0
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
- package/dist/cdn/A36KQ6YP.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANHW36VW.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
- package/dist/cdn/AYUYEY5H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BDTKAMUN.js +2 -0
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BHGOAHMJ.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKK57XHL.js +2 -0
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/BXBY6D2F.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DBAM7MH7.js +2 -0
- package/dist/cdn/DGV6S2W3.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
- package/dist/cdn/DPTA2AET.js +2 -0
- package/dist/cdn/EAV3KAS7.js +2 -0
- package/dist/cdn/EBSQRCQQ.js +2 -0
- package/dist/cdn/EDVN42ME.js +2 -0
- package/dist/cdn/EMBMJCFZ.js +2 -0
- package/dist/cdn/EOHKNJSJ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EUOJG5H6.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FQLRMWNL.js +2 -0
- package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
- package/dist/cdn/GRL5SM6K.js +2 -0
- package/dist/cdn/H2EMIJME.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
- package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3XBTQKJ.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/INISFVAK.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
- package/dist/cdn/J3CL6KB6.js +2 -0
- package/dist/cdn/JBFVGQSP.js +4 -0
- package/dist/cdn/JEVWE6ER.js +2 -0
- package/dist/cdn/JGESKW6S.js +2 -0
- package/dist/cdn/JH3NSZUT.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYITKARU.js +104 -0
- package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KCES2YBJ.js +2 -0
- package/dist/cdn/KDCZQ6UT.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/KLKI4XNW.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/L7TUV2MY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTXQIF7.js +2 -0
- package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
- package/dist/cdn/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MJTWR33N.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
- package/dist/cdn/MXE4VPZS.js +2 -0
- package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
- package/dist/cdn/NK66D65H.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NZ2C5DJB.js +2 -0
- package/dist/cdn/O3DJD5IR.js +2 -0
- package/dist/cdn/O3VKOV2W.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OFFKJPQH.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- package/dist/cdn/OWWQ5SYW.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
- package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/PLEC3GNT.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → QTSF2LK7.js} +1 -1
- package/dist/cdn/QZCTLQBM.js +2 -0
- package/dist/cdn/RICA7GJM.js +2 -0
- package/dist/cdn/S5GVUYBL.js +2 -0
- package/dist/cdn/SCU3SBSN.js +2 -0
- package/dist/cdn/SQIKFO32.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SUNHJPBW.js +2 -0
- package/dist/cdn/SYVPFDIW.js +2 -0
- package/dist/cdn/T62EETHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TEWEPSIO.js +2 -0
- package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UM7RIOCE.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V5W5LNFT.js +2 -0
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
- package/dist/cdn/VA6KJZ2Y.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
- package/dist/cdn/WFW6BNDT.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/XKZ44LA2.js +2 -0
- package/dist/cdn/XM2GVJT3.js +2 -0
- package/dist/cdn/Y2WHHAAA.js +2 -0
- package/dist/cdn/Y5ZH7VS4.js +2 -0
- package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YVSZN6IH.js +2 -0
- package/dist/cdn/Z3LGGHZN.js +2 -0
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → ZLXYBOM3.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.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/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 +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +77 -78
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +177 -145
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +30 -31
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +77 -48
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index.js +190 -179
- package/dist/chunks/index2.js +6069 -5721
- package/dist/chunks/index3.js +96 -86
- package/dist/chunks/index4.js +312 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +6 -6
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +33 -33
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +54 -48
- package/dist/chunks/pie-chart-model.js +159 -146
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +896 -757
- package/dist/chunks/serial-chart-model.js +136 -123
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +108 -96
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +227 -156
- package/dist/components/arcgis-chart/customElement.js +10323 -10325
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- 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 +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
- 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-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- 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 +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- 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 +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- 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 +6 -6
- 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 +62 -67
- package/dist/index.js +471 -458
- package/dist/json-schema/index.d.ts +207 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- 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 +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +24 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +23 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- 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/rotated-state.d.ts +1 -1
- 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 +15 -0
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +15 -3
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +54 -4
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +14 -10
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -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 +18 -1
- package/dist/utils/layer/query-parser/index.d.ts +5 -3
- package/dist/utils/misc/index.d.ts +2 -3
- 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/2N4MK6FQ.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/43ZHPVBB.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/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.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/ADPDJISV.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/BLZODYE2.js +0 -4
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.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/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.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/FQT7V7QG.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/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.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/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- 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/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.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/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.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/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/STU55UIS.js +0 -58
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.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/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
|
@@ -7,27 +7,27 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
7
7
|
/**
|
|
8
8
|
* Cursor crosshair from the chart config.
|
|
9
9
|
*
|
|
10
|
-
* **Note:** To set the cursor crosshair for the
|
|
10
|
+
* **Note:** To set the cursor crosshair for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
11
11
|
*/
|
|
12
12
|
accessor cursorCrosshair: WebChartCursorCrosshair | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
15
15
|
* - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
16
16
|
*
|
|
17
|
-
* **Note:** To set the cursor crosshair horizontal line visibility for the
|
|
17
|
+
* **Note:** To set the cursor crosshair horizontal line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
18
18
|
*/
|
|
19
19
|
accessor cursorCrosshairHorizontalLineVisibility: boolean;
|
|
20
20
|
/**
|
|
21
21
|
* Style of the cursor's crosshair from the chart config.
|
|
22
22
|
*
|
|
23
|
-
* **Note:** To set the cursor crosshair style for the
|
|
23
|
+
* **Note:** To set the cursor crosshair style for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
24
24
|
*/
|
|
25
25
|
accessor cursorCrosshairStyle: ISimpleLineSymbol | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
28
28
|
* - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
29
29
|
*
|
|
30
|
-
* **Note:** To set the cursor crosshair vertical line visibility for the
|
|
30
|
+
* **Note:** To set the cursor crosshair vertical line visibility for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
31
31
|
*/
|
|
32
32
|
accessor cursorCrosshairVerticalLineVisibility: boolean;
|
|
33
33
|
/** Generate the proper y-axis title from the current config. */
|
|
@@ -148,7 +148,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
148
148
|
getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
149
149
|
/**
|
|
150
150
|
* Sets the visibility of the specified axis labels.
|
|
151
|
-
* **Note:** The labels visibility for the
|
|
151
|
+
* **Note:** The labels visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
152
152
|
*
|
|
153
153
|
* @param isVisible - isVisible The visibility state for the axis labels.
|
|
154
154
|
* @param axisIndex - axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -156,7 +156,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
156
156
|
setAxisLabelsVisibility(isVisible: boolean, axisIndex: number): void;
|
|
157
157
|
/**
|
|
158
158
|
* Sets the scrollbar configuration for the specified axis.
|
|
159
|
-
* **Note:** The scrollbar configuration for the
|
|
159
|
+
* **Note:** The scrollbar configuration for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
160
160
|
*
|
|
161
161
|
* @param scrollbar - The scrollbar configuration to set.
|
|
162
162
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -164,7 +164,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
164
164
|
setAxisScrollbar(scrollbar: WebChartAxisScrollBar, axisIndex: number): void;
|
|
165
165
|
/**
|
|
166
166
|
* 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
|
|
167
|
+
* **Note:** The title text symbol for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
168
168
|
*
|
|
169
169
|
* @param titleSymbol - The title text symbol to set.
|
|
170
170
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -172,7 +172,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
172
172
|
setAxisTitleSymbol(titleSymbol: WebChartTextSymbol | undefined, axisIndex: number): void;
|
|
173
173
|
/**
|
|
174
174
|
* Sets the title text for the specified axis.
|
|
175
|
-
* **Note:** The title text for the
|
|
175
|
+
* **Note:** The title text for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
176
176
|
*
|
|
177
177
|
* @param titleText - The title text for the axis.
|
|
178
178
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -180,7 +180,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
180
180
|
setAxisTitleText(titleText: string, axisIndex: number): void;
|
|
181
181
|
/**
|
|
182
182
|
* Sets the visibility of the specified axis title.
|
|
183
|
-
* **Note:** The title visibility for the
|
|
183
|
+
* **Note:** The title visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
184
184
|
*
|
|
185
185
|
* @param isVisible - The visibility state for the axis title.
|
|
186
186
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -188,7 +188,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
188
188
|
setAxisTitleVisibility(isVisible: boolean, axisIndex: number): void;
|
|
189
189
|
/**
|
|
190
190
|
* Sets the value format for the specified axis.
|
|
191
|
-
* **Note:** The value format for the
|
|
191
|
+
* **Note:** The value format for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
192
192
|
*
|
|
193
193
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
194
194
|
* @param valueFormat - The value format to set.
|
|
@@ -196,7 +196,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
196
196
|
setAxisValueFormat(axisIndex: number, valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions): void;
|
|
197
197
|
/**
|
|
198
198
|
* Sets the visibility of the specified axis.
|
|
199
|
-
* **Note:** The visibility for the
|
|
199
|
+
* **Note:** The visibility for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
200
200
|
*
|
|
201
201
|
* @param isVisible - isVisible The visibility state for the axis.
|
|
202
202
|
* @param axisIndex - axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -207,7 +207,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
207
207
|
* - This setting is only applicable to the axis of type ValueAxis.
|
|
208
208
|
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
209
209
|
*
|
|
210
|
-
* **Note:** To set the buffer for the
|
|
210
|
+
* **Note:** To set the buffer for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
211
211
|
*
|
|
212
212
|
* @param buffer - The setting for the buffer
|
|
213
213
|
* @param axisIndex - The index of the axis
|
|
@@ -217,7 +217,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
217
217
|
* Sets the display cursor tooltip setting for the specified axis.
|
|
218
218
|
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
219
219
|
*
|
|
220
|
-
* **Note:** To set the display cursor tooltip for the
|
|
220
|
+
* **Note:** To set the display cursor tooltip for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
221
221
|
*
|
|
222
222
|
* @param displayCursorTooltip - The display cursor tooltip setting for the axis.
|
|
223
223
|
* @param axisIndex - The index of the axis to set the display cursor tooltip for.
|
|
@@ -229,7 +229,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
229
229
|
* - This setting is only applicable to the axis of type ValueAxis.
|
|
230
230
|
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
231
231
|
*
|
|
232
|
-
* **Note:** To set the display zero line for the
|
|
232
|
+
* **Note:** To set the display zero line for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
233
233
|
*
|
|
234
234
|
* @param displayZeroLine - The display zero line setting for the axis.
|
|
235
235
|
* @param axisIndex - The index of the axis to set the display zero line for.
|
|
@@ -237,15 +237,15 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
237
237
|
setDisplayZeroLine(displayZeroLine: boolean, axisIndex: number): void;
|
|
238
238
|
/**
|
|
239
239
|
* 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
|
|
240
|
+
* **Note:** To set the grid lines symbol for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
241
241
|
*
|
|
242
242
|
* @param linesSymbol - The grid lines symbol.
|
|
243
|
-
* @param axisIndices - The indices of the axes to set the grid lines symbol for.
|
|
243
|
+
* @param axisIndices - The indices of the axes to set the grid lines symbol for. If omitted, the symbol is applied to all axes.
|
|
244
244
|
*/
|
|
245
245
|
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined, axisIndices?: number[]): void;
|
|
246
246
|
/**
|
|
247
247
|
* Sets the horizontal axis labels behavior for the chart.
|
|
248
|
-
* **Note:** The horizontal axis labels behavior for the
|
|
248
|
+
* **Note:** The horizontal axis labels behavior for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
249
249
|
*
|
|
250
250
|
* @param horizontalBehavior - The behavior for the horizontal axis labels.
|
|
251
251
|
*/
|
|
@@ -255,7 +255,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
255
255
|
* - This setting is only applicable to the axis of type ValueAxis.
|
|
256
256
|
* - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
257
257
|
*
|
|
258
|
-
* **Note:** To set the integer only values for the
|
|
258
|
+
* **Note:** To set the integer only values for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
259
259
|
*
|
|
260
260
|
* @param integerOnlyValues - The boolean value to set for the integer only values setting
|
|
261
261
|
* @param axisIndex - The index of the axis
|
|
@@ -266,7 +266,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
266
266
|
* - `true`: Enable logarithmic scale for the specified axis.
|
|
267
267
|
* - `false`: Disable logarithmic scale for the specified axis.
|
|
268
268
|
*
|
|
269
|
-
* **Note:** The logarithmic scale for the
|
|
269
|
+
* **Note:** The logarithmic scale for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
270
270
|
*
|
|
271
271
|
* @param isLogarithmic - Whether to enable logarithmic scale for the specified axis.
|
|
272
272
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -274,7 +274,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
274
274
|
setLogarithmic(isLogarithmic: boolean, axisIndex: number): void;
|
|
275
275
|
/**
|
|
276
276
|
* Sets the maximum bound for the specified axis.
|
|
277
|
-
* **Note:** The maximum bound for the
|
|
277
|
+
* **Note:** The maximum bound for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
278
278
|
*
|
|
279
279
|
* @param newMaxBound - The value to set as the maximum bound.
|
|
280
280
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -282,7 +282,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
282
282
|
setMaxBound(newMaxBound: number | null, axisIndex: number): void;
|
|
283
283
|
/**
|
|
284
284
|
* Sets the minimum bound for the specified axis.
|
|
285
|
-
* **Note:** The minimum bound for the
|
|
285
|
+
* **Note:** The minimum bound for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
286
286
|
*
|
|
287
287
|
* @param newMinBound - The value to set as the minimum bound.
|
|
288
288
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -291,7 +291,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
291
291
|
/**
|
|
292
292
|
* Sets the tick spacing for the specified axis.
|
|
293
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
|
|
294
|
+
* **Note:** To set the tick spacing for the secondary Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
295
295
|
*
|
|
296
296
|
* @param tickSpacing - The value to set for the tick spacing
|
|
297
297
|
* @param axisIndex - The index of the axis
|
|
@@ -299,7 +299,7 @@ export abstract class ModelWithMultiAxes extends ChartModel {
|
|
|
299
299
|
setTickSpacing(tickSpacing: number, axisIndex: number): void;
|
|
300
300
|
/**
|
|
301
301
|
* Sets the vertical axis labels behavior for the chart.
|
|
302
|
-
* **Note:** The vertical axis labels behavior for the
|
|
302
|
+
* **Note:** The vertical axis labels behavior for the secondary Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the secondary Y-axis, use the `setSeriesToSecondaryYAxis(true, 1)` method to assign a series to the secondary Y-axis.
|
|
303
303
|
*
|
|
304
304
|
* @param verticalBehavior - The behavior for the vertical axis labels.
|
|
305
305
|
*/
|
|
@@ -75,6 +75,8 @@ export class PieChartModel extends PieChartModelSuperclass {
|
|
|
75
75
|
*
|
|
76
76
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
77
77
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
78
|
+
*
|
|
79
|
+
* @deprecated since 5.2. Mode is inferred automatically from `category` and `numericFields`.
|
|
78
80
|
*/
|
|
79
81
|
accessor mode: PieChartDataModes;
|
|
80
82
|
/** Numeric fields for the pie chart. */
|
|
@@ -5,4 +5,30 @@ import type { WebChartTextSymbol } from "../../../spec/web-chart.js";
|
|
|
5
5
|
export abstract class WithDataLabelsSymbol extends ChartModelBase {
|
|
6
6
|
/** Data labels text symbol (font, color, style). */
|
|
7
7
|
accessor dataLabelsSymbol: WebChartTextSymbol | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Gets the data labels text symbol for a specific series in the chart config.
|
|
10
|
+
*
|
|
11
|
+
* @param seriesIndex
|
|
12
|
+
*/
|
|
13
|
+
getDataLabelsSymbol(seriesIndex: number): WebChartTextSymbol | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Sets the data labels text symbol for a specific series in the chart config.
|
|
16
|
+
*
|
|
17
|
+
* @param newDataLabelsSymbol
|
|
18
|
+
* @param seriesIndex
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* barChartModel.setDataLabelsSymbol(
|
|
22
|
+
* {
|
|
23
|
+
* type: "esriTS",
|
|
24
|
+
* color: [255, 0, 0, 255],
|
|
25
|
+
* font: {
|
|
26
|
+
* size: 15,
|
|
27
|
+
* },
|
|
28
|
+
* },
|
|
29
|
+
* 0,
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
setDataLabelsSymbol(newDataLabelsSymbol: WebChartTextSymbol | undefined, seriesIndex: number): void;
|
|
8
34
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/** Adds support for working with data tooltip font sizes. */
|
|
4
|
+
export abstract class WithSeriesDataTooltipFontSize extends ChartModelBase {
|
|
5
|
+
/**
|
|
6
|
+
* Gets the data tooltip font size for a series.
|
|
7
|
+
*
|
|
8
|
+
* If the series index is out of bounds or the series list is empty, this function will return `undefined`.
|
|
9
|
+
*
|
|
10
|
+
* @param seriesIndex - The index of the series to retrieve the font size for.
|
|
11
|
+
*/
|
|
12
|
+
getDataTooltipFontSize(seriesIndex: number): number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the data tooltip font size for a series.
|
|
15
|
+
*
|
|
16
|
+
* @param fontSize - The font size to set.
|
|
17
|
+
* @param seriesIndex - The index of the series to set the font size for.
|
|
18
|
+
*/
|
|
19
|
+
setDataTooltipFontSize(fontSize: number | undefined, seriesIndex: number): void;
|
|
20
|
+
}
|
|
@@ -7,7 +7,7 @@ export abstract class WithRotatedState extends ChartModelBase {
|
|
|
7
7
|
/**
|
|
8
8
|
* Whether the chart is rotated.
|
|
9
9
|
*
|
|
10
|
-
* @deprecated since 5.1. Use
|
|
10
|
+
* @deprecated since 5.1. Use [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/model/properties/rotated-state/#rotated) instead.
|
|
11
11
|
*/
|
|
12
12
|
accessor rotatedState: boolean;
|
|
13
13
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ChartModelBase } from "../chart-model/chart-model-base.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Adds support for configuring rounded corners on charts that support it.
|
|
5
|
+
* NOTE: Currently only bar charts and the bar series in combo bar-line charts.
|
|
6
|
+
*/
|
|
7
|
+
export abstract class WithRoundedCorners extends ChartModelBase {
|
|
8
|
+
/**
|
|
9
|
+
* Gets the rounded corner radius for the chart.
|
|
10
|
+
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
|
|
11
|
+
*/
|
|
12
|
+
accessor cornerRadius: number | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Gets whether rounded corners are enabled for the chart.
|
|
15
|
+
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
|
|
16
|
+
*/
|
|
17
|
+
accessor roundCorners: boolean;
|
|
18
|
+
}
|
|
@@ -3,18 +3,208 @@ import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.
|
|
|
3
3
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
4
4
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
5
5
|
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
6
|
+
import type { WebChartTextSymbol } from "../../spec/web-chart.js";
|
|
7
|
+
import type { WebChartRadarChartAxisLabelsOrientation, WebChartLabelBehavior } from "../../spec/chart-object-literals.js";
|
|
6
8
|
import type { ModelWithLineMarkerStyling } from "../mixins/model-with-line-marker-styling.js";
|
|
7
9
|
|
|
8
10
|
export class RadarChartModel extends RadarChartModelSuperclass {
|
|
11
|
+
/** The radar axis labels orientation. */
|
|
12
|
+
accessor axisLabelsOrientation: WebChartRadarChartAxisLabelsOrientation;
|
|
13
|
+
/** The circular-axis field for the radar chart. */
|
|
14
|
+
accessor circularAxisField: string;
|
|
15
|
+
/** Whether the circular-axis labels are visible. */
|
|
16
|
+
accessor circularAxisLabelsVisibility: boolean;
|
|
17
|
+
/** Circular-axis title text symbol (font, color, style). */
|
|
18
|
+
accessor circularAxisTitleSymbol: WebChartTextSymbol | undefined;
|
|
19
|
+
/** The circular-axis title text. */
|
|
20
|
+
accessor circularAxisTitleText: string;
|
|
21
|
+
/** Whether the circular-axis title is visible. */
|
|
22
|
+
accessor circularAxisTitleVisibility: boolean;
|
|
23
|
+
/** Visibility of the circular line of the cursor's crosshair. */
|
|
24
|
+
accessor cursorCrosshairCircularLineVisibility: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Visibility of the horizontal line of the cursor's crosshair.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated since 5.2. Use [cursorCrosshairCircularLineVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#cursorCrosshairCircularLineVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
29
|
+
*/
|
|
30
|
+
accessor cursorCrosshairHorizontalLineVisibility: boolean;
|
|
31
|
+
/** Visibility of the radial line of the cursor's crosshair. */
|
|
32
|
+
accessor cursorCrosshairRadialLineVisibility: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Visibility of the vertical line of the cursor's crosshair.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated since 5.2. Use [cursorCrosshairRadialLineVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#cursorCrosshairRadialLineVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
37
|
+
*/
|
|
38
|
+
accessor cursorCrosshairVerticalLineVisibility: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Maximum bound set for the circular axis.
|
|
41
|
+
*
|
|
42
|
+
* `null` indicates no explicit maximum.
|
|
43
|
+
*/
|
|
44
|
+
accessor maxCircularBound: number | null;
|
|
45
|
+
/**
|
|
46
|
+
* Maximum bound set for the x-axis.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated since 5.2. Use [maxCircularBound](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#maxCircularBound) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
49
|
+
*/
|
|
50
|
+
accessor maxXBound: number | null;
|
|
51
|
+
/**
|
|
52
|
+
* Minimum bound set for the circular axis.
|
|
53
|
+
*
|
|
54
|
+
* `null` indicates no explicit minimum.
|
|
55
|
+
*/
|
|
56
|
+
accessor minCircularBound: number | null;
|
|
57
|
+
/**
|
|
58
|
+
* Minimum bound set for the x-axis.
|
|
59
|
+
*
|
|
60
|
+
* @deprecated since 5.2. Use [minCircularBound](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#minCircularBound) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
61
|
+
*/
|
|
62
|
+
accessor minXBound: number | null;
|
|
63
|
+
/**
|
|
64
|
+
* The x-axis field for the chart.
|
|
65
|
+
*
|
|
66
|
+
* @deprecated since 5.2. Use [circularAxisField](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisField) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
67
|
+
*/
|
|
68
|
+
accessor xAxisField: string;
|
|
69
|
+
/**
|
|
70
|
+
* Whether the x-axis labels are visible.
|
|
71
|
+
*
|
|
72
|
+
* @deprecated since 5.2. Use [circularAxisLabelsVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisLabelsVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
73
|
+
*/
|
|
74
|
+
accessor xAxisLabelsVisibility: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* X-axis title text symbol (font, color, style).
|
|
77
|
+
*
|
|
78
|
+
* @deprecated since 5.2. Use [circularAxisTitleSymbol](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleSymbol) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
79
|
+
*/
|
|
80
|
+
accessor xAxisTitleSymbol: WebChartTextSymbol | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* The x-axis title text.
|
|
83
|
+
*
|
|
84
|
+
* @deprecated since 5.2. Use [circularAxisTitleText](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleText) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
85
|
+
*/
|
|
86
|
+
accessor xAxisTitleText: string;
|
|
87
|
+
/**
|
|
88
|
+
* Whether the x-axis title is visible.
|
|
89
|
+
*
|
|
90
|
+
* @deprecated since 5.2. Use [circularAxisTitleVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
91
|
+
*/
|
|
92
|
+
accessor xAxisTitleVisibility: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Adds a circular-axis guide.
|
|
95
|
+
*
|
|
96
|
+
* @param name - The name of the guide.
|
|
97
|
+
* @param index - The index to insert the new guide in the list of circular-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
98
|
+
*/
|
|
99
|
+
addCircularAxisGuide(name: string, index?: number): void;
|
|
100
|
+
/**
|
|
101
|
+
* Adds a radial-axis guide.
|
|
102
|
+
*
|
|
103
|
+
* @param name - The name of the guide.
|
|
104
|
+
* @param index - The index to insert the new guide in the list of radial-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
105
|
+
*/
|
|
106
|
+
addRadialAxisGuide(name: string, index?: number): void;
|
|
107
|
+
/**
|
|
108
|
+
* Adds an X-axis guide.
|
|
109
|
+
*
|
|
110
|
+
* @deprecated since 5.2. Use [addCircularAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#addCircularAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
111
|
+
* @param name - The name of the guide.
|
|
112
|
+
* @param index - The index to insert the new guide in the list of X-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
113
|
+
*/
|
|
114
|
+
addXAxisGuide(name: string, index?: number): void;
|
|
115
|
+
/**
|
|
116
|
+
* Adds a Y-axis guide.
|
|
117
|
+
*
|
|
118
|
+
* @deprecated since 5.2. Use [addRadialAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#addRadialAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
119
|
+
* @param name - The name of the guide.
|
|
120
|
+
* @param index - The index to insert the new guide in the list of Y-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
121
|
+
*/
|
|
122
|
+
addYAxisGuide(name: string, index?: number): void;
|
|
123
|
+
/**
|
|
124
|
+
* Deletes a circular-axis guide.
|
|
125
|
+
*
|
|
126
|
+
* @param index - The index of the guide to delete in the list of circular-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
127
|
+
*/
|
|
128
|
+
deleteCircularAxisGuide(index?: number): void;
|
|
129
|
+
/**
|
|
130
|
+
* Deletes a radial-axis guide.
|
|
131
|
+
*
|
|
132
|
+
* @param index - The index of the guide to delete in the list of radial-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
133
|
+
*/
|
|
134
|
+
deleteRadialAxisGuide(index?: number): void;
|
|
135
|
+
/**
|
|
136
|
+
* Deletes an X-axis guide.
|
|
137
|
+
*
|
|
138
|
+
* @deprecated since 5.2. Use [deleteCircularAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#deleteCircularAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
139
|
+
* @param index - The index of the guide to delete in the list of X-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
140
|
+
*/
|
|
141
|
+
deleteXAxisGuide(index?: number): void;
|
|
142
|
+
/**
|
|
143
|
+
* Deletes a Y-axis guide.
|
|
144
|
+
*
|
|
145
|
+
* @deprecated since 5.2. Use [deleteRadialAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#deleteRadialAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
146
|
+
* @param index - The index of the guide to delete in the list of Y-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
147
|
+
*/
|
|
148
|
+
deleteYAxisGuide(index?: number): void;
|
|
149
|
+
/** Generate the proper circular-axis title from the current config. */
|
|
150
|
+
generateCircularAxisTitle(): string;
|
|
151
|
+
/** Generate the proper radial-axis title given the current config. */
|
|
152
|
+
generateRadialAxisTitle(): string;
|
|
153
|
+
/**
|
|
154
|
+
* Generate the proper x-axis title from the current config.
|
|
155
|
+
*
|
|
156
|
+
* @deprecated since 5.2. Use [generateCircularAxisTitle](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#generateCircularAxisTitle) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
157
|
+
*/
|
|
158
|
+
generateXAxisTitle(): string;
|
|
159
|
+
/**
|
|
160
|
+
* Generate the proper y-axis title given the current config.
|
|
161
|
+
*
|
|
162
|
+
* @deprecated since 5.2. Use [generateRadialAxisTitle](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#generateRadialAxisTitle) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
163
|
+
*/
|
|
164
|
+
generateYAxisTitle(): string;
|
|
165
|
+
/** Get the default circular-axis title text. */
|
|
166
|
+
getDefaultCircularAxisTitleText(): string;
|
|
167
|
+
/**
|
|
168
|
+
* Get the default x-axis title text.
|
|
169
|
+
*
|
|
170
|
+
* @deprecated since 5.2. Use [getDefaultCircularAxisTitleText](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#getDefaultCircularAxisTitleText) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
171
|
+
*/
|
|
172
|
+
getDefaultXAxisTitleText(): string;
|
|
173
|
+
/**
|
|
174
|
+
* Gets the horizontal axis labels behavior for the chart.
|
|
175
|
+
*
|
|
176
|
+
* @deprecated since 5.2. This method has no effect on the radar-axis labels Use [axisLabelsOrientation](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#axisLabelsOrientation) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
177
|
+
*/
|
|
178
|
+
getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
179
|
+
/**
|
|
180
|
+
* Gets the vertical axis labels behavior for the chart.
|
|
181
|
+
*
|
|
182
|
+
* @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
|
|
183
|
+
*/
|
|
184
|
+
getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
9
185
|
/** Returns whether the series styling is able to be reset. */
|
|
10
186
|
resetAvailable(): boolean;
|
|
11
187
|
/** Resets the series styling to the default styling. */
|
|
12
188
|
resetSeriesStyling(): void;
|
|
189
|
+
/**
|
|
190
|
+
* Sets the horizontal axis labels behavior for the chart.
|
|
191
|
+
*
|
|
192
|
+
* @deprecated since 5.2. This method has no effect on the radar-axis labels Use [axisLabelsOrientation](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#axisLabelsOrientation) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
193
|
+
* @param horizontalBehavior - The behavior for the horizontal axis labels.
|
|
194
|
+
*/
|
|
195
|
+
setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
|
|
13
196
|
/**
|
|
14
197
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
15
198
|
*
|
|
16
199
|
* @param params
|
|
17
200
|
*/
|
|
18
201
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.RadarChart>>): Promise<void>;
|
|
202
|
+
/**
|
|
203
|
+
* Sets the vertical axis labels behavior for the chart.
|
|
204
|
+
*
|
|
205
|
+
* @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
|
|
206
|
+
* @param verticalBehavior - The behavior for the vertical axis labels.
|
|
207
|
+
*/
|
|
208
|
+
setVerticalAxisLabelsBehavior(verticalBehavior: WebChartLabelBehavior): void;
|
|
19
209
|
}
|
|
20
210
|
declare const RadarChartModelSuperclass: typeof SerialChartModel & typeof ModelWithLineMarkerStyling & typeof WithNegativeValuesStackedToBaseline
|
|
@@ -63,6 +63,7 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
63
63
|
/**
|
|
64
64
|
* Gets whether the series should be assigned to the second value axis.
|
|
65
65
|
*
|
|
66
|
+
* @deprecated since 5.2. Use [getSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#getSeriesToSecondaryYAxis) instead.
|
|
66
67
|
* @param seriesIndex - The index of the series.
|
|
67
68
|
*/
|
|
68
69
|
getAssignToSecondValueAxis(seriesIndex: number): boolean;
|
|
@@ -83,6 +84,12 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
83
84
|
* @param seriesIndex - The index of the series.
|
|
84
85
|
*/
|
|
85
86
|
getSeriesName(seriesIndex: number): string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Gets whether the series should be assigned to the secondary y-axis.
|
|
89
|
+
*
|
|
90
|
+
* @param seriesIndex - The index of the series.
|
|
91
|
+
*/
|
|
92
|
+
getSeriesToSecondaryYAxis(seriesIndex: number): boolean;
|
|
86
93
|
/** Gets the sort order for the bar chart. */
|
|
87
94
|
getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
|
|
88
95
|
/**
|
|
@@ -103,6 +110,7 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
103
110
|
/**
|
|
104
111
|
* Sets whether the series should be assigned to the second value axis.
|
|
105
112
|
*
|
|
113
|
+
* @deprecated since 5.2. Use [setSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#setSeriesToSecondaryYAxis) instead.
|
|
106
114
|
* @param assign - The value for the setting.
|
|
107
115
|
* @param seriesIndex - The index of the series.
|
|
108
116
|
*/
|
|
@@ -133,6 +141,13 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
133
141
|
* @param seriesIndex - The index of the series.
|
|
134
142
|
*/
|
|
135
143
|
setSeriesName(name: string, seriesIndex: number): void;
|
|
144
|
+
/**
|
|
145
|
+
* Sets whether the series should be assigned to the secondary y-axis.
|
|
146
|
+
*
|
|
147
|
+
* @param assign - The value for the setting.
|
|
148
|
+
* @param seriesIndex - The index of the series.
|
|
149
|
+
*/
|
|
150
|
+
setSeriesToSecondaryYAxis(assign: boolean, seriesIndex: number): void;
|
|
136
151
|
/**
|
|
137
152
|
* Sets the sort order for the bar chart.
|
|
138
153
|
*
|
|
@@ -12,7 +12,7 @@ import type { PieChartLegendModel } from "../pie-chart-model/pie-chart-legend-mo
|
|
|
12
12
|
import type { PieChartModel } from "../pie-chart-model/pie-chart-model.js";
|
|
13
13
|
import type { ScatterplotModel } from "../scatterplot-model/scatterplot-model.js";
|
|
14
14
|
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
15
|
-
import type { WebChart } from "../../spec/web-chart.js";
|
|
15
|
+
import type { WebChart, WebChartNullCategory } from "../../spec/web-chart.js";
|
|
16
16
|
import type { ModelWithMultiAxes } from "../mixins/model-with-multi-axes.js";
|
|
17
17
|
import type { ModelWithLineMarkerStyling } from "../mixins/model-with-line-marker-styling.js";
|
|
18
18
|
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
@@ -171,10 +171,24 @@ export function isPieChartLegendModel(model: ChartModel | undefined): model is P
|
|
|
171
171
|
*/
|
|
172
172
|
export function isModelWithTemporalBinning(model: ChartModel | undefined): model is ModelWithTemporalBinning;
|
|
173
173
|
|
|
174
|
+
/**
|
|
175
|
+
* Determines if the provided `model` supports rounded corners.
|
|
176
|
+
*
|
|
177
|
+
* @param model - The model to check.
|
|
178
|
+
*/
|
|
179
|
+
export function isModelWithRoundCorners(model: ChartModelBase | undefined): model is BarChartModel | ComboBarLineChartModel;
|
|
180
|
+
|
|
174
181
|
/**
|
|
175
182
|
* Determines if the provided model's type matches the `type` argument.
|
|
176
183
|
*
|
|
177
184
|
* @param model - The model to check.
|
|
178
185
|
* @param type
|
|
179
186
|
*/
|
|
180
|
-
export function isModelOfType<T extends ModelTypes | undefined>(model: ChartModel | undefined, type: T): model is ModelOfType<T>;
|
|
187
|
+
export function isModelOfType<T extends ModelTypes | undefined>(model: ChartModel | undefined, type: T): model is ModelOfType<T>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Determines if the provided model has a `nullCategory` property,
|
|
191
|
+
*
|
|
192
|
+
* @param model - | undefined} model - The model to check.
|
|
193
|
+
*/
|
|
194
|
+
export function isModelWithNullCategory(model: ChartModel | undefined): model is SerialChartModel & { nullCategory: WebChartNullCategory; };
|
|
@@ -27,6 +27,7 @@ export const WebChartTypes: {
|
|
|
27
27
|
readonly Buffer: "buffer";
|
|
28
28
|
readonly SizePolicy: "sizeScale";
|
|
29
29
|
readonly CalendarDateParts: "calendarDateParts";
|
|
30
|
+
readonly HistogramBin: "histogramBin";
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
export type WebChartTypes = (typeof WebChartTypes)[keyof typeof WebChartTypes];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WebChartTemporalBinningUnits } from "./chart-object-literals.js";
|
|
1
|
+
import type { WebChartTemporalBinningUnits, WebChartTypes } from "./chart-object-literals.js";
|
|
2
2
|
import type { Color, IExtent, ISimpleLineSymbol, ISymbol, SimpleFillSymbolStyle, SimpleLineSymbolStyle, SimpleMarkerSymbolStyle } from "./rest-js-types.js";
|
|
3
3
|
|
|
4
4
|
/** JSON representation of the color object. */
|
|
@@ -28,7 +28,7 @@ export type IRendererSymbol = ISymbol
|
|
|
28
28
|
|
|
29
29
|
export type WebChartDataItemColor = Color | RGBArray | RGBObject | string;
|
|
30
30
|
|
|
31
|
-
export type WebChartDataItemValue = Date | IExtent | IRendererSymbol | number[] | string[] | WebChartDataItem[] | WebChartDataItemColor | boolean | number | string | null | undefined;
|
|
31
|
+
export type WebChartDataItemValue = (number | string)[] | Date | IExtent | IRendererSymbol | number[] | string[] | WebChartDataItem[] | WebChartDataItemColor | boolean | number | string | null | undefined;
|
|
32
32
|
|
|
33
33
|
/** JSON representation of a typical data item. */
|
|
34
34
|
export type WebChartDataItem = Record<string, WebChartDataItemValue>;
|
|
@@ -47,6 +47,13 @@ export interface WebChartHeatChartDataItem {
|
|
|
47
47
|
heatChartAxesData?: WebHeatChartAxesData;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
export interface WebChartGaugeChartDataItem {
|
|
51
|
+
dataItems: WebChartDataItem[];
|
|
52
|
+
calculatedAxisMinimum?: number;
|
|
53
|
+
calculatedAxisMaximum?: number;
|
|
54
|
+
gaugeValue?: number;
|
|
55
|
+
}
|
|
56
|
+
|
|
50
57
|
/** JSON representation of the processed data for a scatterplot trend line. */
|
|
51
58
|
export interface ScatterplotTrendLineData {
|
|
52
59
|
r2?: number;
|
|
@@ -85,6 +92,9 @@ export interface WebChartGenericDataItem {
|
|
|
85
92
|
|
|
86
93
|
/** JSON representation of a histogram bin. */
|
|
87
94
|
export interface WebChartBin {
|
|
95
|
+
/** Identifier of a bin to simplify distinction between a WebChartBin and a WebChartDataItem */
|
|
96
|
+
type: typeof WebChartTypes.HistogramBin;
|
|
97
|
+
/** The bin count */
|
|
88
98
|
count: number;
|
|
89
99
|
/** Minimum value in the bin. */
|
|
90
100
|
minValue: number;
|
|
@@ -94,6 +104,8 @@ export interface WebChartBin {
|
|
|
94
104
|
symbol?: WebChartDataItem;
|
|
95
105
|
/** Whether this is the last bin. */
|
|
96
106
|
isLastBin?: boolean;
|
|
107
|
+
/** Unique ids associated to each bin */
|
|
108
|
+
arcgisChartsUniqueIds?: (number | string)[];
|
|
97
109
|
}
|
|
98
110
|
|
|
99
111
|
/** JSON representation of the processed data for a histogram. */
|
|
@@ -112,6 +124,6 @@ export interface WebChartHistogramDataItem {
|
|
|
112
124
|
bins: WebChartBin[];
|
|
113
125
|
}
|
|
114
126
|
|
|
115
|
-
export type WebChartDataTypes = WebChartBoxPlotDataItem | WebChartGenericDataItem | WebChartHeatChartDataItem | WebChartHistogramDataItem | WebChartScatterplotDataItem;
|
|
127
|
+
export type WebChartDataTypes = WebChartBoxPlotDataItem | WebChartGaugeChartDataItem | WebChartGenericDataItem | WebChartHeatChartDataItem | WebChartHistogramDataItem | WebChartScatterplotDataItem;
|
|
116
128
|
|
|
117
129
|
export type RGBArray = [number, number, number];
|