@arcgis/charts-components 5.0.0-next.3 → 5.0.0-next.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{RJP2TSH4.js → 26MUX62O.js} +1 -1
- package/dist/cdn/2GOQEUXZ.js +4 -0
- package/dist/cdn/{ZFIF77K3.js → 2HRYK6DW.js} +1 -1
- package/dist/cdn/2JI5PIMJ.js +4 -0
- package/dist/cdn/{KATVWRAY.js → 2NCNJPKT.js} +2 -2
- package/dist/cdn/{OLQNVZUH.js → 2UK2ZHV6.js} +2 -2
- package/dist/cdn/{NXB4BNRO.js → 3CDOXGKA.js} +2 -2
- package/dist/cdn/3FO5UL6I.js +4 -0
- package/dist/cdn/{3DOQYO3X.js → 3J5KDML4.js} +2 -2
- package/dist/cdn/3OV4MXBJ.js +4 -0
- package/dist/cdn/{3KX2KDPK.js → 3PFY6MPD.js} +2 -2
- package/dist/cdn/3UNDNSLF.js +4 -0
- package/dist/cdn/4CFI6GV7.js +4 -0
- package/dist/cdn/4EVQAAZS.js +4 -0
- package/dist/cdn/4IKFQYSM.js +4 -0
- package/dist/cdn/{6BK6COJC.js → 4JS64FMU.js} +2 -2
- package/dist/cdn/4K25U7EN.js +4 -0
- package/dist/cdn/54DUJUYP.js +4 -0
- package/dist/cdn/5IY62NVL.js +4 -0
- package/dist/cdn/5TNQI2C7.js +6 -0
- package/dist/cdn/{JY6JRVUS.js → 5TZWGRHC.js} +2 -2
- package/dist/cdn/{U5YB3SOI.js → 5YBGJOV4.js} +2 -2
- package/dist/cdn/{74E7OAPH.js → 63LYE4WQ.js} +2 -2
- package/dist/cdn/6GUS35VR.js +4 -0
- package/dist/cdn/{TG4TGFSQ.js → 6LOFPEMX.js} +2 -2
- package/dist/cdn/6MMGZ57K.js +4 -0
- package/dist/cdn/6VZGQ3LK.js +4 -0
- package/dist/cdn/{N2JCIWHL.js → 6YHOWQYM.js} +2 -2
- package/dist/cdn/7AVW23N5.js +4 -0
- package/dist/cdn/{NGJ7X3ND.js → 7K5WQC2B.js} +2 -2
- package/dist/cdn/{T4NBUXZU.js → 7KXVVNV6.js} +1 -1
- package/dist/cdn/7LRZVFIT.js +4 -0
- package/dist/cdn/7R5DWGW2.js +4 -0
- package/dist/cdn/7S5LSQZO.js +4 -0
- package/dist/cdn/{GCRHEM6P.js → APVF3Q6Z.js} +2 -2
- package/dist/cdn/{4KGRWKFB.js → AZCOGJDH.js} +2 -2
- package/dist/cdn/{R3RJV4I3.js → B7IVR3AO.js} +2 -2
- package/dist/cdn/BC3UMGPK.js +4 -0
- package/dist/cdn/{3IAXPJL5.js → BHPLDUGA.js} +2 -2
- package/dist/cdn/BMCN3CSD.js +4 -0
- package/dist/cdn/{6ZLEAYZT.js → BMG24YER.js} +2 -2
- package/dist/cdn/C7PBMFV5.js +4 -0
- package/dist/cdn/{YGR3N454.js → CGQLCKHF.js} +2 -2
- package/dist/cdn/CKES7OCK.js +4 -0
- package/dist/cdn/{5EPM3ZL4.js → CNDKV2PJ.js} +2 -2
- package/dist/cdn/CP3QOJF2.js +4 -0
- package/dist/cdn/{XH3AFWLS.js → CRRHNG3J.js} +1 -1
- package/dist/cdn/{NBHFVCH6.js → CU5YMGAS.js} +2 -2
- package/dist/cdn/D4W6UMYF.js +4 -0
- package/dist/cdn/D4XRY4HI.js +4 -0
- package/dist/cdn/DF4A4SMP.js +4 -0
- package/dist/cdn/{EIBL7X7C.js → DRLTPD24.js} +2 -2
- package/dist/cdn/{JXNCGTY2.js → DXYH4FT5.js} +2 -2
- package/dist/cdn/{67VULDXU.js → EGJIY7PV.js} +2 -2
- package/dist/cdn/{Y6H36UEQ.js → EOAB34VO.js} +1 -1
- package/dist/cdn/F2TBVCQQ.js +4 -0
- package/dist/cdn/{2VSQK6CQ.js → F6MTF2IX.js} +2 -2
- package/dist/cdn/FLA6NGIB.js +4 -0
- package/dist/cdn/{X3CEHOFP.js → FNRTUIMD.js} +2 -2
- package/dist/cdn/FQMETAJR.js +4 -0
- package/dist/cdn/G5LZ5YZ3.js +4 -0
- package/dist/cdn/GBARC3LZ.js +4 -0
- package/dist/cdn/GHHCMY4Z.js +4 -0
- package/dist/cdn/GPGOSM2E.js +4 -0
- package/dist/cdn/{Q7JQTDHE.js → GSXGCQ6E.js} +2 -2
- package/dist/cdn/{BMSUXI6D.js → GVEWQUFM.js} +2 -2
- package/dist/cdn/{4224IFJV.js → H4JXTQ4K.js} +2 -2
- package/dist/cdn/H7KLNUJW.js +4 -0
- package/dist/cdn/{72RUYYT3.js → HCCK6BPV.js} +2 -2
- package/dist/cdn/HDJSDH76.js +4 -0
- package/dist/cdn/{UM6PSQXH.js → HGLSN7AY.js} +2 -2
- package/dist/cdn/HM36ARSO.js +4 -0
- package/dist/cdn/HTHAYAXQ.js +4 -0
- package/dist/cdn/HUQYGOIW.js +4 -0
- package/dist/cdn/HVXBYQLM.js +4 -0
- package/dist/cdn/HZQSCRGD.js +4 -0
- package/dist/cdn/I4W3U5L7.js +4 -0
- package/dist/cdn/IA4IJ2QL.js +4 -0
- package/dist/cdn/ILQ5ILIX.js +4 -0
- package/dist/cdn/IOCCYOZV.js +4 -0
- package/dist/cdn/IRTRFGZT.js +4 -0
- package/dist/cdn/{KJI5SYLT.js → IVPZBZJT.js} +2 -2
- package/dist/cdn/IYEYJ2NX.js +4 -0
- package/dist/cdn/J5QV3IOL.js +4 -0
- package/dist/cdn/{I5CJDKBJ.js → J6T3H5QK.js} +2 -2
- package/dist/cdn/{CUYCVVE6.js → J6XB5VCO.js} +2 -2
- package/dist/cdn/JBZD3V6D.js +4 -0
- package/dist/cdn/{K6OYX7KH.js → JH3Q7FY7.js} +2 -2
- package/dist/cdn/JHMYLX3Q.js +4 -0
- package/dist/cdn/JMGGZSXR.js +4 -0
- package/dist/cdn/{SL6KBBNT.js → JN4PFHIA.js} +2 -2
- package/dist/cdn/JTXZW6CH.js +4 -0
- package/dist/cdn/JUNP322Q.js +4 -0
- package/dist/cdn/JXOONYOG.js +4 -0
- package/dist/cdn/KIGS54IH.js +4 -0
- package/dist/cdn/{PGPLW4WV.js → KOEBP6BR.js} +2 -2
- package/dist/cdn/KXM3ZQBU.js +4 -0
- package/dist/cdn/KYR4LUDS.js +4 -0
- package/dist/cdn/{SQPVQZF4.js → KZNCTK4V.js} +2 -2
- package/dist/cdn/{EAGMXFWB.js → L5U2WQY7.js} +2 -2
- package/dist/cdn/LFL4NGX4.js +4 -0
- package/dist/cdn/{MNSV3CBG.js → LHBQLY2F.js} +2 -2
- package/dist/cdn/LOUBUSJX.js +4 -0
- package/dist/cdn/LSSFNAM5.js +4 -0
- package/dist/cdn/LW7K67AB.js +4 -0
- package/dist/cdn/{XUTAJJHD.js → M6LZLLPZ.js} +2 -2
- package/dist/cdn/M76LQMEH.js +4 -0
- package/dist/cdn/MBEEGREM.js +42 -0
- package/dist/cdn/MCE344VV.js +4 -0
- package/dist/cdn/{ATYOPM4D.js → MFES233F.js} +2 -2
- package/dist/cdn/MON4DZOG.js +4 -0
- package/dist/cdn/{LWF27VN7.js → MR636M77.js} +2 -2
- package/dist/cdn/N2EY4563.js +4 -0
- package/dist/cdn/NCZLJIRG.js +4 -0
- package/dist/cdn/{2YJK7EQQ.js → NOL2ODL2.js} +2 -2
- package/dist/cdn/O6YRS6PH.js +4 -0
- package/dist/cdn/{7KMT45K5.js → ON2D3G53.js} +2 -2
- package/dist/cdn/OTEKMHPR.js +4 -0
- package/dist/cdn/OWHAUBUW.js +4 -0
- package/dist/cdn/P53CE2O6.js +4 -0
- package/dist/cdn/POZSO3PJ.js +4 -0
- package/dist/cdn/PXLKNTBE.js +4 -0
- package/dist/cdn/Q2H2GE4Z.js +4 -0
- package/dist/cdn/QDWNNJD5.js +4 -0
- package/dist/cdn/QHL3HPYX.js +58 -0
- package/dist/cdn/QMOU6XTI.js +4 -0
- package/dist/cdn/QQGVWDOM.js +4 -0
- package/dist/cdn/{DNMGOUQA.js → R6Y5CRPR.js} +2 -2
- package/dist/cdn/{TCC42J3C.js → RAAJF7ZE.js} +2 -2
- package/dist/cdn/{AOBF52MJ.js → RAJGGNQX.js} +2 -2
- package/dist/cdn/{X67IOWPB.js → RCLDSCFI.js} +2 -2
- package/dist/cdn/RHPWWXTU.js +4 -0
- package/dist/cdn/{QK6YFOPV.js → RKU35NM7.js} +2 -2
- package/dist/cdn/{SUATHXUW.js → RQFN5LHF.js} +2 -2
- package/dist/cdn/{GAM7Z7SI.js → RW7J3TPK.js} +2 -2
- package/dist/cdn/RWJDMHUL.js +4 -0
- package/dist/cdn/S5V6BQPC.js +4 -0
- package/dist/cdn/{ZNOZZ66V.js → S74PMVOU.js} +2 -2
- package/dist/cdn/{AUWRC6HX.js → SG5GMIOQ.js} +2 -2
- package/dist/cdn/{BZIXOEMI.js → SH2WLT3Q.js} +2 -2
- package/dist/cdn/SNXJWYQ5.js +4 -0
- package/dist/cdn/{F57OHZWT.js → TCXHJHJX.js} +1 -1
- package/dist/cdn/TFMXLBFO.js +4 -0
- package/dist/cdn/TJ3OEUFD.js +4 -0
- package/dist/cdn/{OL7VEBIC.js → TRRZZG4R.js} +2 -2
- package/dist/cdn/TWGX24OC.js +4 -0
- package/dist/cdn/U2NPMRYV.js +4 -0
- package/dist/cdn/UM56SB5F.js +4 -0
- package/dist/cdn/UYIVI5VJ.js +4 -0
- package/dist/cdn/{OBNIZH6K.js → V7GTILJR.js} +1 -1
- package/dist/cdn/{47IDSE6H.js → VA6IKWOD.js} +2 -2
- package/dist/cdn/VDNEZIFJ.js +4 -0
- package/dist/cdn/VDNRJQEK.js +4 -0
- package/dist/cdn/{XYEC52QZ.js → VEWVUX3G.js} +2 -2
- package/dist/cdn/VHHRJOIO.js +4 -0
- package/dist/cdn/VXYSMRNB.js +4 -0
- package/dist/cdn/{WUUJKPQK.js → VZTYY5FW.js} +2 -2
- package/dist/cdn/W2KOA7MJ.js +4 -0
- package/dist/cdn/W6PZ66MO.js +4 -0
- package/dist/cdn/WB3YHBWJ.js +4 -0
- package/dist/cdn/{HPNKRUZ6.js → WGH7FXC5.js} +2 -2
- package/dist/cdn/WWMYNLHB.js +4 -0
- package/dist/cdn/WXMDFKY5.js +4 -0
- package/dist/cdn/X4T7HODH.js +4 -0
- package/dist/cdn/X5R4FT5K.js +4 -0
- package/dist/cdn/{VKDBGM6I.js → XIKM7FMX.js} +2 -2
- package/dist/cdn/XLBCHUXD.js +4 -0
- package/dist/cdn/{GQCG24NO.js → XYHHUXMG.js} +2 -2
- package/dist/cdn/YBMQUCTB.js +4 -0
- package/dist/cdn/{VUDGVNLT.js → YE277AO2.js} +2 -2
- package/dist/cdn/{VLELOOYM.js → YMVX3NLL.js} +2 -2
- package/dist/cdn/Z5IFPMBY.js +4 -0
- package/dist/cdn/{5XKWLEPC.js → Z7TY7WAQ.js} +2 -2
- package/dist/cdn/ZAI4IUKS.js +4 -0
- package/dist/cdn/ZBIBVBFB.js +4 -0
- package/dist/cdn/ZCBCJHTY.js +4 -0
- package/dist/cdn/ZI23TLU3.js +4 -0
- package/dist/cdn/{ECM2WXF6.js → ZJYPSWEY.js} +2 -2
- package/dist/cdn/ZMI3JMVK.js +4 -0
- package/dist/cdn/ZUJD7EGU.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
- package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
- package/dist/chart-rendering/common/data/index.d.ts +3 -2
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -165
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -7
- package/dist/chart-rendering/common/events/index.d.ts +0 -2
- package/dist/chart-rendering/common/interfaces.d.ts +22 -8
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +1 -2
- package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/utils/index.d.ts +15 -7
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/index.d.ts +7 -3
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +32 -24
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +231 -207
- package/dist/chunks/box-plot-model.js +57 -51
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +52 -57
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +146 -5393
- package/dist/chunks/data.js +59 -927
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +31 -23
- package/dist/chunks/heat-chart-model.js +176 -51
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23735 -2187
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -16256
- package/dist/chunks/line-chart-model.js +17 -9
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +30 -21
- package/dist/chunks/model-with-multi-axes.js +165 -202
- package/dist/chunks/model-with-rotation.js +14 -5
- package/dist/chunks/pie-chart-data.js +144 -128
- package/dist/chunks/pie-chart-model.js +81 -73
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +15 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +44 -36
- package/dist/chunks/serial-chart-data.js +912 -0
- package/dist/chunks/serial-chart-model.js +60 -46
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +18 -9
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +204 -189
- package/dist/components/arcgis-chart/customElement.d.ts +14 -18
- package/dist/components/arcgis-chart/customElement.js +7569 -7444
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +24 -16
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +117 -109
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -27
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +25 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +28 -19
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +31 -24
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-category-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +27 -24
- package/dist/components/arcgis-charts-config-color-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +27 -18
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -20
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +69 -51
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +52 -38
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +45 -36
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -6
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -13
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -11
- package/dist/docs/api.json +13 -93
- package/dist/docs/docs.json +92 -96
- package/dist/docs/vscode.html-custom-data.json +6 -2
- package/dist/docs/web-types.json +5 -5
- package/dist/index.js +426 -406
- package/dist/json-schema/index.d.ts +9 -0
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +8 -23
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +24 -50
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model/shared/data.d.ts +26 -2
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +11 -0
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/store.d.ts +24 -3
- package/dist/utils/chart-config/converter/index.d.ts +27 -3
- package/dist/utils/chart-config/utils/index.d.ts +260 -1
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +21 -8
- package/dist/utils/components/data-update.d.ts +33 -0
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/interfaces.d.ts +30 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +44 -1
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-features/index.d.ts +2 -2
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/dist/utils/misc/index.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/27EF6N3A.js +0 -4
- package/dist/cdn/2QC6ZPJH.js +0 -4
- package/dist/cdn/32RUS2M3.js +0 -4
- package/dist/cdn/35M57QGE.js +0 -4
- package/dist/cdn/3ASW6VHE.js +0 -4
- package/dist/cdn/3KG5A43A.js +0 -4
- package/dist/cdn/3SRVZLPD.js +0 -4
- package/dist/cdn/3T2GPST3.js +0 -4
- package/dist/cdn/3YBKKGMI.js +0 -4
- package/dist/cdn/47W26EK2.js +0 -4
- package/dist/cdn/4IIG7WSE.js +0 -4
- package/dist/cdn/4V4R4Q5E.js +0 -4
- package/dist/cdn/4W5AM6VF.js +0 -4
- package/dist/cdn/4XATG67T.js +0 -4
- package/dist/cdn/5EM7WR57.js +0 -4
- package/dist/cdn/5MSCIR45.js +0 -4
- package/dist/cdn/5OH5FY3S.js +0 -4
- package/dist/cdn/5UV5N2TK.js +0 -4
- package/dist/cdn/6CYT2CG7.js +0 -4
- package/dist/cdn/6P4DSMHF.js +0 -4
- package/dist/cdn/6UQPZK5B.js +0 -4
- package/dist/cdn/7OSCKW4Y.js +0 -4
- package/dist/cdn/7TUZWUHM.js +0 -4
- package/dist/cdn/BDYQWUFQ.js +0 -4
- package/dist/cdn/BLKWW4SZ.js +0 -4
- package/dist/cdn/C5UYMNHI.js +0 -4
- package/dist/cdn/CE3AUUHL.js +0 -4
- package/dist/cdn/CHDX2KGL.js +0 -4
- package/dist/cdn/CZQ2SVIF.js +0 -4
- package/dist/cdn/CZYGOYBD.js +0 -4
- package/dist/cdn/D4QM6QWW.js +0 -4
- package/dist/cdn/DBJBYN2H.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DGBWGDSW.js +0 -4
- package/dist/cdn/EG2DGV7Q.js +0 -4
- package/dist/cdn/F5VOSM5J.js +0 -4
- package/dist/cdn/F6TCCYVD.js +0 -4
- package/dist/cdn/FMG243GX.js +0 -4
- package/dist/cdn/FYRFUCYK.js +0 -4
- package/dist/cdn/FZMYU3XO.js +0 -4
- package/dist/cdn/GAUP6JKI.js +0 -4
- package/dist/cdn/GRNT45TO.js +0 -4
- package/dist/cdn/H2R6XIP5.js +0 -4
- package/dist/cdn/H5453ZH3.js +0 -4
- package/dist/cdn/HBXDHTDL.js +0 -4
- package/dist/cdn/HDLWIIDD.js +0 -4
- package/dist/cdn/IB6NLFIT.js +0 -4
- package/dist/cdn/IGYM6NDV.js +0 -4
- package/dist/cdn/IRXKOLXP.js +0 -4
- package/dist/cdn/J3XRJF2H.js +0 -4
- package/dist/cdn/J7SETKH4.js +0 -4
- package/dist/cdn/KFSAESHE.js +0 -4
- package/dist/cdn/KFVBD66X.js +0 -4
- package/dist/cdn/KJBLUE23.js +0 -4
- package/dist/cdn/KWTG54IG.js +0 -4
- package/dist/cdn/LNCY7PJY.js +0 -4
- package/dist/cdn/LNOZZKFS.js +0 -4
- package/dist/cdn/LNW5PGHC.js +0 -4
- package/dist/cdn/LW7ZXMGB.js +0 -4
- package/dist/cdn/MDMUQ4YV.js +0 -4
- package/dist/cdn/MECZKLGM.js +0 -4
- package/dist/cdn/NHUAA7U3.js +0 -4
- package/dist/cdn/NKS54LJY.js +0 -4
- package/dist/cdn/NUXT2AWM.js +0 -4
- package/dist/cdn/NXQHRIVH.js +0 -6
- package/dist/cdn/O2GMCLWM.js +0 -4
- package/dist/cdn/O765AJUV.js +0 -4
- package/dist/cdn/OEBLB46A.js +0 -4
- package/dist/cdn/ONBZGUIX.js +0 -4
- package/dist/cdn/OOMLNN4O.js +0 -4
- package/dist/cdn/OQDFVWR5.js +0 -4
- package/dist/cdn/OS5QUU3S.js +0 -4
- package/dist/cdn/PJCM66NR.js +0 -4
- package/dist/cdn/PKGUQ23W.js +0 -4
- package/dist/cdn/PZLOX4VN.js +0 -4
- package/dist/cdn/QARHCJGU.js +0 -4
- package/dist/cdn/QR3HNIZ3.js +0 -4
- package/dist/cdn/QRLC6XDT.js +0 -4
- package/dist/cdn/R4ZFFKNL.js +0 -58
- package/dist/cdn/REXKJ4UY.js +0 -4
- package/dist/cdn/RNOS6DRH.js +0 -4
- package/dist/cdn/RNP6GU2K.js +0 -4
- package/dist/cdn/RZ7AFMIW.js +0 -4
- package/dist/cdn/S72WP6XQ.js +0 -4
- package/dist/cdn/SBQC3UFK.js +0 -4
- package/dist/cdn/SMOUDLKB.js +0 -4
- package/dist/cdn/SVXJYPGP.js +0 -4
- package/dist/cdn/SY4VJMTC.js +0 -4
- package/dist/cdn/SZRPK5U3.js +0 -4
- package/dist/cdn/T7NDQ5N4.js +0 -4
- package/dist/cdn/TBSKAY6R.js +0 -4
- package/dist/cdn/TC2AUGPM.js +0 -4
- package/dist/cdn/TGG4RKZV.js +0 -4
- package/dist/cdn/TR4LETNB.js +0 -4
- package/dist/cdn/U34VLHNL.js +0 -4
- package/dist/cdn/U7NW4Q4W.js +0 -42
- package/dist/cdn/U7XYGWTM.js +0 -4
- package/dist/cdn/UI5DAXMY.js +0 -4
- package/dist/cdn/UNKXWRU2.js +0 -4
- package/dist/cdn/USUR66FF.js +0 -4
- package/dist/cdn/VIWBALQD.js +0 -4
- package/dist/cdn/VTJACGF7.js +0 -4
- package/dist/cdn/WGCDX65Z.js +0 -4
- package/dist/cdn/WJU2LTQQ.js +0 -4
- package/dist/cdn/XETTJLZA.js +0 -4
- package/dist/cdn/XH5LQBGS.js +0 -4
- package/dist/cdn/YEHAINHB.js +0 -4
- package/dist/cdn/YRVVNU7B.js +0 -4
- package/dist/cdn/YU3EMYVD.js +0 -4
- package/dist/cdn/Z36QJLTB.js +0 -4
- package/dist/cdn/ZRZXM6A2.js +0 -4
- package/dist/cdn/stdin.css +0 -1
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
- package/dist/test/utils/test-utils/utils.d.ts +0 -13
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Color, ISimpleFillSymbol, WebChartCursorCrosshair, WebChartDataItem, WebChartNullCategory, WebChartPieChartGroupSlice, RESTHorizontalAlignment, RESTSimpleMarkerSymbolStyle, RESTVerticalAlignment, WebChartLegendPositions, WebChartLineSmoothedKinds, WebChartSortOrderKinds, WebChartStackedKinds } from '../../../spec';
|
|
2
|
-
import { SelectionTheme
|
|
2
|
+
import { SelectionTheme } from '../../../utils';
|
|
3
|
+
import { ActionModes } from '../../../utils/cursor/interfaces';
|
|
3
4
|
import { EsriColor } from '../types';
|
|
4
5
|
export interface GaugeNeedleDefaults {
|
|
5
6
|
startWidth: number;
|
|
@@ -75,14 +76,12 @@ interface LineSeriesDefaults {
|
|
|
75
76
|
stackedType: WebChartStackedKinds;
|
|
76
77
|
stackNegativeValuesToBaseline: boolean;
|
|
77
78
|
marker: {
|
|
78
|
-
|
|
79
|
+
markerSmallSize: number;
|
|
80
|
+
markerBigSize: number;
|
|
79
81
|
markerStrokeWidth: number;
|
|
82
|
+
markerStyle: RESTSimpleMarkerSymbolStyle;
|
|
80
83
|
};
|
|
81
84
|
}
|
|
82
|
-
interface LineMarkerDefaults {
|
|
83
|
-
markerSize: number;
|
|
84
|
-
markerStyle: RESTSimpleMarkerSymbolStyle;
|
|
85
|
-
}
|
|
86
85
|
export interface LabelProperties {
|
|
87
86
|
wrap?: boolean;
|
|
88
87
|
paddingLeft?: number;
|
|
@@ -151,7 +150,6 @@ export interface CommonChartDefaults {
|
|
|
151
150
|
scatterplotSeries: Readonly<ScatterplotSeriesDefaults>;
|
|
152
151
|
histogramSeries: Readonly<HistogramSeriesDefaults>;
|
|
153
152
|
lineSeries: Readonly<LineSeriesDefaults>;
|
|
154
|
-
lineMarker: Readonly<LineMarkerDefaults>;
|
|
155
153
|
xAxisLabelMaxWidth: number;
|
|
156
154
|
yAxisLabelMaxWidth: number;
|
|
157
155
|
axisLabelPadding: number;
|
|
@@ -166,6 +164,7 @@ export interface CommonChartDefaults {
|
|
|
166
164
|
dataTooltipStyleReversed?: Readonly<Partial<ISimpleFillSymbol>>;
|
|
167
165
|
cursorCrosshair: Readonly<Required<Omit<WebChartCursorCrosshair, "type">>>;
|
|
168
166
|
buffer: boolean;
|
|
167
|
+
treatZeroValueAs: number;
|
|
169
168
|
elementLimitForSmoothRendering: number;
|
|
170
169
|
headerContainer: Readonly<ContainerProperties>;
|
|
171
170
|
footerContainer: Readonly<ContainerProperties>;
|
|
@@ -51,12 +51,10 @@ export declare function notifyRenderingCompleted(htmlContainer?: HTMLElement): v
|
|
|
51
51
|
* Sending selectionEvent on range select
|
|
52
52
|
*
|
|
53
53
|
* @param props.data The selection data
|
|
54
|
-
* @param props.seriesConfig The array of series config
|
|
55
54
|
* @param props.htmlContainer The chart's HTML container
|
|
56
55
|
*/
|
|
57
56
|
export declare function notifySelectionCompleted(props: {
|
|
58
57
|
data: SelectionData;
|
|
59
|
-
seriesConfig?: WebChartSeriesType[];
|
|
60
58
|
htmlContainer?: HTMLElement;
|
|
61
59
|
}): void;
|
|
62
60
|
/**
|
|
@@ -1,33 +1,41 @@
|
|
|
1
|
+
import { default as AttributeBinsGraphic } from '@arcgis/core/AttributeBinsGraphic.js';
|
|
2
|
+
import { default as Graphic } from '@arcgis/core/Graphic.js';
|
|
1
3
|
import { default as MapView } from '@arcgis/core/views/MapView';
|
|
2
4
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
3
5
|
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
4
|
-
import { IField, SupportedLayer, WebBoxPlot, WebChart, WebChartDataFilters, WebChartDataItem, WebChartDataItemValue, WebChartDataTypes, WebChartPieChartSlice, WebChartQuery, WebGaugeChart } from '../../spec';
|
|
5
|
-
import { AbortControllerKeyType, ActionModes,
|
|
6
|
+
import { IField, SupportedLayer, WebBoxPlot, WebChart, WebChartDataFilters, WebChartDataItem, WebChartDataItemValue, WebChartDataTypes, WebChartPieChartSlice, WebChartQuery, WebGaugeChart, WebHeatChart, WebRadarChart } from '../../spec';
|
|
7
|
+
import { AbortControllerKeyType, ActionModes, ChartElementLimit, CursorRange, DataInfo, DataUpdateDetails, ErrorStrings, LoaderColors, QueryObject, SelectionData, SelectionTheme, UtilsStrings, ValidationStatus } from '../../utils';
|
|
6
8
|
export declare const uuidNamespace: string;
|
|
7
9
|
export interface NotifyOptions {
|
|
8
10
|
closable?: boolean;
|
|
9
11
|
}
|
|
10
|
-
export type
|
|
11
|
-
export type ConfigWithILayer = WebBoxPlot | WebChart | WebGaugeChart;
|
|
12
|
+
export type ConfigWithILayer = WebBoxPlot | WebChart | WebGaugeChart | WebHeatChart | WebRadarChart;
|
|
12
13
|
export type XYConfigWithILayer = WebBoxPlot | WebChart;
|
|
13
14
|
export interface T9NStrings {
|
|
14
15
|
utilsStrings: UtilsStrings;
|
|
15
16
|
errorStrings: ErrorStrings;
|
|
16
17
|
}
|
|
17
|
-
export interface CreateChartProps<ConfigType extends
|
|
18
|
+
export interface CreateChartProps<ConfigType extends ConfigWithILayer> {
|
|
18
19
|
chartContainer?: HTMLElement;
|
|
20
|
+
configValidationStatus: ValidationStatus;
|
|
19
21
|
chartConfig?: ConfigType;
|
|
20
22
|
queryObject?: QueryObject;
|
|
21
23
|
options?: ChartOptions;
|
|
22
24
|
globalOptions?: GlobalOptions;
|
|
23
|
-
|
|
25
|
+
dataInfo?: DataInfo;
|
|
24
26
|
t9nStrings: T9NStrings;
|
|
27
|
+
uniqueInternalID?: string;
|
|
25
28
|
}
|
|
26
29
|
export interface UpdateChartProps {
|
|
27
30
|
newChartConfig?: WebChart | WebGaugeChart;
|
|
31
|
+
configValidationStatus: ValidationStatus;
|
|
28
32
|
updateOptions?: ChartOptions;
|
|
29
33
|
updateGlobalOptions?: GlobalOptions;
|
|
34
|
+
dataWasUpdated: boolean;
|
|
35
|
+
dataUpdateDetails?: DataUpdateDetails;
|
|
30
36
|
t9nStrings: T9NStrings;
|
|
37
|
+
queryObject: QueryObject;
|
|
38
|
+
dataInfo?: DataInfo;
|
|
31
39
|
}
|
|
32
40
|
export interface FetchDataProps {
|
|
33
41
|
queryObject?: QueryObject;
|
|
@@ -35,7 +43,6 @@ export interface FetchDataProps {
|
|
|
35
43
|
queryConfig: WebChartQuery;
|
|
36
44
|
filterBySelectionChanged?: boolean;
|
|
37
45
|
options?: ChartOptions;
|
|
38
|
-
binnedServerData?: BinnedServerData;
|
|
39
46
|
abortKey?: AbortControllerKeyType;
|
|
40
47
|
errorStrings: ErrorStrings;
|
|
41
48
|
/** indicates whether to calculate z-score or not for the box plots. */
|
|
@@ -47,13 +54,19 @@ export interface FetchDataProps {
|
|
|
47
54
|
fetchFullBoxPlotData?: boolean;
|
|
48
55
|
completeHeatChartDataset?: boolean;
|
|
49
56
|
fieldList?: IField[];
|
|
57
|
+
preFetchedQueryResponse?: AttributeBinsGraphic[] | Graphic[];
|
|
50
58
|
}
|
|
51
59
|
export interface UpdateChartElementsProps {
|
|
52
60
|
newConfig?: WebChart | WebGaugeChart;
|
|
61
|
+
queryObject: QueryObject;
|
|
53
62
|
forceDataUpdate?: boolean;
|
|
54
63
|
updateOptions?: ChartOptions;
|
|
55
64
|
updateGlobalOptions?: GlobalOptions;
|
|
65
|
+
dataWasUpdated: boolean;
|
|
66
|
+
dataUpdateDetails?: DataUpdateDetails;
|
|
56
67
|
utilsStrings: UtilsStrings;
|
|
68
|
+
configValidationStatus: ValidationStatus;
|
|
69
|
+
dataInfo?: DataInfo;
|
|
57
70
|
}
|
|
58
71
|
export interface ExportChartImageOptions {
|
|
59
72
|
format: "jpg" | "png";
|
|
@@ -134,6 +147,7 @@ export type PreRenderCallback = (props: {
|
|
|
134
147
|
data?: WebChartDataTypes;
|
|
135
148
|
slices?: WebChartPieChartSlice[];
|
|
136
149
|
}) => Promise<WebChart | WebGaugeChart>;
|
|
150
|
+
export type TooltipFormatters = BarAndLineTooltipFormatCallback | BoxPlotTooltipFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
|
|
137
151
|
/** JSON representation of the runtime chart options for the update or initialization. */
|
|
138
152
|
export interface ChartOptions {
|
|
139
153
|
/**
|
|
@@ -306,7 +320,7 @@ export interface ChartOptions {
|
|
|
306
320
|
* Used to customize the way the tooltips are rendered. The callback function can return an HTML string and the tags will
|
|
307
321
|
* be interpreted properly.
|
|
308
322
|
*/
|
|
309
|
-
tooltipFormatter?:
|
|
323
|
+
tooltipFormatter?: TooltipFormatters;
|
|
310
324
|
dataLabelFormatter?: BarAndLineDataLabelFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
|
|
311
325
|
/**
|
|
312
326
|
* Used to customize the way the guides' tooltip are rendered. The callback function can return an HTML string and the tags will
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModes,
|
|
1
|
+
import { ActionModes, QueryObject, SelectionIndexes } from '../../../utils';
|
|
2
2
|
import { IField, OverlayTerms, ScatterplotTrendLineData, TimeIntervalInfo, WebChart, WebChartDataItem, WebChartLabelBehavior, WebChartQuery, WebChartStackedKinds, WebChartTypes } from '../../../spec';
|
|
3
3
|
import { AxisLabelFormatCallback, BarAndLineDataLabelFormatCallback, BarAndLineTooltipFormatCallback, BoxPlotTooltipFormatCallback, ChartOptions, GuideTooltipFormatCallback, HeatChartDataLabelFormatCallback, HeatChartLabelFormatCallback, HistogramLabelFormatCallback, PieChartLabelFormatCallback, PieChartLegendValueLabelFormatCallback, ScatterplotLabelFormatCallback } from '../interfaces';
|
|
4
4
|
export interface CommonStorageType {
|
|
@@ -26,7 +26,6 @@ export interface CommonStorageType {
|
|
|
26
26
|
chartWasUpdatedWhileHidden?: boolean;
|
|
27
27
|
pendingSelectionQueries?: boolean;
|
|
28
28
|
actionMode?: ActionModes;
|
|
29
|
-
binnedServerData?: BinnedServerData;
|
|
30
29
|
gaugeData?: number;
|
|
31
30
|
options?: ChartOptions;
|
|
32
31
|
formatLocale?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PieSlicesSymbols, UtilsStrings } from '../../../../utils';
|
|
2
1
|
import { IField, ISimpleFillSymbol, WebChart, WebChartDataItem, WebChartPieChartSeries, WebChartPieChartSlice } from '../../../../spec';
|
|
2
|
+
import { PieSlicesSymbols, UtilsStrings } from '../../../../utils';
|
|
3
3
|
/**
|
|
4
4
|
* Generates an id for a slice from a non aggregated slice.
|
|
5
5
|
* it will generate `arcgis-charts-slice-id-<object id>` or `arcgis-charts-slice-id-<slice index>`
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ISimpleMarkerSymbol } from '../../../../spec';
|
|
2
|
+
/**
|
|
3
|
+
* Generates SVG path for marker style and size
|
|
4
|
+
* The SVG paths are adopted from [JSAPI 3.x](https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/master/esri/symbols/SimpleMarkerSymbol.js#L133)
|
|
5
|
+
*
|
|
6
|
+
* @param style
|
|
7
|
+
* @param size
|
|
8
|
+
*/
|
|
9
|
+
export declare function mapPath(style: ISimpleMarkerSymbol["style"], size?: number): string;
|
package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { PieChartLabelFormatCallback } from '../../../../../common/interfaces';
|
|
|
6
6
|
*
|
|
7
7
|
* @param pieSeries The series on which to initialize the data labels
|
|
8
8
|
*/
|
|
9
|
-
export declare function initializePieChartDataLabel(pieSeries: PieSeries): void;
|
|
9
|
+
export declare function initializePieChartDataLabel(pieSeries: PieSeries, externalDataLabelFormatter: PieChartLabelFormatCallback | undefined): void;
|
|
10
10
|
/**
|
|
11
11
|
* Handles how the data labels are rendered on a pie chart.
|
|
12
12
|
* Uses from the configuration:
|
|
@@ -39,9 +39,14 @@ export declare function removeSeriesDataLabel(series: XYSeries, index?: number):
|
|
|
39
39
|
*
|
|
40
40
|
* @param textBackgroundColor The background color of the data label, it can be the color of the column or the series.
|
|
41
41
|
* @param chartBackgroundColor The background color of the chart.
|
|
42
|
+
* @param fillOpacity The fill opactiy of the background of the data label
|
|
42
43
|
* @returns The best inverse color to use for the data label text
|
|
43
44
|
*/
|
|
44
|
-
export declare function getContrastTextColor(
|
|
45
|
+
export declare function getContrastTextColor(props: {
|
|
46
|
+
textBackgroundColor: AmChartsColor;
|
|
47
|
+
chartBackgroundColor: AmChartsColor;
|
|
48
|
+
fillOpacity?: number;
|
|
49
|
+
}): AmChartsColor;
|
|
45
50
|
/**
|
|
46
51
|
* Adds a color adapter to the data label to inverse the text color based on the series color and the chart background color.
|
|
47
52
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HeatLegend } from '@amcharts/amcharts5';
|
|
2
|
-
import { WebChartSeriesType, WebChart } from '../../../../../spec';
|
|
3
2
|
import { XYChart } from '@amcharts/amcharts5/xy.js';
|
|
3
|
+
import { WebChartSeriesType, WebChart } from '../../../../../spec';
|
|
4
4
|
/**
|
|
5
5
|
* Initializes the legend
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Chart, Modal, Root, SerialChart } from '@amcharts/amcharts5';
|
|
2
2
|
import { ChartOptions } from '../../../common/interfaces';
|
|
3
|
-
import { LoaderHandle } from '
|
|
3
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
4
4
|
/**
|
|
5
5
|
* Initialize the loader and defines the nested functions
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
2
2
|
import { WebChart, WebChartGenericDataItem } from '../../../../../spec';
|
|
3
|
-
import { LoaderHandle } from '../../loading-indicator/interfaces';
|
|
4
3
|
import { InitializeBarChartSeriesProps, UpdateBarChartSeriesProps } from './interfaces';
|
|
4
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
5
5
|
/**
|
|
6
6
|
* Initialize a bar chart series
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@ import { SerialChart } from '@amcharts/amcharts5';
|
|
|
2
2
|
import { WebChart, WebChartDataTypes, WebGaugeChart } from '../../../../spec';
|
|
3
3
|
import { ErrorStrings, PieSlicesSymbols, QueryObject, UtilsStrings } from '../../../../utils';
|
|
4
4
|
import { ChartOptions } from '../../../common/interfaces';
|
|
5
|
-
import { LoaderHandle } from '
|
|
5
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
6
6
|
/**
|
|
7
7
|
* Initializes the chart series and sets default properties.
|
|
8
8
|
*
|
|
@@ -5,7 +5,6 @@ import { IField, RESTRendererType, WebBoxPlot, WebChart, WebChartBarChartSeries,
|
|
|
5
5
|
import { ChartSubType, QueryObject, SeriesSymbolsMap, SubtypeInfo, UtilsStrings } from '../../../../utils';
|
|
6
6
|
import { ChartOptions } from '../../../common/interfaces';
|
|
7
7
|
import { ApplySelectionOnSeriesProps } from '../../selection/apply/interfaces';
|
|
8
|
-
import { LoaderHandle } from '../loading-indicator/interfaces';
|
|
9
8
|
import { UpdateBarChartSeriesStyleProps } from './bar-chart/interfaces';
|
|
10
9
|
import { UpdateBoxPlotCandleStickSeriesProps } from './box-plot/candle-stick/interfaces';
|
|
11
10
|
import { UpdateBoxPlotMeanLineSeriesProps } from './box-plot/mean-line/interfaces';
|
|
@@ -16,6 +15,7 @@ import { UpdateLineChartSeriesProps } from './line-chart/interfaces';
|
|
|
16
15
|
import { UpdatePieChartSeriesProps } from './pie-chart/interfaces';
|
|
17
16
|
import { UpdateRadarChartSeriesProps } from './radar-chart/interfaces';
|
|
18
17
|
import { UpdateScatterplotMarkersStyleProps, UpdateTrendLineProps } from './scatter-plot/interfaces';
|
|
18
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
19
19
|
export interface InitializeSeriesProps<SeriesType extends WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartHeatChartSeries | WebChartHistogramSeries | WebChartLineChartSeries | WebChartPieChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries> {
|
|
20
20
|
chartConfig: WebChart;
|
|
21
21
|
root: Root;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Chart, Graphics, Series } from '@amcharts/amcharts5';
|
|
2
2
|
import { Axis, AxisRenderer, ColumnSeries, LineSeries, XYChart } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { IField, WebChart, WebChartBarChartSeries, WebChartDataTypes, WebChartLineChartSeries, WebChartRadarChartSeries, WebChartSeriesType, WebChartTypes } from '../../../../../spec';
|
|
4
|
-
import { SubtypeInfo } from '../../../../../utils';
|
|
5
|
-
import { DataUpdateNeededDetails } from '../../../../common/data/utils/misc/interfaces';
|
|
4
|
+
import { DataUpdateDetails, SubtypeInfo } from '../../../../../utils';
|
|
6
5
|
import { ApplySelectionOnSeriesProps } from '../../../selection/apply/interfaces';
|
|
7
6
|
import { StyleCallbackProps, UpdateSeriesProps } from '../interfaces';
|
|
8
7
|
/**
|
|
@@ -123,13 +122,13 @@ declare function isInitializingScatterplotSeriesNeeded(chart: XYChart, chartConf
|
|
|
123
122
|
*
|
|
124
123
|
* @param props.chart The chart
|
|
125
124
|
* @param props.chartConfig The chart's config
|
|
126
|
-
* @param props.
|
|
125
|
+
* @param props.dataUpdateDetails The details of why the update was needed
|
|
127
126
|
* @param props.seriesFilteredOut Whether any series was filtered out
|
|
128
127
|
*/
|
|
129
128
|
export declare function isInitializingSeriesNeeded(props: {
|
|
130
129
|
chart: XYChart;
|
|
131
130
|
chartConfig: WebChart;
|
|
132
|
-
|
|
131
|
+
dataUpdateDetails?: DataUpdateDetails;
|
|
133
132
|
seriesFilteredOut?: boolean;
|
|
134
133
|
}): boolean;
|
|
135
134
|
/**
|
package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Pattern, Percent, Root } from '@amcharts/amcharts5';
|
|
2
|
-
import {
|
|
2
|
+
import { SimpleFillSymbolStyle, WebChartTextSymbol, RESTHorizontalAlignment, RESTSimpleLineSymbolStyle } from '../../../../../../spec';
|
|
3
3
|
import { AmChartsColor } from '../../../../types';
|
|
4
4
|
/**
|
|
5
5
|
* Maps a width defined as a number or a string following the pattern 'xxx%' into
|
|
@@ -42,14 +42,6 @@ export declare function mapFillSymbolStyle(props: {
|
|
|
42
42
|
* @param defaultAngle
|
|
43
43
|
*/
|
|
44
44
|
export declare function mapAngle(angle?: number, defaultAngle?: number): number;
|
|
45
|
-
/**
|
|
46
|
-
* Generates SVG path for marker style and size
|
|
47
|
-
* The SVG paths are adopted from [JSAPI 3.x](https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/master/esri/symbols/SimpleMarkerSymbol.js#L133)
|
|
48
|
-
*
|
|
49
|
-
* @param style
|
|
50
|
-
* @param size
|
|
51
|
-
*/
|
|
52
|
-
export declare function mapPath(style: ISimpleMarkerSymbol["style"], size?: number): string;
|
|
53
45
|
/**
|
|
54
46
|
* Horizontal alignment
|
|
55
47
|
*
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
2
|
+
import { TooltipFormatters } from '../../../../common/interfaces';
|
|
2
3
|
/**
|
|
3
4
|
* Initializes the tooltip associated to bar/column charts
|
|
4
5
|
*
|
|
5
6
|
* @param columnSeries The series on which to initialize the tooltip
|
|
6
7
|
*/
|
|
7
|
-
export declare function initializeBarChartTooltip(columnSeries: ColumnSeries): void;
|
|
8
|
+
export declare function initializeBarChartTooltip(columnSeries: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
@@ -2,8 +2,8 @@ import { Series, Sprite, Tooltip } from '@amcharts/amcharts5';
|
|
|
2
2
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { IField, WebHeatChart, WebChartCalendarDatePartsUnits, WebChartHeatChartSeries } from '../../../../../spec';
|
|
4
4
|
import { UtilsStrings } from '../../../../../utils';
|
|
5
|
-
import { HeatChartLabelFormatCallback } from '../../../../common/interfaces';
|
|
6
|
-
import {
|
|
5
|
+
import { HeatChartLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
|
|
6
|
+
import { UpdateHeatChartSeriesProps } from '../../series/heat-chart/interfaces';
|
|
7
7
|
/**
|
|
8
8
|
* Util method to generate date parts object for tooltip to create it's content
|
|
9
9
|
* @param props.value number that we are checking
|
|
@@ -52,10 +52,10 @@ export declare function heatChartTooltipContentCallback(props: {
|
|
|
52
52
|
* Initializes the tooltip associated to the slices on a heat chart
|
|
53
53
|
* @param columnSeries The series containing the slices on which to add a tooltip text adapter
|
|
54
54
|
*/
|
|
55
|
-
export declare function initializeHeatChartTooltip(columnSeries: ColumnSeries): void;
|
|
55
|
+
export declare function initializeHeatChartTooltip(columnSeries: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
56
56
|
/**
|
|
57
57
|
* Handles how the tooltip is rendered on a heat chart.
|
|
58
58
|
* If a format callback is passed, we'll use it over the default tooltip formatting.
|
|
59
59
|
* @param props Necessary information to update the tooltip
|
|
60
60
|
*/
|
|
61
|
-
export declare function updateHeatChartTooltip(props:
|
|
61
|
+
export declare function updateHeatChartTooltip(props: UpdateHeatChartSeriesProps): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Series, Sprite, Tooltip } from '@amcharts/amcharts5';
|
|
2
2
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { WebChartHistogramSeries } from '../../../../../spec';
|
|
4
|
-
import { HistogramLabelFormatCallback } from '../../../../common/interfaces';
|
|
4
|
+
import { HistogramLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
|
|
5
5
|
import { HistogramTooltipProps } from './interfaces';
|
|
6
6
|
/**
|
|
7
7
|
* Creates an adapter callback that uses the formatter stored in the series memory storage
|
|
@@ -25,8 +25,9 @@ export declare function histogramTooltipContentCallback(props: {
|
|
|
25
25
|
* Initializes the tooltip associated to the columns on a histogram
|
|
26
26
|
*
|
|
27
27
|
* @param series The Series containing the columns template on which to add the tooltip text adapter
|
|
28
|
+
* @param tooltipFormatter the external tooltip formatter
|
|
28
29
|
*/
|
|
29
|
-
export declare function initializeHistogramTooltip(series: ColumnSeries): void;
|
|
30
|
+
export declare function initializeHistogramTooltip(series: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
30
31
|
/**
|
|
31
32
|
* Updates the histogram tooltip formatter, by using the custom formatter provided through the chart options
|
|
32
33
|
* or generating a default one.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tooltip } from '@amcharts/amcharts5';
|
|
2
2
|
import { PieSeries } from '@amcharts/amcharts5/percent.js';
|
|
3
3
|
import { WebChartPieChartSeries } from '../../../../../spec';
|
|
4
|
-
import { PieChartLabelFormatCallback } from '../../../../common/interfaces';
|
|
4
|
+
import { PieChartLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
|
|
5
5
|
import { PieChartTooltipProps } from './interfaces';
|
|
6
6
|
export declare function generateDefaultPieChartTooltipContentFormatter(pieSeries: PieSeries, seriesConfig: WebChartPieChartSeries): PieChartLabelFormatCallback;
|
|
7
7
|
/**
|
|
@@ -19,7 +19,7 @@ export declare function pieChartTooltipContentCallback(props: {
|
|
|
19
19
|
* Initializes the tooltip associated to the slices on a pie chart
|
|
20
20
|
* @param pieSeries The series containing the slices on which to add a tooltip text adapter
|
|
21
21
|
*/
|
|
22
|
-
export declare function initializePieChartTooltip(pieSeries: PieSeries): void;
|
|
22
|
+
export declare function initializePieChartTooltip(pieSeries: PieSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
23
23
|
/**
|
|
24
24
|
* Handles how the tooltip is rendered on a pie chart.
|
|
25
25
|
* Uses from the configuration:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Graphics, Sprite, Template, Tooltip } from '@amcharts/amcharts5';
|
|
2
2
|
import { LineSeries } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { WebChartScatterplotSeries } from '../../../../../spec';
|
|
4
|
+
import { TooltipFormatters } from '../../../../common/interfaces';
|
|
4
5
|
import { ScatterplotTooltipProps } from './interfaces';
|
|
5
6
|
/**
|
|
6
7
|
* Adds the html code to the tooltip associated to the scatterplot bullets
|
|
@@ -20,7 +21,11 @@ export declare function scatterplotTooltipContentCallback(props: {
|
|
|
20
21
|
* @param element The bullet element which has the tooltip on it
|
|
21
22
|
* @param markerSeries The series on which to initialize the tooltip
|
|
22
23
|
*/
|
|
23
|
-
export declare function initializeScatterplotTooltip(
|
|
24
|
+
export declare function initializeScatterplotTooltip(props: {
|
|
25
|
+
element: Template<Graphics>;
|
|
26
|
+
markerSeries: LineSeries;
|
|
27
|
+
tooltipFormatter?: TooltipFormatters;
|
|
28
|
+
}): void;
|
|
24
29
|
/**
|
|
25
30
|
* Updates/initializes the tooltip for a Sprite marker in scatterplot.
|
|
26
31
|
*
|
|
@@ -4,6 +4,7 @@ import { RadarLineSeries } from '@amcharts/amcharts5/radar.js';
|
|
|
4
4
|
import { XYSeries, ColumnSeries, LineSeries } from '@amcharts/amcharts5/xy.js';
|
|
5
5
|
import { DateTimeFormatOptions, NumberFormatOptions, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartDataItemValue, WebChartLineChartSeries, WebChartRadarChartSeries } from '../../../../../spec';
|
|
6
6
|
import { ChartTypes } from '../../../../../utils';
|
|
7
|
+
import { TooltipFormatters } from '../../../../common/interfaces';
|
|
7
8
|
import { BarAndLineChartTooltipProps } from '../interfaces';
|
|
8
9
|
/**
|
|
9
10
|
* Adding an extra padding on the tooltip's label to avoid its scrollbar to show up.
|
|
@@ -26,7 +27,11 @@ export declare function reverseTooltipColor(tooltip: Tooltip, reverseColor?: boo
|
|
|
26
27
|
* @param element The bullet element which has the tooltip on it
|
|
27
28
|
* @param series The series on which to initialize the tooltip
|
|
28
29
|
*/
|
|
29
|
-
export declare function initializeLineAndRadarChartTooltip(
|
|
30
|
+
export declare function initializeLineAndRadarChartTooltip(props: {
|
|
31
|
+
element: Template<Graphics>;
|
|
32
|
+
series: LineSeries | RadarLineSeries;
|
|
33
|
+
tooltipFormatter?: TooltipFormatters;
|
|
34
|
+
}): void;
|
|
30
35
|
/**
|
|
31
36
|
* Initializes the tooltip associated to the markers on a series
|
|
32
37
|
*
|
|
@@ -37,8 +42,13 @@ export declare function initializeSeriesTooltip(series: PieSeries | XYSeries): T
|
|
|
37
42
|
* Initializes the tooltip associated to the markers on a series
|
|
38
43
|
* @param root The root of the bullet
|
|
39
44
|
* @param series The series on what the bullet is associated with
|
|
45
|
+
* @param tooltipFormatter The external tooltip formatter
|
|
40
46
|
*/
|
|
41
|
-
export declare function initializeBulletTooltip(
|
|
47
|
+
export declare function initializeBulletTooltip(props: {
|
|
48
|
+
root: Root;
|
|
49
|
+
series: PieSeries | XYSeries;
|
|
50
|
+
tooltipFormatter?: TooltipFormatters;
|
|
51
|
+
}): Tooltip;
|
|
42
52
|
/**
|
|
43
53
|
* A callback to check if tooltip needs to be reversed
|
|
44
54
|
*
|
|
@@ -52,7 +62,11 @@ export declare function tooltipReverseColorCallback(tooltip: Tooltip, series: Se
|
|
|
52
62
|
* @param element The element on which we are adding the html
|
|
53
63
|
* @param series the series parent of the element
|
|
54
64
|
*/
|
|
55
|
-
export declare function seriesTooltipContentCallback(
|
|
65
|
+
export declare function seriesTooltipContentCallback(props: {
|
|
66
|
+
element: Sprite | Tooltip;
|
|
67
|
+
series: Series;
|
|
68
|
+
isHTML: boolean;
|
|
69
|
+
}): string;
|
|
56
70
|
/**
|
|
57
71
|
* The tooltip x value is the value associated to the x-axis. It can be a category name, a date,
|
|
58
72
|
* a date range, etc.
|
|
@@ -75,4 +89,8 @@ export declare function updateBarAndLineChartTooltip(props: BarAndLineChartToolt
|
|
|
75
89
|
* @param chartType The chart type of the series
|
|
76
90
|
* @param series the series of the tooltip
|
|
77
91
|
*/
|
|
78
|
-
export declare function reInitializeSeriesTooltips(
|
|
92
|
+
export declare function reInitializeSeriesTooltips(props: {
|
|
93
|
+
chartType: ChartTypes;
|
|
94
|
+
series: Series;
|
|
95
|
+
tooltipFormatter?: TooltipFormatters;
|
|
96
|
+
}): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChartInstance, ConfigWithILayer, CreateChartProps } from '../common/interfaces';
|
|
2
2
|
/**
|
|
3
3
|
* Creates a chart
|
|
4
4
|
*
|
|
@@ -8,4 +8,4 @@ import { AnyConfigType, ChartInstance, CreateChartProps } from '../common/interf
|
|
|
8
8
|
* @param createChartProps.globalOptions The global options
|
|
9
9
|
* @param createChartProps.t9nStrings The t9n strings
|
|
10
10
|
*/
|
|
11
|
-
export declare function createChart(createChartProps: CreateChartProps<
|
|
11
|
+
export declare function createChart(createChartProps: CreateChartProps<ConfigWithILayer>): Promise<ChartInstance>;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
* Returns a unique ID associated to a chart
|
|
4
|
-
*
|
|
5
|
-
* @param chart
|
|
6
|
-
*/
|
|
7
|
-
export declare function getChartUniqueInternalID(chart: Chart): string;
|
|
1
|
+
import { Sprite } from '@amcharts/amcharts5';
|
|
8
2
|
/**
|
|
9
3
|
* Indicates whether an amCharts element is still available (non null, non undefined, non disposed)
|
|
10
4
|
*
|
|
@@ -22,3 +16,17 @@ export declare function hexColorToRGB(input: string): {
|
|
|
22
16
|
b: number;
|
|
23
17
|
a?: number;
|
|
24
18
|
} | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Determines if an RGBA color is light or dark, considering opacity.
|
|
21
|
+
* @param {number} props.r - Red (0-255)
|
|
22
|
+
* @param {number} props.g - Green (0-255)
|
|
23
|
+
* @param {number} props.b - Blue (0-255)
|
|
24
|
+
* @param {number} props.a - Alpha (0-1)
|
|
25
|
+
* @returns boolean
|
|
26
|
+
*/
|
|
27
|
+
export declare function isColorLight(props: {
|
|
28
|
+
r: number;
|
|
29
|
+
g: number;
|
|
30
|
+
b: number;
|
|
31
|
+
a?: number;
|
|
32
|
+
}): boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SerialChart, Series } from '@amcharts/amcharts4/charts.js';
|
|
2
2
|
import { ListTemplate } from '@amcharts/amcharts4/core.js';
|
|
3
3
|
import { ChartOptions } from '../../../common/interfaces';
|
|
4
|
-
import { LoaderElements
|
|
4
|
+
import { LoaderElements } from './interfaces';
|
|
5
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
5
6
|
/** Initialize the loader and defines the nested functions
|
|
6
7
|
*
|
|
7
8
|
* @param chart The chart to which the loader is attached
|
|
@@ -2,8 +2,8 @@ import { Axis, AxisRendererX, AxisRendererY, ColumnSeries, LineSeries, XYChart }
|
|
|
2
2
|
import { UtilsStrings } from '../../../../../utils';
|
|
3
3
|
import { IRendererSymbol, NumberFormatOptions, WebChart, WebChartHistogramDataItem, WebChartHistogramSeries, WebChartOverlay } from '../../../../../spec';
|
|
4
4
|
import { ChartOptions } from '../../../../common/interfaces';
|
|
5
|
-
import { LoaderHandle } from '../../loading-indicator/interfaces';
|
|
6
5
|
import { InitializeSeriesProps, UpdateXYSeriesProps } from '../interfaces';
|
|
6
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
7
7
|
export interface TwoDimPoint {
|
|
8
8
|
x: number;
|
|
9
9
|
y: number;
|
|
@@ -4,13 +4,13 @@ import { IField, RESTRendererType, WebChartAxis, WebChartBarChartSeries, WebChar
|
|
|
4
4
|
import { ChartOptions } from '../../../common/interfaces';
|
|
5
5
|
import { ApplySelectionOnSeriesProps } from '../../selection/apply/interfaces';
|
|
6
6
|
import { AxisList } from '../axes/utils/axis-renderer/interfaces';
|
|
7
|
-
import { LoaderHandle } from '../loading-indicator/interfaces';
|
|
8
7
|
import { UpdateBarSeriesProps } from './bar-chart/interfaces';
|
|
9
8
|
import { UpdateBoxPlotSeriesStyleProps } from './box-plot/interfaces';
|
|
10
9
|
import { UpdateHistogramSeriesProps } from './histogram/interfaces';
|
|
11
10
|
import { UpdateLineSeriesProps } from './line-chart/interfaces';
|
|
12
11
|
import { UpdatePieChartSeriesProps } from './pie-chart/interfaces';
|
|
13
12
|
import { UpdateScatterplotSeriesProps, UpdateTrendLineProps } from './scatter-plot/interfaces';
|
|
13
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
14
14
|
export interface InitializeSeriesProps<ChartType extends GaugeChart | PieChart | XYChart> {
|
|
15
15
|
chart: ChartType;
|
|
16
16
|
axisList?: AxisList;
|
|
@@ -2,8 +2,8 @@ import { PieChart, PieSeries } from '@amcharts/amcharts4/charts.js';
|
|
|
2
2
|
import { PieSlicesSymbols, QueryObject, SelectionTheme, UtilsStrings } from '../../../../../utils';
|
|
3
3
|
import { WebChart, WebChartDataItem, WebChartPieChartSeries } from '../../../../../spec';
|
|
4
4
|
import { getSliceSymbol } from '../../../../common/series/pie-chart';
|
|
5
|
-
import { LoaderHandle } from '../../loading-indicator/interfaces';
|
|
6
5
|
import { UpdatePieChartSeriesProps } from './interfaces';
|
|
6
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
7
7
|
/**
|
|
8
8
|
* This function sets the series default colors, overriding the default amCharts theme.
|
|
9
9
|
* This is made to prevent color glitches making the default theme appear momentarily when updating the
|
package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LineSeries, ValueAxis, XYChart } from '@amcharts/amcharts4/charts.js';
|
|
2
2
|
import { ISimpleLineSymbol, NumberFormatOptions, WebChartScatterplotDataItem, WebChartScatterplotSeries } from '../../../../../spec';
|
|
3
3
|
import { ChartOptions } from '../../../../common/interfaces';
|
|
4
|
-
import { LoaderHandle } from '../../loading-indicator/interfaces';
|
|
5
4
|
import { InitializeSeriesProps, UpdateXYSeriesProps } from '../interfaces';
|
|
5
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
6
6
|
interface TwoDimSeriesProps {
|
|
7
7
|
xAxis?: ValueAxis;
|
|
8
8
|
yAxis?: ValueAxis;
|