@arcgis/charts-components 5.0.0-next.149 → 5.0.0-next.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/dist/cdn/2ATTYJG6.js +2 -0
- package/dist/cdn/2CTKBS47.js +2 -0
- package/dist/cdn/2TUSY77N.js +2 -0
- package/dist/cdn/3C4HBCTV.js +2 -0
- package/dist/cdn/3MXDGSBY.js +2 -0
- package/dist/cdn/3NIVTPH5.js +2 -0
- package/dist/cdn/3Q2BMY2L.js +2 -0
- package/dist/cdn/4DH3GZII.js +2 -0
- package/dist/cdn/{Z255YC4E.js → 4KZSOP76.js} +1 -1
- package/dist/cdn/4UDVEHW7.js +2 -0
- package/dist/cdn/4ZDZD6FW.js +2 -0
- package/dist/cdn/5L3VUKGY.js +2 -0
- package/dist/cdn/{NPTAS3PB.js → 6B7P3OWP.js} +1 -1
- package/dist/cdn/6G6VPJ6K.js +2 -0
- package/dist/cdn/6L2NFOQY.js +2 -0
- package/dist/cdn/6UGQKSVS.js +2 -0
- package/dist/cdn/6VS2BUNX.js +2 -0
- package/dist/cdn/72ILHP4O.js +2 -0
- package/dist/cdn/7AXTHOAU.js +2 -0
- package/dist/cdn/{FPVMDAVP.js → 7K4VZYMF.js} +1 -1
- package/dist/cdn/{E7NSRJS7.js → 7KL2S53W.js} +1 -1
- package/dist/cdn/7QTZ5O4B.js +2 -0
- package/dist/cdn/7YWK5AX4.js +2 -0
- package/dist/cdn/ASYHUBK5.js +2 -0
- package/dist/cdn/{CB2EYCDF.js → AUSXHSLY.js} +1 -1
- package/dist/cdn/AZYWNZ5K.js +2 -0
- package/dist/cdn/BQQLJHIU.js +2 -0
- package/dist/cdn/BRLZ2A7F.js +2 -0
- package/dist/cdn/BZYRPXHD.js +2 -0
- package/dist/cdn/C6RJHADU.js +2 -0
- package/dist/cdn/CEVAPOOF.js +2 -0
- package/dist/cdn/{OHBHUABJ.js → CHYRXR3K.js} +1 -1
- package/dist/cdn/CRNVPN6B.js +2 -0
- package/dist/cdn/CSV2VTSA.js +2 -0
- package/dist/cdn/{W66EH66K.js → CZ3Y6FRM.js} +1 -1
- package/dist/cdn/DJLJ5P4N.js +2 -0
- package/dist/cdn/DKJ7FFOL.js +2 -0
- package/dist/cdn/{BVAXFPTE.js → DPJE33GY.js} +1 -1
- package/dist/cdn/{Z4XTLHV3.js → EGHGISFS.js} +1 -1
- package/dist/cdn/F6PKNIKI.js +2 -0
- package/dist/cdn/FTZVIGVW.js +2 -0
- package/dist/cdn/GJWPFACV.js +2 -0
- package/dist/cdn/H2ABG252.js +2 -0
- package/dist/cdn/{IBPSHNO6.js → H4ULSC2D.js} +1 -1
- package/dist/cdn/HEN5PMZU.js +2 -0
- package/dist/cdn/HPG3LCZN.js +2 -0
- package/dist/cdn/HT5B7AY6.js +2 -0
- package/dist/cdn/IARNAL5N.js +9 -0
- package/dist/cdn/IBKDU34P.js +2 -0
- package/dist/cdn/{737LK3MK.js → IR2XD6P6.js} +3 -3
- package/dist/cdn/{UF2PXUST.js → IXYFMAZY.js} +1 -1
- package/dist/cdn/JO6AAGBV.js +2 -0
- package/dist/cdn/{5Z2N5G2K.js → JTDP2THJ.js} +1 -1
- package/dist/cdn/KA4BSBVA.js +2 -0
- package/dist/cdn/KBKA3QP3.js +2 -0
- package/dist/cdn/KDYJOJ2S.js +2 -0
- package/dist/cdn/KISYVPQA.js +2 -0
- package/dist/cdn/{2NWN5I6T.js → KTHE5IC6.js} +1 -1
- package/dist/cdn/{ZAIDOCYY.js → LHEOE5LN.js} +1 -1
- package/dist/cdn/MAUJ4HUQ.js +2 -0
- package/dist/cdn/MGJN25XS.js +2 -0
- package/dist/cdn/MQRY2EYZ.js +2 -0
- package/dist/cdn/MR5ORMVY.js +2 -0
- package/dist/cdn/MZSNIA3C.js +2 -0
- package/dist/cdn/NA4ZFNCV.js +2 -0
- package/dist/cdn/NMLR7I33.js +2 -0
- package/dist/cdn/{NDRUBDOF.js → NNS7M7OW.js} +1 -1
- package/dist/cdn/{QUWXB6XH.js → NOGZZTAP.js} +1 -1
- package/dist/cdn/NZZFA6F6.js +2 -0
- package/dist/cdn/{OF3VUOXY.js → O4D2KFXK.js} +1 -1
- package/dist/cdn/O4NETRGZ.js +2 -0
- package/dist/cdn/OQNPUVUK.js +2 -0
- package/dist/cdn/PPJ4YIYD.js +2 -0
- package/dist/cdn/PT44XBUL.js +2 -0
- package/dist/cdn/QFHFFY63.js +32 -0
- package/dist/cdn/QSS4DLDZ.js +2 -0
- package/dist/cdn/REHRP6LK.js +2 -0
- package/dist/cdn/SK3SXWIS.js +2 -0
- package/dist/cdn/SUK2EU7N.js +2 -0
- package/dist/cdn/SWNLXRQP.js +2 -0
- package/dist/cdn/TAHOH5D6.js +2 -0
- package/dist/cdn/TJFJHDEJ.js +2 -0
- package/dist/cdn/TKGRT45N.js +2 -0
- package/dist/cdn/{CLEHXDRG.js → TKUAPKCR.js} +1 -1
- package/dist/cdn/{YJ5B4PNE.js → TTLM6X2H.js} +1 -1
- package/dist/cdn/TVTAA4IC.js +2 -0
- package/dist/cdn/UIOMTO3X.js +2 -0
- package/dist/cdn/{3YZMWGH2.js → UNK6HRSC.js} +1 -1
- package/dist/cdn/VPR47IMP.js +2 -0
- package/dist/cdn/{MB3EVMIM.js → W26BDESX.js} +1 -1
- package/dist/cdn/{LBO2EK4A.js → WUYK6PKY.js} +1 -1
- package/dist/cdn/X2HDENND.js +2 -0
- package/dist/cdn/Y6GE3FLR.js +2 -0
- package/dist/cdn/ZALZRTR5.js +2 -0
- package/dist/cdn/{YGNXHR5T.js → ZJG2TJC6.js} +1 -1
- package/dist/cdn/{TXSCRECL.js → ZL3FVX4B.js} +2 -2
- package/dist/cdn/{IYCVQI4V.js → ZMA6K5G6.js} +1 -1
- package/dist/cdn/ZUI6QY5V.js +2 -0
- package/dist/cdn/ZYBAYHZU.js +2 -0
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +15 -16
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +3 -3
- package/dist/chunks/box-plot-model.js +69 -67
- package/dist/chunks/chart-model.js +527 -0
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +13 -12
- package/dist/chunks/combo-bar-line-chart-model.js +40 -41
- package/dist/chunks/data.js +4 -4
- package/dist/chunks/default.js +5 -4
- package/dist/chunks/gauge-model.js +19 -18
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +42 -43
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +43 -42
- package/dist/chunks/index.js +1128 -1195
- package/dist/chunks/interfaces.js +31 -30
- package/dist/chunks/line-chart-model.js +15 -15
- package/dist/chunks/model-setter.js +23 -18
- package/dist/chunks/model-with-guides.js +317 -0
- package/dist/chunks/model-with-line-marker-styling.js +177 -0
- package/dist/chunks/model-with-tooltips.js +315 -0
- package/dist/chunks/model-with-x-guides.js +49 -0
- package/dist/chunks/model-with-y-guides.js +629 -0
- package/dist/chunks/negative-values-stacked-to-baseline.js +77 -19
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +18 -18
- package/dist/chunks/radar-chart-model.js +8 -8
- package/dist/chunks/resource.js +5 -4
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +54 -52
- package/dist/chunks/serial-chart-data.js +322 -371
- package/dist/chunks/serial-chart-model.js +295 -138
- package/dist/chunks/series-length.js +79 -0
- package/dist/chunks/series.js +37 -0
- package/dist/chunks/setup-utils.js +79 -0
- package/dist/chunks/type-guards.js +45 -44
- package/dist/chunks/utils.js +3 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +63 -61
- package/dist/components/arcgis-chart/customElement.d.ts +9 -0
- package/dist/components/arcgis-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/resource.d.ts +9 -0
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/resource.d.ts +8 -0
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/interfaces.d.ts +77 -0
- package/dist/json-schema/index.d.ts +8498 -0
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +9 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +14 -28
- package/dist/model/chart-model/chart-model-base.d.ts +1 -0
- package/dist/model/chart-model/chart-model.d.ts +2 -31
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +11 -9
- package/dist/model/gauge-model/gauge-model.d.ts +12 -18
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +17 -2
- package/dist/model/histogram-model/histogram-model.d.ts +15 -27
- package/dist/model/line-chart-model/line-chart-model.d.ts +12 -11
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +1 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +1 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +2 -8
- package/dist/model/mixins/model-with-y-guides.d.ts +2 -8
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +2 -8
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +12 -14
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +12 -11
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +16 -29
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -31
- package/dist/model.js +38 -112
- package/dist/spec/config-defaults.d.ts +4 -0
- package/dist/spec/rest-js-types.d.ts +89 -224
- package/dist/spec/web-chart.d.ts +1 -2
- package/dist/utils/chart-config/interfaces.d.ts +3 -0
- package/dist/utils/chart-config/utils/index.d.ts +39 -1
- package/dist/utils/chart-config/utils/interfaces.d.ts +2 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +19 -7
- package/dist/utils/components/event-payloads.d.ts +9 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/data/index.d.ts +12 -0
- package/dist/utils/data/interfaces.d.ts +6 -0
- package/dist/utils/data/time-binning/interfaces.d.ts +6 -0
- package/dist/utils/defaults/index.d.ts +135 -15
- package/dist/utils/defaults/interfaces.d.ts +4 -0
- package/dist/utils/layer/index.d.ts +40 -0
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +2 -0
- package/dist/utils/layer/interfaces.d.ts +15 -2
- package/dist/utils/layer/query-features/index.d.ts +26 -1
- package/dist/utils/layer/query-features/interfaces.d.ts +3 -0
- package/dist/utils/layer/query-parser/index.d.ts +15 -1
- package/dist/utils/layer/utils/index.d.ts +16 -0
- package/dist/utils/localization/index.d.ts +10 -0
- package/dist/utils/localization/interfaces.d.ts +11 -0
- package/dist/utils/misc/index.d.ts +29 -0
- package/dist/utils/type-guards/index.d.ts +38 -3
- package/dist/utils/type-guards/series-types.d.ts +18 -0
- package/dist/utils/types/index.d.ts +31 -6
- package/dist/utils/ui/chart-ui-utils.d.ts +6 -1
- package/dist/utils/ui/popover-ui-utils.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cdn/3IFN5UNC.js +0 -2
- package/dist/cdn/3NE6BHA7.js +0 -2
- package/dist/cdn/3T66I3AV.js +0 -2
- package/dist/cdn/4G3CMZYX.js +0 -2
- package/dist/cdn/5NFDDXIZ.js +0 -2
- package/dist/cdn/5ZDTPYVX.js +0 -2
- package/dist/cdn/73DP7O6V.js +0 -2
- package/dist/cdn/7BYBNK4D.js +0 -2
- package/dist/cdn/7J55VBBP.js +0 -2
- package/dist/cdn/7JHAQ55T.js +0 -2
- package/dist/cdn/7MK2A5CN.js +0 -2
- package/dist/cdn/7QAEPVLP.js +0 -2
- package/dist/cdn/AZXSIAD5.js +0 -2
- package/dist/cdn/B4ONKX76.js +0 -2
- package/dist/cdn/BGRFXQBF.js +0 -2
- package/dist/cdn/BRSFMI7W.js +0 -2
- package/dist/cdn/BZBPPMPO.js +0 -2
- package/dist/cdn/CCE73L6Y.js +0 -2
- package/dist/cdn/CN4JJBQD.js +0 -2
- package/dist/cdn/CSGEEI34.js +0 -2
- package/dist/cdn/E7HMRRLS.js +0 -2
- package/dist/cdn/EJUACEYV.js +0 -2
- package/dist/cdn/F2EEAM7D.js +0 -2
- package/dist/cdn/F32ALQAF.js +0 -2
- package/dist/cdn/FDMFAAYD.js +0 -32
- package/dist/cdn/GXU3KAZJ.js +0 -2
- package/dist/cdn/HBBVQMKS.js +0 -2
- package/dist/cdn/HKS7OKQ2.js +0 -2
- package/dist/cdn/IDUT4PPZ.js +0 -2
- package/dist/cdn/ITOFPGYG.js +0 -2
- package/dist/cdn/K35SAKH6.js +0 -2
- package/dist/cdn/K7PHN6CK.js +0 -2
- package/dist/cdn/KFJDBWIX.js +0 -2
- package/dist/cdn/KJZSK5YZ.js +0 -2
- package/dist/cdn/KTAVV3VX.js +0 -2
- package/dist/cdn/KTLKB6B4.js +0 -2
- package/dist/cdn/KVD56MDM.js +0 -2
- package/dist/cdn/L53UCZR6.js +0 -2
- package/dist/cdn/L7C7MUW3.js +0 -2
- package/dist/cdn/LWCWU4HZ.js +0 -2
- package/dist/cdn/MJMTX7G3.js +0 -2
- package/dist/cdn/MKUWP4YO.js +0 -2
- package/dist/cdn/OLWAY6BU.js +0 -2
- package/dist/cdn/P4IJGBEM.js +0 -2
- package/dist/cdn/PHOC6W4U.js +0 -2
- package/dist/cdn/PTHMEJ4M.js +0 -2
- package/dist/cdn/Q4XRMPTN.js +0 -2
- package/dist/cdn/Q65AFAC2.js +0 -2
- package/dist/cdn/QEUQO5PH.js +0 -2
- package/dist/cdn/QJ7AL2JA.js +0 -2
- package/dist/cdn/QR6LWJA6.js +0 -2
- package/dist/cdn/QRNC5B3Q.js +0 -2
- package/dist/cdn/QZQBEPBF.js +0 -2
- package/dist/cdn/R23O2O7W.js +0 -2
- package/dist/cdn/TTDJJ46R.js +0 -2
- package/dist/cdn/TZ6AFED4.js +0 -2
- package/dist/cdn/UMDCLTNE.js +0 -2
- package/dist/cdn/VPVSYP2L.js +0 -2
- package/dist/cdn/VZR5LOQW.js +0 -2
- package/dist/cdn/W7MNTZT7.js +0 -2
- package/dist/cdn/XRRVOQJ3.js +0 -2
- package/dist/cdn/XSDOT2VC.js +0 -2
- package/dist/cdn/YJC6B2JE.js +0 -2
- package/dist/cdn/YMO37QWY.js +0 -9
- package/dist/cdn/Z2RUBKU7.js +0 -2
- package/dist/cdn/ZEKY74JE.js +0 -2
- package/dist/cdn/ZWPLVA7G.js +0 -2
- package/dist/cdn/ZXRU5IEE.js +0 -2
- package/dist/chunks/data-labels-visibility.js +0 -87
- package/dist/chunks/model-with-multi-axes.js +0 -1995
- package/dist/chunks/x-axis-labels-visibility.js +0 -68
- package/dist/model/shared/utils.d.ts +0 -4
- /package/dist/cdn/{CF5YAZDQ.js → 2BRTKEX6.js} +0 -0
- /package/dist/cdn/{S24EVUYE.js → F4KKUFSS.js} +0 -0
- /package/dist/cdn/{OJHML5IU.js → Z5QOLHIZ.js} +0 -0
|
@@ -1,1995 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import { d as be, W as $, e as z, o as E } from "./series-types.js";
|
|
3
|
-
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { cloneDeep as H } from "lodash-es";
|
|
5
|
-
import "luxon";
|
|
6
|
-
import "d3-array";
|
|
7
|
-
import { aI as _, bB as d, aG as b, d5 as ye, o as _e, aQ as T, aH as ve, aJ as xe, i as me, b5 as Se, aW as w, b0 as Te, aO as Ce, aM as Le, aV as j, aE as W } from "./index.js";
|
|
8
|
-
import "@arcgis/core/Graphic.js";
|
|
9
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
-
import "@esri/arcgis-html-sanitizer";
|
|
12
|
-
import "@arcgis/core/intl.js";
|
|
13
|
-
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
-
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
-
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
-
import "simple-statistics";
|
|
17
|
-
import "@arcgis/core/request.js";
|
|
18
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
19
|
-
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
20
|
-
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
21
|
-
import "@arcgis/core/rest/support/Query.js";
|
|
22
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
23
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
24
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
25
|
-
import "./runtime.js";
|
|
26
|
-
import "@arcgis/toolkit/dom";
|
|
27
|
-
import { m as l, C as f } from "./model-setter.js";
|
|
28
|
-
import { G as S } from "./common.js";
|
|
29
|
-
import { a as k, g as Ve, u as Oe, s as G, r as a, k as R, l as De, m as Ae, n as Pe, o as Ge, p as $e } from "./utils.js";
|
|
30
|
-
import { f as P } from "./rest-js-object-literals.js";
|
|
31
|
-
import { c as Me, b as we, l as A, j as c, k as g } from "./index4.js";
|
|
32
|
-
import { g as je, Z as We, _ as ke, $ as Be, a0 as Fe, a1 as Re, a2 as Ne, a3 as ze, a4 as Ee, a5 as He, a6 as Ie, a7 as Ue, a8 as Xe, a9 as Ye, aa as Ze, f as qe, i as Je } from "./serial-chart-data.js";
|
|
33
|
-
import { g as Ke, b as Qe, e as et, f as tt, c as it, d as st, a as ot, s as rt } from "./utils2.js";
|
|
34
|
-
var nt = Object.defineProperty, lt = Object.getOwnPropertyDescriptor, at = (t, e, i, s) => {
|
|
35
|
-
for (var o = lt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
36
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
37
|
-
return o && nt(e, i, o), o;
|
|
38
|
-
};
|
|
39
|
-
const ct = (t) => t.title?.content, gt = (t, e) => {
|
|
40
|
-
if (t) {
|
|
41
|
-
const i = je(e);
|
|
42
|
-
e.title === void 0 && (e.title = _({
|
|
43
|
-
text: "",
|
|
44
|
-
visible: !0,
|
|
45
|
-
font: b(d.ChartTitle),
|
|
46
|
-
type: d.ChartTitle
|
|
47
|
-
})), e.title.content = t, e.title.content.text = i;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
class I extends f {
|
|
51
|
-
/**
|
|
52
|
-
* The title text symbol. Contains styling information such as font, color, and symbol style.
|
|
53
|
-
*/
|
|
54
|
-
get titleSymbol() {
|
|
55
|
-
return ct(this._config);
|
|
56
|
-
}
|
|
57
|
-
set titleSymbol(e) {
|
|
58
|
-
gt(e, this._config);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
at([
|
|
62
|
-
l
|
|
63
|
-
], I.prototype, "titleSymbol");
|
|
64
|
-
var ft = Object.defineProperty, dt = Object.getOwnPropertyDescriptor, ut = (t, e, i, s) => {
|
|
65
|
-
for (var o = dt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
66
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
67
|
-
return o && ft(e, i, o), o;
|
|
68
|
-
};
|
|
69
|
-
class U extends f {
|
|
70
|
-
/**
|
|
71
|
-
* The current chart configuration object.
|
|
72
|
-
*/
|
|
73
|
-
get config() {
|
|
74
|
-
return this._config;
|
|
75
|
-
}
|
|
76
|
-
set config(e) {
|
|
77
|
-
this._config = e;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
ut([
|
|
81
|
-
l
|
|
82
|
-
], U.prototype, "config");
|
|
83
|
-
class pt extends f {
|
|
84
|
-
/**
|
|
85
|
-
* The chart model's layer.
|
|
86
|
-
*/
|
|
87
|
-
get layer() {
|
|
88
|
-
return this.layerInfo?.layer;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
const ht = (t) => t.id, bt = (t, e) => {
|
|
92
|
-
e.id = t;
|
|
93
|
-
};
|
|
94
|
-
class yt extends f {
|
|
95
|
-
/**
|
|
96
|
-
* The chart ID.
|
|
97
|
-
*/
|
|
98
|
-
get chartId() {
|
|
99
|
-
return ht(this._config);
|
|
100
|
-
}
|
|
101
|
-
set chartId(e) {
|
|
102
|
-
bt(e, this._config);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
const _t = (t) => t.version;
|
|
106
|
-
class vt extends f {
|
|
107
|
-
/**
|
|
108
|
-
* The version of the chart configuration.
|
|
109
|
-
*/
|
|
110
|
-
get version() {
|
|
111
|
-
return _t(this._config);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
var xt = Object.defineProperty, mt = Object.getOwnPropertyDescriptor, St = (t, e, i, s) => {
|
|
115
|
-
for (var o = mt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
116
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
117
|
-
return o && xt(e, i, o), o;
|
|
118
|
-
};
|
|
119
|
-
const X = (t) => t.subtitle?.content.text ?? "", Tt = (t, e) => {
|
|
120
|
-
e.subtitle !== void 0 ? e.subtitle.content.text = t : t !== void 0 && (e.subtitle = _({
|
|
121
|
-
text: t,
|
|
122
|
-
visible: !0,
|
|
123
|
-
font: b(d.ChartSubtitle)
|
|
124
|
-
}));
|
|
125
|
-
};
|
|
126
|
-
class Y extends f {
|
|
127
|
-
/**
|
|
128
|
-
* The chart subtitle text.
|
|
129
|
-
*/
|
|
130
|
-
get subtitleText() {
|
|
131
|
-
return X(this._config);
|
|
132
|
-
}
|
|
133
|
-
set subtitleText(e) {
|
|
134
|
-
Tt(e, this._config);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
St([
|
|
138
|
-
l
|
|
139
|
-
], Y.prototype, "subtitleText");
|
|
140
|
-
var Ct = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, Vt = (t, e, i, s) => {
|
|
141
|
-
for (var o = Lt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
142
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
143
|
-
return o && Ct(e, i, o), o;
|
|
144
|
-
};
|
|
145
|
-
const Ot = (t) => t.subtitle?.content, Dt = (t, e) => {
|
|
146
|
-
if (t) {
|
|
147
|
-
const i = X(e);
|
|
148
|
-
e.subtitle === void 0 && (e.subtitle = _({
|
|
149
|
-
text: "",
|
|
150
|
-
visible: !0,
|
|
151
|
-
font: b(d.ChartSubtitle),
|
|
152
|
-
type: d.ChartSubtitle
|
|
153
|
-
})), e.subtitle.content = t, e.subtitle.content.text = i;
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
class Z extends f {
|
|
157
|
-
/**
|
|
158
|
-
* The subtitle text symbol. Contains styling information such as font, color, and symbol style.
|
|
159
|
-
*/
|
|
160
|
-
get subtitleSymbol() {
|
|
161
|
-
return Ot(this._config);
|
|
162
|
-
}
|
|
163
|
-
set subtitleSymbol(e) {
|
|
164
|
-
Dt(e, this._config);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
Vt([
|
|
168
|
-
l
|
|
169
|
-
], Z.prototype, "subtitleSymbol");
|
|
170
|
-
var At = Object.defineProperty, Pt = Object.getOwnPropertyDescriptor, Gt = (t, e, i, s) => {
|
|
171
|
-
for (var o = Pt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
172
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
173
|
-
return o && At(e, i, o), o;
|
|
174
|
-
};
|
|
175
|
-
const q = (t) => t.footer?.content.text ?? "", $t = (t, e) => {
|
|
176
|
-
e.footer !== void 0 ? e.footer.content.text = t : t !== void 0 && (e.footer = _({
|
|
177
|
-
text: t,
|
|
178
|
-
visible: !0,
|
|
179
|
-
font: b(d.DescriptionText)
|
|
180
|
-
}));
|
|
181
|
-
};
|
|
182
|
-
class J extends f {
|
|
183
|
-
get descriptionText() {
|
|
184
|
-
return q(this._config);
|
|
185
|
-
}
|
|
186
|
-
set descriptionText(e) {
|
|
187
|
-
$t(e, this._config);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
Gt([
|
|
191
|
-
l
|
|
192
|
-
], J.prototype, "descriptionText");
|
|
193
|
-
var Mt = Object.defineProperty, wt = Object.getOwnPropertyDescriptor, jt = (t, e, i, s) => {
|
|
194
|
-
for (var o = wt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
195
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
196
|
-
return o && Mt(e, i, o), o;
|
|
197
|
-
};
|
|
198
|
-
const Wt = (t) => t.footer?.content, kt = (t, e) => {
|
|
199
|
-
if (t) {
|
|
200
|
-
const i = q(e);
|
|
201
|
-
e.footer === void 0 && (e.footer = _({
|
|
202
|
-
text: "",
|
|
203
|
-
visible: !0,
|
|
204
|
-
font: b(d.DescriptionText),
|
|
205
|
-
type: d.DescriptionText
|
|
206
|
-
})), e.footer.content = t, e.footer.content.text = i;
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
class K extends f {
|
|
210
|
-
/**
|
|
211
|
-
* The description text symbol. Contains styling information such as font, color, and symbol style.
|
|
212
|
-
*/
|
|
213
|
-
get descriptionSymbol() {
|
|
214
|
-
return Wt(this._config);
|
|
215
|
-
}
|
|
216
|
-
set descriptionSymbol(e) {
|
|
217
|
-
kt(e, this._config);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
jt([
|
|
221
|
-
l
|
|
222
|
-
], K.prototype, "descriptionSymbol");
|
|
223
|
-
var Bt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, Rt = (t, e, i, s) => {
|
|
224
|
-
for (var o = Ft(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
225
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
226
|
-
return o && Bt(e, i, o), o;
|
|
227
|
-
};
|
|
228
|
-
const Nt = (t) => t.title ? t.title.visible ?? !0 : !1, zt = (t, e) => {
|
|
229
|
-
e.title !== void 0 ? e.title.visible = t : e.title = _({
|
|
230
|
-
text: "",
|
|
231
|
-
visible: t,
|
|
232
|
-
font: b(d.ChartTitle)
|
|
233
|
-
});
|
|
234
|
-
};
|
|
235
|
-
class Q extends f {
|
|
236
|
-
/**
|
|
237
|
-
* Whether or not the chart title is visible.
|
|
238
|
-
*
|
|
239
|
-
* `true`: Chart title is visible.
|
|
240
|
-
*
|
|
241
|
-
* `false`: Chart title is hidden.
|
|
242
|
-
*
|
|
243
|
-
* **Note:** Even if the title is visible, it may not be displayed if the title text is empty.
|
|
244
|
-
*/
|
|
245
|
-
get chartTitleVisibility() {
|
|
246
|
-
return Nt(this._config);
|
|
247
|
-
}
|
|
248
|
-
set chartTitleVisibility(e) {
|
|
249
|
-
zt(e, this._config);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
Rt([
|
|
253
|
-
l
|
|
254
|
-
], Q.prototype, "chartTitleVisibility");
|
|
255
|
-
var Et = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, It = (t, e, i, s) => {
|
|
256
|
-
for (var o = Ht(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
257
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
258
|
-
return o && Et(e, i, o), o;
|
|
259
|
-
};
|
|
260
|
-
const Ut = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, Xt = (t, e) => {
|
|
261
|
-
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle = _({
|
|
262
|
-
text: "",
|
|
263
|
-
visible: t,
|
|
264
|
-
font: b(d.ChartSubtitle)
|
|
265
|
-
});
|
|
266
|
-
};
|
|
267
|
-
class ee extends f {
|
|
268
|
-
/**
|
|
269
|
-
* Whether or not the chart subtitle is visible.
|
|
270
|
-
*
|
|
271
|
-
* `true`: Chart subtitle is visible.
|
|
272
|
-
*
|
|
273
|
-
* `false`: Chart subtitle is hidden.
|
|
274
|
-
*
|
|
275
|
-
* **Note:** Even if the subtitle is visible, it may not be displayed if the subtitle text is empty.
|
|
276
|
-
*/
|
|
277
|
-
get chartSubtitleVisibility() {
|
|
278
|
-
return Ut(this._config);
|
|
279
|
-
}
|
|
280
|
-
set chartSubtitleVisibility(e) {
|
|
281
|
-
Xt(e, this._config);
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
It([
|
|
285
|
-
l
|
|
286
|
-
], ee.prototype, "chartSubtitleVisibility");
|
|
287
|
-
var Yt = Object.defineProperty, Zt = Object.getOwnPropertyDescriptor, qt = (t, e, i, s) => {
|
|
288
|
-
for (var o = Zt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
289
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
290
|
-
return o && Yt(e, i, o), o;
|
|
291
|
-
};
|
|
292
|
-
const te = (t) => t.footer?.visible ?? !1, Jt = (t, e) => {
|
|
293
|
-
e.footer !== void 0 ? e.footer.visible = t : t !== te(e) && (e.footer = _({
|
|
294
|
-
text: "",
|
|
295
|
-
visible: !0,
|
|
296
|
-
font: b(d.DescriptionText)
|
|
297
|
-
}));
|
|
298
|
-
};
|
|
299
|
-
class ie extends f {
|
|
300
|
-
/**
|
|
301
|
-
* Whether or not the chart description is visible.
|
|
302
|
-
*
|
|
303
|
-
* `true`: Description is visible.
|
|
304
|
-
*
|
|
305
|
-
* `false`: Description is hidden.
|
|
306
|
-
*
|
|
307
|
-
* **Note:** Even if the description is visible, it may not be displayed if the description text is empty.
|
|
308
|
-
*/
|
|
309
|
-
get descriptionVisibility() {
|
|
310
|
-
return te(this._config);
|
|
311
|
-
}
|
|
312
|
-
set descriptionVisibility(e) {
|
|
313
|
-
Jt(e, this._config);
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
qt([
|
|
317
|
-
l
|
|
318
|
-
], ie.prototype, "descriptionVisibility");
|
|
319
|
-
var Kt = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, ei = (t, e, i, s) => {
|
|
320
|
-
for (var o = Qt(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
321
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
322
|
-
return o && Kt(e, i, o), o;
|
|
323
|
-
};
|
|
324
|
-
const ti = (t) => t.chartRenderer, ii = (t, e) => {
|
|
325
|
-
e.chartRenderer = t;
|
|
326
|
-
};
|
|
327
|
-
class se extends f {
|
|
328
|
-
/**
|
|
329
|
-
* The chart renderer.
|
|
330
|
-
*/
|
|
331
|
-
get chartRenderer() {
|
|
332
|
-
return ti(this._config);
|
|
333
|
-
}
|
|
334
|
-
set chartRenderer(e) {
|
|
335
|
-
ii(e, this._config);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
ei([
|
|
339
|
-
l
|
|
340
|
-
], se.prototype, "chartRenderer");
|
|
341
|
-
var si = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, ri = (t, e, i, s) => {
|
|
342
|
-
for (var o = oi(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
343
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
344
|
-
return o && si(e, i, o), o;
|
|
345
|
-
};
|
|
346
|
-
const ni = (t) => t.background, li = (t, e) => {
|
|
347
|
-
e.background = t;
|
|
348
|
-
};
|
|
349
|
-
class oe extends f {
|
|
350
|
-
/**
|
|
351
|
-
* The background color of the chart.
|
|
352
|
-
*/
|
|
353
|
-
get backgroundColor() {
|
|
354
|
-
return ni(this._config);
|
|
355
|
-
}
|
|
356
|
-
set backgroundColor(e) {
|
|
357
|
-
li(e, this._config);
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
ri([
|
|
361
|
-
l
|
|
362
|
-
], oe.prototype, "backgroundColor");
|
|
363
|
-
var ai = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, gi = (t, e, i, s) => {
|
|
364
|
-
for (var o = ci(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
365
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
366
|
-
return o && ai(e, i, o), o;
|
|
367
|
-
};
|
|
368
|
-
const fi = (t, e) => e.series[t].visible ?? !0, di = (t, e) => {
|
|
369
|
-
ye({ detail: t }, e);
|
|
370
|
-
};
|
|
371
|
-
class re extends f {
|
|
372
|
-
/**
|
|
373
|
-
* Gets the visibility of a series.
|
|
374
|
-
*
|
|
375
|
-
* @param seriesIndex The series index
|
|
376
|
-
*/
|
|
377
|
-
getSeriesVisibility(e) {
|
|
378
|
-
return fi(e, this._config);
|
|
379
|
-
}
|
|
380
|
-
setSeriesVisibility(e) {
|
|
381
|
-
di(e, this._config);
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
gi([
|
|
385
|
-
l
|
|
386
|
-
], re.prototype, "setSeriesVisibility");
|
|
387
|
-
const ui = (t, e) => e.series[t]?.id;
|
|
388
|
-
class pi extends f {
|
|
389
|
-
/**
|
|
390
|
-
* Gets the series ID for a given series index.
|
|
391
|
-
* If the series index is out of bounds, this function will return `undefined`.
|
|
392
|
-
*
|
|
393
|
-
* @param seriesIndex - The index of the series.
|
|
394
|
-
*/
|
|
395
|
-
getSeriesId(e) {
|
|
396
|
-
return ui(e, this._config);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
const hi = (t, e) => e.series.findIndex((i) => i.id === t);
|
|
400
|
-
class bi extends f {
|
|
401
|
-
/**
|
|
402
|
-
* Gets the series index for a given series ID.
|
|
403
|
-
* If the series ID is not found, this function will return `undefined`.
|
|
404
|
-
*
|
|
405
|
-
* @param seriesId - The ID of the series.
|
|
406
|
-
*/
|
|
407
|
-
getSeriesIndex(e) {
|
|
408
|
-
return hi(e, this._config);
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
const yi = (t) => _e(t.series);
|
|
412
|
-
class _i extends f {
|
|
413
|
-
/**
|
|
414
|
-
* The chart sub type of the series.
|
|
415
|
-
*/
|
|
416
|
-
get chartSubType() {
|
|
417
|
-
return yi(this._config);
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
var vi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, mi = (t, e, i, s) => {
|
|
421
|
-
for (var o = xi(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
422
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
423
|
-
return o && vi(e, i, o), o;
|
|
424
|
-
};
|
|
425
|
-
const Si = (t, e) => {
|
|
426
|
-
let i;
|
|
427
|
-
return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
|
|
428
|
-
}, Ti = (t) => {
|
|
429
|
-
const { series: e, seriesIndex: i, valueFormat: s } = t;
|
|
430
|
-
e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
|
|
431
|
-
};
|
|
432
|
-
class ne extends f {
|
|
433
|
-
/**
|
|
434
|
-
* Gets the data tooltip value format for a series.
|
|
435
|
-
*
|
|
436
|
-
* If the series index is out of bounds or the series list is empty, this function will return `undefined`.
|
|
437
|
-
*
|
|
438
|
-
* @param seriesIndex - The index of the series to retrieve the value format for.
|
|
439
|
-
*/
|
|
440
|
-
getDataTooltipValueFormat(e) {
|
|
441
|
-
return Si(this._config.series, e);
|
|
442
|
-
}
|
|
443
|
-
setDataTooltipValueFormat(e, i) {
|
|
444
|
-
Ti({
|
|
445
|
-
series: this._config.series,
|
|
446
|
-
seriesIndex: e,
|
|
447
|
-
valueFormat: i
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
mi([
|
|
452
|
-
l
|
|
453
|
-
], ne.prototype, "setDataTooltipValueFormat");
|
|
454
|
-
var Ci = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, Vi = (t, e, i, s) => {
|
|
455
|
-
for (var o = Li(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
456
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
457
|
-
return o && Ci(e, i, o), o;
|
|
458
|
-
};
|
|
459
|
-
const Oi = (t, e) => {
|
|
460
|
-
e.series.forEach((i) => {
|
|
461
|
-
i.query && (i.query.fetchNullValues = t);
|
|
462
|
-
});
|
|
463
|
-
}, Di = (t) => t.series.some((e) => e.query?.fetchNullValues);
|
|
464
|
-
class le extends f {
|
|
465
|
-
/**
|
|
466
|
-
* Whether to fetch `null` values for them to be counted or displayed as categories on the chart.
|
|
467
|
-
*/
|
|
468
|
-
get fetchNULLValues() {
|
|
469
|
-
return Di(this._config);
|
|
470
|
-
}
|
|
471
|
-
set fetchNULLValues(e) {
|
|
472
|
-
Oi(e, this._config);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
Vi([
|
|
476
|
-
l
|
|
477
|
-
], le.prototype, "fetchNULLValues");
|
|
478
|
-
var Ai = Object.defineProperty, Pi = Object.getOwnPropertyDescriptor, Gi = (t, e, i, s) => {
|
|
479
|
-
for (var o = Pi(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
480
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
481
|
-
return o && Ai(e, i, o), o;
|
|
482
|
-
};
|
|
483
|
-
const $i = (t) => t.dataFilters, Mi = (t, e) => {
|
|
484
|
-
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
485
|
-
};
|
|
486
|
-
class ae extends f {
|
|
487
|
-
/**
|
|
488
|
-
* Gets the data filter for the bar chart.
|
|
489
|
-
*/
|
|
490
|
-
getDataFilters() {
|
|
491
|
-
return $i(this._config);
|
|
492
|
-
}
|
|
493
|
-
async setDataFilters(e) {
|
|
494
|
-
Mi(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
Gi([
|
|
498
|
-
l
|
|
499
|
-
], ae.prototype, "setDataFilters");
|
|
500
|
-
class V extends f {
|
|
501
|
-
}
|
|
502
|
-
const wi = [
|
|
503
|
-
U,
|
|
504
|
-
pt,
|
|
505
|
-
yt,
|
|
506
|
-
We,
|
|
507
|
-
I,
|
|
508
|
-
vt,
|
|
509
|
-
Y,
|
|
510
|
-
Z,
|
|
511
|
-
J,
|
|
512
|
-
K,
|
|
513
|
-
Q,
|
|
514
|
-
ee,
|
|
515
|
-
ie,
|
|
516
|
-
se,
|
|
517
|
-
oe,
|
|
518
|
-
re,
|
|
519
|
-
pi,
|
|
520
|
-
bi,
|
|
521
|
-
ke,
|
|
522
|
-
_i,
|
|
523
|
-
ne,
|
|
524
|
-
le,
|
|
525
|
-
Be,
|
|
526
|
-
ae
|
|
527
|
-
];
|
|
528
|
-
k(V, wi);
|
|
529
|
-
const ji = (t) => {
|
|
530
|
-
let e = !1;
|
|
531
|
-
return t.legend !== void 0 && (e = t.legend.visible ?? !0), e;
|
|
532
|
-
}, Wi = (t, e) => {
|
|
533
|
-
e.legend === void 0 && (e.legend = T()), e.legend.visible = t;
|
|
534
|
-
}, ki = (t) => t.legend?.title?.content, Bi = (t, e) => {
|
|
535
|
-
e.legend === void 0 && (e.legend = T()), (e.legend.title === void 0 || t === void 0) && (e.legend.title = _({
|
|
536
|
-
text: "",
|
|
537
|
-
visible: !0,
|
|
538
|
-
font: b(d.LegendTitle),
|
|
539
|
-
type: d.LegendTitle
|
|
540
|
-
})), t !== void 0 && (e.legend.title.content = t);
|
|
541
|
-
}, Fi = (t) => t.legend?.body, Ri = (t, e) => {
|
|
542
|
-
e.legend === void 0 && (e.legend = T()), e.legend.body = t ?? _({
|
|
543
|
-
text: "",
|
|
544
|
-
visible: !0,
|
|
545
|
-
font: b(d.LegendText),
|
|
546
|
-
type: d.LegendText
|
|
547
|
-
}).content;
|
|
548
|
-
}, M = (t) => t.legend?.title?.content.text ?? "", Ni = (t, e) => {
|
|
549
|
-
if (e.legend?.title !== void 0)
|
|
550
|
-
e.legend.title.content.text = t;
|
|
551
|
-
else if (e.legend === void 0 && t !== void 0) {
|
|
552
|
-
const i = T();
|
|
553
|
-
i.title !== void 0 && (i.title.content.text = t, i.title.visible = !0, e.legend = i);
|
|
554
|
-
}
|
|
555
|
-
}, zi = (t) => t.legend?.title?.visible ?? !1, Ei = (t, e) => {
|
|
556
|
-
if (e.legend?.title !== void 0)
|
|
557
|
-
e.legend.title.visible = t;
|
|
558
|
-
else if (e.legend !== void 0 && e.legend?.title === void 0 && t)
|
|
559
|
-
e.legend.title = _({
|
|
560
|
-
text: M(e),
|
|
561
|
-
visible: t,
|
|
562
|
-
font: b(d.LegendTitle),
|
|
563
|
-
type: d.LegendTitle
|
|
564
|
-
});
|
|
565
|
-
else if (e.legend === void 0) {
|
|
566
|
-
const i = T();
|
|
567
|
-
i.title = _({
|
|
568
|
-
text: M(e),
|
|
569
|
-
visible: t,
|
|
570
|
-
font: b(d.LegendTitle),
|
|
571
|
-
type: d.LegendTitle
|
|
572
|
-
}), e.legend = i;
|
|
573
|
-
}
|
|
574
|
-
}, Hi = (t) => t.legend?.position ?? be.Right, Ii = (t, e) => {
|
|
575
|
-
if (e.legend !== void 0)
|
|
576
|
-
e.legend.position = t;
|
|
577
|
-
else if (e.legend === void 0) {
|
|
578
|
-
const i = T();
|
|
579
|
-
i.position = t, e.legend = i;
|
|
580
|
-
}
|
|
581
|
-
}, Ui = (t) => t.legend?.roundMarkers ?? !1, Xi = (t, e) => {
|
|
582
|
-
e.legend === void 0 && (e.legend = T()), e.legend.roundMarkers = t;
|
|
583
|
-
}, Yi = (t) => t.legend?.maxHeight ?? void 0, Zi = (t, e) => {
|
|
584
|
-
e.legend === void 0 && (e.legend = T()), e.legend.maxHeight = t;
|
|
585
|
-
};
|
|
586
|
-
var qi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, C = (t, e, i, s) => {
|
|
587
|
-
for (var o = Ji(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
588
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
589
|
-
return o && qi(e, i, o), o;
|
|
590
|
-
};
|
|
591
|
-
class L extends V {
|
|
592
|
-
// ---------------------------------------------------------------------------------------------
|
|
593
|
-
// Data Props
|
|
594
|
-
// ---------------------------------------------------------------------------------------------
|
|
595
|
-
/**
|
|
596
|
-
* Whether the legend title is visible.
|
|
597
|
-
*
|
|
598
|
-
* `true`: Legend title is visible.
|
|
599
|
-
*
|
|
600
|
-
* `false`: Legend title is hidden.
|
|
601
|
-
*/
|
|
602
|
-
get legendVisibility() {
|
|
603
|
-
return ji(this._config);
|
|
604
|
-
}
|
|
605
|
-
set legendVisibility(e) {
|
|
606
|
-
Wi(e, this._config);
|
|
607
|
-
}
|
|
608
|
-
// ---------------------------------------------------------------------------------------------
|
|
609
|
-
// General Props
|
|
610
|
-
// ---------------------------------------------------------------------------------------------
|
|
611
|
-
/**
|
|
612
|
-
* The legend title text.
|
|
613
|
-
*/
|
|
614
|
-
get legendTitleText() {
|
|
615
|
-
return M(this._config);
|
|
616
|
-
}
|
|
617
|
-
set legendTitleText(e) {
|
|
618
|
-
Ni(e, this._config);
|
|
619
|
-
}
|
|
620
|
-
/**
|
|
621
|
-
* Whether the legend title is visible.
|
|
622
|
-
*
|
|
623
|
-
* `true`: Legend title is visible.
|
|
624
|
-
*
|
|
625
|
-
* `false`: Legend title is hidden.
|
|
626
|
-
*/
|
|
627
|
-
get legendTitleVisibility() {
|
|
628
|
-
return zi(this._config);
|
|
629
|
-
}
|
|
630
|
-
set legendTitleVisibility(e) {
|
|
631
|
-
Ei(e, this._config);
|
|
632
|
-
}
|
|
633
|
-
/**
|
|
634
|
-
* Legend position: top, bottom, left, or right.
|
|
635
|
-
*/
|
|
636
|
-
get legendPosition() {
|
|
637
|
-
return Hi(this._config);
|
|
638
|
-
}
|
|
639
|
-
set legendPosition(e) {
|
|
640
|
-
Ii(e, this._config);
|
|
641
|
-
}
|
|
642
|
-
// ---------------------------------------------------------------------------------------------
|
|
643
|
-
// Format Props
|
|
644
|
-
// ---------------------------------------------------------------------------------------------
|
|
645
|
-
/**
|
|
646
|
-
* Legend title text symbol (font, color, style).
|
|
647
|
-
*/
|
|
648
|
-
get legendTitleSymbol() {
|
|
649
|
-
return ki(this._config);
|
|
650
|
-
}
|
|
651
|
-
set legendTitleSymbol(e) {
|
|
652
|
-
Bi(e, this._config);
|
|
653
|
-
}
|
|
654
|
-
/**
|
|
655
|
-
* Legend item text symbol (font, color, style).
|
|
656
|
-
*/
|
|
657
|
-
get legendTextSymbol() {
|
|
658
|
-
return Fi(this._config);
|
|
659
|
-
}
|
|
660
|
-
set legendTextSymbol(e) {
|
|
661
|
-
Ri(e, this._config);
|
|
662
|
-
}
|
|
663
|
-
/**
|
|
664
|
-
* Maximum legend height.
|
|
665
|
-
*/
|
|
666
|
-
get legendMaxHeight() {
|
|
667
|
-
return Yi(this._config);
|
|
668
|
-
}
|
|
669
|
-
set legendMaxHeight(e) {
|
|
670
|
-
e !== void 0 && Zi(e, this._config);
|
|
671
|
-
}
|
|
672
|
-
/**
|
|
673
|
-
* Whether legend markers are rounded.
|
|
674
|
-
*/
|
|
675
|
-
get legendRoundMarker() {
|
|
676
|
-
return Ui(this._config);
|
|
677
|
-
}
|
|
678
|
-
set legendRoundMarker(e) {
|
|
679
|
-
Xi(e, this._config);
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
C([
|
|
683
|
-
l
|
|
684
|
-
], L.prototype, "legendVisibility");
|
|
685
|
-
C([
|
|
686
|
-
l
|
|
687
|
-
], L.prototype, "legendTitleText");
|
|
688
|
-
C([
|
|
689
|
-
l
|
|
690
|
-
], L.prototype, "legendTitleVisibility");
|
|
691
|
-
C([
|
|
692
|
-
l
|
|
693
|
-
], L.prototype, "legendPosition");
|
|
694
|
-
C([
|
|
695
|
-
l
|
|
696
|
-
], L.prototype, "legendTitleSymbol");
|
|
697
|
-
C([
|
|
698
|
-
l
|
|
699
|
-
], L.prototype, "legendTextSymbol");
|
|
700
|
-
C([
|
|
701
|
-
l
|
|
702
|
-
], L.prototype, "legendMaxHeight");
|
|
703
|
-
C([
|
|
704
|
-
l
|
|
705
|
-
], L.prototype, "legendRoundMarker");
|
|
706
|
-
const Ki = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, Qi = (t, e, i) => {
|
|
707
|
-
i && t.series?.[i] ? t.series[i].dataTooltipVisible = e : t.series && t.series.forEach((s) => {
|
|
708
|
-
s.dataTooltipVisible = e;
|
|
709
|
-
});
|
|
710
|
-
}, es = (t, e) => t.series?.[e ?? 0]?.dataTooltipReverseColor ?? !1, ts = (t, e, i) => {
|
|
711
|
-
i && t.series?.[i] ? t.series[i].dataTooltipReverseColor = e : t.series && t.series.forEach((s) => {
|
|
712
|
-
s.dataTooltipReverseColor = e;
|
|
713
|
-
});
|
|
714
|
-
};
|
|
715
|
-
var is = Object.defineProperty, ss = Object.getOwnPropertyDescriptor, ce = (t, e, i, s) => {
|
|
716
|
-
for (var o = ss(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
717
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
718
|
-
return o && is(e, i, o), o;
|
|
719
|
-
};
|
|
720
|
-
class ge extends V {
|
|
721
|
-
/**
|
|
722
|
-
* Gets the visibility of the data tooltips.
|
|
723
|
-
* - If the seriesIndex is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
724
|
-
* - If the visibility is not set on the series, the default value of `true` will be returned.
|
|
725
|
-
*
|
|
726
|
-
* @param seriesIndex - The index of the series.
|
|
727
|
-
*/
|
|
728
|
-
getDataTooltipVisibility(e) {
|
|
729
|
-
return Ki(this._config, e);
|
|
730
|
-
}
|
|
731
|
-
setDataTooltipVisibility(e, i) {
|
|
732
|
-
Qi(this._config, e, i);
|
|
733
|
-
}
|
|
734
|
-
/**
|
|
735
|
-
* Gets the setting of the `dataTooltipReverseColor` property.
|
|
736
|
-
* - If the seriesIndex is provided, the dataTooltipReverseColor for that series will be returned. Otherwise, the same property of the first series will be returned.
|
|
737
|
-
* - If the dataTooltipReverseColor is not set on the series, the default value of `false` will be returned.
|
|
738
|
-
*
|
|
739
|
-
* @param seriesIndex - The index of the series.
|
|
740
|
-
*/
|
|
741
|
-
getDataTooltipReverseColor(e) {
|
|
742
|
-
return es(this._config, e);
|
|
743
|
-
}
|
|
744
|
-
setDataTooltipReverseColor(e, i) {
|
|
745
|
-
ts(this._config, e, i);
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
ce([
|
|
749
|
-
l
|
|
750
|
-
], ge.prototype, "setDataTooltipVisibility");
|
|
751
|
-
ce([
|
|
752
|
-
l
|
|
753
|
-
], ge.prototype, "setDataTooltipReverseColor");
|
|
754
|
-
const os = (t) => {
|
|
755
|
-
for (const e of t.axes ?? [])
|
|
756
|
-
for (const i of e?.guides ?? [])
|
|
757
|
-
if (i.label !== void 0)
|
|
758
|
-
return i.label;
|
|
759
|
-
}, rs = (t, e) => {
|
|
760
|
-
for (const i of e.axes ?? [])
|
|
761
|
-
for (const s of i?.guides ?? []) {
|
|
762
|
-
const o = s.label?.text ?? "";
|
|
763
|
-
s.label = H(t), s.label !== void 0 && (s.label.text = o);
|
|
764
|
-
}
|
|
765
|
-
};
|
|
766
|
-
function h(t) {
|
|
767
|
-
return {
|
|
768
|
-
...t,
|
|
769
|
-
axis: t.orientation === S.X ? t.config.axes?.[0] : t.config.axes?.[1],
|
|
770
|
-
index: t.index ?? 0,
|
|
771
|
-
orientation: t.orientation ?? S.Y
|
|
772
|
-
};
|
|
773
|
-
}
|
|
774
|
-
const ns = (t) => {
|
|
775
|
-
const { axis: e, index: i } = h(t);
|
|
776
|
-
return e?.guides?.[i]?.visible ?? !0;
|
|
777
|
-
}, ls = (t) => {
|
|
778
|
-
const { visible: e, axis: i, index: s } = h(t);
|
|
779
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].visible = e);
|
|
780
|
-
}, fe = (t) => {
|
|
781
|
-
const e = me(t.start, t.end);
|
|
782
|
-
Me(t.style) && e === P.SFS ? t.style = { type: P.SFS, color: t.style.color } : we(t.style) && e === P.SLS && (t.style = { type: P.SLS, color: t.style.color });
|
|
783
|
-
}, as = (t) => {
|
|
784
|
-
const { axis: e, index: i } = h(t);
|
|
785
|
-
return e?.guides?.[i]?.start ?? null;
|
|
786
|
-
}, cs = (t) => {
|
|
787
|
-
const { start: e, axis: i, index: s } = h(t);
|
|
788
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].start = e, fe(i.guides[s]));
|
|
789
|
-
}, gs = (t) => {
|
|
790
|
-
const { axis: e, index: i } = h(t);
|
|
791
|
-
return e?.guides?.[i]?.end;
|
|
792
|
-
}, fs = (t) => {
|
|
793
|
-
const { end: e, axis: i, index: s } = h(t);
|
|
794
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].end = e, fe(i.guides[s]));
|
|
795
|
-
}, ds = (t) => {
|
|
796
|
-
const { axis: e, index: i } = h(t);
|
|
797
|
-
return e?.guides?.[i]?.name;
|
|
798
|
-
}, us = (t) => {
|
|
799
|
-
const { name: e, axis: i, index: s } = h(t);
|
|
800
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
801
|
-
}, ps = (t) => {
|
|
802
|
-
const { axis: e, index: i } = h(t);
|
|
803
|
-
return e?.guides?.[i]?.label?.text;
|
|
804
|
-
}, hs = (t) => {
|
|
805
|
-
const { labelText: e, axis: i, index: s } = h(t), o = i?.guides?.[s]?.label ?? ve(e, b(d.GuideLabel), d.GuideLabel);
|
|
806
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
|
|
807
|
-
}, bs = (t) => {
|
|
808
|
-
const { axis: e, index: i } = h(t);
|
|
809
|
-
return e?.guides?.[i]?.above ?? !1;
|
|
810
|
-
}, ys = (t) => {
|
|
811
|
-
const { above: e, axis: i, index: s } = h(t);
|
|
812
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
|
|
813
|
-
}, _s = (t) => {
|
|
814
|
-
const { axis: e, index: i } = h(t);
|
|
815
|
-
return e?.guides?.[i]?.style;
|
|
816
|
-
}, vs = (t) => {
|
|
817
|
-
const { style: e, axis: i, index: s } = h(t);
|
|
818
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
819
|
-
}, de = (t) => {
|
|
820
|
-
const { config: e, name: i, index: s, orientation: o } = t, r = o === S.X ? e.axes?.[0] : e.axes?.[1];
|
|
821
|
-
if (r !== void 0) {
|
|
822
|
-
r.guides = r.guides ?? [];
|
|
823
|
-
const n = {
|
|
824
|
-
type: $.Guide,
|
|
825
|
-
name: i,
|
|
826
|
-
start: r.valueFormat.type === $.DateAxisFormat ? "" : 0,
|
|
827
|
-
style: xe()
|
|
828
|
-
};
|
|
829
|
-
s !== void 0 && s < r.guides.length ? r.guides.splice(s, 0, n) : r.guides.push(n);
|
|
830
|
-
}
|
|
831
|
-
}, ue = (t) => {
|
|
832
|
-
const { config: e, index: i, orientation: s } = t, o = s === S.X ? e.axes?.[0] : e.axes?.[1];
|
|
833
|
-
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
834
|
-
}, xs = (t) => {
|
|
835
|
-
const { axis: e, index: i } = h(t);
|
|
836
|
-
return e?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
837
|
-
}, ms = (t) => {
|
|
838
|
-
const { reverseColor: e, axis: i, index: s } = h(t);
|
|
839
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = e);
|
|
840
|
-
};
|
|
841
|
-
var Ss = Object.defineProperty, Ts = Object.getOwnPropertyDescriptor, m = (t, e, i, s) => {
|
|
842
|
-
for (var o = Ts(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
843
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
844
|
-
return o && Ss(e, i, o), o;
|
|
845
|
-
};
|
|
846
|
-
class y extends V {
|
|
847
|
-
/**
|
|
848
|
-
* The guide labels text symbol (font, color, style).
|
|
849
|
-
*/
|
|
850
|
-
get guideLabelsSymbol() {
|
|
851
|
-
return os(this._config);
|
|
852
|
-
}
|
|
853
|
-
set guideLabelsSymbol(e) {
|
|
854
|
-
rs(e, this._config);
|
|
855
|
-
}
|
|
856
|
-
/**
|
|
857
|
-
* Gets whether a guide is visible.
|
|
858
|
-
*
|
|
859
|
-
* @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
860
|
-
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
861
|
-
*/
|
|
862
|
-
getGuideVisibility(e, i) {
|
|
863
|
-
return ns({ config: this._config, index: e, orientation: i });
|
|
864
|
-
}
|
|
865
|
-
setGuideVisibility(e, i, s) {
|
|
866
|
-
ls({ visible: e, config: this._config, index: i, orientation: s });
|
|
867
|
-
}
|
|
868
|
-
/**
|
|
869
|
-
* Gets the start value of a guide.
|
|
870
|
-
*
|
|
871
|
-
* @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
872
|
-
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
873
|
-
*/
|
|
874
|
-
getGuideStart(e, i) {
|
|
875
|
-
return as({ config: this._config, index: e, orientation: i });
|
|
876
|
-
}
|
|
877
|
-
setGuideStart(e, i, s) {
|
|
878
|
-
cs({ start: e, config: this._config, index: i, orientation: s });
|
|
879
|
-
}
|
|
880
|
-
/**
|
|
881
|
-
* Gets the end value of a guide.
|
|
882
|
-
*
|
|
883
|
-
* @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
884
|
-
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
885
|
-
*/
|
|
886
|
-
getGuideEnd(e, i) {
|
|
887
|
-
return gs({ config: this._config, index: e, orientation: i });
|
|
888
|
-
}
|
|
889
|
-
setGuideEnd(e, i, s) {
|
|
890
|
-
fs({ end: e, config: this._config, index: i, orientation: s });
|
|
891
|
-
}
|
|
892
|
-
/**
|
|
893
|
-
* Gets the name of a guide.
|
|
894
|
-
*
|
|
895
|
-
* @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
896
|
-
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
897
|
-
*/
|
|
898
|
-
getGuideName(e, i) {
|
|
899
|
-
return ds({ config: this._config, index: e, orientation: i });
|
|
900
|
-
}
|
|
901
|
-
setGuideName(e, i, s) {
|
|
902
|
-
us({ name: e, config: this._config, index: i, orientation: s });
|
|
903
|
-
}
|
|
904
|
-
/**
|
|
905
|
-
* Gets the guide label text.
|
|
906
|
-
*
|
|
907
|
-
* @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
908
|
-
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
909
|
-
*/
|
|
910
|
-
getGuideLabelText(e, i) {
|
|
911
|
-
return ps({ config: this._config, index: e, orientation: i });
|
|
912
|
-
}
|
|
913
|
-
setGuideLabelText(e, i, s) {
|
|
914
|
-
hs({ labelText: e, config: this._config, index: i, orientation: s });
|
|
915
|
-
}
|
|
916
|
-
/**
|
|
917
|
-
* Gets whether the guide should be rendered above the other chart elements.
|
|
918
|
-
*
|
|
919
|
-
* @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
920
|
-
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
921
|
-
*/
|
|
922
|
-
getGuideAbove(e, i) {
|
|
923
|
-
return bs({ config: this._config, index: e, orientation: i });
|
|
924
|
-
}
|
|
925
|
-
setGuideAbove(e, i, s) {
|
|
926
|
-
ys({ above: e, config: this._config, index: i, orientation: s });
|
|
927
|
-
}
|
|
928
|
-
/**
|
|
929
|
-
* Gets the guide style.
|
|
930
|
-
*
|
|
931
|
-
* @param index Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
932
|
-
* @param orientation Default `y`. The axis orientation of the guide.
|
|
933
|
-
*/
|
|
934
|
-
getGuideStyle(e, i) {
|
|
935
|
-
return _s({ config: this._config, index: e, orientation: i });
|
|
936
|
-
}
|
|
937
|
-
setGuideStyle(e, i, s) {
|
|
938
|
-
vs({ style: e, config: this._config, index: i, orientation: s });
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* Gets whether the tooltip text color should be reversed for a guide.
|
|
942
|
-
*
|
|
943
|
-
* @param index - The index of the guide in the list of guides for the given axis orientation.
|
|
944
|
-
* @param orientation - The axis orientation of the guide.
|
|
945
|
-
*/
|
|
946
|
-
getTooltipReverseColor(e, i) {
|
|
947
|
-
return xs({ config: this._config, index: e, orientation: i });
|
|
948
|
-
}
|
|
949
|
-
setTooltipReverseColor(e, i, s) {
|
|
950
|
-
ms({ reverseColor: e, config: this._config, index: i, orientation: s });
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
m([
|
|
954
|
-
l
|
|
955
|
-
], y.prototype, "guideLabelsSymbol");
|
|
956
|
-
m([
|
|
957
|
-
l
|
|
958
|
-
], y.prototype, "setGuideVisibility");
|
|
959
|
-
m([
|
|
960
|
-
l
|
|
961
|
-
], y.prototype, "setGuideStart");
|
|
962
|
-
m([
|
|
963
|
-
l
|
|
964
|
-
], y.prototype, "setGuideEnd");
|
|
965
|
-
m([
|
|
966
|
-
l
|
|
967
|
-
], y.prototype, "setGuideName");
|
|
968
|
-
m([
|
|
969
|
-
l
|
|
970
|
-
], y.prototype, "setGuideLabelText");
|
|
971
|
-
m([
|
|
972
|
-
l
|
|
973
|
-
], y.prototype, "setGuideAbove");
|
|
974
|
-
m([
|
|
975
|
-
l
|
|
976
|
-
], y.prototype, "setGuideStyle");
|
|
977
|
-
m([
|
|
978
|
-
l
|
|
979
|
-
], y.prototype, "setTooltipReverseColor");
|
|
980
|
-
var Cs = Object.defineProperty, Ls = Object.getOwnPropertyDescriptor, pe = (t, e, i, s) => {
|
|
981
|
-
for (var o = Ls(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
982
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
983
|
-
return o && Cs(e, i, o), o;
|
|
984
|
-
};
|
|
985
|
-
class B extends y {
|
|
986
|
-
// ---------------------------------------------------------------------------------------------
|
|
987
|
-
// Guides Methods
|
|
988
|
-
// ---------------------------------------------------------------------------------------------
|
|
989
|
-
/**
|
|
990
|
-
* Gets the number guides in the X-axis guides list.
|
|
991
|
-
*
|
|
992
|
-
* @returns The number of X-axis guides.
|
|
993
|
-
*/
|
|
994
|
-
getXGuidesLength() {
|
|
995
|
-
return this._config.axes?.[0]?.guides?.length;
|
|
996
|
-
}
|
|
997
|
-
addXAxisGuide(e, i) {
|
|
998
|
-
de({
|
|
999
|
-
config: this._config,
|
|
1000
|
-
name: e,
|
|
1001
|
-
index: i,
|
|
1002
|
-
orientation: S.X
|
|
1003
|
-
});
|
|
1004
|
-
}
|
|
1005
|
-
deleteXAxisGuide(e) {
|
|
1006
|
-
ue({
|
|
1007
|
-
config: this._config,
|
|
1008
|
-
index: e,
|
|
1009
|
-
orientation: S.X
|
|
1010
|
-
});
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
pe([
|
|
1014
|
-
l
|
|
1015
|
-
], B.prototype, "addXAxisGuide");
|
|
1016
|
-
pe([
|
|
1017
|
-
l
|
|
1018
|
-
], B.prototype, "deleteXAxisGuide");
|
|
1019
|
-
const Vs = [y];
|
|
1020
|
-
k(B, Vs);
|
|
1021
|
-
var Os = Object.defineProperty, Ds = Object.getOwnPropertyDescriptor, he = (t, e, i, s) => {
|
|
1022
|
-
for (var o = Ds(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
1023
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
1024
|
-
return o && Os(e, i, o), o;
|
|
1025
|
-
};
|
|
1026
|
-
class F extends y {
|
|
1027
|
-
/**
|
|
1028
|
-
* Gets the number guides in the Y-axis guides list.
|
|
1029
|
-
*
|
|
1030
|
-
* @returns The number of Y-axis guides.
|
|
1031
|
-
*/
|
|
1032
|
-
getYGuidesLength() {
|
|
1033
|
-
return this._config.axes?.[1]?.guides?.length;
|
|
1034
|
-
}
|
|
1035
|
-
addYAxisGuide(e, i) {
|
|
1036
|
-
de({
|
|
1037
|
-
config: this._config,
|
|
1038
|
-
name: e,
|
|
1039
|
-
index: i,
|
|
1040
|
-
orientation: S.Y
|
|
1041
|
-
});
|
|
1042
|
-
}
|
|
1043
|
-
deleteYAxisGuide(e) {
|
|
1044
|
-
ue({
|
|
1045
|
-
config: this._config,
|
|
1046
|
-
index: e,
|
|
1047
|
-
orientation: S.Y
|
|
1048
|
-
});
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
he([
|
|
1052
|
-
l
|
|
1053
|
-
], F.prototype, "addYAxisGuide");
|
|
1054
|
-
he([
|
|
1055
|
-
l
|
|
1056
|
-
], F.prototype, "deleteYAxisGuide");
|
|
1057
|
-
const As = [y];
|
|
1058
|
-
k(F, As);
|
|
1059
|
-
var Ps = Object.defineProperty, Gs = Object.getOwnPropertyDescriptor, O = (t, e, i, s) => {
|
|
1060
|
-
for (var o = Gs(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
1061
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
1062
|
-
return o && Ps(e, i, o), o;
|
|
1063
|
-
};
|
|
1064
|
-
class D extends V {
|
|
1065
|
-
/**
|
|
1066
|
-
* Time interval size for a temporal bar/line chart.
|
|
1067
|
-
*/
|
|
1068
|
-
get temporalBinningSize() {
|
|
1069
|
-
return Fe(this._config);
|
|
1070
|
-
}
|
|
1071
|
-
set temporalBinningSize(e) {
|
|
1072
|
-
Re(e, this._config);
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* Time interval units for a temporal bar/line chart.
|
|
1076
|
-
*/
|
|
1077
|
-
get temporalBinningUnit() {
|
|
1078
|
-
return Ne(this._config);
|
|
1079
|
-
}
|
|
1080
|
-
set temporalBinningUnit(e) {
|
|
1081
|
-
ze(e, this._config);
|
|
1082
|
-
}
|
|
1083
|
-
/**
|
|
1084
|
-
* Time aggregation type for a temporal bar/line chart.
|
|
1085
|
-
*/
|
|
1086
|
-
get timeAggregationType() {
|
|
1087
|
-
return Ee(this._config);
|
|
1088
|
-
}
|
|
1089
|
-
set timeAggregationType(e) {
|
|
1090
|
-
He(e, this._config);
|
|
1091
|
-
}
|
|
1092
|
-
/**
|
|
1093
|
-
* Whether to trim incomplete time intervals for a temporal bar/line chart.
|
|
1094
|
-
*/
|
|
1095
|
-
get trimIncompleteTimeInterval() {
|
|
1096
|
-
return Ie(this._config);
|
|
1097
|
-
}
|
|
1098
|
-
set trimIncompleteTimeInterval(e) {
|
|
1099
|
-
Ue(e, this._config);
|
|
1100
|
-
}
|
|
1101
|
-
/**
|
|
1102
|
-
* Policy which tells the chart how to handle null values.
|
|
1103
|
-
*
|
|
1104
|
-
* `null`: Break the bar where null values are present.
|
|
1105
|
-
*
|
|
1106
|
-
* `zero`: Treats null values as zero.
|
|
1107
|
-
*
|
|
1108
|
-
* `interpolate`: Bar series: same effect as `null` - Line series: connects the lines across null values.
|
|
1109
|
-
*/
|
|
1110
|
-
get nullPolicy() {
|
|
1111
|
-
return Xe(this._config);
|
|
1112
|
-
}
|
|
1113
|
-
set nullPolicy(e) {
|
|
1114
|
-
Ye(e, this._config);
|
|
1115
|
-
}
|
|
1116
|
-
resetTimeInterval() {
|
|
1117
|
-
Ze(this._config);
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
O([
|
|
1121
|
-
l
|
|
1122
|
-
], D.prototype, "temporalBinningSize");
|
|
1123
|
-
O([
|
|
1124
|
-
l
|
|
1125
|
-
], D.prototype, "temporalBinningUnit");
|
|
1126
|
-
O([
|
|
1127
|
-
l
|
|
1128
|
-
], D.prototype, "timeAggregationType");
|
|
1129
|
-
O([
|
|
1130
|
-
l
|
|
1131
|
-
], D.prototype, "trimIncompleteTimeInterval");
|
|
1132
|
-
O([
|
|
1133
|
-
l
|
|
1134
|
-
], D.prototype, "nullPolicy");
|
|
1135
|
-
O([
|
|
1136
|
-
l
|
|
1137
|
-
], D.prototype, "resetTimeInterval");
|
|
1138
|
-
const gr = (t, e) => e.series?.[t].assignToSecondValueAxis ?? !1, fr = (t) => {
|
|
1139
|
-
const { assign: e, seriesIndex: i, config: s, commonStrings: o } = t;
|
|
1140
|
-
e && s.axes !== void 0 && !s.axes?.[2] && (s.axes[2] = Te(o, $.BarSeries)[1]), s.series && s.series.forEach((r, n) => {
|
|
1141
|
-
n === i ? r.assignToSecondValueAxis = e : n !== i && r?.assignToSecondValueAxis !== !0 && (r.assignToSecondValueAxis = !1);
|
|
1142
|
-
}), s.axes?.[2] && !s.series.some((r) => r.assignToSecondValueAxis) && s.axes.splice(2, 1);
|
|
1143
|
-
}, dr = (t, e) => e.series?.[t]?.name, ur = (t, e, i) => {
|
|
1144
|
-
i.series?.[e] && (i.series[e].name = t);
|
|
1145
|
-
}, pr = (t, e) => {
|
|
1146
|
-
const i = e.series?.[t];
|
|
1147
|
-
let s;
|
|
1148
|
-
return A(i) ? s = i.fillSymbol?.color : c(i) && (s = i.lineSymbol?.color), s;
|
|
1149
|
-
}, $s = (t, e, i) => {
|
|
1150
|
-
const s = i.series?.[e];
|
|
1151
|
-
s && (A(s) ? s.fillSymbol = {
|
|
1152
|
-
...Se(e),
|
|
1153
|
-
...s.fillSymbol,
|
|
1154
|
-
color: t
|
|
1155
|
-
} : c(s) && (s.lineSymbol = {
|
|
1156
|
-
...w(e),
|
|
1157
|
-
...s.lineSymbol,
|
|
1158
|
-
color: t
|
|
1159
|
-
}));
|
|
1160
|
-
}, hr = (t) => t.series.map((e) => e.id), br = (t, e) => {
|
|
1161
|
-
e.series?.sort(
|
|
1162
|
-
(i, s) => t.findIndex((o) => i.id === o) - t.findIndex((o) => s.id === o)
|
|
1163
|
-
);
|
|
1164
|
-
}, yr = (t) => t.stackedType ?? z.Side, _r = (t) => {
|
|
1165
|
-
const { newStackedType: e, config: i, layerInfo: s, commonStrings: o } = t;
|
|
1166
|
-
if (i.stackedType = e, s !== void 0) {
|
|
1167
|
-
const r = Ve({
|
|
1168
|
-
config: i,
|
|
1169
|
-
layerInfo: s,
|
|
1170
|
-
commonStrings: o,
|
|
1171
|
-
numericFields: Je(i),
|
|
1172
|
-
aggregationType: qe(i)
|
|
1173
|
-
});
|
|
1174
|
-
Oe(i, 1, r);
|
|
1175
|
-
}
|
|
1176
|
-
i.axes?.[1] && (e === z.Stacked100 ? i.axes[1].valueFormat = Ce() : i.axes[1].valueFormat = Le()), G({ config: i, value: null, axisIndex: 1, isMax: !1 }), G({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
1177
|
-
}, vr = (t) => {
|
|
1178
|
-
let e;
|
|
1179
|
-
const i = t.series.find(
|
|
1180
|
-
(s) => (A(s) || c(s) || g(s)) && s.nullCategory !== void 0
|
|
1181
|
-
);
|
|
1182
|
-
return (A(i) || c(i) || g(i)) && (e = i?.nullCategory), e;
|
|
1183
|
-
}, xr = (t, e) => {
|
|
1184
|
-
t.series.forEach((i) => {
|
|
1185
|
-
(A(i) || c(i) || g(i)) && (i.nullCategory = e);
|
|
1186
|
-
});
|
|
1187
|
-
}, Ms = (t) => t.lineSymbol?.style, ws = (t, e) => {
|
|
1188
|
-
e.lineSymbol ??= w(), e.lineSymbol.style = t;
|
|
1189
|
-
}, js = (t) => t.lineSymbol?.width, Ws = (t, e) => {
|
|
1190
|
-
e.lineSymbol ??= w(), e.lineSymbol.width = t;
|
|
1191
|
-
}, ks = (t, e) => {
|
|
1192
|
-
if (c(e.series[t]) || g(e.series[t]))
|
|
1193
|
-
return Ms(e.series[t]);
|
|
1194
|
-
}, Bs = (t, e, i) => {
|
|
1195
|
-
(c(i.series[e]) || g(i.series[e])) && ws(t, i.series[e]);
|
|
1196
|
-
}, Fs = (t, e) => {
|
|
1197
|
-
if (c(e.series[t]) || g(e.series[t]))
|
|
1198
|
-
return js(e.series[t]);
|
|
1199
|
-
}, Rs = (t, e, i) => {
|
|
1200
|
-
(c(i.series[e]) || g(i.series[e])) && Ws(t, i.series[e]);
|
|
1201
|
-
}, Ns = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series[t].markerSymbol?.color : void 0, zs = (t, e, i) => {
|
|
1202
|
-
if (c(i.series[e]) || g(i.series[e])) {
|
|
1203
|
-
const s = i.series[e];
|
|
1204
|
-
s.markerSymbol === void 0 && (s.markerSymbol = j()), s.markerSymbol.color = t;
|
|
1205
|
-
}
|
|
1206
|
-
}, Es = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series?.[t]?.markerSymbol?.style : void 0, Hs = (t, e, i) => {
|
|
1207
|
-
if (c(i.series[e]) || g(i.series[e])) {
|
|
1208
|
-
const s = i.series[e];
|
|
1209
|
-
s.markerSymbol === void 0 && (s.markerSymbol = j()), s.markerSymbol.style = t;
|
|
1210
|
-
}
|
|
1211
|
-
}, Is = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series?.[t]?.markerSymbol?.size : void 0, Us = (t, e, i) => {
|
|
1212
|
-
if (c(i.series[e]) || g(i.series[e])) {
|
|
1213
|
-
const s = i.series[e];
|
|
1214
|
-
s.markerSymbol === void 0 && (s.markerSymbol = j()), s.markerSymbol.size = t;
|
|
1215
|
-
}
|
|
1216
|
-
}, Xs = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series?.[t]?.lineSmoothed ?? !1 : !1, Ys = (t) => {
|
|
1217
|
-
const { smoothed: e, seriesIndex: i, config: s } = t;
|
|
1218
|
-
(c(s.series[i]) || g(s.series[i])) && (s.series[i].lineSmoothed = e);
|
|
1219
|
-
}, Zs = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series[t].showArea ?? !1 : !1, N = (t) => {
|
|
1220
|
-
const { visible: e, seriesIndex: i, config: s } = t;
|
|
1221
|
-
(c(s.series[i]) || g(s.series[i])) && (s.series[i].showArea = e);
|
|
1222
|
-
}, qs = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series[t].markerVisible ?? !0 : !1, Js = (t) => {
|
|
1223
|
-
const { visible: e, seriesIndex: i, config: s } = t;
|
|
1224
|
-
(c(s.series[i]) || g(s.series[i])) && (s.series[i].markerVisible = e);
|
|
1225
|
-
}, Ks = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series[t].areaColor : void 0, Qs = (t, e) => c(e.series[t]) || g(e.series[t]) ? e.series?.[t]?.connectLines : void 0, eo = (t) => {
|
|
1226
|
-
const { connect: e, seriesIndex: i, config: s } = t;
|
|
1227
|
-
(c(s.series[i]) || g(s.series[i])) && (s.series[i].connectLines = e);
|
|
1228
|
-
};
|
|
1229
|
-
var to = Object.defineProperty, io = Object.getOwnPropertyDescriptor, v = (t, e, i, s) => {
|
|
1230
|
-
for (var o = io(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
1231
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
1232
|
-
return o && to(e, i, o), o;
|
|
1233
|
-
};
|
|
1234
|
-
class x extends V {
|
|
1235
|
-
/**
|
|
1236
|
-
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
1237
|
-
*
|
|
1238
|
-
* @param seriesIndex - The index of the series.
|
|
1239
|
-
*/
|
|
1240
|
-
getSeriesLineStyle(e) {
|
|
1241
|
-
return ks(e, this._config);
|
|
1242
|
-
}
|
|
1243
|
-
setSeriesLineStyle(e, i) {
|
|
1244
|
-
Bs(e, i, this._config);
|
|
1245
|
-
}
|
|
1246
|
-
/**
|
|
1247
|
-
* Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
1248
|
-
*
|
|
1249
|
-
* @param seriesIndex - The index of the series.
|
|
1250
|
-
*/
|
|
1251
|
-
getSeriesLineWidth(e) {
|
|
1252
|
-
return Fs(e, this._config);
|
|
1253
|
-
}
|
|
1254
|
-
setSeriesLineWidth(e, i) {
|
|
1255
|
-
Rs(e, i, this._config);
|
|
1256
|
-
}
|
|
1257
|
-
/**
|
|
1258
|
-
* Gets the marker color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
1259
|
-
*
|
|
1260
|
-
* @param seriesIndex - The index of the series.
|
|
1261
|
-
* @returns Color | undefined
|
|
1262
|
-
*/
|
|
1263
|
-
getSeriesMarkerColor(e) {
|
|
1264
|
-
return Ns(e, this._config);
|
|
1265
|
-
}
|
|
1266
|
-
setSeriesMarkerColor(e, i) {
|
|
1267
|
-
zs(e, i, this._config);
|
|
1268
|
-
}
|
|
1269
|
-
/**
|
|
1270
|
-
* Gets the marker style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
1271
|
-
*
|
|
1272
|
-
* @param seriesIndex - The index of the series.
|
|
1273
|
-
*/
|
|
1274
|
-
getSeriesMarkerStyle(e) {
|
|
1275
|
-
return Es(e, this._config);
|
|
1276
|
-
}
|
|
1277
|
-
setSeriesMarkerStyle(e, i) {
|
|
1278
|
-
Hs(e, i, this._config);
|
|
1279
|
-
}
|
|
1280
|
-
/**
|
|
1281
|
-
* Gets the marker size of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
1282
|
-
*
|
|
1283
|
-
* @param seriesIndex - The index of the series.
|
|
1284
|
-
*/
|
|
1285
|
-
getSeriesMarkerSize(e) {
|
|
1286
|
-
return Is(e, this._config);
|
|
1287
|
-
}
|
|
1288
|
-
setSeriesMarkerSize(e, i) {
|
|
1289
|
-
Us(e, i, this._config);
|
|
1290
|
-
}
|
|
1291
|
-
/**
|
|
1292
|
-
* Specify whether line segments of the series should be smoothed.
|
|
1293
|
-
*
|
|
1294
|
-
* @param seriesIndex - The index of the series.
|
|
1295
|
-
*/
|
|
1296
|
-
isLineSmoothed(e) {
|
|
1297
|
-
return Xs(e, this._config);
|
|
1298
|
-
}
|
|
1299
|
-
setLineSmoothed(e, i) {
|
|
1300
|
-
Ys({
|
|
1301
|
-
smoothed: e,
|
|
1302
|
-
seriesIndex: i,
|
|
1303
|
-
config: this._config
|
|
1304
|
-
});
|
|
1305
|
-
}
|
|
1306
|
-
/**
|
|
1307
|
-
* Specify the color of the filled area for line chart.
|
|
1308
|
-
*
|
|
1309
|
-
* @param seriesIndex - The index of the series.
|
|
1310
|
-
*/
|
|
1311
|
-
getConnectLines(e) {
|
|
1312
|
-
return Qs(e, this._config);
|
|
1313
|
-
}
|
|
1314
|
-
setConnectLines(e, i) {
|
|
1315
|
-
eo({
|
|
1316
|
-
connect: e,
|
|
1317
|
-
seriesIndex: i,
|
|
1318
|
-
config: this._config
|
|
1319
|
-
});
|
|
1320
|
-
}
|
|
1321
|
-
/**
|
|
1322
|
-
* Specify whether the line series should show area.
|
|
1323
|
-
*
|
|
1324
|
-
* @param seriesIndex - The index of the series.
|
|
1325
|
-
*/
|
|
1326
|
-
isAreaVisible(e) {
|
|
1327
|
-
return Zs(e, this._config);
|
|
1328
|
-
}
|
|
1329
|
-
setAreaVisible(e, i) {
|
|
1330
|
-
N({
|
|
1331
|
-
visible: e,
|
|
1332
|
-
seriesIndex: i,
|
|
1333
|
-
config: this._config
|
|
1334
|
-
});
|
|
1335
|
-
}
|
|
1336
|
-
/**
|
|
1337
|
-
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
1338
|
-
*
|
|
1339
|
-
* @param seriesIndex - The index of the series.
|
|
1340
|
-
*/
|
|
1341
|
-
isMarkerVisible(e) {
|
|
1342
|
-
return qs(e, this._config);
|
|
1343
|
-
}
|
|
1344
|
-
setMarkerVisible(e, i) {
|
|
1345
|
-
Js({
|
|
1346
|
-
visible: e,
|
|
1347
|
-
seriesIndex: i,
|
|
1348
|
-
config: this._config
|
|
1349
|
-
});
|
|
1350
|
-
}
|
|
1351
|
-
/**
|
|
1352
|
-
* Specify the color of the filled area for line chart.
|
|
1353
|
-
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
1354
|
-
*
|
|
1355
|
-
* @param seriesIndex - The index of the series.
|
|
1356
|
-
*/
|
|
1357
|
-
getAreaColor(e) {
|
|
1358
|
-
return Ks(e, this._config);
|
|
1359
|
-
}
|
|
1360
|
-
setAreaColor(e, i) {
|
|
1361
|
-
N({
|
|
1362
|
-
visible: !0,
|
|
1363
|
-
seriesIndex: i,
|
|
1364
|
-
config: this._config
|
|
1365
|
-
}), $s(e, i, this._config);
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1368
|
-
v([
|
|
1369
|
-
l
|
|
1370
|
-
], x.prototype, "setSeriesLineStyle");
|
|
1371
|
-
v([
|
|
1372
|
-
l
|
|
1373
|
-
], x.prototype, "setSeriesLineWidth");
|
|
1374
|
-
v([
|
|
1375
|
-
l
|
|
1376
|
-
], x.prototype, "setSeriesMarkerColor");
|
|
1377
|
-
v([
|
|
1378
|
-
l
|
|
1379
|
-
], x.prototype, "setSeriesMarkerStyle");
|
|
1380
|
-
v([
|
|
1381
|
-
l
|
|
1382
|
-
], x.prototype, "setSeriesMarkerSize");
|
|
1383
|
-
v([
|
|
1384
|
-
l
|
|
1385
|
-
], x.prototype, "setLineSmoothed");
|
|
1386
|
-
v([
|
|
1387
|
-
l
|
|
1388
|
-
], x.prototype, "setConnectLines");
|
|
1389
|
-
v([
|
|
1390
|
-
l
|
|
1391
|
-
], x.prototype, "setAreaVisible");
|
|
1392
|
-
v([
|
|
1393
|
-
l
|
|
1394
|
-
], x.prototype, "setMarkerVisible");
|
|
1395
|
-
v([
|
|
1396
|
-
l
|
|
1397
|
-
], x.prototype, "setAreaColor");
|
|
1398
|
-
const so = (t) => {
|
|
1399
|
-
for (const e of t.axes ?? [])
|
|
1400
|
-
if (e?.grid !== void 0)
|
|
1401
|
-
return e.grid;
|
|
1402
|
-
}, oo = (t, e, i) => {
|
|
1403
|
-
const s = e.axes;
|
|
1404
|
-
i.forEach((o) => {
|
|
1405
|
-
s?.[o] !== void 0 && (s[o].grid = H(t));
|
|
1406
|
-
});
|
|
1407
|
-
}, ro = (t, e) => e.axes?.[t]?.visible ?? !0, no = (t, e, i) => {
|
|
1408
|
-
const s = i.axes?.[e];
|
|
1409
|
-
s !== void 0 && (s.visible = t);
|
|
1410
|
-
}, lo = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, ao = (t, e, i) => {
|
|
1411
|
-
t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
|
|
1412
|
-
}, co = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, go = (t) => {
|
|
1413
|
-
const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
|
|
1414
|
-
e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
|
|
1415
|
-
}, fo = (t, e) => t.axes?.[e]?.buffer ?? !1, uo = (t) => {
|
|
1416
|
-
const { config: e, buffer: i, axisIndex: s } = t, o = e.axes?.[s];
|
|
1417
|
-
o !== void 0 && (o.buffer = i);
|
|
1418
|
-
}, po = (t, e) => t.axes?.[e]?.tickSpacing, ho = (t) => {
|
|
1419
|
-
const { config: e, tickSpacing: i, axisIndex: s } = t;
|
|
1420
|
-
e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
|
|
1421
|
-
}, bo = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, yo = (t) => {
|
|
1422
|
-
const { config: e, integerOnlyValues: i, axisIndex: s } = t;
|
|
1423
|
-
e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
|
|
1424
|
-
}, _o = (t) => t.horizontalAxisLabelsBehavior ?? E.Rotate, vo = (t, e) => {
|
|
1425
|
-
e.horizontalAxisLabelsBehavior = t;
|
|
1426
|
-
}, xo = (t) => t.verticalAxisLabelsBehavior ?? E.Wrap, mo = (t, e) => {
|
|
1427
|
-
e.verticalAxisLabelsBehavior = t;
|
|
1428
|
-
}, So = (t) => t.cursorCrosshair?.horizontalLineVisible ?? !1, To = (t, e) => {
|
|
1429
|
-
e.cursorCrosshair === void 0 && (e.cursorCrosshair = W()), e.cursorCrosshair.horizontalLineVisible = t;
|
|
1430
|
-
}, Co = (t) => t.cursorCrosshair?.verticalLineVisible ?? !1, Lo = (t, e) => {
|
|
1431
|
-
e.cursorCrosshair === void 0 && (e.cursorCrosshair = W()), e.cursorCrosshair.verticalLineVisible = t;
|
|
1432
|
-
}, Vo = (t) => t.cursorCrosshair?.style, Oo = (t, e) => {
|
|
1433
|
-
e.cursorCrosshair === void 0 && (e.cursorCrosshair = W()), e.cursorCrosshair.style = t;
|
|
1434
|
-
}, Do = (t) => t.cursorCrosshair, Ao = (t, e) => {
|
|
1435
|
-
e.cursorCrosshair = t;
|
|
1436
|
-
};
|
|
1437
|
-
var Po = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, u = (t, e, i, s) => {
|
|
1438
|
-
for (var o = Go(e, i), r = t.length - 1, n; r >= 0; r--)
|
|
1439
|
-
(n = t[r]) && (o = n(e, i, o) || o);
|
|
1440
|
-
return o && Po(e, i, o), o;
|
|
1441
|
-
};
|
|
1442
|
-
class p extends V {
|
|
1443
|
-
/**
|
|
1444
|
-
* Gets the title text of the specified axis.
|
|
1445
|
-
*
|
|
1446
|
-
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1447
|
-
*/
|
|
1448
|
-
getAxisTitleText(e) {
|
|
1449
|
-
return a({
|
|
1450
|
-
config: this._config,
|
|
1451
|
-
axisIndex: e,
|
|
1452
|
-
func: (i) => Ke(i, this._config)
|
|
1453
|
-
}) ?? "";
|
|
1454
|
-
}
|
|
1455
|
-
setAxisTitleText(e, i) {
|
|
1456
|
-
a({
|
|
1457
|
-
config: this._config,
|
|
1458
|
-
axisIndex: i,
|
|
1459
|
-
func: (s) => {
|
|
1460
|
-
Qe(e, s, this._config);
|
|
1461
|
-
}
|
|
1462
|
-
});
|
|
1463
|
-
}
|
|
1464
|
-
/**
|
|
1465
|
-
* Gets the visibility of the specified axis.
|
|
1466
|
-
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1467
|
-
* @returns {boolean}
|
|
1468
|
-
*/
|
|
1469
|
-
getAxisVisibility(e) {
|
|
1470
|
-
return a({
|
|
1471
|
-
config: this._config,
|
|
1472
|
-
axisIndex: e,
|
|
1473
|
-
func: (i) => ro(i, this._config)
|
|
1474
|
-
}) ?? !0;
|
|
1475
|
-
}
|
|
1476
|
-
/**
|
|
1477
|
-
* Sets the visibility of the specified axis.
|
|
1478
|
-
* **Note:** The visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1479
|
-
* @param {boolean} isVisible The visibility state for the axis.
|
|
1480
|
-
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1481
|
-
*/
|
|
1482
|
-
setAxisVisibility(e, i) {
|
|
1483
|
-
this.guardSetterFromAsyncOverwrite(() => {
|
|
1484
|
-
a({
|
|
1485
|
-
config: this._config,
|
|
1486
|
-
axisIndex: i,
|
|
1487
|
-
func: (s) => {
|
|
1488
|
-
no(e, s, this._config), this.emitConfigUpdate("setAxisVisibility");
|
|
1489
|
-
}
|
|
1490
|
-
});
|
|
1491
|
-
});
|
|
1492
|
-
}
|
|
1493
|
-
/**
|
|
1494
|
-
* Gets the visibility of the specified axis labels.
|
|
1495
|
-
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1496
|
-
* @returns {boolean}
|
|
1497
|
-
*/
|
|
1498
|
-
getAxisLabelsVisibility(e) {
|
|
1499
|
-
return a({
|
|
1500
|
-
config: this._config,
|
|
1501
|
-
axisIndex: e,
|
|
1502
|
-
func: (i) => et(i, this._config)
|
|
1503
|
-
}) ?? !0;
|
|
1504
|
-
}
|
|
1505
|
-
/**
|
|
1506
|
-
* Sets the visibility of the specified axis labels.
|
|
1507
|
-
* **Note:** The labels visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
1508
|
-
* @param {boolean} isVisible The visibility state for the axis labels.
|
|
1509
|
-
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1510
|
-
*/
|
|
1511
|
-
setAxisLabelsVisibility(e, i) {
|
|
1512
|
-
this.guardSetterFromAsyncOverwrite(() => {
|
|
1513
|
-
a({
|
|
1514
|
-
config: this._config,
|
|
1515
|
-
axisIndex: i,
|
|
1516
|
-
func: (s) => {
|
|
1517
|
-
tt(e, s, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
|
|
1518
|
-
}
|
|
1519
|
-
});
|
|
1520
|
-
});
|
|
1521
|
-
}
|
|
1522
|
-
/**
|
|
1523
|
-
* Gets the visibility of the specified axis title.
|
|
1524
|
-
*
|
|
1525
|
-
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1526
|
-
*/
|
|
1527
|
-
getAxisTitleVisibility(e) {
|
|
1528
|
-
return a({
|
|
1529
|
-
config: this._config,
|
|
1530
|
-
axisIndex: e,
|
|
1531
|
-
func: (i) => it(i, this._config)
|
|
1532
|
-
}) ?? !1;
|
|
1533
|
-
}
|
|
1534
|
-
setAxisTitleVisibility(e, i) {
|
|
1535
|
-
a({
|
|
1536
|
-
config: this._config,
|
|
1537
|
-
axisIndex: i,
|
|
1538
|
-
func: (s) => {
|
|
1539
|
-
st(e, s, this._config);
|
|
1540
|
-
}
|
|
1541
|
-
});
|
|
1542
|
-
}
|
|
1543
|
-
/**
|
|
1544
|
-
* Gets the maximum bound for the specified axis.
|
|
1545
|
-
*
|
|
1546
|
-
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1547
|
-
*/
|
|
1548
|
-
getMaxBound(e) {
|
|
1549
|
-
return a({
|
|
1550
|
-
config: this._config,
|
|
1551
|
-
axisIndex: e,
|
|
1552
|
-
func: (i) => R({ config: this._config, axisIndex: i, isMax: !0 })
|
|
1553
|
-
}) ?? Number.NaN;
|
|
1554
|
-
}
|
|
1555
|
-
setMaxBound(e, i) {
|
|
1556
|
-
a({
|
|
1557
|
-
config: this._config,
|
|
1558
|
-
axisIndex: i,
|
|
1559
|
-
func: (s) => {
|
|
1560
|
-
G({ config: this._config, value: e, axisIndex: s, isMax: !0 });
|
|
1561
|
-
}
|
|
1562
|
-
});
|
|
1563
|
-
}
|
|
1564
|
-
/**
|
|
1565
|
-
* Gets the minimum bound for the specified axis.
|
|
1566
|
-
*
|
|
1567
|
-
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1568
|
-
*/
|
|
1569
|
-
getMinBound(e) {
|
|
1570
|
-
return a({
|
|
1571
|
-
config: this._config,
|
|
1572
|
-
axisIndex: e,
|
|
1573
|
-
func: (i) => R({ config: this._config, axisIndex: i, isMax: !1 })
|
|
1574
|
-
}) ?? Number.NaN;
|
|
1575
|
-
}
|
|
1576
|
-
setMinBound(e, i) {
|
|
1577
|
-
a({
|
|
1578
|
-
config: this._config,
|
|
1579
|
-
axisIndex: i,
|
|
1580
|
-
func: (s) => {
|
|
1581
|
-
G({ config: this._config, value: e, axisIndex: s, isMax: !1 });
|
|
1582
|
-
}
|
|
1583
|
-
});
|
|
1584
|
-
}
|
|
1585
|
-
/**
|
|
1586
|
-
* Gets the value format for the specified axis.
|
|
1587
|
-
*
|
|
1588
|
-
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1589
|
-
*/
|
|
1590
|
-
getAxisValueFormat(e) {
|
|
1591
|
-
return a({
|
|
1592
|
-
config: this._config,
|
|
1593
|
-
axisIndex: e,
|
|
1594
|
-
func: (i) => De(i, this._config)
|
|
1595
|
-
});
|
|
1596
|
-
}
|
|
1597
|
-
setAxisValueFormat(e, i) {
|
|
1598
|
-
a({
|
|
1599
|
-
config: this._config,
|
|
1600
|
-
axisIndex: e,
|
|
1601
|
-
func: (s) => {
|
|
1602
|
-
Ae({
|
|
1603
|
-
config: this._config,
|
|
1604
|
-
valueFormat: i,
|
|
1605
|
-
axisIndex: s,
|
|
1606
|
-
commonStrings: this.commonStrings
|
|
1607
|
-
});
|
|
1608
|
-
}
|
|
1609
|
-
});
|
|
1610
|
-
}
|
|
1611
|
-
/**
|
|
1612
|
-
* Gets whether logarithmic scale is enabled for the specified axis.
|
|
1613
|
-
* - `true`: Logarithmic scale is enabled for the specified axis.
|
|
1614
|
-
* - `false`: Logarithmic scale is disabled for the specified axis.
|
|
1615
|
-
*
|
|
1616
|
-
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1617
|
-
*/
|
|
1618
|
-
getLogarithmic(e) {
|
|
1619
|
-
return a({
|
|
1620
|
-
config: this._config,
|
|
1621
|
-
axisIndex: e,
|
|
1622
|
-
func: (i) => Pe(this._config, i)
|
|
1623
|
-
}) ?? !1;
|
|
1624
|
-
}
|
|
1625
|
-
setLogarithmic(e, i) {
|
|
1626
|
-
a({
|
|
1627
|
-
config: this._config,
|
|
1628
|
-
axisIndex: i,
|
|
1629
|
-
func: (s) => {
|
|
1630
|
-
Ge({
|
|
1631
|
-
config: this._config,
|
|
1632
|
-
isLogarithmic: e,
|
|
1633
|
-
axisIndex: s
|
|
1634
|
-
});
|
|
1635
|
-
}
|
|
1636
|
-
});
|
|
1637
|
-
}
|
|
1638
|
-
/**
|
|
1639
|
-
* Gets the scrollbar configuration for the specified axis.
|
|
1640
|
-
*
|
|
1641
|
-
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
1642
|
-
*/
|
|
1643
|
-
getAxisScrollbar(e) {
|
|
1644
|
-
return a({
|
|
1645
|
-
config: this._config,
|
|
1646
|
-
axisIndex: e,
|
|
1647
|
-
func: (i) => this._config.axes?.[i]?.scrollbar
|
|
1648
|
-
});
|
|
1649
|
-
}
|
|
1650
|
-
setAxisScrollbar(e, i) {
|
|
1651
|
-
a({
|
|
1652
|
-
config: this._config,
|
|
1653
|
-
axisIndex: i,
|
|
1654
|
-
func: (s) => {
|
|
1655
|
-
$e({
|
|
1656
|
-
config: this._config,
|
|
1657
|
-
scrollbar: e,
|
|
1658
|
-
axisIndex: s
|
|
1659
|
-
});
|
|
1660
|
-
}
|
|
1661
|
-
});
|
|
1662
|
-
}
|
|
1663
|
-
/**
|
|
1664
|
-
* Gets the specified title text symbol. Contains styling information such as font, color, and symbol style.
|
|
1665
|
-
*
|
|
1666
|
-
* @param axisIndex - The index of the axis to get the title symbol for
|
|
1667
|
-
*/
|
|
1668
|
-
getAxisTitleSymbol(e) {
|
|
1669
|
-
return a({
|
|
1670
|
-
config: this._config,
|
|
1671
|
-
axisIndex: e,
|
|
1672
|
-
func: (i) => ot(this._config, i)
|
|
1673
|
-
});
|
|
1674
|
-
}
|
|
1675
|
-
setAxisTitleSymbol(e, i) {
|
|
1676
|
-
a({
|
|
1677
|
-
config: this._config,
|
|
1678
|
-
axisIndex: i,
|
|
1679
|
-
func: (s) => {
|
|
1680
|
-
rt({ symbol: e, config: this._config, axisIndex: s });
|
|
1681
|
-
}
|
|
1682
|
-
});
|
|
1683
|
-
}
|
|
1684
|
-
/**
|
|
1685
|
-
* Gets the horizontal axis labels behavior for the chart.
|
|
1686
|
-
*/
|
|
1687
|
-
getHorizontalAxisLabelsBehavior() {
|
|
1688
|
-
return _o(this._config);
|
|
1689
|
-
}
|
|
1690
|
-
setHorizontalAxisLabelsBehavior(e) {
|
|
1691
|
-
vo(e, this._config);
|
|
1692
|
-
}
|
|
1693
|
-
/**
|
|
1694
|
-
* Gets the vertical axis labels behavior for the chart.
|
|
1695
|
-
*/
|
|
1696
|
-
getVerticalAxisLabelsBehavior() {
|
|
1697
|
-
return xo(this._config);
|
|
1698
|
-
}
|
|
1699
|
-
setVerticalAxisLabelsBehavior(e) {
|
|
1700
|
-
mo(e, this._config);
|
|
1701
|
-
}
|
|
1702
|
-
/**
|
|
1703
|
-
* Gets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
1704
|
-
*/
|
|
1705
|
-
getGridLinesSymbol() {
|
|
1706
|
-
return so(this._config);
|
|
1707
|
-
}
|
|
1708
|
-
setGridLinesSymbol(e, i) {
|
|
1709
|
-
Array.isArray(i) && oo(e, this._config, i);
|
|
1710
|
-
}
|
|
1711
|
-
/**
|
|
1712
|
-
* Get the default x-axis title text.
|
|
1713
|
-
*/
|
|
1714
|
-
getDefaultXAxisTitleText() {
|
|
1715
|
-
return this.commonStrings.utilsStrings.statistics.count;
|
|
1716
|
-
}
|
|
1717
|
-
/**
|
|
1718
|
-
* Gets the display zero line setting for the specified axis.
|
|
1719
|
-
* - This setting is only applicable to the axis of type ValueAxis.
|
|
1720
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1721
|
-
* - If the displayZeroLine is not set on the axis, the default value of `false` will be returned.
|
|
1722
|
-
*
|
|
1723
|
-
* @param axisIndex - The index of the axis to get the display zero line for.
|
|
1724
|
-
*/
|
|
1725
|
-
getDisplayZeroLine(e) {
|
|
1726
|
-
return a({
|
|
1727
|
-
config: this._config,
|
|
1728
|
-
axisIndex: e,
|
|
1729
|
-
func: (i) => lo(this._config, i)
|
|
1730
|
-
}) ?? !1;
|
|
1731
|
-
}
|
|
1732
|
-
setDisplayZeroLine(e, i) {
|
|
1733
|
-
a({
|
|
1734
|
-
config: this._config,
|
|
1735
|
-
axisIndex: i,
|
|
1736
|
-
func: (s) => {
|
|
1737
|
-
ao(this._config, e, s);
|
|
1738
|
-
}
|
|
1739
|
-
});
|
|
1740
|
-
}
|
|
1741
|
-
/**
|
|
1742
|
-
* Gets the display cursor tooltip setting for the specified axis.
|
|
1743
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1744
|
-
* - If the displayCursorTooltip is not set on the axis, the default value of `false` will be returned.
|
|
1745
|
-
*
|
|
1746
|
-
* @param axisIndex - The index of the axis to get the display cursor tooltip for.
|
|
1747
|
-
*/
|
|
1748
|
-
getDisplayCursorTooltip(e) {
|
|
1749
|
-
return a({
|
|
1750
|
-
config: this._config,
|
|
1751
|
-
axisIndex: e,
|
|
1752
|
-
func: (i) => co(this._config, i)
|
|
1753
|
-
}) ?? !1;
|
|
1754
|
-
}
|
|
1755
|
-
setDisplayCursorTooltip(e, i) {
|
|
1756
|
-
a({
|
|
1757
|
-
config: this._config,
|
|
1758
|
-
axisIndex: i,
|
|
1759
|
-
func: (s) => {
|
|
1760
|
-
go({
|
|
1761
|
-
config: this._config,
|
|
1762
|
-
displayCursorTooltip: e,
|
|
1763
|
-
axisIndex: s
|
|
1764
|
-
});
|
|
1765
|
-
}
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
/**
|
|
1769
|
-
* Gets the buffer setting for the specified axis.
|
|
1770
|
-
* - This setting is only applicable to the axis of type ValueAxis.
|
|
1771
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1772
|
-
* - If the `buffer` is not set on the axis, the default value of `false` will be returned.
|
|
1773
|
-
*
|
|
1774
|
-
* @param axisIndex - The index of the axis
|
|
1775
|
-
*/
|
|
1776
|
-
getBuffer(e) {
|
|
1777
|
-
return a({
|
|
1778
|
-
config: this._config,
|
|
1779
|
-
axisIndex: e,
|
|
1780
|
-
func: (i) => fo(this._config, i)
|
|
1781
|
-
}) ?? !1;
|
|
1782
|
-
}
|
|
1783
|
-
setBuffer(e, i) {
|
|
1784
|
-
a({
|
|
1785
|
-
config: this._config,
|
|
1786
|
-
axisIndex: i,
|
|
1787
|
-
func: (s) => {
|
|
1788
|
-
uo({
|
|
1789
|
-
config: this._config,
|
|
1790
|
-
buffer: e,
|
|
1791
|
-
axisIndex: s
|
|
1792
|
-
});
|
|
1793
|
-
}
|
|
1794
|
-
});
|
|
1795
|
-
}
|
|
1796
|
-
/**
|
|
1797
|
-
* Gets the tick spacing setting for the specified axis.
|
|
1798
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1799
|
-
*
|
|
1800
|
-
* @param axisIndex - The index of the axis
|
|
1801
|
-
*/
|
|
1802
|
-
getTickSpacing(e) {
|
|
1803
|
-
return po(this._config, e);
|
|
1804
|
-
}
|
|
1805
|
-
setTickSpacing(e, i) {
|
|
1806
|
-
a({
|
|
1807
|
-
config: this._config,
|
|
1808
|
-
axisIndex: i,
|
|
1809
|
-
func: (s) => {
|
|
1810
|
-
ho({
|
|
1811
|
-
config: this._config,
|
|
1812
|
-
tickSpacing: e,
|
|
1813
|
-
axisIndex: s
|
|
1814
|
-
});
|
|
1815
|
-
}
|
|
1816
|
-
});
|
|
1817
|
-
}
|
|
1818
|
-
/**
|
|
1819
|
-
* Gets the integer only values setting for the specified axis.
|
|
1820
|
-
* - This setting is only applicable to the axis of type ValueAxis.
|
|
1821
|
-
* - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
1822
|
-
* - If the `integerOnlyValues` is not set on the axis, the default value of `false` will be returned.
|
|
1823
|
-
*
|
|
1824
|
-
* @param axisIndex - The index of the axis
|
|
1825
|
-
*/
|
|
1826
|
-
getIntegerOnlyValues(e) {
|
|
1827
|
-
return a({
|
|
1828
|
-
config: this._config,
|
|
1829
|
-
axisIndex: e,
|
|
1830
|
-
func: (i) => bo(this._config, i)
|
|
1831
|
-
}) ?? !1;
|
|
1832
|
-
}
|
|
1833
|
-
setIntegerOnlyValues(e, i) {
|
|
1834
|
-
a({
|
|
1835
|
-
config: this._config,
|
|
1836
|
-
axisIndex: i,
|
|
1837
|
-
func: (s) => {
|
|
1838
|
-
yo({
|
|
1839
|
-
config: this._config,
|
|
1840
|
-
integerOnlyValues: e,
|
|
1841
|
-
axisIndex: s
|
|
1842
|
-
});
|
|
1843
|
-
}
|
|
1844
|
-
});
|
|
1845
|
-
}
|
|
1846
|
-
/**
|
|
1847
|
-
* Visibility of the horizontal line of the cursor's crosshair.
|
|
1848
|
-
* - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
1849
|
-
*
|
|
1850
|
-
* **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.
|
|
1851
|
-
*/
|
|
1852
|
-
get cursorCrosshairHorizontalLineVisibility() {
|
|
1853
|
-
return So(this._config);
|
|
1854
|
-
}
|
|
1855
|
-
set cursorCrosshairHorizontalLineVisibility(e) {
|
|
1856
|
-
To(e, this._config);
|
|
1857
|
-
}
|
|
1858
|
-
/**
|
|
1859
|
-
* Visibility of the vertical line of the cursor's crosshair.
|
|
1860
|
-
* - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
1861
|
-
*
|
|
1862
|
-
* **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.
|
|
1863
|
-
*/
|
|
1864
|
-
get cursorCrosshairVerticalLineVisibility() {
|
|
1865
|
-
return Co(this._config);
|
|
1866
|
-
}
|
|
1867
|
-
set cursorCrosshairVerticalLineVisibility(e) {
|
|
1868
|
-
Lo(e, this._config);
|
|
1869
|
-
}
|
|
1870
|
-
/**
|
|
1871
|
-
* Style of the cursor's crosshair from the chart config.
|
|
1872
|
-
*
|
|
1873
|
-
* **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.
|
|
1874
|
-
*/
|
|
1875
|
-
get cursorCrosshairStyle() {
|
|
1876
|
-
return Vo(this._config);
|
|
1877
|
-
}
|
|
1878
|
-
set cursorCrosshairStyle(e) {
|
|
1879
|
-
e && Oo(e, this._config);
|
|
1880
|
-
}
|
|
1881
|
-
/**
|
|
1882
|
-
* Cursor crosshair from the chart config.
|
|
1883
|
-
*
|
|
1884
|
-
* **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.
|
|
1885
|
-
*/
|
|
1886
|
-
get cursorCrosshair() {
|
|
1887
|
-
return Do(this._config);
|
|
1888
|
-
}
|
|
1889
|
-
set cursorCrosshair(e) {
|
|
1890
|
-
e && Ao(e, this._config);
|
|
1891
|
-
}
|
|
1892
|
-
}
|
|
1893
|
-
u([
|
|
1894
|
-
l
|
|
1895
|
-
], p.prototype, "setAxisTitleText");
|
|
1896
|
-
u([
|
|
1897
|
-
l
|
|
1898
|
-
], p.prototype, "setAxisTitleVisibility");
|
|
1899
|
-
u([
|
|
1900
|
-
l
|
|
1901
|
-
], p.prototype, "setMaxBound");
|
|
1902
|
-
u([
|
|
1903
|
-
l
|
|
1904
|
-
], p.prototype, "setMinBound");
|
|
1905
|
-
u([
|
|
1906
|
-
l
|
|
1907
|
-
], p.prototype, "setAxisValueFormat");
|
|
1908
|
-
u([
|
|
1909
|
-
l
|
|
1910
|
-
], p.prototype, "setLogarithmic");
|
|
1911
|
-
u([
|
|
1912
|
-
l
|
|
1913
|
-
], p.prototype, "setAxisScrollbar");
|
|
1914
|
-
u([
|
|
1915
|
-
l
|
|
1916
|
-
], p.prototype, "setAxisTitleSymbol");
|
|
1917
|
-
u([
|
|
1918
|
-
l
|
|
1919
|
-
], p.prototype, "setHorizontalAxisLabelsBehavior");
|
|
1920
|
-
u([
|
|
1921
|
-
l
|
|
1922
|
-
], p.prototype, "setVerticalAxisLabelsBehavior");
|
|
1923
|
-
u([
|
|
1924
|
-
l
|
|
1925
|
-
], p.prototype, "setGridLinesSymbol");
|
|
1926
|
-
u([
|
|
1927
|
-
l
|
|
1928
|
-
], p.prototype, "setDisplayZeroLine");
|
|
1929
|
-
u([
|
|
1930
|
-
l
|
|
1931
|
-
], p.prototype, "setDisplayCursorTooltip");
|
|
1932
|
-
u([
|
|
1933
|
-
l
|
|
1934
|
-
], p.prototype, "setBuffer");
|
|
1935
|
-
u([
|
|
1936
|
-
l
|
|
1937
|
-
], p.prototype, "setTickSpacing");
|
|
1938
|
-
u([
|
|
1939
|
-
l
|
|
1940
|
-
], p.prototype, "setIntegerOnlyValues");
|
|
1941
|
-
u([
|
|
1942
|
-
l
|
|
1943
|
-
], p.prototype, "cursorCrosshairHorizontalLineVisibility");
|
|
1944
|
-
u([
|
|
1945
|
-
l
|
|
1946
|
-
], p.prototype, "cursorCrosshairVerticalLineVisibility");
|
|
1947
|
-
u([
|
|
1948
|
-
l
|
|
1949
|
-
], p.prototype, "cursorCrosshairStyle");
|
|
1950
|
-
u([
|
|
1951
|
-
l
|
|
1952
|
-
], p.prototype, "cursorCrosshair");
|
|
1953
|
-
export {
|
|
1954
|
-
Es as A,
|
|
1955
|
-
Is as B,
|
|
1956
|
-
V as C,
|
|
1957
|
-
Xs as D,
|
|
1958
|
-
Ys as E,
|
|
1959
|
-
Zs as F,
|
|
1960
|
-
N as G,
|
|
1961
|
-
qs as H,
|
|
1962
|
-
Js as I,
|
|
1963
|
-
Ks as J,
|
|
1964
|
-
Ms as K,
|
|
1965
|
-
ws as L,
|
|
1966
|
-
x as M,
|
|
1967
|
-
js as N,
|
|
1968
|
-
Ws as O,
|
|
1969
|
-
zs as a,
|
|
1970
|
-
ur as b,
|
|
1971
|
-
Bs as c,
|
|
1972
|
-
Rs as d,
|
|
1973
|
-
Hs as e,
|
|
1974
|
-
Us as f,
|
|
1975
|
-
gr as g,
|
|
1976
|
-
fr as h,
|
|
1977
|
-
dr as i,
|
|
1978
|
-
pr as j,
|
|
1979
|
-
hr as k,
|
|
1980
|
-
br as l,
|
|
1981
|
-
yr as m,
|
|
1982
|
-
_r as n,
|
|
1983
|
-
vr as o,
|
|
1984
|
-
xr as p,
|
|
1985
|
-
p as q,
|
|
1986
|
-
L as r,
|
|
1987
|
-
$s as s,
|
|
1988
|
-
ge as t,
|
|
1989
|
-
B as u,
|
|
1990
|
-
F as v,
|
|
1991
|
-
D as w,
|
|
1992
|
-
ks as x,
|
|
1993
|
-
Fs as y,
|
|
1994
|
-
Ns as z
|
|
1995
|
-
};
|