@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
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import { C as S } from "./chart-model.js";
|
|
3
|
+
import { s as c } from "./serial-chart-model.js";
|
|
4
|
+
import { g as f, a as h, e as p, b as _, f as M, s as k, h as y, c as L, i as C, d, j as m, k as b, l as u, m as V, n as A, o as l, p as v, q as W, r as z } from "./negative-values-stacked-to-baseline.js";
|
|
5
|
+
import { m as i } from "./model-setter.js";
|
|
6
|
+
var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e, t, j) => {
|
|
7
|
+
for (var o = P(e, t), a = n.length - 1, g; a >= 0; a--)
|
|
8
|
+
(g = n[a]) && (o = g(e, t, o) || o);
|
|
9
|
+
return o && O(e, t, o), o;
|
|
10
|
+
};
|
|
11
|
+
class s extends S {
|
|
12
|
+
/**
|
|
13
|
+
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
14
|
+
*
|
|
15
|
+
* @param seriesIndex - The index of the series.
|
|
16
|
+
*/
|
|
17
|
+
getSeriesLineStyle(e) {
|
|
18
|
+
return f(e, this._config);
|
|
19
|
+
}
|
|
20
|
+
setSeriesLineStyle(e, t) {
|
|
21
|
+
h(e, t, this._config);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
25
|
+
*
|
|
26
|
+
* @param seriesIndex - The index of the series.
|
|
27
|
+
*/
|
|
28
|
+
getSeriesLineWidth(e) {
|
|
29
|
+
return p(e, this._config);
|
|
30
|
+
}
|
|
31
|
+
setSeriesLineWidth(e, t) {
|
|
32
|
+
_(e, t, this._config);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Gets the marker color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
36
|
+
*
|
|
37
|
+
* @param seriesIndex - The index of the series.
|
|
38
|
+
* @returns Color | undefined
|
|
39
|
+
*/
|
|
40
|
+
getSeriesMarkerColor(e) {
|
|
41
|
+
return M(e, this._config);
|
|
42
|
+
}
|
|
43
|
+
setSeriesMarkerColor(e, t) {
|
|
44
|
+
k(e, t, this._config);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Gets the marker style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
48
|
+
*
|
|
49
|
+
* @param seriesIndex - The index of the series.
|
|
50
|
+
*/
|
|
51
|
+
getSeriesMarkerStyle(e) {
|
|
52
|
+
return y(e, this._config);
|
|
53
|
+
}
|
|
54
|
+
setSeriesMarkerStyle(e, t) {
|
|
55
|
+
L(e, t, this._config);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Gets the marker size of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
59
|
+
*
|
|
60
|
+
* @param seriesIndex - The index of the series.
|
|
61
|
+
*/
|
|
62
|
+
getSeriesMarkerSize(e) {
|
|
63
|
+
return C(e, this._config);
|
|
64
|
+
}
|
|
65
|
+
setSeriesMarkerSize(e, t) {
|
|
66
|
+
d(e, t, this._config);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Specify whether line segments of the series should be smoothed.
|
|
70
|
+
*
|
|
71
|
+
* @param seriesIndex - The index of the series.
|
|
72
|
+
*/
|
|
73
|
+
isLineSmoothed(e) {
|
|
74
|
+
return m(e, this._config);
|
|
75
|
+
}
|
|
76
|
+
setLineSmoothed(e, t) {
|
|
77
|
+
b({
|
|
78
|
+
smoothed: e,
|
|
79
|
+
seriesIndex: t,
|
|
80
|
+
config: this._config
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Specify the color of the filled area for line chart.
|
|
85
|
+
*
|
|
86
|
+
* @param seriesIndex - The index of the series.
|
|
87
|
+
*/
|
|
88
|
+
getConnectLines(e) {
|
|
89
|
+
return u(e, this._config);
|
|
90
|
+
}
|
|
91
|
+
setConnectLines(e, t) {
|
|
92
|
+
V({
|
|
93
|
+
connect: e,
|
|
94
|
+
seriesIndex: t,
|
|
95
|
+
config: this._config
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Specify whether the line series should show area.
|
|
100
|
+
*
|
|
101
|
+
* @param seriesIndex - The index of the series.
|
|
102
|
+
*/
|
|
103
|
+
isAreaVisible(e) {
|
|
104
|
+
return A(e, this._config);
|
|
105
|
+
}
|
|
106
|
+
setAreaVisible(e, t) {
|
|
107
|
+
l({
|
|
108
|
+
visible: e,
|
|
109
|
+
seriesIndex: t,
|
|
110
|
+
config: this._config
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
115
|
+
*
|
|
116
|
+
* @param seriesIndex - The index of the series.
|
|
117
|
+
*/
|
|
118
|
+
isMarkerVisible(e) {
|
|
119
|
+
return v(e, this._config);
|
|
120
|
+
}
|
|
121
|
+
setMarkerVisible(e, t) {
|
|
122
|
+
W({
|
|
123
|
+
visible: e,
|
|
124
|
+
seriesIndex: t,
|
|
125
|
+
config: this._config
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Specify the color of the filled area for line chart.
|
|
130
|
+
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
131
|
+
*
|
|
132
|
+
* @param seriesIndex - The index of the series.
|
|
133
|
+
*/
|
|
134
|
+
getAreaColor(e) {
|
|
135
|
+
return z(e, this._config);
|
|
136
|
+
}
|
|
137
|
+
setAreaColor(e, t) {
|
|
138
|
+
l({
|
|
139
|
+
visible: !0,
|
|
140
|
+
seriesIndex: t,
|
|
141
|
+
config: this._config
|
|
142
|
+
}), c(e, t, this._config);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
r([
|
|
146
|
+
i
|
|
147
|
+
], s.prototype, "setSeriesLineStyle");
|
|
148
|
+
r([
|
|
149
|
+
i
|
|
150
|
+
], s.prototype, "setSeriesLineWidth");
|
|
151
|
+
r([
|
|
152
|
+
i
|
|
153
|
+
], s.prototype, "setSeriesMarkerColor");
|
|
154
|
+
r([
|
|
155
|
+
i
|
|
156
|
+
], s.prototype, "setSeriesMarkerStyle");
|
|
157
|
+
r([
|
|
158
|
+
i
|
|
159
|
+
], s.prototype, "setSeriesMarkerSize");
|
|
160
|
+
r([
|
|
161
|
+
i
|
|
162
|
+
], s.prototype, "setLineSmoothed");
|
|
163
|
+
r([
|
|
164
|
+
i
|
|
165
|
+
], s.prototype, "setConnectLines");
|
|
166
|
+
r([
|
|
167
|
+
i
|
|
168
|
+
], s.prototype, "setAreaVisible");
|
|
169
|
+
r([
|
|
170
|
+
i
|
|
171
|
+
], s.prototype, "setMarkerVisible");
|
|
172
|
+
r([
|
|
173
|
+
i
|
|
174
|
+
], s.prototype, "setAreaColor");
|
|
175
|
+
export {
|
|
176
|
+
s as M
|
|
177
|
+
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import { C as h, m as s } from "./model-setter.js";
|
|
3
|
+
import "@arcgis/toolkit/intl";
|
|
4
|
+
import "lodash-es";
|
|
5
|
+
import "luxon";
|
|
6
|
+
import "d3-array";
|
|
7
|
+
import "@arcgis/toolkit/type";
|
|
8
|
+
import { d as y } from "./series-types.js";
|
|
9
|
+
import { aI as b, bB as r, aG as v, aQ as d } from "./index.js";
|
|
10
|
+
import "@arcgis/core/Graphic.js";
|
|
11
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
+
import "@esri/arcgis-html-sanitizer";
|
|
14
|
+
import "@arcgis/core/intl.js";
|
|
15
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
+
import "simple-statistics";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
20
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
21
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
22
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
23
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
24
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
25
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
26
|
+
import "./runtime.js";
|
|
27
|
+
import "@arcgis/toolkit/dom";
|
|
28
|
+
import { C as f } from "./chart-model.js";
|
|
29
|
+
var m = Object.defineProperty, L = Object.getOwnPropertyDescriptor, u = (t, e, i, p) => {
|
|
30
|
+
for (var o = L(e, i), l = t.length - 1, n; l >= 0; l--)
|
|
31
|
+
(n = t[l]) && (o = n(e, i, o) || o);
|
|
32
|
+
return o && m(e, i, o), o;
|
|
33
|
+
};
|
|
34
|
+
const x = (t) => t.colorMatch ?? !0, D = (t, e) => {
|
|
35
|
+
e.colorMatch = t;
|
|
36
|
+
};
|
|
37
|
+
class M extends h {
|
|
38
|
+
/**
|
|
39
|
+
* Whether the chart should attempt to match the data source's colors.
|
|
40
|
+
*
|
|
41
|
+
* `true`: Attempt to match the data source's colors.
|
|
42
|
+
*
|
|
43
|
+
* `false`: Use the colors defined in the config.
|
|
44
|
+
*/
|
|
45
|
+
get colorMatch() {
|
|
46
|
+
return x(this._config);
|
|
47
|
+
}
|
|
48
|
+
set colorMatch(e) {
|
|
49
|
+
D(e, this._config);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
u([
|
|
53
|
+
s
|
|
54
|
+
], M.prototype, "colorMatch");
|
|
55
|
+
var V = Object.defineProperty, P = Object.getOwnPropertyDescriptor, C = (t, e, i, p) => {
|
|
56
|
+
for (var o = P(e, i), l = t.length - 1, n; l >= 0; l--)
|
|
57
|
+
(n = t[l]) && (o = n(e, i, o) || o);
|
|
58
|
+
return o && V(e, i, o), o;
|
|
59
|
+
};
|
|
60
|
+
const O = (t) => t.series[0]?.dataLabels?.visible ?? !1, R = (t, e) => {
|
|
61
|
+
e.series.forEach((i) => {
|
|
62
|
+
i.dataLabels !== void 0 ? i.dataLabels.visible = t : i.dataLabels = b({
|
|
63
|
+
text: "",
|
|
64
|
+
visible: t,
|
|
65
|
+
font: v(r.DataLabels),
|
|
66
|
+
type: r.DataLabels
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
class w extends h {
|
|
71
|
+
/**
|
|
72
|
+
* Whether data labels are visible.
|
|
73
|
+
* true: visible, false: hidden.
|
|
74
|
+
*/
|
|
75
|
+
get dataLabelsVisibility() {
|
|
76
|
+
return O(this._config);
|
|
77
|
+
}
|
|
78
|
+
set dataLabelsVisibility(e) {
|
|
79
|
+
R(e, this._config);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
C([
|
|
83
|
+
s
|
|
84
|
+
], w.prototype, "dataLabelsVisibility");
|
|
85
|
+
const S = (t) => {
|
|
86
|
+
let e = !1;
|
|
87
|
+
return t.legend !== void 0 && (e = t.legend.visible ?? !0), e;
|
|
88
|
+
}, $ = (t, e) => {
|
|
89
|
+
e.legend === void 0 && (e.legend = d()), e.legend.visible = t;
|
|
90
|
+
}, j = (t) => t.legend?.title?.content, H = (t, e) => {
|
|
91
|
+
e.legend === void 0 && (e.legend = d()), (e.legend.title === void 0 || t === void 0) && (e.legend.title = b({
|
|
92
|
+
text: "",
|
|
93
|
+
visible: !0,
|
|
94
|
+
font: v(r.LegendTitle),
|
|
95
|
+
type: r.LegendTitle
|
|
96
|
+
})), t !== void 0 && (e.legend.title.content = t);
|
|
97
|
+
}, W = (t) => t.legend?.body, E = (t, e) => {
|
|
98
|
+
e.legend === void 0 && (e.legend = d()), e.legend.body = t ?? b({
|
|
99
|
+
text: "",
|
|
100
|
+
visible: !0,
|
|
101
|
+
font: v(r.LegendText),
|
|
102
|
+
type: r.LegendText
|
|
103
|
+
}).content;
|
|
104
|
+
}, c = (t) => t.legend?.title?.content.text ?? "", k = (t, e) => {
|
|
105
|
+
if (e.legend?.title !== void 0)
|
|
106
|
+
e.legend.title.content.text = t;
|
|
107
|
+
else if (e.legend === void 0 && t !== void 0) {
|
|
108
|
+
const i = d();
|
|
109
|
+
i.title !== void 0 && (i.title.content.text = t, i.title.visible = !0, e.legend = i);
|
|
110
|
+
}
|
|
111
|
+
}, B = (t) => t.legend?.title?.visible ?? !1, F = (t, e) => {
|
|
112
|
+
if (e.legend?.title !== void 0)
|
|
113
|
+
e.legend.title.visible = t;
|
|
114
|
+
else if (e.legend !== void 0 && e.legend?.title === void 0 && t)
|
|
115
|
+
e.legend.title = b({
|
|
116
|
+
text: c(e),
|
|
117
|
+
visible: t,
|
|
118
|
+
font: v(r.LegendTitle),
|
|
119
|
+
type: r.LegendTitle
|
|
120
|
+
});
|
|
121
|
+
else if (e.legend === void 0) {
|
|
122
|
+
const i = d();
|
|
123
|
+
i.title = b({
|
|
124
|
+
text: c(e),
|
|
125
|
+
visible: t,
|
|
126
|
+
font: v(r.LegendTitle),
|
|
127
|
+
type: r.LegendTitle
|
|
128
|
+
}), e.legend = i;
|
|
129
|
+
}
|
|
130
|
+
}, G = (t) => t.legend?.position ?? y.Right, Q = (t, e) => {
|
|
131
|
+
if (e.legend !== void 0)
|
|
132
|
+
e.legend.position = t;
|
|
133
|
+
else if (e.legend === void 0) {
|
|
134
|
+
const i = d();
|
|
135
|
+
i.position = t, e.legend = i;
|
|
136
|
+
}
|
|
137
|
+
}, q = (t) => t.legend?.roundMarkers ?? !1, z = (t, e) => {
|
|
138
|
+
e.legend === void 0 && (e.legend = d()), e.legend.roundMarkers = t;
|
|
139
|
+
}, A = (t) => t.legend?.maxHeight ?? void 0, J = (t, e) => {
|
|
140
|
+
e.legend === void 0 && (e.legend = d()), e.legend.maxHeight = t;
|
|
141
|
+
};
|
|
142
|
+
var K = Object.defineProperty, N = Object.getOwnPropertyDescriptor, a = (t, e, i, p) => {
|
|
143
|
+
for (var o = N(e, i), l = t.length - 1, n; l >= 0; l--)
|
|
144
|
+
(n = t[l]) && (o = n(e, i, o) || o);
|
|
145
|
+
return o && K(e, i, o), o;
|
|
146
|
+
};
|
|
147
|
+
class g extends f {
|
|
148
|
+
// ---------------------------------------------------------------------------------------------
|
|
149
|
+
// Data Props
|
|
150
|
+
// ---------------------------------------------------------------------------------------------
|
|
151
|
+
/**
|
|
152
|
+
* Whether the legend title is visible.
|
|
153
|
+
*
|
|
154
|
+
* `true`: Legend title is visible.
|
|
155
|
+
*
|
|
156
|
+
* `false`: Legend title is hidden.
|
|
157
|
+
*/
|
|
158
|
+
get legendVisibility() {
|
|
159
|
+
return S(this._config);
|
|
160
|
+
}
|
|
161
|
+
set legendVisibility(e) {
|
|
162
|
+
$(e, this._config);
|
|
163
|
+
}
|
|
164
|
+
// ---------------------------------------------------------------------------------------------
|
|
165
|
+
// General Props
|
|
166
|
+
// ---------------------------------------------------------------------------------------------
|
|
167
|
+
/**
|
|
168
|
+
* The legend title text.
|
|
169
|
+
*/
|
|
170
|
+
get legendTitleText() {
|
|
171
|
+
return c(this._config);
|
|
172
|
+
}
|
|
173
|
+
set legendTitleText(e) {
|
|
174
|
+
k(e, this._config);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Whether the legend title is visible.
|
|
178
|
+
*
|
|
179
|
+
* `true`: Legend title is visible.
|
|
180
|
+
*
|
|
181
|
+
* `false`: Legend title is hidden.
|
|
182
|
+
*/
|
|
183
|
+
get legendTitleVisibility() {
|
|
184
|
+
return B(this._config);
|
|
185
|
+
}
|
|
186
|
+
set legendTitleVisibility(e) {
|
|
187
|
+
F(e, this._config);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Legend position: top, bottom, left, or right.
|
|
191
|
+
*/
|
|
192
|
+
get legendPosition() {
|
|
193
|
+
return G(this._config);
|
|
194
|
+
}
|
|
195
|
+
set legendPosition(e) {
|
|
196
|
+
Q(e, this._config);
|
|
197
|
+
}
|
|
198
|
+
// ---------------------------------------------------------------------------------------------
|
|
199
|
+
// Format Props
|
|
200
|
+
// ---------------------------------------------------------------------------------------------
|
|
201
|
+
/**
|
|
202
|
+
* Legend title text symbol (font, color, style).
|
|
203
|
+
*/
|
|
204
|
+
get legendTitleSymbol() {
|
|
205
|
+
return j(this._config);
|
|
206
|
+
}
|
|
207
|
+
set legendTitleSymbol(e) {
|
|
208
|
+
H(e, this._config);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Legend item text symbol (font, color, style).
|
|
212
|
+
*/
|
|
213
|
+
get legendTextSymbol() {
|
|
214
|
+
return W(this._config);
|
|
215
|
+
}
|
|
216
|
+
set legendTextSymbol(e) {
|
|
217
|
+
E(e, this._config);
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Maximum legend height.
|
|
221
|
+
*/
|
|
222
|
+
get legendMaxHeight() {
|
|
223
|
+
return A(this._config);
|
|
224
|
+
}
|
|
225
|
+
set legendMaxHeight(e) {
|
|
226
|
+
e !== void 0 && J(e, this._config);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Whether legend markers are rounded.
|
|
230
|
+
*/
|
|
231
|
+
get legendRoundMarker() {
|
|
232
|
+
return q(this._config);
|
|
233
|
+
}
|
|
234
|
+
set legendRoundMarker(e) {
|
|
235
|
+
z(e, this._config);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
a([
|
|
239
|
+
s
|
|
240
|
+
], g.prototype, "legendVisibility");
|
|
241
|
+
a([
|
|
242
|
+
s
|
|
243
|
+
], g.prototype, "legendTitleText");
|
|
244
|
+
a([
|
|
245
|
+
s
|
|
246
|
+
], g.prototype, "legendTitleVisibility");
|
|
247
|
+
a([
|
|
248
|
+
s
|
|
249
|
+
], g.prototype, "legendPosition");
|
|
250
|
+
a([
|
|
251
|
+
s
|
|
252
|
+
], g.prototype, "legendTitleSymbol");
|
|
253
|
+
a([
|
|
254
|
+
s
|
|
255
|
+
], g.prototype, "legendTextSymbol");
|
|
256
|
+
a([
|
|
257
|
+
s
|
|
258
|
+
], g.prototype, "legendMaxHeight");
|
|
259
|
+
a([
|
|
260
|
+
s
|
|
261
|
+
], g.prototype, "legendRoundMarker");
|
|
262
|
+
const U = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, X = (t, e, i) => {
|
|
263
|
+
i && t.series?.[i] ? t.series[i].dataTooltipVisible = e : t.series && t.series.forEach((p) => {
|
|
264
|
+
p.dataTooltipVisible = e;
|
|
265
|
+
});
|
|
266
|
+
}, Y = (t, e) => t.series?.[e ?? 0]?.dataTooltipReverseColor ?? !1, Z = (t, e, i) => {
|
|
267
|
+
i && t.series?.[i] ? t.series[i].dataTooltipReverseColor = e : t.series && t.series.forEach((p) => {
|
|
268
|
+
p.dataTooltipReverseColor = e;
|
|
269
|
+
});
|
|
270
|
+
};
|
|
271
|
+
var I = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, T = (t, e, i, p) => {
|
|
272
|
+
for (var o = ee(e, i), l = t.length - 1, n; l >= 0; l--)
|
|
273
|
+
(n = t[l]) && (o = n(e, i, o) || o);
|
|
274
|
+
return o && I(e, i, o), o;
|
|
275
|
+
};
|
|
276
|
+
class _ extends f {
|
|
277
|
+
/**
|
|
278
|
+
* Gets the visibility of the data tooltips.
|
|
279
|
+
* - If the seriesIndex is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
280
|
+
* - If the visibility is not set on the series, the default value of `true` will be returned.
|
|
281
|
+
*
|
|
282
|
+
* @param seriesIndex - The index of the series.
|
|
283
|
+
*/
|
|
284
|
+
getDataTooltipVisibility(e) {
|
|
285
|
+
return U(this._config, e);
|
|
286
|
+
}
|
|
287
|
+
setDataTooltipVisibility(e, i) {
|
|
288
|
+
X(this._config, e, i);
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Gets the setting of the `dataTooltipReverseColor` property.
|
|
292
|
+
* - If the seriesIndex is provided, the dataTooltipReverseColor for that series will be returned. Otherwise, the same property of the first series will be returned.
|
|
293
|
+
* - If the dataTooltipReverseColor is not set on the series, the default value of `false` will be returned.
|
|
294
|
+
*
|
|
295
|
+
* @param seriesIndex - The index of the series.
|
|
296
|
+
*/
|
|
297
|
+
getDataTooltipReverseColor(e) {
|
|
298
|
+
return Y(this._config, e);
|
|
299
|
+
}
|
|
300
|
+
setDataTooltipReverseColor(e, i) {
|
|
301
|
+
Z(this._config, e, i);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
T([
|
|
305
|
+
s
|
|
306
|
+
], _.prototype, "setDataTooltipVisibility");
|
|
307
|
+
T([
|
|
308
|
+
s
|
|
309
|
+
], _.prototype, "setDataTooltipReverseColor");
|
|
310
|
+
export {
|
|
311
|
+
g as M,
|
|
312
|
+
M as W,
|
|
313
|
+
_ as a,
|
|
314
|
+
w as b
|
|
315
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
+
import { G as n } from "./common.js";
|
|
3
|
+
import { a as f } from "./utils.js";
|
|
4
|
+
import { M as a, a as l, d as G } from "./model-with-guides.js";
|
|
5
|
+
import { m as p } from "./model-setter.js";
|
|
6
|
+
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (o, e, t, h) => {
|
|
7
|
+
for (var i = c(e, t), s = o.length - 1, r; s >= 0; s--)
|
|
8
|
+
(r = o[s]) && (i = r(e, t, i) || i);
|
|
9
|
+
return i && m(e, t, i), i;
|
|
10
|
+
};
|
|
11
|
+
class d extends a {
|
|
12
|
+
// ---------------------------------------------------------------------------------------------
|
|
13
|
+
// Guides Methods
|
|
14
|
+
// ---------------------------------------------------------------------------------------------
|
|
15
|
+
/**
|
|
16
|
+
* Gets the number guides in the X-axis guides list.
|
|
17
|
+
*
|
|
18
|
+
* @returns The number of X-axis guides.
|
|
19
|
+
*/
|
|
20
|
+
getXGuidesLength() {
|
|
21
|
+
return this._config.axes?.[0]?.guides?.length;
|
|
22
|
+
}
|
|
23
|
+
addXAxisGuide(e, t) {
|
|
24
|
+
l({
|
|
25
|
+
config: this._config,
|
|
26
|
+
name: e,
|
|
27
|
+
index: t,
|
|
28
|
+
orientation: n.X
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
deleteXAxisGuide(e) {
|
|
32
|
+
G({
|
|
33
|
+
config: this._config,
|
|
34
|
+
index: e,
|
|
35
|
+
orientation: n.X
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
u([
|
|
40
|
+
p
|
|
41
|
+
], d.prototype, "addXAxisGuide");
|
|
42
|
+
u([
|
|
43
|
+
p
|
|
44
|
+
], d.prototype, "deleteXAxisGuide");
|
|
45
|
+
const g = [a];
|
|
46
|
+
f(d, g);
|
|
47
|
+
export {
|
|
48
|
+
d as M
|
|
49
|
+
};
|