@arcgis/charts-components 5.0.0-next.4 → 5.0.0-next.42
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/{IRZKAIIT.js → 23BP7J3J.js} +2 -2
- package/dist/cdn/{MCECYQEL.js → 27EN4MMO.js} +1 -1
- package/dist/cdn/2CJYKP5R.js +4 -0
- package/dist/cdn/2FFEC733.js +4 -0
- package/dist/cdn/{CJ275XU4.js → 2MNYW2BK.js} +2 -2
- package/dist/cdn/2NNXEDFO.js +4 -0
- package/dist/cdn/2P7VWK5U.js +4 -0
- package/dist/cdn/{S7PVBK5H.js → 2VR2AAFU.js} +2 -2
- package/dist/cdn/324FN4VA.js +4 -0
- package/dist/cdn/33ZNBSPZ.js +4 -0
- package/dist/cdn/{CFG6BWHU.js → 3P5MB5SI.js} +2 -2
- package/dist/cdn/{JI4UNOYW.js → 3Q5FZ6Y5.js} +2 -2
- package/dist/cdn/3QB5F25Z.js +4 -0
- package/dist/cdn/3RHDQAKH.js +4 -0
- package/dist/cdn/3RTTWY2T.js +4 -0
- package/dist/cdn/{4LXKAKH2.js → 46PFIWXL.js} +2 -2
- package/dist/cdn/{6OOD4LGL.js → 4BKAOSJT.js} +2 -2
- package/dist/cdn/{JYOVFITP.js → 4BOVZRXK.js} +2 -2
- package/dist/cdn/4CFM3HK3.js +4 -0
- package/dist/cdn/4DYIRSPX.js +4 -0
- package/dist/cdn/4GN5B4H7.js +4 -0
- package/dist/cdn/4IKPFSZB.js +4 -0
- package/dist/cdn/{ETWNVAK6.js → 4IM57YI4.js} +2 -2
- package/dist/cdn/4NDH2KXT.js +4 -0
- package/dist/cdn/4PJAS6WR.js +4 -0
- package/dist/cdn/{S4T5AQ4M.js → 4QJSZUMD.js} +2 -2
- package/dist/cdn/{XGDUULNK.js → 4XA7NYTT.js} +2 -2
- package/dist/cdn/4ZF4J4CO.js +4 -0
- package/dist/cdn/4ZHADPUO.js +4 -0
- package/dist/cdn/5424GNYE.js +4 -0
- package/dist/cdn/{YDAIHWZS.js → 5D4M7WLR.js} +2 -2
- package/dist/cdn/5HGFV45P.js +4 -0
- package/dist/cdn/636S2GYM.js +4 -0
- package/dist/cdn/{7JODQO5M.js → 6CCZMDGP.js} +2 -2
- package/dist/cdn/6DCZUWOC.js +4 -0
- package/dist/cdn/{L7Q66XTZ.js → 6HMCETVU.js} +2 -2
- package/dist/cdn/{6RITOQRE.js → 6J75BACN.js} +2 -2
- package/dist/cdn/75P5CNL6.js +4 -0
- package/dist/cdn/76SUJNXZ.js +4 -0
- package/dist/cdn/{DH6JYYIL.js → 7DDSQXOV.js} +2 -2
- package/dist/cdn/{VE4GUPP2.js → 7FTD3UBT.js} +2 -2
- package/dist/cdn/7HAAEQFY.js +4 -0
- package/dist/cdn/{FQBAURSX.js → 7JE77EWX.js} +2 -2
- package/dist/cdn/7WUYXW5X.js +4 -0
- package/dist/cdn/A2IQ7IX7.js +4 -0
- package/dist/cdn/AGYWWXKP.js +4 -0
- package/dist/cdn/AKUZFXLE.js +4 -0
- package/dist/cdn/{DQK7BSUW.js → ARV2ETE2.js} +2 -2
- package/dist/cdn/{3RWMBH3I.js → B2LNOYNN.js} +2 -2
- package/dist/cdn/B5ZYGPTM.js +4 -0
- package/dist/cdn/BKJJCG3W.js +4 -0
- package/dist/cdn/BN2LANTG.js +4 -0
- package/dist/cdn/BXRCILI6.js +4 -0
- package/dist/cdn/{X22T3KKM.js → CA3GGQGW.js} +2 -2
- package/dist/cdn/{JFSAPOGV.js → CMHTYOYY.js} +2 -2
- package/dist/cdn/{GWMAIDFR.js → CPFBWPIM.js} +2 -2
- package/dist/cdn/CRLIXD3T.js +4 -0
- package/dist/cdn/CZJD3ZL4.js +4 -0
- package/dist/cdn/D3VFLBE6.js +4 -0
- package/dist/cdn/DMJLD24S.js +4 -0
- package/dist/cdn/DOVKMPXH.js +4 -0
- package/dist/cdn/{JAT727M4.js → DTVF7FOX.js} +2 -2
- package/dist/cdn/DUIVRMLJ.js +4 -0
- package/dist/cdn/EB6TNULS.js +4 -0
- package/dist/cdn/{G2YNALPI.js → EDDW4TRJ.js} +2 -2
- package/dist/cdn/EFM7QME4.js +4 -0
- package/dist/cdn/EHYLRSNQ.js +4 -0
- package/dist/cdn/{4MH6EDOJ.js → EL4377PV.js} +2 -2
- package/dist/cdn/EM23MVSL.js +4 -0
- package/dist/cdn/EQGTUATN.js +4 -0
- package/dist/cdn/FATULKRI.js +4 -0
- package/dist/cdn/{DVQHHAGO.js → FJ5C3P7X.js} +2 -2
- package/dist/cdn/{I37V2JO3.js → FQJQS7SD.js} +2 -2
- package/dist/cdn/{B6YQ4QEG.js → FRZ3BASO.js} +2 -2
- package/dist/cdn/FUJJWTTH.js +4 -0
- package/dist/cdn/G2EZCHK4.js +4 -0
- package/dist/cdn/G2YV5RKB.js +4 -0
- package/dist/cdn/{XV3PGOV6.js → G4SMYPYO.js} +2 -2
- package/dist/cdn/GEAT4GWR.js +4 -0
- package/dist/cdn/GGVEJRBE.js +4 -0
- package/dist/cdn/GJIRVBCD.js +4 -0
- package/dist/cdn/{GSQPRROD.js → GTOLQFOO.js} +1 -1
- package/dist/cdn/{3MBGYMFR.js → H2HMORP3.js} +2 -2
- package/dist/cdn/HEBBDRKG.js +4 -0
- package/dist/cdn/HMPMOR2W.js +4 -0
- package/dist/cdn/{VZFHCTN6.js → HWHCR4XP.js} +2 -2
- package/dist/cdn/{ENFYCO6Y.js → I6GFNM62.js} +2 -2
- package/dist/cdn/{JX5UB5EC.js → IC3NQVZC.js} +2 -2
- package/dist/cdn/IF4BXNPM.js +4 -0
- package/dist/cdn/IIC333MB.js +6 -0
- package/dist/cdn/ISKI56BG.js +4 -0
- package/dist/cdn/{5VHSBJY5.js → IVABGNNQ.js} +2 -2
- package/dist/cdn/{42JULKHJ.js → JXUHPOCG.js} +2 -2
- package/dist/cdn/{X36VPED7.js → KWFO56N2.js} +2 -2
- package/dist/cdn/{R42W4J6D.js → L5X2F6PK.js} +2 -2
- package/dist/cdn/{BX2R4UF4.js → L7JUL45N.js} +2 -2
- package/dist/cdn/LDS7IG3K.js +4 -0
- package/dist/cdn/LMDCA24L.js +4 -0
- package/dist/cdn/LUOYSBNA.js +4 -0
- package/dist/cdn/MAHUSLDA.js +4 -0
- package/dist/cdn/MI5JMKZT.js +4 -0
- package/dist/cdn/{J4MDZ7ET.js → MNC73CMP.js} +2 -2
- package/dist/cdn/MUCHTIH4.js +4 -0
- package/dist/cdn/MV5PGTND.js +42 -0
- package/dist/cdn/MXNUOJJO.js +4 -0
- package/dist/cdn/{O46V6LSJ.js → MYMIV37B.js} +2 -2
- package/dist/cdn/NA7PVPS4.js +4 -0
- package/dist/cdn/NCBLL6AR.js +4 -0
- package/dist/cdn/NDXW2RTX.js +4 -0
- package/dist/cdn/NHCMKKFB.js +4 -0
- package/dist/cdn/NKZD5HJU.js +4 -0
- package/dist/cdn/NSXBWLED.js +4 -0
- package/dist/cdn/NYDAAPUI.js +4 -0
- package/dist/cdn/OKXPLBH2.js +4 -0
- package/dist/cdn/OQEQSDMX.js +4 -0
- package/dist/cdn/P2HPWKNC.js +4 -0
- package/dist/cdn/{AISJHTWW.js → P3VXV2NM.js} +2 -2
- package/dist/cdn/{BPIKEEVZ.js → Q7WGV65P.js} +1 -1
- package/dist/cdn/{XUDQTQ2B.js → QFKW763T.js} +2 -2
- package/dist/cdn/QLZKMEJR.js +4 -0
- package/dist/cdn/{SS2WV4YY.js → QVLL3HWJ.js} +2 -2
- package/dist/cdn/R5AZF5B2.js +4 -0
- package/dist/cdn/RKCV3SQQ.js +4 -0
- package/dist/cdn/RSEOOILA.js +4 -0
- package/dist/cdn/{YBCMFT4P.js → RV4BOFWS.js} +2 -2
- package/dist/cdn/RVBUIIDC.js +4 -0
- package/dist/cdn/{6Y2WTGYS.js → RWD7PAYU.js} +1 -1
- package/dist/cdn/{J6LD6RWO.js → SD54GBC2.js} +2 -2
- package/dist/cdn/SHLVYIU6.js +4 -0
- package/dist/cdn/SMEEFZLP.js +4 -0
- package/dist/cdn/{Y3L2K7EC.js → SNBDA5XK.js} +2 -2
- package/dist/cdn/{KLVSGHXQ.js → SQHVIYQB.js} +1 -1
- package/dist/cdn/SRTNL3QI.js +4 -0
- package/dist/cdn/{4Y76B53C.js → STTNYOA4.js} +1 -1
- package/dist/cdn/SU63VSWH.js +4 -0
- package/dist/cdn/{ZEDBVEQU.js → T5ONIZ2L.js} +2 -2
- package/dist/cdn/TBTZ2GX7.js +4 -0
- package/dist/cdn/{4EAY23CO.js → TCEW3S2Q.js} +2 -2
- package/dist/cdn/{WTLGREJQ.js → TJNDHM3W.js} +2 -2
- package/dist/cdn/TL2TLVEE.js +4 -0
- package/dist/cdn/{EEA6D5WP.js → TL7KW76E.js} +2 -2
- package/dist/cdn/TLEN6ISK.js +4 -0
- package/dist/cdn/TNXL3QAS.js +4 -0
- package/dist/cdn/TXAVRTOV.js +58 -0
- package/dist/cdn/U4YDTBPQ.js +4 -0
- package/dist/cdn/{DWBQZV5P.js → URZEK6GI.js} +2 -2
- package/dist/cdn/{RH5OUTAK.js → UT2XQ6MS.js} +2 -2
- package/dist/cdn/UUTYM5NH.js +4 -0
- package/dist/cdn/{VHG2HOUR.js → UYDY3K6D.js} +1 -1
- package/dist/cdn/UYIXVVBM.js +4 -0
- package/dist/cdn/VFCYMUSV.js +4 -0
- package/dist/cdn/VMXJ4IDL.js +4 -0
- package/dist/cdn/VVJ3KZ5T.js +4 -0
- package/dist/cdn/{QJARG3WZ.js → VX2JGZIO.js} +2 -2
- package/dist/cdn/W6PLN5C2.js +4 -0
- package/dist/cdn/{QTKLPYRG.js → W7OAVHYC.js} +2 -2
- package/dist/cdn/{EYJ7E6M7.js → W7WSNFTV.js} +2 -2
- package/dist/cdn/WNFGFY2S.js +4 -0
- package/dist/cdn/WNFYVZVG.js +4 -0
- package/dist/cdn/WWKWK4B6.js +4 -0
- package/dist/cdn/WXKT2AG2.js +4 -0
- package/dist/cdn/{UJIV2GMU.js → X4H4RBYA.js} +2 -2
- package/dist/cdn/X7W57GSM.js +4 -0
- package/dist/cdn/{B4OGLXF4.js → XBBHVZ25.js} +2 -2
- package/dist/cdn/XCGHWSFI.js +4 -0
- package/dist/cdn/XLEXQ3RY.js +4 -0
- package/dist/cdn/{4HN3TSXU.js → XQY4AL4K.js} +2 -2
- package/dist/cdn/XRZ2XSGM.js +4 -0
- package/dist/cdn/XTPFWVER.js +4 -0
- package/dist/cdn/{RQWOQMQU.js → XYHKFNKH.js} +2 -2
- package/dist/cdn/Y6G4P3KK.js +4 -0
- package/dist/cdn/YBTGAQJ2.js +4 -0
- package/dist/cdn/{J5NQV6XX.js → YLUZCRRG.js} +2 -2
- package/dist/cdn/{I5BOKXFX.js → YO5WHYVO.js} +2 -2
- package/dist/cdn/YPGRHGFA.js +4 -0
- package/dist/cdn/Z457REJ7.js +4 -0
- package/dist/cdn/Z5PN3JQR.js +4 -0
- package/dist/cdn/ZJFB5WDL.js +4 -0
- package/dist/cdn/{7TE6OUWS.js → ZLW36FK2.js} +2 -2
- package/dist/cdn/ZO2HZH2Z.js +4 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/axes/index.d.ts +1 -1
- 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 +9 -6
- 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 +3 -166
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +2 -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 -8
- package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
- package/dist/chart-rendering/common/events/index.d.ts +2 -4
- 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 +2 -3
- 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/common/t9n/errors/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +9 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- 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/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/scatter-plot/interfaces.d.ts +1 -0
- 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/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
- package/dist/chart-rendering/next/utils/index.d.ts +15 -7
- package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +2 -2
- package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/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/index.d.ts +1 -1
- 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/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 +8 -4
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
- 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 +61 -924
- 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 +23743 -2182
- 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 +166 -203
- 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 +21 -16
- package/dist/components/arcgis-chart/customElement.js +8032 -7814
- 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 +116 -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 +36 -23
- 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 -52
- 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 +48 -35
- 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 +22 -13
- package/dist/docs/api.json +28 -95
- package/dist/docs/docs.json +116 -100
- package/dist/docs/vscode.html-custom-data.json +6 -2
- package/dist/docs/web-types.json +13 -8
- package/dist/index.js +426 -406
- package/dist/json-schema/index.d.ts +13 -2
- package/dist/loader.js +2 -2
- 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 +44 -2
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +11 -0
- package/dist/spec/web-chart.d.ts +6 -4
- package/dist/store.d.ts +24 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- 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 +36 -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/defaults/interfaces.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 +3 -3
- 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/misc/interfaces.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/2HIESHCK.js +0 -4
- package/dist/cdn/2JOGVVDJ.js +0 -4
- package/dist/cdn/2OR3NHGS.js +0 -4
- package/dist/cdn/2T3FKIKD.js +0 -4
- package/dist/cdn/3FPVN4WA.js +0 -4
- package/dist/cdn/3VT6VDXV.js +0 -6
- package/dist/cdn/3XDQPIZW.js +0 -4
- package/dist/cdn/4LFWDONF.js +0 -4
- package/dist/cdn/4QX45F5S.js +0 -4
- package/dist/cdn/4UCYNEJJ.js +0 -4
- package/dist/cdn/4XMAIN2E.js +0 -4
- package/dist/cdn/5O5PYF2D.js +0 -4
- package/dist/cdn/5PBT5VWS.js +0 -4
- package/dist/cdn/5V3CXHDL.js +0 -4
- package/dist/cdn/5YIO2GLZ.js +0 -4
- package/dist/cdn/6354Q7NB.js +0 -4
- package/dist/cdn/6CCMPHJI.js +0 -4
- package/dist/cdn/6MIYMT56.js +0 -4
- package/dist/cdn/73GA5EXO.js +0 -4
- package/dist/cdn/76CEXLKL.js +0 -4
- package/dist/cdn/7PMS3DYX.js +0 -4
- package/dist/cdn/A7F3IPBY.js +0 -4
- package/dist/cdn/ALNWHMNW.js +0 -4
- package/dist/cdn/AVER3U52.js +0 -4
- package/dist/cdn/AXPN4FNV.js +0 -4
- package/dist/cdn/BBT33245.js +0 -4
- package/dist/cdn/BO6GDR27.js +0 -4
- package/dist/cdn/BP7HF2AD.js +0 -4
- package/dist/cdn/CF277RPC.js +0 -4
- package/dist/cdn/CFKF5LDT.js +0 -4
- package/dist/cdn/CK5IM3GO.js +0 -4
- package/dist/cdn/CRP2AMFE.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DTVGPIJ3.js +0 -4
- package/dist/cdn/E3QCVPG4.js +0 -4
- package/dist/cdn/E6O5I55W.js +0 -4
- package/dist/cdn/EKB3B7EF.js +0 -4
- package/dist/cdn/FBWO7D6S.js +0 -4
- package/dist/cdn/FN6TDQYA.js +0 -4
- package/dist/cdn/FRJUF57I.js +0 -4
- package/dist/cdn/FXQUU3E2.js +0 -4
- package/dist/cdn/GMBZEXQX.js +0 -42
- package/dist/cdn/GVRKARMU.js +0 -4
- package/dist/cdn/H4KX74BW.js +0 -4
- package/dist/cdn/H5E32YO2.js +0 -4
- package/dist/cdn/H6M72SCY.js +0 -4
- package/dist/cdn/HAJ3HITN.js +0 -4
- package/dist/cdn/HCZAZ5NC.js +0 -4
- package/dist/cdn/HMCSR3Q5.js +0 -4
- package/dist/cdn/I6SMUBK4.js +0 -4
- package/dist/cdn/IBJ3ADC7.js +0 -4
- package/dist/cdn/II4CG7JE.js +0 -4
- package/dist/cdn/IIGVC6UH.js +0 -4
- package/dist/cdn/IMXTIBFY.js +0 -4
- package/dist/cdn/IPIPBPC6.js +0 -4
- package/dist/cdn/IRT42ZDF.js +0 -4
- package/dist/cdn/ITJI4AFT.js +0 -4
- package/dist/cdn/IVQM662J.js +0 -4
- package/dist/cdn/J7BOL2US.js +0 -4
- package/dist/cdn/J7XKLSKH.js +0 -4
- package/dist/cdn/J7YWPXDD.js +0 -4
- package/dist/cdn/JM4VWVPS.js +0 -4
- package/dist/cdn/JMDCNX7N.js +0 -4
- package/dist/cdn/JNE4Z6G5.js +0 -4
- package/dist/cdn/KC2RQX4R.js +0 -4
- package/dist/cdn/KEEA57RQ.js +0 -4
- package/dist/cdn/KHMU6HLZ.js +0 -58
- package/dist/cdn/L6KF75O5.js +0 -4
- package/dist/cdn/MCWQHEPF.js +0 -4
- package/dist/cdn/MQX4DPA6.js +0 -4
- package/dist/cdn/NAQM6RP7.js +0 -4
- package/dist/cdn/NDW2U7KB.js +0 -4
- package/dist/cdn/NPMQQH4S.js +0 -4
- package/dist/cdn/NRHWX6SR.js +0 -4
- package/dist/cdn/O73SAQIW.js +0 -4
- package/dist/cdn/OQTZ7B6W.js +0 -4
- package/dist/cdn/OWMDCQRI.js +0 -4
- package/dist/cdn/P5U4M276.js +0 -4
- package/dist/cdn/P7NTKSG6.js +0 -4
- package/dist/cdn/P7PPAJGS.js +0 -4
- package/dist/cdn/PPV5OKLH.js +0 -4
- package/dist/cdn/QFMSUZRQ.js +0 -4
- package/dist/cdn/QGLIMHMS.js +0 -4
- package/dist/cdn/QY3ZJ6XT.js +0 -4
- package/dist/cdn/QZ4B6KQZ.js +0 -4
- package/dist/cdn/R4JF6H5G.js +0 -4
- package/dist/cdn/RJLDFLMS.js +0 -4
- package/dist/cdn/RW73AOAV.js +0 -4
- package/dist/cdn/RX3WGJ2K.js +0 -4
- package/dist/cdn/SE3Q7IDB.js +0 -4
- package/dist/cdn/SE4OMJXM.js +0 -4
- package/dist/cdn/SZI274L4.js +0 -4
- package/dist/cdn/T27DWGVP.js +0 -4
- package/dist/cdn/TJTV5KU7.js +0 -4
- package/dist/cdn/U6CGXT4H.js +0 -4
- package/dist/cdn/UF7XCMGM.js +0 -4
- package/dist/cdn/V3MCTZ24.js +0 -4
- package/dist/cdn/W6WZHJCR.js +0 -4
- package/dist/cdn/WCRIFKUU.js +0 -4
- package/dist/cdn/WMYPI52V.js +0 -4
- package/dist/cdn/WQIZBBZX.js +0 -4
- package/dist/cdn/XY5HKZ4D.js +0 -4
- package/dist/cdn/YTTML4TM.js +0 -4
- package/dist/cdn/Z4SHW63D.js +0 -4
- package/dist/cdn/ZDIZOBJS.js +0 -4
- package/dist/cdn/ZFXICCAR.js +0 -4
- package/dist/cdn/ZGSSASAI.js +0 -4
- package/dist/cdn/ZHNY5GNR.js +0 -4
- package/dist/cdn/ZIJTOWYD.js +0 -4
- package/dist/cdn/ZK74JJQQ.js +0 -4
- package/dist/cdn/ZNXJXIA6.js +0 -4
- package/dist/cdn/ZVHDD22N.js +0 -4
- package/dist/cdn/ZVSUDJHS.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,28 +1,35 @@
|
|
|
1
|
-
import { fetchT9nStringsBundle as
|
|
1
|
+
import { fetchT9nStringsBundle as I, getElementLocale as M } from "@arcgis/toolkit/intl";
|
|
2
2
|
import { cloneDeep as X } from "lodash-es";
|
|
3
|
-
import { W as p, o as
|
|
3
|
+
import { W as p, o as _ } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { az as x, bs as g, ax as f, cW as N, p as R, g as z, bx as E, aH as k, ay as W, aA as H, j as Y, av as y } from "./index.js";
|
|
6
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
7
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
8
|
+
import "@arcgis/core/Graphic.js";
|
|
9
|
+
import "@arcgis/core/intl.js";
|
|
10
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
|
+
import "simple-statistics";
|
|
14
|
+
import "@arcgis/core/request.js";
|
|
15
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
6
16
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
17
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
18
|
import "@arcgis/core/rest/support/Query.js";
|
|
9
19
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
10
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
|
-
import "@arcgis/core/request.js";
|
|
13
22
|
import { g as P } from "./runtime.js";
|
|
14
23
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import "@arcgis/core/intl.js";
|
|
16
24
|
import { R as u } from "./rest-js-object-literals.js";
|
|
17
|
-
import { c as Z, b as j } from "./
|
|
25
|
+
import { c as Z, b as j } from "./index3.js";
|
|
18
26
|
import { G as c } from "./common.js";
|
|
19
|
-
import { g as b,
|
|
20
|
-
import {
|
|
21
|
-
import { c as kt } from "./index.js";
|
|
27
|
+
import { g as b, K as C, L as q, M as K, N as Q, O as $, P as J, Q as tt, R as it, S as et, T as st, U as rt, V as ot, W as nt, X as at, Y as gt, Z as ct, _ as lt, $ as ut, a0 as ht, a1 as ft, a2 as dt, a3 as mt, o as xt, a4 as yt, a5 as bt, a as v, a6 as A, a7 as T, a8 as L, a9 as h, s as m, aa as St, ab as F, ac as V, ad as pt, ae as _t, af as Ct, ag as vt, d as S, ah as r, ai as At, aj as Tt, ak as Lt, al as Ft, am as Vt, an as wt, ao as Gt, ap as Ut, aq as Ot, ar as Bt, as as Dt, at as It, au as Mt, av as Xt, aw as Nt, ax as Rt, ay as zt } from "./serial-chart-data.js";
|
|
28
|
+
import { c as Et } from "./index2.js";
|
|
22
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
25
|
-
const
|
|
31
|
+
v5.0.0-next.42 */
|
|
32
|
+
const kt = (e) => e.title?.content, Wt = (e, t) => {
|
|
26
33
|
if (e) {
|
|
27
34
|
const i = b(t);
|
|
28
35
|
t.title === void 0 && (t.title = x({
|
|
@@ -32,7 +39,7 @@ const Wt = (e) => e.title?.content, Ht = (e, t) => {
|
|
|
32
39
|
type: g.ChartTitle
|
|
33
40
|
})), t.title.content = e, t.title.content.text = i;
|
|
34
41
|
}
|
|
35
|
-
},
|
|
42
|
+
}, Ht = (e) => e.subtitle?.content, Yt = (e, t) => {
|
|
36
43
|
if (e) {
|
|
37
44
|
const i = b(t);
|
|
38
45
|
t.subtitle === void 0 && (t.subtitle = x({
|
|
@@ -42,9 +49,9 @@ const Wt = (e) => e.title?.content, Ht = (e, t) => {
|
|
|
42
49
|
type: g.ChartSubtitle
|
|
43
50
|
})), t.subtitle.content = e, t.subtitle.content.text = i;
|
|
44
51
|
}
|
|
45
|
-
},
|
|
52
|
+
}, Pt = (e) => e.footer?.content, Zt = (e, t) => {
|
|
46
53
|
if (e) {
|
|
47
|
-
const i =
|
|
54
|
+
const i = C(t);
|
|
48
55
|
t.footer === void 0 && (t.footer = x({
|
|
49
56
|
text: "",
|
|
50
57
|
visible: !0,
|
|
@@ -52,10 +59,10 @@ const Wt = (e) => e.title?.content, Ht = (e, t) => {
|
|
|
52
59
|
type: g.DescriptionText
|
|
53
60
|
})), t.footer.content = e, t.footer.content.text = i;
|
|
54
61
|
}
|
|
55
|
-
},
|
|
62
|
+
}, jt = (e) => e.background, qt = (e, t) => {
|
|
56
63
|
t.background = e;
|
|
57
64
|
};
|
|
58
|
-
class
|
|
65
|
+
class w extends EventTarget {
|
|
59
66
|
constructor() {
|
|
60
67
|
super(...arguments), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.dataStore = {}, this.setupFinished = new Promise((t) => {
|
|
61
68
|
this.resolveSetup = t;
|
|
@@ -109,7 +116,7 @@ class U extends EventTarget {
|
|
|
109
116
|
* The version of the chart configuration.
|
|
110
117
|
*/
|
|
111
118
|
get version() {
|
|
112
|
-
return
|
|
119
|
+
return q(this._config);
|
|
113
120
|
}
|
|
114
121
|
/**
|
|
115
122
|
* The chart title text.
|
|
@@ -120,7 +127,7 @@ class U extends EventTarget {
|
|
|
120
127
|
}
|
|
121
128
|
set titleText(t) {
|
|
122
129
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
123
|
-
|
|
130
|
+
K(t, this._config), this.emitConfigUpdate("titleText");
|
|
124
131
|
});
|
|
125
132
|
}
|
|
126
133
|
/**
|
|
@@ -132,28 +139,25 @@ class U extends EventTarget {
|
|
|
132
139
|
}
|
|
133
140
|
set subtitleText(t) {
|
|
134
141
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
135
|
-
|
|
142
|
+
$(t, this._config), this.emitConfigUpdate("subtitleText");
|
|
136
143
|
});
|
|
137
144
|
}
|
|
138
145
|
/**
|
|
139
146
|
* The chart description text.
|
|
140
147
|
*/
|
|
141
148
|
get descriptionText() {
|
|
142
|
-
return
|
|
149
|
+
return C(this._config);
|
|
143
150
|
}
|
|
144
151
|
set descriptionText(t) {
|
|
145
152
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
146
|
-
|
|
153
|
+
J(t, this._config), this.emitConfigUpdate("descriptionText");
|
|
147
154
|
});
|
|
148
155
|
}
|
|
149
156
|
/**
|
|
150
157
|
* Whether or not the chart title is visible.
|
|
151
|
-
*
|
|
152
158
|
* `true`: Chart title is visible.
|
|
153
|
-
*
|
|
154
159
|
* `false`: Chart title is hidden.
|
|
155
|
-
*
|
|
156
|
-
* **Note: Even if the title is visible, it may not be displayed if the title text is empty.**
|
|
160
|
+
* **Note:** Even if the title is visible, it may not be displayed if the title text is empty.
|
|
157
161
|
*/
|
|
158
162
|
get chartTitleVisibility() {
|
|
159
163
|
return tt(this._config);
|
|
@@ -165,12 +169,9 @@ class U extends EventTarget {
|
|
|
165
169
|
}
|
|
166
170
|
/**
|
|
167
171
|
* Whether or not the chart subtitle is visible.
|
|
168
|
-
*
|
|
169
172
|
* `true`: Chart subtitle is visible.
|
|
170
|
-
*
|
|
171
173
|
* `false`: Chart subtitle is hidden.
|
|
172
|
-
*
|
|
173
|
-
* **Note: Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.**
|
|
174
|
+
* **Note:** Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.
|
|
174
175
|
*/
|
|
175
176
|
get chartSubtitleVisibility() {
|
|
176
177
|
return et(this._config);
|
|
@@ -182,12 +183,9 @@ class U extends EventTarget {
|
|
|
182
183
|
}
|
|
183
184
|
/**
|
|
184
185
|
* Whether or not the chart description is visible.
|
|
185
|
-
*
|
|
186
186
|
* `true`: Description is visible.
|
|
187
|
-
*
|
|
188
187
|
* `false`: Description is hidden.
|
|
189
|
-
*
|
|
190
|
-
* **Note: Even if the description is visible, it may not be displayed if the description text is empty.**
|
|
188
|
+
* **Note:** Even if the description is visible, it may not be displayed if the description text is empty.
|
|
191
189
|
*/
|
|
192
190
|
get descriptionVisibility() {
|
|
193
191
|
return rt(this._config);
|
|
@@ -216,40 +214,40 @@ class U extends EventTarget {
|
|
|
216
214
|
* The title text symbol. Contains styling information such as font, color, and symbol style.
|
|
217
215
|
*/
|
|
218
216
|
get titleSymbol() {
|
|
219
|
-
return
|
|
217
|
+
return kt(this._config);
|
|
220
218
|
}
|
|
221
219
|
set titleSymbol(t) {
|
|
222
220
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
223
|
-
|
|
221
|
+
Wt(t, this._config), this.emitConfigUpdate("titleSymbol");
|
|
224
222
|
});
|
|
225
223
|
}
|
|
226
224
|
/**
|
|
227
225
|
* The subtitle text symbol. Contains styling information such as font, color, and symbol style.
|
|
228
226
|
*/
|
|
229
227
|
get subtitleSymbol() {
|
|
230
|
-
return
|
|
228
|
+
return Ht(this._config);
|
|
231
229
|
}
|
|
232
230
|
set subtitleSymbol(t) {
|
|
233
231
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
234
|
-
|
|
232
|
+
Yt(t, this._config), this.emitConfigUpdate("subtitleSymbol");
|
|
235
233
|
});
|
|
236
234
|
}
|
|
237
235
|
/**
|
|
238
236
|
* The description text symbol. Contains styling information such as font, color, and symbol style.
|
|
239
237
|
*/
|
|
240
238
|
get descriptionSymbol() {
|
|
241
|
-
return
|
|
239
|
+
return Pt(this._config);
|
|
242
240
|
}
|
|
243
241
|
set descriptionSymbol(t) {
|
|
244
242
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
245
|
-
|
|
243
|
+
Zt(t, this._config), this.emitConfigUpdate("descriptionSymbol");
|
|
246
244
|
});
|
|
247
245
|
}
|
|
248
246
|
/**
|
|
249
247
|
* The background color of the chart.
|
|
250
248
|
*/
|
|
251
249
|
get backgroundColor() {
|
|
252
|
-
return
|
|
250
|
+
return jt(this._config);
|
|
253
251
|
}
|
|
254
252
|
set backgroundColor(t) {
|
|
255
253
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -270,20 +268,15 @@ class U extends EventTarget {
|
|
|
270
268
|
}
|
|
271
269
|
/**
|
|
272
270
|
* Sets the visibility of a series.
|
|
273
|
-
* @param {
|
|
274
|
-
* @param {string} props.seriesId
|
|
275
|
-
* @param {OverlayTerms} props.overlayType
|
|
276
|
-
* @param {string} props.sliceId
|
|
277
|
-
* @param {WebChartDataItem} props.sliceData
|
|
271
|
+
* @param {LegendItemVisibility} props - Visibility options for the series.
|
|
278
272
|
*/
|
|
279
273
|
setSeriesVisibility(t) {
|
|
280
274
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
281
|
-
|
|
275
|
+
N({ detail: t }, this._config), this.emitConfigUpdate("setSeriesVisibility");
|
|
282
276
|
});
|
|
283
277
|
}
|
|
284
278
|
/**
|
|
285
279
|
* Gets the series ID for a given series index.
|
|
286
|
-
*
|
|
287
280
|
* If the series index is out of bounds, this function will return `undefined`.
|
|
288
281
|
*
|
|
289
282
|
* @param {number} seriesIndex The index of the series.
|
|
@@ -294,10 +287,9 @@ class U extends EventTarget {
|
|
|
294
287
|
}
|
|
295
288
|
/**
|
|
296
289
|
* Gets the series index for a given series ID.
|
|
297
|
-
*
|
|
298
290
|
* If the series ID is not found, this function will return `undefined`.
|
|
299
291
|
*
|
|
300
|
-
* @param {string} seriesId
|
|
292
|
+
* @param {string} seriesId The ID of the series.
|
|
301
293
|
* @returns {number | undefined}
|
|
302
294
|
*/
|
|
303
295
|
getSeriesIndex(t) {
|
|
@@ -313,7 +305,7 @@ class U extends EventTarget {
|
|
|
313
305
|
* The chart sub type of the series.
|
|
314
306
|
*/
|
|
315
307
|
get chartSubType() {
|
|
316
|
-
return
|
|
308
|
+
return R(this._config.series);
|
|
317
309
|
}
|
|
318
310
|
/**
|
|
319
311
|
* Gets the data tooltip value format for a series.
|
|
@@ -370,10 +362,11 @@ class U extends EventTarget {
|
|
|
370
362
|
return yt(this._config);
|
|
371
363
|
}
|
|
372
364
|
/**
|
|
373
|
-
*
|
|
365
|
+
* Sets the data filter for the chart.
|
|
366
|
+
* @param {WebChartDataFilters | undefined} newDataFilters The new data filter.
|
|
374
367
|
*/
|
|
375
368
|
async setDataFilters(t) {
|
|
376
|
-
bt(t, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilters");
|
|
369
|
+
return bt(t, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilters"), await Promise.resolve();
|
|
377
370
|
}
|
|
378
371
|
// #endregion
|
|
379
372
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -399,21 +392,21 @@ class U extends EventTarget {
|
|
|
399
392
|
*/
|
|
400
393
|
async loadConfigFromLayer(t) {
|
|
401
394
|
const { layer: i, iLayer: s, config: a } = t;
|
|
402
|
-
this.commonStrings = await
|
|
403
|
-
|
|
395
|
+
this.commonStrings = await I(
|
|
396
|
+
M(document.documentElement).t9nLocale,
|
|
404
397
|
P("./assets/common/t9n"),
|
|
405
398
|
"messages."
|
|
406
399
|
);
|
|
407
400
|
let n = i;
|
|
408
|
-
if (!n && s && (n = await
|
|
409
|
-
const l = await
|
|
401
|
+
if (!n && s && (n = await z(s)), n) {
|
|
402
|
+
const l = await E(n, !0), { objectIdField: D } = n;
|
|
410
403
|
this.layerInfo = {
|
|
411
404
|
layer: n,
|
|
412
405
|
layerFieldsInfo: l,
|
|
413
|
-
objectIdField:
|
|
406
|
+
objectIdField: D
|
|
414
407
|
};
|
|
415
408
|
}
|
|
416
|
-
this._config = a !== void 0 ? await
|
|
409
|
+
this._config = a !== void 0 ? await Et(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = k().title), s && (this._config.iLayer = s);
|
|
417
410
|
}
|
|
418
411
|
/**
|
|
419
412
|
* Guards a setter from being called while an async config update is in progress so that the value being set is not overwritten by the async config update.
|
|
@@ -424,16 +417,16 @@ class U extends EventTarget {
|
|
|
424
417
|
}
|
|
425
418
|
// #endregion
|
|
426
419
|
}
|
|
427
|
-
class
|
|
420
|
+
class G extends w {
|
|
428
421
|
/**
|
|
429
422
|
* The x-axis title text.
|
|
430
423
|
*/
|
|
431
424
|
get xAxisTitleText() {
|
|
432
|
-
return
|
|
425
|
+
return v(0, this._config);
|
|
433
426
|
}
|
|
434
427
|
set xAxisTitleText(t) {
|
|
435
428
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
436
|
-
|
|
429
|
+
A(t, 0, this._config), this.emitConfigUpdate("xAxisTitleText");
|
|
437
430
|
});
|
|
438
431
|
}
|
|
439
432
|
/**
|
|
@@ -442,11 +435,11 @@ class O extends U {
|
|
|
442
435
|
* false: X-axis title is hidden.
|
|
443
436
|
*/
|
|
444
437
|
get xAxisTitleVisibility() {
|
|
445
|
-
return
|
|
438
|
+
return T(0, this._config);
|
|
446
439
|
}
|
|
447
440
|
set xAxisTitleVisibility(t) {
|
|
448
441
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
449
|
-
|
|
442
|
+
L(t, 0, this._config), this.emitConfigUpdate("xAxisTitleVisibility");
|
|
450
443
|
});
|
|
451
444
|
}
|
|
452
445
|
/**
|
|
@@ -475,11 +468,11 @@ class O extends U {
|
|
|
475
468
|
* X-axis title text symbol (font, color, style).
|
|
476
469
|
*/
|
|
477
470
|
get xAxisTitleSymbol() {
|
|
478
|
-
return
|
|
471
|
+
return F(this._config, 0);
|
|
479
472
|
}
|
|
480
473
|
set xAxisTitleSymbol(t) {
|
|
481
474
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
482
|
-
|
|
475
|
+
V({ symbol: t, axisIndex: 0, config: this._config }), this.emitConfigUpdate("xAxisTitleSymbol");
|
|
483
476
|
});
|
|
484
477
|
}
|
|
485
478
|
/**
|
|
@@ -505,12 +498,12 @@ class O extends U {
|
|
|
505
498
|
});
|
|
506
499
|
}
|
|
507
500
|
}
|
|
508
|
-
const
|
|
501
|
+
const Kt = (e) => {
|
|
509
502
|
for (const t of e.axes ?? [])
|
|
510
503
|
for (const i of t?.guides ?? [])
|
|
511
504
|
if (i.label !== void 0)
|
|
512
505
|
return i.label;
|
|
513
|
-
},
|
|
506
|
+
}, Qt = (e, t) => {
|
|
514
507
|
for (const i of t.axes ?? [])
|
|
515
508
|
for (const s of i?.guides ?? []) {
|
|
516
509
|
const a = s.label?.text ?? "";
|
|
@@ -525,52 +518,52 @@ function o(e) {
|
|
|
525
518
|
orientation: e.orientation ?? c.Y
|
|
526
519
|
};
|
|
527
520
|
}
|
|
528
|
-
const
|
|
521
|
+
const $t = (e) => {
|
|
529
522
|
const { axis: t, index: i } = o(e);
|
|
530
523
|
return t?.guides?.[i]?.visible ?? !0;
|
|
531
|
-
},
|
|
524
|
+
}, Jt = (e) => {
|
|
532
525
|
const { visible: t, axis: i, index: s } = o(e);
|
|
533
526
|
i?.guides?.[s] !== void 0 && (i.guides[s].visible = t);
|
|
534
|
-
},
|
|
527
|
+
}, U = (e) => {
|
|
535
528
|
const t = Y(e.start, e.end);
|
|
536
529
|
Z(e.style) && t === u.SFS ? e.style = { type: u.SFS, color: e.style.color } : j(e.style) && t === u.SLS && (e.style = { type: u.SLS, color: e.style.color });
|
|
537
|
-
},
|
|
530
|
+
}, ti = (e) => {
|
|
538
531
|
const { axis: t, index: i } = o(e);
|
|
539
532
|
return t?.guides?.[i]?.start ?? null;
|
|
540
|
-
},
|
|
533
|
+
}, ii = (e) => {
|
|
541
534
|
const { start: t, axis: i, index: s } = o(e);
|
|
542
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].start = t,
|
|
543
|
-
},
|
|
535
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].start = t, U(i.guides[s]));
|
|
536
|
+
}, ei = (e) => {
|
|
544
537
|
const { axis: t, index: i } = o(e);
|
|
545
538
|
return t?.guides?.[i]?.end;
|
|
546
|
-
},
|
|
539
|
+
}, si = (e) => {
|
|
547
540
|
const { end: t, axis: i, index: s } = o(e);
|
|
548
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].end = t,
|
|
549
|
-
},
|
|
541
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].end = t, U(i.guides[s]));
|
|
542
|
+
}, ri = (e) => {
|
|
550
543
|
const { axis: t, index: i } = o(e);
|
|
551
544
|
return t?.guides?.[i]?.name;
|
|
552
|
-
},
|
|
545
|
+
}, oi = (e) => {
|
|
553
546
|
const { name: t, axis: i, index: s } = o(e);
|
|
554
547
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = t);
|
|
555
|
-
},
|
|
548
|
+
}, ni = (e) => {
|
|
556
549
|
const { axis: t, index: i } = o(e);
|
|
557
550
|
return t?.guides?.[i]?.label?.text;
|
|
558
|
-
},
|
|
551
|
+
}, ai = (e) => {
|
|
559
552
|
const { labelText: t, axis: i, index: s } = o(e), a = i?.guides?.[s]?.label ?? W(t, f(g.GuideLabel), g.GuideLabel);
|
|
560
553
|
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...a, text: t });
|
|
561
|
-
},
|
|
554
|
+
}, gi = (e) => {
|
|
562
555
|
const { axis: t, index: i } = o(e);
|
|
563
556
|
return t?.guides?.[i]?.above ?? !1;
|
|
564
|
-
},
|
|
557
|
+
}, ci = (e) => {
|
|
565
558
|
const { above: t, axis: i, index: s } = o(e);
|
|
566
559
|
i?.guides?.[s] !== void 0 && (i.guides[s].above = t);
|
|
567
|
-
},
|
|
560
|
+
}, li = (e) => {
|
|
568
561
|
const { axis: t, index: i } = o(e);
|
|
569
562
|
return t?.guides?.[i]?.style;
|
|
570
|
-
},
|
|
563
|
+
}, ui = (e) => {
|
|
571
564
|
const { style: t, axis: i, index: s } = o(e);
|
|
572
565
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = t);
|
|
573
|
-
},
|
|
566
|
+
}, O = (e) => {
|
|
574
567
|
const { config: t, name: i, index: s, orientation: a } = e, n = a === c.X ? t.axes?.[0] : t.axes?.[1];
|
|
575
568
|
if (n !== void 0) {
|
|
576
569
|
n.guides = n.guides ?? [];
|
|
@@ -582,27 +575,27 @@ const Kt = (e) => {
|
|
|
582
575
|
};
|
|
583
576
|
s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, l) : n.guides.push(l);
|
|
584
577
|
}
|
|
585
|
-
},
|
|
578
|
+
}, B = (e) => {
|
|
586
579
|
const { config: t, index: i, orientation: s } = e, a = s === c.X ? t.axes?.[0] : t.axes?.[1];
|
|
587
580
|
a?.guides !== void 0 && (i !== void 0 && i < a.guides.length ? a.guides.splice(i, 1) : a.guides.pop());
|
|
588
|
-
},
|
|
581
|
+
}, hi = (e) => {
|
|
589
582
|
const { axis: t, index: i } = o(e);
|
|
590
583
|
return t?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
591
|
-
},
|
|
584
|
+
}, fi = (e) => {
|
|
592
585
|
const { reverseColor: t, axis: i, index: s } = o(e);
|
|
593
586
|
i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = t);
|
|
594
587
|
};
|
|
595
|
-
class d extends
|
|
588
|
+
class d extends w {
|
|
596
589
|
/**
|
|
597
590
|
* The guide labels text symbol (font, color, style).
|
|
598
591
|
* @returns {WebChartTextSymbol | undefined}
|
|
599
592
|
*/
|
|
600
593
|
get guideLabelsSymbol() {
|
|
601
|
-
return
|
|
594
|
+
return Kt(this._config);
|
|
602
595
|
}
|
|
603
596
|
set guideLabelsSymbol(t) {
|
|
604
597
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
605
|
-
|
|
598
|
+
Qt(t, this._config), this.emitConfigUpdate("guideLabelsSymbol");
|
|
606
599
|
});
|
|
607
600
|
}
|
|
608
601
|
/**
|
|
@@ -612,7 +605,7 @@ class d extends U {
|
|
|
612
605
|
* @returns {boolean}
|
|
613
606
|
*/
|
|
614
607
|
getGuideVisibility(t, i) {
|
|
615
|
-
return
|
|
608
|
+
return $t({ config: this._config, index: t, orientation: i });
|
|
616
609
|
}
|
|
617
610
|
/**
|
|
618
611
|
* Sets whether a guide is visible
|
|
@@ -622,7 +615,7 @@ class d extends U {
|
|
|
622
615
|
*/
|
|
623
616
|
setGuideVisibility(t, i, s) {
|
|
624
617
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
625
|
-
|
|
618
|
+
Jt({ visible: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideVisibility");
|
|
626
619
|
});
|
|
627
620
|
}
|
|
628
621
|
/**
|
|
@@ -632,7 +625,7 @@ class d extends U {
|
|
|
632
625
|
* @returns {Date | number | string | null}
|
|
633
626
|
*/
|
|
634
627
|
getGuideStart(t, i) {
|
|
635
|
-
return
|
|
628
|
+
return ti({ config: this._config, index: t, orientation: i });
|
|
636
629
|
}
|
|
637
630
|
/**
|
|
638
631
|
* Sets the start value of a guide.
|
|
@@ -642,7 +635,7 @@ class d extends U {
|
|
|
642
635
|
*/
|
|
643
636
|
setGuideStart(t, i, s) {
|
|
644
637
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
645
|
-
|
|
638
|
+
ii({ start: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideStart");
|
|
646
639
|
});
|
|
647
640
|
}
|
|
648
641
|
/**
|
|
@@ -652,7 +645,7 @@ class d extends U {
|
|
|
652
645
|
* @returns {Date | number | string | null}
|
|
653
646
|
*/
|
|
654
647
|
getGuideEnd(t, i) {
|
|
655
|
-
return
|
|
648
|
+
return ei({ config: this._config, index: t, orientation: i });
|
|
656
649
|
}
|
|
657
650
|
/**
|
|
658
651
|
* Sets the end value of a guide.
|
|
@@ -662,7 +655,7 @@ class d extends U {
|
|
|
662
655
|
*/
|
|
663
656
|
setGuideEnd(t, i, s) {
|
|
664
657
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
665
|
-
|
|
658
|
+
si({ end: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideEnd");
|
|
666
659
|
});
|
|
667
660
|
}
|
|
668
661
|
/**
|
|
@@ -672,7 +665,7 @@ class d extends U {
|
|
|
672
665
|
* @returns {string | undefined}
|
|
673
666
|
*/
|
|
674
667
|
getGuideName(t, i) {
|
|
675
|
-
return
|
|
668
|
+
return ri({ config: this._config, index: t, orientation: i });
|
|
676
669
|
}
|
|
677
670
|
/**
|
|
678
671
|
* Sets the name of a guide.
|
|
@@ -682,7 +675,7 @@ class d extends U {
|
|
|
682
675
|
*/
|
|
683
676
|
setGuideName(t, i, s) {
|
|
684
677
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
685
|
-
|
|
678
|
+
oi({ name: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideName");
|
|
686
679
|
});
|
|
687
680
|
}
|
|
688
681
|
/**
|
|
@@ -692,7 +685,7 @@ class d extends U {
|
|
|
692
685
|
* @returns {string | undefined}
|
|
693
686
|
*/
|
|
694
687
|
getGuideLabelText(t, i) {
|
|
695
|
-
return
|
|
688
|
+
return ni({ config: this._config, index: t, orientation: i });
|
|
696
689
|
}
|
|
697
690
|
/**
|
|
698
691
|
* Sets the guide label text.
|
|
@@ -702,7 +695,7 @@ class d extends U {
|
|
|
702
695
|
*/
|
|
703
696
|
setGuideLabelText(t, i, s) {
|
|
704
697
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
705
|
-
|
|
698
|
+
ai({ labelText: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideLabelText");
|
|
706
699
|
});
|
|
707
700
|
}
|
|
708
701
|
/**
|
|
@@ -712,7 +705,7 @@ class d extends U {
|
|
|
712
705
|
* @returns {boolean}
|
|
713
706
|
*/
|
|
714
707
|
getGuideAbove(t, i) {
|
|
715
|
-
return
|
|
708
|
+
return gi({ config: this._config, index: t, orientation: i });
|
|
716
709
|
}
|
|
717
710
|
/**
|
|
718
711
|
* Sets whether the guide should be rendered above the other chart elements.
|
|
@@ -722,7 +715,7 @@ class d extends U {
|
|
|
722
715
|
*/
|
|
723
716
|
setGuideAbove(t, i, s) {
|
|
724
717
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
725
|
-
|
|
718
|
+
ci({ above: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideAbove");
|
|
726
719
|
});
|
|
727
720
|
}
|
|
728
721
|
/**
|
|
@@ -732,7 +725,7 @@ class d extends U {
|
|
|
732
725
|
* @returns {ISimpleFillSymbol | ISimpleLineSymbol | undefined}
|
|
733
726
|
*/
|
|
734
727
|
getGuideStyle(t, i) {
|
|
735
|
-
return
|
|
728
|
+
return li({ config: this._config, index: t, orientation: i });
|
|
736
729
|
}
|
|
737
730
|
/**
|
|
738
731
|
* Sets the guide style.
|
|
@@ -742,7 +735,7 @@ class d extends U {
|
|
|
742
735
|
*/
|
|
743
736
|
setGuideStyle(t, i, s) {
|
|
744
737
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
745
|
-
|
|
738
|
+
ui({ style: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setGuideStyle");
|
|
746
739
|
});
|
|
747
740
|
}
|
|
748
741
|
/**
|
|
@@ -752,7 +745,7 @@ class d extends U {
|
|
|
752
745
|
* @returns {boolean}
|
|
753
746
|
*/
|
|
754
747
|
getTooltipReverseColor(t, i) {
|
|
755
|
-
return
|
|
748
|
+
return hi({ config: this._config, index: t, orientation: i });
|
|
756
749
|
}
|
|
757
750
|
/**
|
|
758
751
|
* Sets whether the tooltip text color should be reversed for a guide.
|
|
@@ -762,11 +755,11 @@ class d extends U {
|
|
|
762
755
|
*/
|
|
763
756
|
setTooltipReverseColor(t, i, s) {
|
|
764
757
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
765
|
-
|
|
758
|
+
fi({ reverseColor: t, config: this._config, index: i, orientation: s }), this.emitConfigUpdate("setTooltipReverseColor");
|
|
766
759
|
});
|
|
767
760
|
}
|
|
768
761
|
}
|
|
769
|
-
class
|
|
762
|
+
class di extends d {
|
|
770
763
|
// ---------------------------------------------------------------------------------------------
|
|
771
764
|
// Guides Methods
|
|
772
765
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -784,7 +777,7 @@ class mi extends d {
|
|
|
784
777
|
*/
|
|
785
778
|
addXAxisGuide(t, i) {
|
|
786
779
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
787
|
-
|
|
780
|
+
O({
|
|
788
781
|
config: this._config,
|
|
789
782
|
name: t,
|
|
790
783
|
index: i,
|
|
@@ -798,7 +791,7 @@ class mi extends d {
|
|
|
798
791
|
*/
|
|
799
792
|
deleteXAxisGuide(t) {
|
|
800
793
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
801
|
-
|
|
794
|
+
B({
|
|
802
795
|
config: this._config,
|
|
803
796
|
index: t,
|
|
804
797
|
orientation: c.X
|
|
@@ -806,8 +799,8 @@ class mi extends d {
|
|
|
806
799
|
});
|
|
807
800
|
}
|
|
808
801
|
}
|
|
809
|
-
S(
|
|
810
|
-
class
|
|
802
|
+
S(di, [d]);
|
|
803
|
+
class mi extends d {
|
|
811
804
|
/**
|
|
812
805
|
* Gets the number guides in the Y-axis guides list.
|
|
813
806
|
* @returns {number | undefined} The number of Y-axis guides.
|
|
@@ -822,7 +815,7 @@ class xi extends d {
|
|
|
822
815
|
*/
|
|
823
816
|
addYAxisGuide(t, i) {
|
|
824
817
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
825
|
-
|
|
818
|
+
O({
|
|
826
819
|
config: this._config,
|
|
827
820
|
name: t,
|
|
828
821
|
index: i,
|
|
@@ -836,7 +829,7 @@ class xi extends d {
|
|
|
836
829
|
*/
|
|
837
830
|
deleteYAxisGuide(t) {
|
|
838
831
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
839
|
-
|
|
832
|
+
B({
|
|
840
833
|
config: this._config,
|
|
841
834
|
index: t,
|
|
842
835
|
orientation: c.Y
|
|
@@ -844,21 +837,21 @@ class xi extends d {
|
|
|
844
837
|
});
|
|
845
838
|
}
|
|
846
839
|
}
|
|
847
|
-
S(
|
|
848
|
-
const
|
|
840
|
+
S(mi, [d]);
|
|
841
|
+
const xi = (e) => e.horizontalAxisLabelsBehavior ?? _.Rotate, yi = (e, t) => {
|
|
849
842
|
t.horizontalAxisLabelsBehavior = e;
|
|
850
|
-
},
|
|
843
|
+
}, bi = (e) => e.verticalAxisLabelsBehavior ?? _.Wrap, Si = (e, t) => {
|
|
851
844
|
t.verticalAxisLabelsBehavior = e;
|
|
852
|
-
},
|
|
845
|
+
}, pi = (e) => e.cursorCrosshair?.horizontalLineVisible ?? !1, _i = (e, t) => {
|
|
853
846
|
t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.horizontalLineVisible = e;
|
|
854
|
-
},
|
|
847
|
+
}, Ci = (e) => e.cursorCrosshair?.verticalLineVisible ?? !1, vi = (e, t) => {
|
|
855
848
|
t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.verticalLineVisible = e;
|
|
856
|
-
},
|
|
849
|
+
}, Ai = (e) => e.cursorCrosshair?.style, Ti = (e, t) => {
|
|
857
850
|
t.cursorCrosshair === void 0 && (t.cursorCrosshair = y()), t.cursorCrosshair.style = e;
|
|
858
|
-
},
|
|
851
|
+
}, Li = (e) => e.cursorCrosshair, Fi = (e, t) => {
|
|
859
852
|
t.cursorCrosshair = e;
|
|
860
853
|
};
|
|
861
|
-
class
|
|
854
|
+
class Vi extends G {
|
|
862
855
|
/**
|
|
863
856
|
* Gets the title text of the specified axis.
|
|
864
857
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -868,16 +861,14 @@ class wi extends O {
|
|
|
868
861
|
return r({
|
|
869
862
|
config: this._config,
|
|
870
863
|
axisIndex: t,
|
|
871
|
-
func: (i) =>
|
|
864
|
+
func: (i) => v(i, this._config)
|
|
872
865
|
}) ?? "";
|
|
873
866
|
}
|
|
874
867
|
/**
|
|
875
868
|
* Sets the title text for the specified axis.
|
|
869
|
+
* **Note:** The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
876
870
|
* @param {string} titleText The title text for the axis.
|
|
877
871
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
878
|
-
*
|
|
879
|
-
* **NOTE**: The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
880
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
881
872
|
*/
|
|
882
873
|
setAxisTitleText(t, i) {
|
|
883
874
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -885,7 +876,7 @@ class wi extends O {
|
|
|
885
876
|
config: this._config,
|
|
886
877
|
axisIndex: i,
|
|
887
878
|
func: (s) => {
|
|
888
|
-
|
|
879
|
+
A(t, s, this._config), this.emitConfigUpdate("setAxisTitleText");
|
|
889
880
|
}
|
|
890
881
|
});
|
|
891
882
|
});
|
|
@@ -899,16 +890,14 @@ class wi extends O {
|
|
|
899
890
|
return r({
|
|
900
891
|
config: this._config,
|
|
901
892
|
axisIndex: t,
|
|
902
|
-
func: (i) =>
|
|
893
|
+
func: (i) => T(i, this._config)
|
|
903
894
|
}) ?? !1;
|
|
904
895
|
}
|
|
905
896
|
/**
|
|
906
897
|
* Sets the visibility of the specified axis title.
|
|
898
|
+
* **Note:** The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
907
899
|
* @param {boolean} isVisible The visibility state for the axis title.
|
|
908
900
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
909
|
-
*
|
|
910
|
-
* **NOTE**: The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
911
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
912
901
|
*/
|
|
913
902
|
setAxisTitleVisibility(t, i) {
|
|
914
903
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -916,7 +905,7 @@ class wi extends O {
|
|
|
916
905
|
config: this._config,
|
|
917
906
|
axisIndex: i,
|
|
918
907
|
func: (s) => {
|
|
919
|
-
|
|
908
|
+
L(t, s, this._config), this.emitConfigUpdate("setAxisTitleVisibility");
|
|
920
909
|
}
|
|
921
910
|
});
|
|
922
911
|
});
|
|
@@ -935,11 +924,9 @@ class wi extends O {
|
|
|
935
924
|
}
|
|
936
925
|
/**
|
|
937
926
|
* Sets the maximum bound for the specified axis.
|
|
927
|
+
* **Note:** The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
938
928
|
* @param {number | null} newMaxBound The value to set as the maximum bound.
|
|
939
929
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
940
|
-
*
|
|
941
|
-
* **NOTE**: The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
942
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
943
930
|
*/
|
|
944
931
|
setMaxBound(t, i) {
|
|
945
932
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -966,11 +953,9 @@ class wi extends O {
|
|
|
966
953
|
}
|
|
967
954
|
/**
|
|
968
955
|
* Sets the minimum bound for the specified axis.
|
|
956
|
+
* **Note:** The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
969
957
|
* @param {number | null} newMinBound The value to set as the minimum bound.
|
|
970
958
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
971
|
-
*
|
|
972
|
-
* **NOTE**: The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
973
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
974
959
|
*/
|
|
975
960
|
setMinBound(t, i) {
|
|
976
961
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -997,11 +982,9 @@ class wi extends O {
|
|
|
997
982
|
}
|
|
998
983
|
/**
|
|
999
984
|
* Sets the value format for the specified axis.
|
|
985
|
+
* **Note:** The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1000
986
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1001
987
|
* @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} valueFormat The value format to set.
|
|
1002
|
-
*
|
|
1003
|
-
* **NOTE**: The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1004
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1005
988
|
*/
|
|
1006
989
|
setAxisValueFormat(t, i) {
|
|
1007
990
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1038,16 +1021,11 @@ class wi extends O {
|
|
|
1038
1021
|
}
|
|
1039
1022
|
/**
|
|
1040
1023
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
1041
|
-
*
|
|
1042
1024
|
* `true`: Enable logarithmic scale for the specified axis.
|
|
1043
|
-
*
|
|
1044
1025
|
* `false`: Disable logarithmic scale for the specified axis.
|
|
1045
|
-
*
|
|
1026
|
+
* **Note:** The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1046
1027
|
* @param {boolean} isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
1047
1028
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1048
|
-
*
|
|
1049
|
-
* **NOTE**: The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1050
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1051
1029
|
*/
|
|
1052
1030
|
setLogarithmic(t, i) {
|
|
1053
1031
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1078,11 +1056,9 @@ class wi extends O {
|
|
|
1078
1056
|
}
|
|
1079
1057
|
/**
|
|
1080
1058
|
* Sets the scrollbar configuration for the specified axis.
|
|
1059
|
+
* **Note:** The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1081
1060
|
* @param {WebChartAxisScrollBar} scrollbar The scrollbar configuration to set.
|
|
1082
1061
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1083
|
-
*
|
|
1084
|
-
* **NOTE**: The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1085
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1086
1062
|
*/
|
|
1087
1063
|
setAxisScrollbar(t, i) {
|
|
1088
1064
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1101,22 +1077,21 @@ class wi extends O {
|
|
|
1101
1077
|
}
|
|
1102
1078
|
/**
|
|
1103
1079
|
* Gets the specified title text symbol. Contains styling information such as font, color, and symbol style.
|
|
1080
|
+
* @param {number} axisIndex The index of the axis to get the title symbol for
|
|
1104
1081
|
* @returns {WebChartTextSymbol | undefined}
|
|
1105
1082
|
*/
|
|
1106
1083
|
getAxisTitleSymbol(t) {
|
|
1107
1084
|
return r({
|
|
1108
1085
|
config: this._config,
|
|
1109
1086
|
axisIndex: t,
|
|
1110
|
-
func: (i) =>
|
|
1087
|
+
func: (i) => F(this._config, i)
|
|
1111
1088
|
});
|
|
1112
1089
|
}
|
|
1113
1090
|
/**
|
|
1114
1091
|
* Sets the title text symbol for the specified axis. Contains styling information such as font, color, and symbol style.
|
|
1092
|
+
* **Note:** The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1115
1093
|
* @param {WebChartTextSymbol | undefined} titleSymbol The title text symbol to set.
|
|
1116
1094
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1117
|
-
*
|
|
1118
|
-
* **NOTE**: The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1119
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1120
1095
|
*/
|
|
1121
1096
|
setAxisTitleSymbol(t, i) {
|
|
1122
1097
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1124,7 +1099,7 @@ class wi extends O {
|
|
|
1124
1099
|
config: this._config,
|
|
1125
1100
|
axisIndex: i,
|
|
1126
1101
|
func: (s) => {
|
|
1127
|
-
|
|
1102
|
+
V({ symbol: t, config: this._config, axisIndex: s }), this.emitConfigUpdate("setAxisTitleSymbol");
|
|
1128
1103
|
}
|
|
1129
1104
|
});
|
|
1130
1105
|
});
|
|
@@ -1134,19 +1109,16 @@ class wi extends O {
|
|
|
1134
1109
|
* @returns {WebChartLabelBehavior}
|
|
1135
1110
|
*/
|
|
1136
1111
|
getHorizontalAxisLabelsBehavior() {
|
|
1137
|
-
return
|
|
1112
|
+
return xi(this._config);
|
|
1138
1113
|
}
|
|
1139
1114
|
/**
|
|
1140
1115
|
* Sets the horizontal axis labels behavior for the chart.
|
|
1116
|
+
* **Note:** The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1141
1117
|
* @param horizontalBehavior The behavior for the horizontal axis labels.
|
|
1142
|
-
*
|
|
1143
|
-
* **NOTE**: The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1144
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1145
|
-
*
|
|
1146
1118
|
*/
|
|
1147
1119
|
setHorizontalAxisLabelsBehavior(t) {
|
|
1148
1120
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
1149
|
-
|
|
1121
|
+
yi(t, this._config), this.emitConfigUpdate("setHorizontalAxisLabelsBehavior");
|
|
1150
1122
|
});
|
|
1151
1123
|
}
|
|
1152
1124
|
/**
|
|
@@ -1154,18 +1126,16 @@ class wi extends O {
|
|
|
1154
1126
|
* @returns {WebChartLabelBehavior}
|
|
1155
1127
|
*/
|
|
1156
1128
|
getVerticalAxisLabelsBehavior() {
|
|
1157
|
-
return
|
|
1129
|
+
return bi(this._config);
|
|
1158
1130
|
}
|
|
1159
1131
|
/**
|
|
1160
1132
|
* Sets the vertical axis labels behavior for the chart.
|
|
1133
|
+
* **Note:** The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1161
1134
|
* @param verticalBehavior The behavior for the vertical axis labels.
|
|
1162
|
-
*
|
|
1163
|
-
* **NOTE**: The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
1164
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1165
1135
|
*/
|
|
1166
1136
|
setVerticalAxisLabelsBehavior(t) {
|
|
1167
1137
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
1168
|
-
|
|
1138
|
+
Si(t, this._config), this.emitConfigUpdate("setVerticalAxisLabelsBehavior");
|
|
1169
1139
|
});
|
|
1170
1140
|
}
|
|
1171
1141
|
/**
|
|
@@ -1177,10 +1147,9 @@ class wi extends O {
|
|
|
1177
1147
|
}
|
|
1178
1148
|
/**
|
|
1179
1149
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
1150
|
+
* **Note:** To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1180
1151
|
* @param {ISimpleLineSymbol | undefined} linesSymbol The grid lines symbol.
|
|
1181
1152
|
* @param {number[]} axisIndices The indices of the axes to set the grid lines symbol for.
|
|
1182
|
-
*
|
|
1183
|
-
* **NOTE**: To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1184
1153
|
*/
|
|
1185
1154
|
setGridLinesSymbol(t, i) {
|
|
1186
1155
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1189,14 +1158,10 @@ class wi extends O {
|
|
|
1189
1158
|
}
|
|
1190
1159
|
/**
|
|
1191
1160
|
* Get the default x-axis title text.
|
|
1192
|
-
* @returns {
|
|
1161
|
+
* @returns {string}
|
|
1193
1162
|
*/
|
|
1194
|
-
|
|
1195
|
-
return
|
|
1196
|
-
C(document.documentElement).t9nLocale,
|
|
1197
|
-
zt("./assets/common/t9n"),
|
|
1198
|
-
"messages."
|
|
1199
|
-
)).utilsStrings.statistics.count;
|
|
1163
|
+
getDefaultXAxisTitleText() {
|
|
1164
|
+
return this.commonStrings.utilsStrings.statistics.count;
|
|
1200
1165
|
}
|
|
1201
1166
|
/**
|
|
1202
1167
|
* Gets the display zero line setting for the specified axis.
|
|
@@ -1222,7 +1187,7 @@ class wi extends O {
|
|
|
1222
1187
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
1223
1188
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1224
1189
|
*
|
|
1225
|
-
* **
|
|
1190
|
+
* **Note:** To set the display zero line for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1226
1191
|
*/
|
|
1227
1192
|
setDisplayZeroLine(t, i) {
|
|
1228
1193
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1257,7 +1222,7 @@ class wi extends O {
|
|
|
1257
1222
|
* @remarks
|
|
1258
1223
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1259
1224
|
*
|
|
1260
|
-
* **
|
|
1225
|
+
* **Note:** To set the display cursor tooltip for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1261
1226
|
*/
|
|
1262
1227
|
setDisplayCursorTooltip(t, i) {
|
|
1263
1228
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1298,7 +1263,7 @@ class wi extends O {
|
|
|
1298
1263
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
1299
1264
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1300
1265
|
*
|
|
1301
|
-
* **
|
|
1266
|
+
* **Note:** To set the buffer for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1302
1267
|
*/
|
|
1303
1268
|
setBuffer(t, i) {
|
|
1304
1269
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1332,7 +1297,7 @@ class wi extends O {
|
|
|
1332
1297
|
* @remarks
|
|
1333
1298
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1334
1299
|
*
|
|
1335
|
-
* **
|
|
1300
|
+
* **Note:** To set the tick spacing for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1336
1301
|
*/
|
|
1337
1302
|
setTickSpacing(t, i) {
|
|
1338
1303
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1340,7 +1305,7 @@ class wi extends O {
|
|
|
1340
1305
|
config: this._config,
|
|
1341
1306
|
axisIndex: i,
|
|
1342
1307
|
func: (s) => {
|
|
1343
|
-
|
|
1308
|
+
Nt({
|
|
1344
1309
|
config: this._config,
|
|
1345
1310
|
tickSpacing: t,
|
|
1346
1311
|
axisIndex: s
|
|
@@ -1362,7 +1327,7 @@ class wi extends O {
|
|
|
1362
1327
|
return r({
|
|
1363
1328
|
config: this._config,
|
|
1364
1329
|
axisIndex: t,
|
|
1365
|
-
func: (i) =>
|
|
1330
|
+
func: (i) => Rt(this._config, i)
|
|
1366
1331
|
}) ?? !1;
|
|
1367
1332
|
}
|
|
1368
1333
|
/**
|
|
@@ -1373,7 +1338,7 @@ class wi extends O {
|
|
|
1373
1338
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
1374
1339
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1375
1340
|
*
|
|
1376
|
-
* **
|
|
1341
|
+
* **Note:** To set the integer only values for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1377
1342
|
*/
|
|
1378
1343
|
setIntegerOnlyValues(t, i) {
|
|
1379
1344
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -1381,7 +1346,7 @@ class wi extends O {
|
|
|
1381
1346
|
config: this._config,
|
|
1382
1347
|
axisIndex: i,
|
|
1383
1348
|
func: (s) => {
|
|
1384
|
-
|
|
1349
|
+
zt({
|
|
1385
1350
|
config: this._config,
|
|
1386
1351
|
integerOnlyValues: t,
|
|
1387
1352
|
axisIndex: s
|
|
@@ -1394,62 +1359,60 @@ class wi extends O {
|
|
|
1394
1359
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
1395
1360
|
* @remarks if the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
1396
1361
|
*
|
|
1397
|
-
* **
|
|
1362
|
+
* **Note:** To set the cursor crosshair horizontal line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1398
1363
|
*/
|
|
1399
1364
|
get cursorCrosshairHorizontalLineVisibility() {
|
|
1400
|
-
return
|
|
1365
|
+
return pi(this._config);
|
|
1401
1366
|
}
|
|
1402
1367
|
set cursorCrosshairHorizontalLineVisibility(t) {
|
|
1403
1368
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
1404
|
-
|
|
1369
|
+
_i(t, this._config), this.emitConfigUpdate("cursorCrosshairHorizontalLineVisibility");
|
|
1405
1370
|
});
|
|
1406
1371
|
}
|
|
1407
1372
|
/**
|
|
1408
1373
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
1409
1374
|
* @remarks if the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
1410
1375
|
*
|
|
1411
|
-
* **
|
|
1376
|
+
* **Note:** To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1412
1377
|
*/
|
|
1413
1378
|
get cursorCrosshairVerticalLineVisibility() {
|
|
1414
|
-
return
|
|
1379
|
+
return Ci(this._config);
|
|
1415
1380
|
}
|
|
1416
1381
|
set cursorCrosshairVerticalLineVisibility(t) {
|
|
1417
1382
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
1418
|
-
|
|
1383
|
+
vi(t, this._config), this.emitConfigUpdate("cursorCrosshairVerticalLineVisibility");
|
|
1419
1384
|
});
|
|
1420
1385
|
}
|
|
1421
1386
|
/**
|
|
1422
1387
|
* Style of the cursor's crosshair from the chart config.
|
|
1423
|
-
*
|
|
1424
|
-
* **NOTE**: To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1388
|
+
* **Note:** To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1425
1389
|
*/
|
|
1426
1390
|
get cursorCrosshairStyle() {
|
|
1427
|
-
return
|
|
1391
|
+
return Ai(this._config);
|
|
1428
1392
|
}
|
|
1429
1393
|
set cursorCrosshairStyle(t) {
|
|
1430
1394
|
t && this.guardSetterFromAsyncOverwrite(() => {
|
|
1431
|
-
|
|
1395
|
+
Ti(t, this._config), this.emitConfigUpdate("cursorCrosshairStyle");
|
|
1432
1396
|
});
|
|
1433
1397
|
}
|
|
1434
1398
|
/**
|
|
1435
1399
|
* Cursor crosshair from the chart config.
|
|
1436
|
-
*
|
|
1437
|
-
* **NOTE**: To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1400
|
+
* **Note:** To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1438
1401
|
*/
|
|
1439
1402
|
get cursorCrosshair() {
|
|
1440
|
-
return
|
|
1403
|
+
return Li(this._config);
|
|
1441
1404
|
}
|
|
1442
1405
|
set cursorCrosshair(t) {
|
|
1443
1406
|
t && this.guardSetterFromAsyncOverwrite(() => {
|
|
1444
|
-
|
|
1407
|
+
Fi(t, this._config), this.emitConfigUpdate("cursorCrosshair");
|
|
1445
1408
|
});
|
|
1446
1409
|
}
|
|
1447
1410
|
}
|
|
1448
|
-
S(
|
|
1411
|
+
S(Vi, [G]);
|
|
1449
1412
|
export {
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1413
|
+
w as C,
|
|
1414
|
+
Vi as M,
|
|
1415
|
+
mi as a,
|
|
1416
|
+
di as b,
|
|
1417
|
+
G as c
|
|
1455
1418
|
};
|