@arcgis/charts-components 5.2.0-next.7 → 5.2.0-next.71
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/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/25MA553Z.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → 274L47ID.js} +1 -1
- package/dist/cdn/27RKQQPS.js +2 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2K4MIK4T.js +2 -0
- package/dist/cdn/2QGFLRRI.js +2 -0
- package/dist/cdn/{S5UDCCRH.js → 2SLJKRSD.js} +1 -1
- package/dist/cdn/33JR3GH6.js +2 -0
- package/dist/cdn/3B6QE7OV.js +2 -0
- package/dist/cdn/3FM3YR57.js +2 -0
- package/dist/cdn/3PDVKKKZ.js +2 -0
- package/dist/cdn/{CLXVAIQX.js → 3QPQ3RE5.js} +1 -1
- package/dist/cdn/3U6ESLPG.js +2 -0
- package/dist/cdn/3V4ZETXH.js +2 -0
- package/dist/cdn/3WOYVXSZ.js +2 -0
- package/dist/cdn/3XB2RWHK.js +2 -0
- package/dist/cdn/{A5AECJXP.js → 47E3TKSH.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 4BQ22DKZ.js} +1 -1
- package/dist/cdn/4DC4ARHU.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4IO3VF3L.js +2 -0
- package/dist/cdn/4JUR3VIE.js +2 -0
- package/dist/cdn/4JWIBRGO.js +2 -0
- package/dist/cdn/4M4SAEH4.js +2 -0
- package/dist/cdn/4ODTQZJK.js +2 -0
- package/dist/cdn/54VUGIAU.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5GZDXWTQ.js +2 -0
- package/dist/cdn/{GDQBQQUP.js → 5NVOWYWZ.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → 64F7QNUM.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → 6LACIKDG.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → 6PDO75JM.js} +1 -1
- package/dist/cdn/6TJIHHQF.js +2 -0
- package/dist/cdn/{SBYD2EKR.js → 6WJKLKEZ.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → 7KNUJIOC.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → 7PC3VBMY.js} +1 -1
- package/dist/cdn/7REEJ3OW.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → 7SBVBD4E.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → 7XHAJY6Q.js} +1 -1
- package/dist/cdn/7XWR4EVM.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ACRMB7MU.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → ASYRUV4T.js} +1 -1
- package/dist/cdn/AVE3KXWQ.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{KFONSKQF.js → B4RCAP3J.js} +1 -1
- package/dist/cdn/BAFCVCT4.js +2 -0
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{LFQGH44F.js → BJC2AIS3.js} +1 -1
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BNNBHYRP.js +2 -0
- package/dist/cdn/BQORJ3LU.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/BZ6FUIQF.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → C3A3UXVR.js} +1 -1
- package/dist/cdn/{ZFZ5AEUQ.js → CKIF4L44.js} +1 -1
- package/dist/cdn/CNI32IL3.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → CRNIOME2.js} +2 -2
- package/dist/cdn/CRQK4CKK.js +2 -0
- package/dist/cdn/CVFKL3S2.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/D3YWSIAT.js +2 -0
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DB2GBCE3.js +2 -0
- package/dist/cdn/DGYLORDT.js +2 -0
- package/dist/cdn/{KCMZSNBL.js → DT5BOM5F.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → DWYBKGOM.js} +1 -1
- package/dist/cdn/E7QFC64H.js +2 -0
- package/dist/cdn/EJWHEBKW.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → EQD2B3I6.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/F5AR3N3Z.js +2 -0
- package/dist/cdn/F7UO7P33.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → FBLOPEXC.js} +1 -1
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → GBOCN364.js} +1 -1
- package/dist/cdn/GIH3U7YP.js +2 -0
- package/dist/cdn/GKEW5JYD.js +2 -0
- package/dist/cdn/{L4G6FO7A.js → HDYL2BOC.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → HP3GIDT5.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I5DMUUEL.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IJWJOXQC.js +2 -0
- package/dist/cdn/{JRHMUFED.js → IK4FPUFJ.js} +1 -1
- package/dist/cdn/IO6A77U4.js +2 -0
- package/dist/cdn/IODRBLGT.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/IPEJCIHO.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → IR2W7UQ3.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → J3VAMS5Z.js} +1 -1
- package/dist/cdn/{QFEZPP3R.js → JAQYU6KP.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → JWEGCP5P.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYLEN3VQ.js +2 -0
- package/dist/cdn/{YOT6DVSU.js → K2PVLPOV.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/{MVHQR4FJ.js → K6F2LRKI.js} +1 -1
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/L6DFXTSQ.js +104 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LAPBDR32.js +2 -0
- package/dist/cdn/{AJWYIBGC.js → LC4YFJSM.js} +1 -1
- package/dist/cdn/LIDWAYQH.js +45 -0
- package/dist/cdn/LJTJTGIW.js +2 -0
- package/dist/cdn/LPYRKK25.js +2 -0
- package/dist/cdn/MAC4MPUA.js +2 -0
- package/dist/cdn/{KZ7LPNX3.js → MGAMMXJW.js} +1 -1
- package/dist/cdn/MOG5ZVLX.js +2 -0
- package/dist/cdn/{ETKPMU7Z.js → MSB6J66X.js} +1 -1
- package/dist/cdn/NAGOJPIX.js +3 -0
- package/dist/cdn/NF4EBNLN.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/NP24UZGI.js +2 -0
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/NUHPR7BM.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → NWHLFMAD.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/O2BQ374Y.js +2 -0
- package/dist/cdn/{UT4TYXFO.js → O7LPETXX.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OE7FIKPS.js +2 -0
- package/dist/cdn/OE7Q4MG5.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/{4LPXOEML.js → OTFA727N.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P6DBPQZO.js +2 -0
- package/dist/cdn/{DAB5R2BN.js → PIEX577B.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → PMAHEVYY.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → PQVUA4T4.js} +1 -1
- package/dist/cdn/PTUMQCFF.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → Q2OIHROC.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → Q2WDEGUQ.js} +1 -1
- package/dist/cdn/QAXXYD6N.js +2 -0
- package/dist/cdn/QC3FMJKL.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QSGJ3MAT.js +2 -0
- package/dist/cdn/QT64PB4L.js +2 -0
- package/dist/cdn/QWCNHH6G.js +2 -0
- package/dist/cdn/RCLHFY6O.js +2 -0
- package/dist/cdn/RCZLTGQI.js +2 -0
- package/dist/cdn/ROG3HFDT.js +2 -0
- package/dist/cdn/RQ5RKGH5.js +2 -0
- package/dist/cdn/SL7NRRSJ.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → SN4KBI42.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SSQPRUUN.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TMGMKM5F.js +2 -0
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → TS7M5QXS.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/USNJZCHH.js +2 -0
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V2FHLWYC.js +2 -0
- package/dist/cdn/VAF3UIVA.js +2 -0
- package/dist/cdn/VHW4OAKG.js +4 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VNYRZDY5.js +2 -0
- package/dist/cdn/VUHFYOLC.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → WDMYVS4F.js} +1 -1
- package/dist/cdn/WDUTZ6EO.js +2 -0
- package/dist/cdn/WM6SCZHN.js +2 -0
- package/dist/cdn/WPLHZAZ3.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → XDNGNOOK.js} +1 -1
- package/dist/cdn/XH57C72H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → XJVFIGWI.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → Y2NESTSK.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{XE3FKQFA.js → YFHCD7R2.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → YW6IZCRW.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → ZK2KMZEI.js} +1 -1
- package/dist/cdn/ZK5Z6BOX.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.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 +42 -38
- package/dist/chunks/box-plot-data.js +273 -282
- package/dist/chunks/box-plot-model.js +137 -122
- 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 +76 -76
- package/dist/chunks/combo-bar-line-chart-model.js +25 -26
- 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 +93 -64
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +191 -180
- package/dist/chunks/index2.js +6422 -6009
- package/dist/chunks/index3.js +97 -86
- package/dist/chunks/index4.js +316 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +12 -12
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +59 -74
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +174 -192
- package/dist/chunks/pie-chart-model.js +267 -250
- 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 +873 -753
- package/dist/chunks/serial-chart-model.js +146 -124
- 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 +104 -94
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +592 -541
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +547 -224
- package/dist/components/arcgis-chart/customElement.js +10300 -10278
- 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 +40 -27
- 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 +243 -229
- 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 +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 +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 +65 -66
- 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 +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 +16 -17
- 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 +470 -458
- 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.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 +44 -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 +62 -99
- 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 +27 -1
- 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 +17 -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 +56 -6
- 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 +1 -1
- package/dist/utils/data/index.d.ts +22 -19
- 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 +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +9 -5
- 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 +6 -7
- 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/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/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/J6WQX4UD.js +0 -58
- 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/ML3A3MYV.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/OHF3AEWY.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/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/WGYJBMRM.js +0 -4
- 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
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import type { DataOrderParameters } from "../../../chart-rendering/common/data/utils/summarize-data/interfaces.js";
|
|
2
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
2
3
|
import type { WebChartTypes, WebChartVersionStatus } from "../../../spec/chart-object-literals.js";
|
|
4
|
+
import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
|
|
3
5
|
import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
|
|
4
|
-
import type { IField } from "../../../spec/rest-js-types.js";
|
|
5
|
-
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
6
|
+
import type { IField, ISimpleFillSymbol } from "../../../spec/rest-js-types.js";
|
|
7
|
+
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartNullCategory, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
6
8
|
import type { DataUpdateDetails } from "../../data/interfaces.js";
|
|
9
|
+
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
7
10
|
import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
|
|
8
11
|
import type { ChartSubType, SelectionData } from "../../misc/interfaces.js";
|
|
9
12
|
import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
|
|
10
|
-
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
15
|
* Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
|
|
@@ -95,6 +97,7 @@ export function isAbsoluteTruthWhereClause(where?: string): boolean;
|
|
|
95
97
|
* - where = "field = 5" => returns "field = 5"
|
|
96
98
|
* - where = "field = 'value'" => returns "field = 'value'"
|
|
97
99
|
* - where = "field = 'va'lue'" => returns "field = 'va''lue'"
|
|
100
|
+
* - where = "field = null => returns "field IS NULL"
|
|
98
101
|
*
|
|
99
102
|
* @param props - the where clause to normalize
|
|
100
103
|
* @internal
|
|
@@ -128,6 +131,35 @@ export function getBoxPlotChartSubType(seriesConfig: WebChartSeriesType[]): Char
|
|
|
128
131
|
*/
|
|
129
132
|
export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
|
|
130
133
|
|
|
134
|
+
/**
|
|
135
|
+
* A function to determine whether the scatterplot is aggregated.
|
|
136
|
+
* It can use a map of statistics containing the number of points (computed from the data side) or
|
|
137
|
+
* a data context object usually stored within each marker.
|
|
138
|
+
*
|
|
139
|
+
* @param props - an optional map of statistics
|
|
140
|
+
* @returns A boolean indicating whether the scatterplot is aggregated
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
export function isScatterplotAggregated(props: {
|
|
144
|
+
statsMap?: Map<string, number>;
|
|
145
|
+
dataContext?: WebChartDataItem;
|
|
146
|
+
chartLimits?: ChartElementLimit;
|
|
147
|
+
}): boolean;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* A function to determine whether a chart is aggregated.
|
|
151
|
+
* Supports scatterplot, bar, line, combo, and pie chart. Defaults to true for the other types of chart.
|
|
152
|
+
*
|
|
153
|
+
* @param props - An optional data context object
|
|
154
|
+
* @returns A boolean indicating whether the chart is aggregated
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
export function isChartAggregated(props: {
|
|
158
|
+
dataContext?: WebChartBin | WebChartDataItem;
|
|
159
|
+
chartConfig: WebChart;
|
|
160
|
+
chartLimits?: ChartElementLimit;
|
|
161
|
+
}): boolean;
|
|
162
|
+
|
|
131
163
|
/**
|
|
132
164
|
* Indicates whether the bar or line series is configured to use time binning.
|
|
133
165
|
*
|
|
@@ -414,9 +446,9 @@ export function doesConfigChangeRequireNewData(props: {
|
|
|
414
446
|
previousSelectionOIDs?: (number | string)[];
|
|
415
447
|
fieldList?: IField[];
|
|
416
448
|
queryObject?: QueryObject;
|
|
417
|
-
filterBySelection?:
|
|
449
|
+
filterBySelection?: boolean;
|
|
418
450
|
selectionData?: ChartOptions["selectionData"];
|
|
419
|
-
setTimeBinningInfoWhenNotProvided?:
|
|
451
|
+
setTimeBinningInfoWhenNotProvided?: boolean;
|
|
420
452
|
chartLimits?: ChartOptions["chartLimits"];
|
|
421
453
|
}): {
|
|
422
454
|
dataUpdateNeeded: boolean;
|
|
@@ -440,6 +472,7 @@ export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T,
|
|
|
440
472
|
* This allows x and y category lists to be ordered independently from the flattened cell data traversal.
|
|
441
473
|
*
|
|
442
474
|
* @param props - The chart config containing the heat-chart multi-axis sort instructions
|
|
475
|
+
* @internal
|
|
443
476
|
*/
|
|
444
477
|
export function getHeatChartAxisDataOrderInstruction(props: {
|
|
445
478
|
chartConfig: WebHeatChart;
|
|
@@ -451,6 +484,7 @@ export function getHeatChartAxisDataOrderInstruction(props: {
|
|
|
451
484
|
*
|
|
452
485
|
* @param chartConfig - The chart configuration
|
|
453
486
|
* @returns An array of objects with sortingField, optionally an orderBy and preferLabel, or undefined.
|
|
487
|
+
* @internal
|
|
454
488
|
*/
|
|
455
489
|
export function getDataOrderParameters(chartConfig: WebChart | undefined): DataOrderParameters[] | undefined;
|
|
456
490
|
|
|
@@ -459,9 +493,25 @@ export function getDataOrderParameters(chartConfig: WebChart | undefined): DataO
|
|
|
459
493
|
* the data update is needed.
|
|
460
494
|
*
|
|
461
495
|
* @param props - The previous chart config
|
|
496
|
+
* @internal
|
|
462
497
|
*/
|
|
463
498
|
export function isNewSortNeeded(props: {
|
|
464
499
|
oldConfig: WebChart | undefined;
|
|
465
500
|
newConfig: WebChart;
|
|
466
501
|
dataWasUpdated: boolean;
|
|
467
|
-
}): boolean;
|
|
502
|
+
}): boolean;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Returns the fill symbol for the null category, if defined.
|
|
506
|
+
*
|
|
507
|
+
* @param nullCategory - The null category object
|
|
508
|
+
* @internal
|
|
509
|
+
*/
|
|
510
|
+
export function getNullCategoryFillSymbol(nullCategory?: WebChartNullCategory): ISimpleFillSymbol | undefined;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Get the text for null category if it is supported and defined in the chart config
|
|
514
|
+
*
|
|
515
|
+
* @param chartConfig - chartConfig
|
|
516
|
+
*/
|
|
517
|
+
export function getNullCategoryText(chartConfig?: WebChart): string | undefined;
|
|
@@ -9,6 +9,7 @@ import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
|
|
|
9
9
|
* - `Errors`: Violations in the config with regard to the JSON schema.
|
|
10
10
|
* - `Warnings`: Undesired combinations in the config which don't violate the JSON schema but should still be blocked.
|
|
11
11
|
*
|
|
12
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
12
13
|
* @param props - The input config, the query object and whether to allow using the object id field as a statistic field.
|
|
13
14
|
* @returns The validation status.
|
|
14
15
|
*/
|
|
@@ -28,9 +28,9 @@ export interface CustomErrorObject {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Validation Status interface which described the validity of the input WebChart config
|
|
31
|
+
* Validation Status interface which described the validity of the input WebChart config.
|
|
32
32
|
*
|
|
33
|
-
* @
|
|
33
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
34
34
|
*/
|
|
35
35
|
export interface ValidationStatus {
|
|
36
36
|
valid: boolean;
|
|
@@ -55,6 +55,7 @@ export const ConfigErrorKeywords: {
|
|
|
55
55
|
export const DataWarningKeywords: {
|
|
56
56
|
readonly BadData: "badData";
|
|
57
57
|
readonly EmptyDataSet: "emptyDataSet";
|
|
58
|
+
readonly NoValue: "noValue";
|
|
58
59
|
readonly InvalidConfig: "invalidConfig";
|
|
59
60
|
readonly HistogramEmptyField: "histogramEmptyField";
|
|
60
61
|
readonly BarElementExceedsLimit: "barElementExceedsLimit";
|
|
@@ -80,7 +81,6 @@ export interface ElementCountExceededParams {
|
|
|
80
81
|
seriesLimit?: number;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
/** @internal */
|
|
84
84
|
export interface DataWarningObject {
|
|
85
85
|
keyword: DataWarningKeywords;
|
|
86
86
|
header?: string;
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Specifies how user interactions on the chart are handled.
|
|
3
|
+
*
|
|
4
|
+
* - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
|
|
5
|
+
* - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
|
|
6
|
+
* - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
|
|
7
|
+
* - `zoom`: Zoom into an area of the chart.
|
|
8
|
+
* - `none`: Disable interaction-driven selection and zoom actions.
|
|
9
|
+
*
|
|
10
|
+
* **Note**: Not applicable to gauges.
|
|
11
|
+
*/
|
|
1
12
|
export const ActionModes: {
|
|
2
13
|
readonly MonoSelection: "monoSelection";
|
|
3
14
|
readonly MultiSelection: "multiSelection";
|
|
@@ -8,6 +19,16 @@ export const ActionModes: {
|
|
|
8
19
|
|
|
9
20
|
export type ActionModes = (typeof ActionModes)[keyof typeof ActionModes];
|
|
10
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Defines how the cursor selection rectangle is constrained when `actionMode` is `zoom`, `multiSelection`, or `multiSelectionWithCtrlKey`.
|
|
24
|
+
*
|
|
25
|
+
* - `multi-axes`: Allows drawing a free rectangle across both axes.
|
|
26
|
+
* - `x-axis`: Constrains the rectangle to the x-axis direction.
|
|
27
|
+
* - `y-axis`: Constrains the rectangle to the y-axis direction.
|
|
28
|
+
* - `undefined`: Uses the default behavior for the current chart type and action mode.
|
|
29
|
+
*
|
|
30
|
+
* **Note**: Not applicable to gauges.
|
|
31
|
+
*/
|
|
11
32
|
export const CursorRange: {
|
|
12
33
|
readonly MultiAxes: "multi-axes";
|
|
13
34
|
readonly XAxis: "x-axis";
|
|
@@ -5,7 +5,7 @@ import type { AbortControllerKeyType } from "../../layer/query-features/interfac
|
|
|
5
5
|
import type { ErrorStrings } from "../../localization/interfaces.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Fetches the unique values from a given field.
|
|
8
|
+
* Fetches the unique values from a given field and the number of features associated to each one of them.
|
|
9
9
|
* /!\ Currently the results for a same split-by field might differ from a category field to another.
|
|
10
10
|
* This is due to the server not being able to make a distinction in some cases between values having for
|
|
11
11
|
* only difference trailing spaces (e.g. `value` and `value ` and `value `). It means it will aggregate the
|
|
@@ -158,10 +158,11 @@ export function getDataMinMaxFromSeries(props: {
|
|
|
158
158
|
* Get the series id related to the given axis (useful in dual axis mode).
|
|
159
159
|
*
|
|
160
160
|
* @param props - The chart configuration
|
|
161
|
+
* @internal
|
|
161
162
|
*/
|
|
162
163
|
export function getAxisSeriesIds(props: {
|
|
163
164
|
chartConfig: WebChart;
|
|
164
|
-
|
|
165
|
+
isSecondaryYAxis?: boolean;
|
|
165
166
|
seriesIds?: string[];
|
|
166
167
|
}): string[] | undefined;
|
|
167
168
|
|
|
@@ -183,6 +184,7 @@ export function whetherLogScaleIsDataCompatible(props: {
|
|
|
183
184
|
*
|
|
184
185
|
* @param modifiedData - The data to revert
|
|
185
186
|
* @param seriesConfig - The series config
|
|
187
|
+
* @internal
|
|
186
188
|
*/
|
|
187
189
|
export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | WebChartDataTypes>(modifiedData: T, seriesConfig?: WebChart["series"]): T;
|
|
188
190
|
|
|
@@ -193,6 +195,7 @@ export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | Web
|
|
|
193
195
|
*
|
|
194
196
|
* @param data - The data containing modified x or y values
|
|
195
197
|
* @param seriesConfig - The series config
|
|
198
|
+
* @internal
|
|
196
199
|
*/
|
|
197
200
|
export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChartDataTypes>(data: T, seriesConfig?: WebChart["series"]): T;
|
|
198
201
|
|
|
@@ -201,6 +204,7 @@ export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChar
|
|
|
201
204
|
*
|
|
202
205
|
* @param dataItem - The data item to sanitize
|
|
203
206
|
* @returns The sanitized data item
|
|
207
|
+
* @internal
|
|
204
208
|
*/
|
|
205
209
|
export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): WebChartDataItem;
|
|
206
210
|
|
|
@@ -210,6 +214,7 @@ export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): W
|
|
|
210
214
|
* @param data - The data set to modify
|
|
211
215
|
* @param seriesConfig - The series config
|
|
212
216
|
* @returns The sanitized data
|
|
217
|
+
* @internal
|
|
213
218
|
*/
|
|
214
219
|
export function removeAdditionalStatistics(data: WebChartDataTypes, seriesConfig: WebChartSeriesType[]): WebChartDataTypes;
|
|
215
220
|
|
|
@@ -227,6 +232,7 @@ export function roundToDecimals(num: number, dec: number): number;
|
|
|
227
232
|
* The point is to send meaningful data to the user through events or the `chartWillRender()` function.
|
|
228
233
|
*
|
|
229
234
|
* @param props - The data to sanitize
|
|
235
|
+
* @internal
|
|
230
236
|
*/
|
|
231
237
|
export function sanitizeData(props: {
|
|
232
238
|
data?: WebChartDataTypes;
|
|
@@ -234,10 +240,10 @@ export function sanitizeData(props: {
|
|
|
234
240
|
}): WebChartDataTypes | undefined;
|
|
235
241
|
|
|
236
242
|
/**
|
|
237
|
-
* Fetches data from a list of OIDs. If the
|
|
238
|
-
* and if the chart is aggregated we perform queries to fetch the data.
|
|
243
|
+
* Fetches data from a list of OIDs. If the ids are stored within the chart's data we directly use them, otherwise we perform queries to find the matching data items.
|
|
239
244
|
*
|
|
240
245
|
* @param props - A snapshot of the updated props, used to determine whether the selection OIDs have changed
|
|
246
|
+
* @internal
|
|
241
247
|
*/
|
|
242
248
|
export function getSelectionItemsFromOIDs(props: {
|
|
243
249
|
chartData?: WebChartDataTypes;
|
|
@@ -245,27 +251,24 @@ export function getSelectionItemsFromOIDs(props: {
|
|
|
245
251
|
queryObject: QueryObject;
|
|
246
252
|
dataWasUpdated?: boolean;
|
|
247
253
|
selectionData?: ChartOptions["selectionData"];
|
|
248
|
-
replaceNoValueCategoryWithZero?:
|
|
249
|
-
hideZeroCountCategories?:
|
|
254
|
+
replaceNoValueCategoryWithZero?: boolean;
|
|
255
|
+
hideZeroCountCategories?: boolean;
|
|
250
256
|
chartLimits?: ChartOptions["chartLimits"];
|
|
251
|
-
setTimeBinningInfoWhenNotProvided?:
|
|
252
|
-
returnFeaturesExtent?:
|
|
253
|
-
popupTemplateFieldInfosEnabled?:
|
|
257
|
+
setTimeBinningInfoWhenNotProvided?: boolean;
|
|
258
|
+
returnFeaturesExtent?: boolean;
|
|
259
|
+
popupTemplateFieldInfosEnabled?: boolean;
|
|
254
260
|
view?: ChartOptions["view"];
|
|
255
261
|
viewExtentUpdated?: ChartOptions["viewExtentUpdated"];
|
|
256
|
-
returnSelectionOIDs?:
|
|
262
|
+
returnSelectionOIDs?: boolean | undefined;
|
|
257
263
|
runtimeDataFilters?: ChartOptions["runtimeDataFilters"];
|
|
258
|
-
ignoreViewExtent?:
|
|
264
|
+
ignoreViewExtent?: boolean;
|
|
259
265
|
errorStrings: ErrorStrings;
|
|
260
266
|
selectionIDsChanged: boolean;
|
|
261
267
|
}): Promise<WebChartDataItem[] | undefined>;
|
|
262
268
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
axisConfigIndex: number;
|
|
270
|
-
}) => boolean;
|
|
271
|
-
};
|
|
269
|
+
/**
|
|
270
|
+
* Indicates whether a data array is a WebChartBin[].
|
|
271
|
+
*
|
|
272
|
+
* @param data - The data array to test
|
|
273
|
+
*/
|
|
274
|
+
export function isWebChartBinArray(data: WebChartBin[] | WebChartDataItem[]): data is WebChartBin[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { GaugeMinMaxFromData } from "../../chart-rendering/common/interfaces.js";
|
|
2
1
|
import type { WebChartDataTypes } from "../../spec/data-source.js";
|
|
3
2
|
import type { WebChartQuery } from "../../spec/web-chart.js";
|
|
4
3
|
import type { DataWarningKeywords } from "../chart-config/validator/interfaces.js";
|
|
@@ -19,7 +18,6 @@ export interface DataInfo {
|
|
|
19
18
|
count?: number;
|
|
20
19
|
data?: WebChartDataTypes;
|
|
21
20
|
queryConfig?: WebChartQuery;
|
|
22
|
-
gaugeMinMaxFromData?: GaugeMinMaxFromData;
|
|
23
21
|
}
|
|
24
22
|
|
|
25
23
|
/** @internal */
|
|
@@ -65,7 +63,10 @@ export interface DataUpdateDetails {
|
|
|
65
63
|
valueFormatChangeRequiresNewData?: boolean;
|
|
66
64
|
};
|
|
67
65
|
histogram?: { dataPropsChanged?: boolean; };
|
|
68
|
-
gauge?: {
|
|
66
|
+
gauge?: {
|
|
67
|
+
valueConversionChanged?: boolean;
|
|
68
|
+
minMaxFromFieldsChanged?: boolean;
|
|
69
|
+
};
|
|
69
70
|
boxPlot?: { showMeanChanged?: boolean; };
|
|
70
71
|
heatChart?: {
|
|
71
72
|
binningChanged?: boolean;
|
|
@@ -2,12 +2,11 @@ import type { WebChartStackedKinds, WebChartTypes } from "../../spec/chart-objec
|
|
|
2
2
|
import type { Color, IFont, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from "../../spec/rest-js-types.js";
|
|
3
3
|
import type { CategoryFormatOptions, DateTimeFormatOptions, HistogramOverlays, NumberFormatOptions, ScatterplotOverlays, SizePolicy, WebBoxPlot, WebChart, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartCursorCrosshair, WebChartGaugeAxis, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartHistogramSeries, WebChartLegend, WebChartLineChartSeries, WebChartNeedle, WebChartOverlay, WebChartPieChartSeries, WebChartPieChartTick, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartText, WebChartTextSymbol, WebGaugeChart, WebHeatChart } from "../../spec/web-chart.js";
|
|
4
4
|
import type { CommonStrings } from "../localization/interfaces.js";
|
|
5
|
-
import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from "./interfaces.js";
|
|
5
|
+
import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, GaugeChartDefaults, QueryDefaults, TextElements } from "./interfaces.js";
|
|
6
6
|
|
|
7
7
|
/** @internal */
|
|
8
8
|
export const histogramBinCount: 32;
|
|
9
9
|
|
|
10
|
-
/** @internal */
|
|
11
10
|
export const featuresExtentField: "arcgis_charts_features_extent";
|
|
12
11
|
|
|
13
12
|
/** @internal */
|
|
@@ -56,12 +55,22 @@ export const defaultHeatChartFields: {
|
|
|
56
55
|
yField: string;
|
|
57
56
|
};
|
|
58
57
|
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const isHeatChartEmptyCell: "arcgis_charts_heat_chart_empty_cell";
|
|
60
|
+
|
|
59
61
|
/** @internal */
|
|
60
62
|
export const defaultHeatChartNumberOfBreaks: {
|
|
61
63
|
min: number;
|
|
62
64
|
max: number;
|
|
63
65
|
};
|
|
64
66
|
|
|
67
|
+
export const gaugeDefaults: GaugeChartDefaults;
|
|
68
|
+
|
|
69
|
+
export const gaugeSpecialIds: {
|
|
70
|
+
gaugeFirstLabelId: string;
|
|
71
|
+
gaugeLastLabelId: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
65
74
|
/**
|
|
66
75
|
* default color set from Pro
|
|
67
76
|
*
|
|
@@ -450,7 +459,7 @@ export function getDefaultHistogramOverlays(): Required<HistogramOverlays>;
|
|
|
450
459
|
export function getDefaultHistogramSymbol(): ISimpleFillSymbol;
|
|
451
460
|
|
|
452
461
|
/** @internal */
|
|
453
|
-
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
462
|
+
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipFontSize" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
454
463
|
|
|
455
464
|
/**
|
|
456
465
|
* @param commonStrings
|
|
@@ -524,4 +533,7 @@ export const defaultColorForBoxPlotWithMeanLines: Color;
|
|
|
524
533
|
export const percentageSuffix: " percentage ";
|
|
525
534
|
|
|
526
535
|
/** @internal */
|
|
527
|
-
export const heatChartFirstDayOfWeek: 7;
|
|
536
|
+
export const heatChartFirstDayOfWeek: 7;
|
|
537
|
+
|
|
538
|
+
/** @internal */
|
|
539
|
+
export const defaultCornerRadius: 5;
|
|
@@ -50,7 +50,7 @@ export interface QueryDefaults {
|
|
|
50
50
|
maxParallelRequests: number;
|
|
51
51
|
maxRecords: number;
|
|
52
52
|
outStatistics: Readonly<IStatisticDefinition>;
|
|
53
|
-
|
|
53
|
+
uniqueIds: string;
|
|
54
54
|
orderByJSAPIDelimiter: string;
|
|
55
55
|
heatChartLowerBoundaryAlias: string;
|
|
56
56
|
heatChartUpperBoundaryAlias: string;
|
|
@@ -79,4 +79,9 @@ export const TextElements: {
|
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
/** @internal */
|
|
82
|
-
export type TextElements = (typeof TextElements)[keyof typeof TextElements];
|
|
82
|
+
export type TextElements = (typeof TextElements)[keyof typeof TextElements];
|
|
83
|
+
|
|
84
|
+
export interface GaugeChartDefaults {
|
|
85
|
+
axisMinimum: number;
|
|
86
|
+
axisMaximum: number;
|
|
87
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Class that enhances the debugging and error handling process. Rather than returning a generic [JavaScript
|
|
3
|
-
* error](https://developer.mozilla.org/
|
|
3
|
+
* error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), this class returns a standardized error object with several properties.
|
|
4
4
|
*/
|
|
5
5
|
export class ArcgisChartsError<T = any> extends Error {
|
|
6
6
|
/** Creates a new `ArcgisChartsError` instance. */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type Extent from "@arcgis/core/geometry/Extent.js";
|
|
2
1
|
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
2
|
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
4
3
|
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
5
4
|
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
6
|
-
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
7
5
|
import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
6
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
8
7
|
import type Renderer from "@arcgis/core/renderers/Renderer.js";
|
|
9
8
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
10
9
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
11
10
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
11
|
+
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
12
12
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
13
13
|
import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
|
|
14
14
|
import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
|
|
@@ -187,6 +187,7 @@ export function getFieldCodedValueDomain(queryObject: QueryObject, field?: strin
|
|
|
187
187
|
*
|
|
188
188
|
* @param fieldValue - The field value to get the description for
|
|
189
189
|
* @param domain - The domain of the field
|
|
190
|
+
* @internal
|
|
190
191
|
*/
|
|
191
192
|
export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
|
|
192
193
|
|
|
@@ -194,6 +195,7 @@ export function getFieldDescriptionFromDomain(fieldValue: number | string, domai
|
|
|
194
195
|
* Get the field description from the query object given a field name and a field value.
|
|
195
196
|
*
|
|
196
197
|
* @param props - The query object (layer or feature layer view)
|
|
198
|
+
* @internal
|
|
197
199
|
*/
|
|
198
200
|
export function getFieldDescriptionFromQueryObject(props: {
|
|
199
201
|
queryObject: QueryObjectOrRaster;
|
|
@@ -274,7 +276,7 @@ export function buildQueryConfig(props: {
|
|
|
274
276
|
chartConfig: WebChart;
|
|
275
277
|
runtimeDataFilters?: WebChartDataFilters;
|
|
276
278
|
ignoreViewExtent?: boolean;
|
|
277
|
-
|
|
279
|
+
view?: ChartOptions["view"];
|
|
278
280
|
}): WebChartQuery;
|
|
279
281
|
|
|
280
282
|
/**
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Former interface describing the property `configFields` from an inline data source.
|
|
3
3
|
* Is an object which dictate which data-item field should be used for defining a property of the rendered element (line, point, bars, etc). Used in inline data source mode only.
|
|
4
|
-
*
|
|
5
|
-
* @internal
|
|
6
4
|
*/
|
|
7
5
|
export interface WebChartConfigFields {
|
|
8
6
|
fillColor?: string;
|
|
@@ -7,10 +7,11 @@ import type { WebChart } from "../../spec/web-chart.js";
|
|
|
7
7
|
|
|
8
8
|
/** @internal */
|
|
9
9
|
export interface QueryObjectProps {
|
|
10
|
-
|
|
10
|
+
iLayer?: WebChart["iLayer"];
|
|
11
11
|
layer?: QueryObjectOrRaster;
|
|
12
12
|
view?: MapView | SceneView;
|
|
13
13
|
filterByViewExtent?: boolean;
|
|
14
|
+
isRaster?: boolean;
|
|
14
15
|
abortSignal?: AbortSignal;
|
|
15
16
|
}
|
|
16
17
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type AttributeBinsGraphic from "@arcgis/core/AttributeBinsGraphic.js";
|
|
2
2
|
import type AttributeBinsFeatureSet from "@arcgis/core/rest/support/AttributeBinsFeatureSet.js";
|
|
3
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
3
4
|
import type { WebChartDataItem } from "../../../spec/data-source.js";
|
|
4
5
|
import type { WebChartQuery, WebChartTemporalBinning, WebHeatChart } from "../../../spec/web-chart.js";
|
|
5
6
|
import type { ErrorStrings } from "../../localization/interfaces.js";
|
|
6
7
|
import type { ChartSubType } from "../../misc/interfaces.js";
|
|
7
8
|
import type { QueryObject } from "../interfaces.js";
|
|
8
9
|
import type { AbortControllerKeyType, Features } from "./interfaces.js";
|
|
9
|
-
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Performs a query analytic.
|
|
@@ -48,7 +48,8 @@ export function queryAttributeBinsForHeatChart(props: {
|
|
|
48
48
|
queryObject: QueryObject;
|
|
49
49
|
queryConfig: WebChartQuery;
|
|
50
50
|
view?: ChartOptions["view"];
|
|
51
|
-
syncViewTimeZone?:
|
|
51
|
+
syncViewTimeZone?: boolean;
|
|
52
|
+
returnStatisticsAggregatedIds: boolean;
|
|
52
53
|
errorStrings: ErrorStrings;
|
|
53
54
|
abortSignal?: AbortSignal;
|
|
54
55
|
}): Promise<AttributeBinsFeatureSet | undefined>;
|
|
@@ -64,6 +65,7 @@ export function queryFeaturesForMatrixHeatChart(props: {
|
|
|
64
65
|
queryObject: QueryObject;
|
|
65
66
|
queryConfig: WebChartQuery;
|
|
66
67
|
returnFeaturesExtent?: boolean;
|
|
68
|
+
returnStatisticsAggregatedIds: boolean;
|
|
67
69
|
errorStrings: ErrorStrings;
|
|
68
70
|
abortKey?: AbortControllerKeyType;
|
|
69
71
|
abortSignal?: AbortSignal;
|
|
@@ -84,6 +86,7 @@ export function queryAttributeBinsForScatterplot(props: {
|
|
|
84
86
|
xMax: number;
|
|
85
87
|
x: string;
|
|
86
88
|
y: string;
|
|
89
|
+
returnStatisticsAggregatedIds: boolean;
|
|
87
90
|
errorStrings: ErrorStrings;
|
|
88
91
|
abortSignal?: AbortSignal;
|
|
89
92
|
}): Promise<AttributeBinsFeatureSet | undefined>;
|
|
@@ -126,6 +129,7 @@ export function queryFeatures(props: {
|
|
|
126
129
|
queryObject: QueryObject;
|
|
127
130
|
queryConfig?: WebChartQuery;
|
|
128
131
|
returnUniqueIdsOnly?: boolean;
|
|
132
|
+
returnStatisticsAggregatedIds: boolean;
|
|
129
133
|
errorStrings: ErrorStrings;
|
|
130
134
|
abortKey?: AbortControllerKeyType;
|
|
131
135
|
abortSignal?: AbortSignal;
|
|
@@ -144,6 +148,7 @@ export function queryAllFeatures(props: {
|
|
|
144
148
|
returnUniqueIdsOnly?: boolean;
|
|
145
149
|
featureCount?: number;
|
|
146
150
|
noBatch?: boolean;
|
|
151
|
+
returnStatisticsAggregatedIds: boolean;
|
|
147
152
|
errorStrings: ErrorStrings;
|
|
148
153
|
abortKey?: AbortControllerKeyType;
|
|
149
154
|
abortSignal?: AbortSignal;
|
|
@@ -199,6 +204,6 @@ export function queryAttributeBinsForTemporalData(props: {
|
|
|
199
204
|
errorStrings: ErrorStrings;
|
|
200
205
|
view?: ChartOptions["view"];
|
|
201
206
|
syncViewTimeZone?: boolean;
|
|
202
|
-
|
|
207
|
+
returnStatisticsAggregatedIds: boolean;
|
|
203
208
|
abortSignal?: AbortSignal;
|
|
204
209
|
}): Promise<AttributeBinsGraphic[]>;
|
|
@@ -8,7 +8,7 @@ import type { QueryProperties } from "@arcgis/core/rest/support/Query.js";
|
|
|
8
8
|
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
9
9
|
import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
|
|
10
10
|
import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
|
|
11
|
-
import type { QueryObject
|
|
11
|
+
import type { QueryObject } from "../interfaces.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Indicates whether a query can be cached. It is not when:
|
|
@@ -38,11 +38,11 @@ export function combineFilters(filterList: (string | null | undefined)[], operan
|
|
|
38
38
|
/**
|
|
39
39
|
* Computes the time extent to be used by the query.
|
|
40
40
|
*
|
|
41
|
-
* @param
|
|
41
|
+
* @param viewTimeExtent - The layer or feature layer view
|
|
42
42
|
* @param defaultTimeExtent - The time extent defined at the series config level or provided at runtime
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
|
-
export function getQueryTimeExtent(
|
|
45
|
+
export function getQueryTimeExtent(viewTimeExtent?: TimeExtent | null, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Computes the extent to be used by the query. We prioritize the feature layer view extent
|
|
@@ -87,7 +87,8 @@ export function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
87
87
|
splitByField?: string;
|
|
88
88
|
axisTimeZone?: string;
|
|
89
89
|
view?: ChartOptions["view"];
|
|
90
|
-
syncViewTimeZone?:
|
|
90
|
+
syncViewTimeZone?: boolean;
|
|
91
|
+
returnStatisticsAggregatedIds: boolean;
|
|
91
92
|
}): AttributeBinsQuery;
|
|
92
93
|
|
|
93
94
|
/**
|
|
@@ -128,7 +129,8 @@ export function mapAttributeBinsQueryForHeatChart(props: {
|
|
|
128
129
|
configTimeZone?: string;
|
|
129
130
|
includeLeapDay?: boolean;
|
|
130
131
|
view?: ChartOptions["view"];
|
|
131
|
-
syncViewTimeZone?:
|
|
132
|
+
syncViewTimeZone?: boolean;
|
|
133
|
+
returnStatisticsAggregatedIds: boolean;
|
|
132
134
|
}): AttributeBinsQuery;
|
|
133
135
|
|
|
134
136
|
/**
|
|
@@ -146,6 +148,7 @@ export function mapAttributeBinsQueryForScatterplot(props: {
|
|
|
146
148
|
xMax: number;
|
|
147
149
|
x: string;
|
|
148
150
|
y: string;
|
|
151
|
+
returnStatisticsAggregatedIds: boolean;
|
|
149
152
|
}): AttributeBinsQuery;
|
|
150
153
|
|
|
151
154
|
/**
|
|
@@ -158,6 +161,7 @@ export function mapQuery(props: {
|
|
|
158
161
|
queryObject: QueryObject;
|
|
159
162
|
queryConfig?: WebChartQuery;
|
|
160
163
|
maxRecordCountFactor?: number;
|
|
164
|
+
returnStatisticsAggregatedIds: boolean;
|
|
161
165
|
}): Query;
|
|
162
166
|
|
|
163
167
|
/**
|
|
@@ -15,7 +15,6 @@ export type SerialChartType = typeof WebChartTypes.BarSeries | typeof WebChartTy
|
|
|
15
15
|
/** @internal */
|
|
16
16
|
export type SupportedChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.PieSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
|
17
17
|
|
|
18
|
-
/** @internal */
|
|
19
18
|
export type ChartTypes = Extract<WebChartTypes, WebChartType>;
|
|
20
19
|
|
|
21
20
|
/** @internal */
|
|
@@ -251,8 +250,8 @@ export function sanitizeHTMLOutput(inputToSanitize: string): string;
|
|
|
251
250
|
* Indicates if a provided number value is valid.
|
|
252
251
|
* An invalid value is: undefined | NaN | Infinite | -Infinite | null
|
|
253
252
|
* See for more details:
|
|
254
|
-
* - https://developer.mozilla.org/
|
|
255
|
-
* - https://developer.mozilla.org/
|
|
253
|
+
* - https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite
|
|
254
|
+
* - https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN
|
|
256
255
|
*
|
|
257
256
|
* @param value
|
|
258
257
|
* @internal
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WebChart } from "../../spec/web-chart.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Check the `subType` in the chart config to determine whether the chart is a gauge by feature.
|
|
5
|
+
* If `subType` is not defined, the chart is defaulted to be a statistic gauge.
|
|
6
|
+
*
|
|
7
|
+
* @param config - the chart config
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export function isGaugeByFeature(config: WebChart): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WebChartCalendarDatePartsBinning, WebChartHeatChartSeries, WebChartSeries, WebChartTemporalBinning } from "../../spec/web-chart.js";
|
|
1
|
+
import type { WebChartBarChartSeries, WebChartCalendarDatePartsBinning, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries, WebChartSeries, WebChartTemporalBinning } from "../../spec/web-chart.js";
|
|
2
2
|
import type { ChartTypes } from "../misc/index.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -35,4 +35,11 @@ export function getChartOrSeriesType(chartSeries: WebChartSeries[] | undefined,
|
|
|
35
35
|
* @returns The binning type for the specified axis
|
|
36
36
|
* @internal
|
|
37
37
|
*/
|
|
38
|
-
export function getHeatChartBinningType(chartSeries: WebChartHeatChartSeries | undefined, isXAxis?: boolean): WebChartCalendarDatePartsBinning | WebChartTemporalBinning | undefined;
|
|
38
|
+
export function getHeatChartBinningType(chartSeries: WebChartHeatChartSeries | undefined, isXAxis?: boolean): WebChartCalendarDatePartsBinning | WebChartTemporalBinning | undefined;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Type guard to know if the series type supports null category
|
|
42
|
+
*
|
|
43
|
+
* @param series - series The series to check
|
|
44
|
+
*/
|
|
45
|
+
export function supportsNullCategory(series: WebChartSeries): series is WebChartBarChartSeries | WebChartLineChartSeries | WebChartRadarChartSeries;
|