@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
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import type { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePart
|
|
|
2
2
|
import type { TimeIntervalInfo } from "./data-source.js";
|
|
3
3
|
import type { RESTUnits } from "./rest-js-object-literals.js";
|
|
4
4
|
import type { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IPoint, IPolygon, IPolygonWithCurves, IPolyline, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, IStatisticDefinition, ITextSymbol } from "./rest-js-types.js";
|
|
5
|
-
import type { QueryMixin } from "@arcgis/core/rest/support/QueryMixin";
|
|
6
5
|
|
|
7
6
|
/** Version of the current specification. */
|
|
8
7
|
export const WebChartCurrentVersion: "25.0.0";
|
|
@@ -510,7 +509,7 @@ export interface WebChartQuery {
|
|
|
510
509
|
/** The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`. */
|
|
511
510
|
geometry?: IEnvelope | IExtent | IPoint | IPolygon | IPolygonWithCurves | IPolyline;
|
|
512
511
|
/** For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry. */
|
|
513
|
-
spatialRelationship?:
|
|
512
|
+
spatialRelationship?: "contains" | "crosses" | "disjoint" | "envelope-intersects" | "index-intersects" | "intersects" | "overlaps" | "relation" | "touches" | "within";
|
|
514
513
|
/** Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only. */
|
|
515
514
|
distance?: number;
|
|
516
515
|
/**
|
|
@@ -24,6 +24,7 @@ import type { IField } from "../../../spec/rest-js-types.js";
|
|
|
24
24
|
* Note: The input chart version needs to conform to the format defined by sematic versioning spec; otherwise it will be treated as unrecognized.
|
|
25
25
|
*
|
|
26
26
|
* @param configVersion - The input config version.
|
|
27
|
+
* @internal
|
|
27
28
|
*/
|
|
28
29
|
export function getChartVersionInfo(configVersion?: string): {
|
|
29
30
|
versionStatus: WebChartVersionStatus;
|
|
@@ -36,6 +37,7 @@ export function getChartVersionInfo(configVersion?: string): {
|
|
|
36
37
|
* For box plot we need to handle the specific case of the mean line series.
|
|
37
38
|
*
|
|
38
39
|
* @param chartConfig - The chart config
|
|
40
|
+
* @internal
|
|
39
41
|
*/
|
|
40
42
|
export function getSeriesReference(chartConfig: WebChart): WebChartSeriesType;
|
|
41
43
|
|
|
@@ -44,6 +46,7 @@ export function getSeriesReference(chartConfig: WebChart): WebChartSeriesType;
|
|
|
44
46
|
*
|
|
45
47
|
* @param start - The guide to analyze
|
|
46
48
|
* @param end
|
|
49
|
+
* @internal
|
|
47
50
|
*/
|
|
48
51
|
export function findExpectedGuideSymbol(start: Date | number | string | null, end: Date | number | string | null | undefined): RESTSymbolType;
|
|
49
52
|
|
|
@@ -57,6 +60,7 @@ export function findExpectedGuideSymbol(start: Date | number | string | null, en
|
|
|
57
60
|
*
|
|
58
61
|
* @param where - the where clause to extract the field from
|
|
59
62
|
* @param normalize - whether to normalize the extracted field; by default it's true
|
|
63
|
+
* @internal
|
|
60
64
|
*/
|
|
61
65
|
export function getSplitByField(where: string | undefined, normalize?: boolean): string;
|
|
62
66
|
|
|
@@ -67,6 +71,7 @@ export function getSplitByField(where: string | undefined, normalize?: boolean):
|
|
|
67
71
|
* For string value, if normalize is set to false and escape is set to false or undefined, the value is returned as is.
|
|
68
72
|
*
|
|
69
73
|
* @param props - the where clause to extract the value from
|
|
74
|
+
* @internal
|
|
70
75
|
*/
|
|
71
76
|
export function getSplitByValue(props: {
|
|
72
77
|
where: string | undefined;
|
|
@@ -79,6 +84,7 @@ export function getSplitByValue(props: {
|
|
|
79
84
|
* Detects a where clause being always true, as in 1=1, 2 = 2, 'some_value'='some_value'
|
|
80
85
|
*
|
|
81
86
|
* @param where
|
|
87
|
+
* @internal
|
|
82
88
|
*/
|
|
83
89
|
export function isAbsoluteTruthWhereClause(where?: string): boolean;
|
|
84
90
|
|
|
@@ -90,6 +96,7 @@ export function isAbsoluteTruthWhereClause(where?: string): boolean;
|
|
|
90
96
|
* - where = "field = 'va'lue'" => returns "field = 'va''lue'"
|
|
91
97
|
*
|
|
92
98
|
* @param props - the where clause to normalize
|
|
99
|
+
* @internal
|
|
93
100
|
*/
|
|
94
101
|
export function normalizeWhereClause(props: {
|
|
95
102
|
where: string;
|
|
@@ -101,6 +108,7 @@ export function normalizeWhereClause(props: {
|
|
|
101
108
|
* Gets the query type for box plot chart.
|
|
102
109
|
*
|
|
103
110
|
* @param seriesConfig - the box plot series config
|
|
111
|
+
* @internal
|
|
104
112
|
*/
|
|
105
113
|
export function getBoxPlotChartSubType(seriesConfig: WebChartSeriesType[]): ChartSubType;
|
|
106
114
|
|
|
@@ -115,6 +123,7 @@ export function getBoxPlotChartSubType(seriesConfig: WebChartSeriesType[]): Char
|
|
|
115
123
|
*
|
|
116
124
|
* @param series - The config series. Refrain from using `[firstSeries]` in place of `config.series` to avoid incorrect result,
|
|
117
125
|
* especially for box-plot, bar and line charts.
|
|
126
|
+
* @internal
|
|
118
127
|
*/
|
|
119
128
|
export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
|
|
120
129
|
|
|
@@ -122,6 +131,7 @@ export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
|
|
|
122
131
|
* Indicates whether the bar or line series is configured to use time binning.
|
|
123
132
|
*
|
|
124
133
|
* @param props - The series configuration
|
|
134
|
+
* @internal
|
|
125
135
|
*/
|
|
126
136
|
export function isSeriesUsingTimeBinning(props: {
|
|
127
137
|
seriesConfig: WebChartSeriesType;
|
|
@@ -133,6 +143,7 @@ export function isSeriesUsingTimeBinning(props: {
|
|
|
133
143
|
* Indicates whether a series supports temporal binning.
|
|
134
144
|
*
|
|
135
145
|
* @param series - The series to test
|
|
146
|
+
* @internal
|
|
136
147
|
*/
|
|
137
148
|
export function doesSeriesSupportTemporalBinning(series: WebChartSeriesType): series is WebChartSeriesSupportingTemporalBinning;
|
|
138
149
|
|
|
@@ -141,6 +152,7 @@ export function doesSeriesSupportTemporalBinning(series: WebChartSeriesType): se
|
|
|
141
152
|
*
|
|
142
153
|
* @param previousConfig
|
|
143
154
|
* @param newConfig
|
|
155
|
+
* @internal
|
|
144
156
|
*/
|
|
145
157
|
export function hasConfigFilterChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
|
|
146
158
|
|
|
@@ -157,6 +169,7 @@ export function hasHeatChartHideEmptyRowsAndColumnsChanged(previousConfig: WebHe
|
|
|
157
169
|
*
|
|
158
170
|
* @param previousConfig - The previous config
|
|
159
171
|
* @param newConfig - The updated config
|
|
172
|
+
* @internal
|
|
160
173
|
*/
|
|
161
174
|
export function hasHeatChartIncludeLeapDayChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
|
|
162
175
|
|
|
@@ -166,6 +179,7 @@ export function hasHeatChartIncludeLeapDayChanged(previousConfig: WebChart, newC
|
|
|
166
179
|
* **NOTE**: Only applicable to scatterplot
|
|
167
180
|
*
|
|
168
181
|
* @param props - The previous config
|
|
182
|
+
* @internal
|
|
169
183
|
*/
|
|
170
184
|
export function hasAdditionalTooltipFieldsChanged(props: {
|
|
171
185
|
previousConfig: WebChart;
|
|
@@ -178,6 +192,7 @@ export function hasAdditionalTooltipFieldsChanged(props: {
|
|
|
178
192
|
*
|
|
179
193
|
* @param oldConfig - The previous config
|
|
180
194
|
* @param newConfig - The updated config
|
|
195
|
+
* @internal
|
|
181
196
|
*/
|
|
182
197
|
export function hasColorMatchChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
183
198
|
|
|
@@ -194,6 +209,7 @@ export function hasStackedTypeChanged(oldConfig: WebChart, newConfig: WebChart):
|
|
|
194
209
|
*
|
|
195
210
|
* @param legend - The legend
|
|
196
211
|
* @returns The normalized legend
|
|
212
|
+
* @internal
|
|
197
213
|
*/
|
|
198
214
|
export function normalizeLegendPosition(legend: WebChartLegend): WebChartLegend;
|
|
199
215
|
|
|
@@ -202,6 +218,7 @@ export function normalizeLegendPosition(legend: WebChartLegend): WebChartLegend;
|
|
|
202
218
|
*
|
|
203
219
|
* @param oldConfig - The previous config
|
|
204
220
|
* @param newConfig - The updated config
|
|
221
|
+
* @internal
|
|
205
222
|
*/
|
|
206
223
|
export function hasHeatLegendConfigChanged(oldConfig: WebHeatChart, newConfig: WebHeatChart): boolean;
|
|
207
224
|
|
|
@@ -210,6 +227,7 @@ export function hasHeatLegendConfigChanged(oldConfig: WebHeatChart, newConfig: W
|
|
|
210
227
|
*
|
|
211
228
|
* @param oldConfig - The previous config
|
|
212
229
|
* @param newConfig - The updated config
|
|
230
|
+
* @internal
|
|
213
231
|
*/
|
|
214
232
|
export function hasHeatLegendPositionChanged(oldConfig: WebHeatChart, newConfig: WebHeatChart): boolean;
|
|
215
233
|
|
|
@@ -218,6 +236,7 @@ export function hasHeatLegendPositionChanged(oldConfig: WebHeatChart, newConfig:
|
|
|
218
236
|
*
|
|
219
237
|
* @param oldConfig - The previous config
|
|
220
238
|
* @param newConfig - The updated config
|
|
239
|
+
* @internal
|
|
221
240
|
*/
|
|
222
241
|
export function hasGradientRulesChanged(oldConfig: WebHeatChart, newConfig: WebHeatChart): boolean;
|
|
223
242
|
|
|
@@ -226,6 +245,7 @@ export function hasGradientRulesChanged(oldConfig: WebHeatChart, newConfig: WebH
|
|
|
226
245
|
*
|
|
227
246
|
* @param oldConfig - The previous config
|
|
228
247
|
* @param newConfig - The updated config
|
|
248
|
+
* @internal
|
|
229
249
|
*/
|
|
230
250
|
export function hasHeatRulesTypeChanged(oldConfig: WebHeatChart, newConfig: WebHeatChart): boolean;
|
|
231
251
|
|
|
@@ -234,13 +254,17 @@ export function hasHeatRulesTypeChanged(oldConfig: WebHeatChart, newConfig: WebH
|
|
|
234
254
|
* Compare only the slices id and label to avoid false positives.
|
|
235
255
|
*
|
|
236
256
|
* @param props - The previous chart config
|
|
257
|
+
* @internal
|
|
237
258
|
*/
|
|
238
259
|
export function hasSlicesConfigChanged(props: {
|
|
239
260
|
oldConfig: WebChart;
|
|
240
261
|
newConfig: WebChart;
|
|
241
262
|
}): boolean;
|
|
242
263
|
|
|
243
|
-
/**
|
|
264
|
+
/**
|
|
265
|
+
* @param props
|
|
266
|
+
* @internal
|
|
267
|
+
*/
|
|
244
268
|
export function hasDataForFilterBySelectionChanged(props: {
|
|
245
269
|
previousSelectionOIDs?: (number | string)[];
|
|
246
270
|
options?: ChartOptions;
|
|
@@ -251,6 +275,7 @@ export function hasDataForFilterBySelectionChanged(props: {
|
|
|
251
275
|
*
|
|
252
276
|
* @param oldSeries - The former series config
|
|
253
277
|
* @param newSeries - The new series config
|
|
278
|
+
* @internal
|
|
254
279
|
*/
|
|
255
280
|
export function hasSplitByValueChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
|
|
256
281
|
|
|
@@ -259,6 +284,7 @@ export function hasSplitByValueChanged(oldSeries: WebChart["series"], newSeries:
|
|
|
259
284
|
*
|
|
260
285
|
* @param oldSeries - The previous series config
|
|
261
286
|
* @param newSeries - The new series config
|
|
287
|
+
* @internal
|
|
262
288
|
*/
|
|
263
289
|
export function hasNumericFieldsChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
|
|
264
290
|
|
|
@@ -275,6 +301,7 @@ export function hasTimeIntervalInfoBeenReset(oldConfig: WebChart, newConfig: Web
|
|
|
275
301
|
*
|
|
276
302
|
* @param oldConfig - the old chart config
|
|
277
303
|
* @param newConfig - the new chart config
|
|
304
|
+
* @internal
|
|
278
305
|
*/
|
|
279
306
|
export function hasDualAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
280
307
|
|
|
@@ -283,6 +310,7 @@ export function hasDualAxisChanged(oldConfig: WebChart, newConfig: WebChart): bo
|
|
|
283
310
|
*
|
|
284
311
|
* @param oldConfig - the old chart config
|
|
285
312
|
* @param newConfig - the new chart config
|
|
313
|
+
* @internal
|
|
286
314
|
*/
|
|
287
315
|
export function hasSeriesAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
288
316
|
|
|
@@ -291,6 +319,7 @@ export function hasSeriesAxisChanged(oldConfig: WebChart, newConfig: WebChart):
|
|
|
291
319
|
*
|
|
292
320
|
* @param oldConfig - The old chart config
|
|
293
321
|
* @param newConfig - The new chart config
|
|
322
|
+
* @internal
|
|
294
323
|
*/
|
|
295
324
|
export function hasAnyGuideAboveChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
296
325
|
|
|
@@ -299,6 +328,7 @@ export function hasAnyGuideAboveChanged(oldConfig: WebChart, newConfig: WebChart
|
|
|
299
328
|
*
|
|
300
329
|
* @param oldConfig - the old chart config
|
|
301
330
|
* @param newConfig - the new chart config
|
|
331
|
+
* @internal
|
|
302
332
|
*/
|
|
303
333
|
export function hasRotationChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
304
334
|
|
|
@@ -307,6 +337,7 @@ export function hasRotationChanged(oldConfig: WebChart, newConfig: WebChart): bo
|
|
|
307
337
|
*
|
|
308
338
|
* @param oldConfig - the old chart config
|
|
309
339
|
* @param newConfig - the new chart config
|
|
340
|
+
* @internal
|
|
310
341
|
*/
|
|
311
342
|
export function hasOutliersVisibilityChanged(oldConfig: WebBoxPlot, newConfig: WebBoxPlot): boolean;
|
|
312
343
|
|
|
@@ -315,6 +346,7 @@ export function hasOutliersVisibilityChanged(oldConfig: WebBoxPlot, newConfig: W
|
|
|
315
346
|
*
|
|
316
347
|
* @param oldConfig - the old chart config
|
|
317
348
|
* @param newConfig - the new chart config
|
|
349
|
+
* @internal
|
|
318
350
|
*/
|
|
319
351
|
export function hasStandardizeValuesVisibilityChanged(oldConfig: WebBoxPlot, newConfig: WebBoxPlot): boolean;
|
|
320
352
|
|
|
@@ -323,6 +355,7 @@ export function hasStandardizeValuesVisibilityChanged(oldConfig: WebBoxPlot, new
|
|
|
323
355
|
*
|
|
324
356
|
* @param oldConfig - the old chart config
|
|
325
357
|
* @param newConfig - the new chart config
|
|
358
|
+
* @internal
|
|
326
359
|
*/
|
|
327
360
|
export function hasChartRendererChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
328
361
|
|
|
@@ -331,6 +364,7 @@ export function hasChartRendererChanged(oldConfig: WebChart, newConfig: WebChart
|
|
|
331
364
|
*
|
|
332
365
|
* @param oldConfig - the old chart config
|
|
333
366
|
* @param newConfig - the new chart config
|
|
367
|
+
* @internal
|
|
334
368
|
*/
|
|
335
369
|
export function hasIntlTimeZoneChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
336
370
|
|
|
@@ -339,6 +373,7 @@ export function hasIntlTimeZoneChanged(oldConfig: WebChart, newConfig: WebChart)
|
|
|
339
373
|
*
|
|
340
374
|
* @param oldConfig - the old chart config
|
|
341
375
|
* @param newConfig - the new chart config
|
|
376
|
+
* @internal
|
|
342
377
|
*/
|
|
343
378
|
export function hasSizePolicyChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
344
379
|
|
|
@@ -347,6 +382,7 @@ export function hasSizePolicyChanged(oldConfig: WebChart, newConfig: WebChart):
|
|
|
347
382
|
*
|
|
348
383
|
* @param oldConfig - The old chart config
|
|
349
384
|
* @param newConfig - The new chart config
|
|
385
|
+
* @internal
|
|
350
386
|
*/
|
|
351
387
|
export function doSizePolicyChangesRequireSeriesReinit(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
352
388
|
|
|
@@ -355,6 +391,7 @@ export function doSizePolicyChangesRequireSeriesReinit(oldConfig: WebChart, newC
|
|
|
355
391
|
* in order to decide if the update is needed.
|
|
356
392
|
*
|
|
357
393
|
* @param props
|
|
394
|
+
* @internal
|
|
358
395
|
*/
|
|
359
396
|
export function doesConfigChangeRequireNewData(props: {
|
|
360
397
|
previousConfig: WebBoxPlot | WebChart;
|
|
@@ -376,5 +413,6 @@ export function doesConfigChangeRequireNewData(props: {
|
|
|
376
413
|
* @param chartConfig - The optional chart config to sort the series
|
|
377
414
|
* @param chartContainer - The HTML chart container
|
|
378
415
|
* @returns The updated chart config with the series sorted, or undefined if the input config is undefined
|
|
416
|
+
* @internal
|
|
379
417
|
*/
|
|
380
418
|
export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T, chartContainer?: HTMLElement): T;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { WebChartTypes } from "../../../spec/chart-object-literals.js";
|
|
2
2
|
import type { WebChartBarChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../../spec/web-chart.js";
|
|
3
3
|
|
|
4
|
+
/** @internal */
|
|
4
5
|
export type WebChartSeriesSupportingTemporalBinning = WebChartBarChartSeries | WebChartLineChartSeries | WebChartRadarChartSeries;
|
|
5
6
|
|
|
7
|
+
/** @internal */
|
|
6
8
|
export const webChartTypesSupportingTemporalBinning: (WebChartTypes | undefined)[];
|
|
@@ -3,13 +3,16 @@ import type { ErrorKeywords } from "../../errors/interfaces.js";
|
|
|
3
3
|
import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
|
|
4
4
|
import type { WebChartStatisticType } from "../../../spec/chart-object-literals.js";
|
|
5
5
|
|
|
6
|
+
/** @internal */
|
|
6
7
|
export const ConfigWarningKeywords: {
|
|
7
8
|
readonly NonNumericAggregation: "nonNumericAggregation";
|
|
8
9
|
readonly DuplicateSeriesID: "duplicateSeriesId";
|
|
9
10
|
};
|
|
10
11
|
|
|
12
|
+
/** @internal */
|
|
11
13
|
export type ConfigWarningKeywords = (typeof ConfigWarningKeywords)[keyof typeof ConfigWarningKeywords];
|
|
12
14
|
|
|
15
|
+
/** @internal */
|
|
13
16
|
export interface ConfigWarningObject {
|
|
14
17
|
keyword: ConfigWarningKeywords;
|
|
15
18
|
dataPath: string;
|
|
@@ -17,13 +20,18 @@ export interface ConfigWarningObject {
|
|
|
17
20
|
params: DuplicateSeriesIdParams | NumericAggregationParams;
|
|
18
21
|
}
|
|
19
22
|
|
|
23
|
+
/** @internal */
|
|
20
24
|
export interface CustomErrorObject {
|
|
21
25
|
keyword: ErrorKeywords;
|
|
22
26
|
message: string;
|
|
23
27
|
params: LayerLoadFailureParams | string;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Validation Status interface which described the validity of the input WebChart config
|
|
32
|
+
*
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
27
35
|
export interface ValidationStatus {
|
|
28
36
|
valid: boolean;
|
|
29
37
|
schemaErrors: Ajv.ErrorObject[];
|
|
@@ -31,6 +39,7 @@ export interface ValidationStatus {
|
|
|
31
39
|
warnings: ConfigWarningObject[];
|
|
32
40
|
}
|
|
33
41
|
|
|
42
|
+
/** @internal */
|
|
34
43
|
export const ConfigErrorKeywords: {
|
|
35
44
|
readonly Required: "required";
|
|
36
45
|
readonly MinLength: "minLength";
|
|
@@ -42,6 +51,7 @@ export const ConfigErrorKeywords: {
|
|
|
42
51
|
readonly AnyOf: "anyOf";
|
|
43
52
|
};
|
|
44
53
|
|
|
54
|
+
/** @internal */
|
|
45
55
|
export const DataWarningKeywords: {
|
|
46
56
|
readonly BadData: "badData";
|
|
47
57
|
readonly EmptyDataSet: "emptyDataSet";
|
|
@@ -63,6 +73,14 @@ export const DataWarningKeywords: {
|
|
|
63
73
|
|
|
64
74
|
export type DataWarningKeywords = (typeof DataWarningKeywords)[keyof typeof DataWarningKeywords];
|
|
65
75
|
|
|
76
|
+
/** @internal */
|
|
77
|
+
export interface ElementCountExceededParams {
|
|
78
|
+
actualCount: number;
|
|
79
|
+
totalLimit: number;
|
|
80
|
+
seriesLimit?: number;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
66
84
|
export interface DataWarningObject {
|
|
67
85
|
keyword: DataWarningKeywords;
|
|
68
86
|
header: string;
|
|
@@ -84,10 +102,4 @@ export interface DuplicateSeriesIdParams {
|
|
|
84
102
|
export interface LayerLoadFailureParams {
|
|
85
103
|
url: string;
|
|
86
104
|
portalItemId: string;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export interface ElementCountExceededParams {
|
|
90
|
-
actualCount: number;
|
|
91
|
-
totalLimit: number;
|
|
92
|
-
seriesLimit?: number;
|
|
93
105
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type MapView from "@arcgis/core/views/MapView";
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
3
|
import type { DOMContainerAria } from "@arcgis/core/views/DOMContainer";
|
|
4
|
+
import type { JsxNode } from "@arcgis/lumina";
|
|
4
5
|
import type { ChartModel } from "../../model/chart-model/chart-model.js";
|
|
5
6
|
import type { PieSlicesSymbols, SelectionData, SeriesSymbolsMap } from "../misc/interfaces.js";
|
|
6
7
|
import type { WebChartDataTypes } from "../../spec/data-source.js";
|
|
@@ -8,16 +9,24 @@ import type { CalculatedMinMaxBoundsPayload, LegendItemVisibility } from "../../
|
|
|
8
9
|
import type { WebChartLegendPositions } from "../../spec/chart-object-literals.js";
|
|
9
10
|
import type { DefaultChartActions } from "../types/index.js";
|
|
10
11
|
|
|
12
|
+
/** @internal */
|
|
11
13
|
export type PanelNumberChangePayload = {
|
|
12
14
|
panelNumber: number;
|
|
13
15
|
modelList: ChartModel[];
|
|
14
16
|
};
|
|
15
17
|
|
|
18
|
+
/** @internal */
|
|
16
19
|
export type DataChangeErrorPayload = {
|
|
17
20
|
error: Error;
|
|
18
21
|
model: ChartModel;
|
|
19
22
|
};
|
|
20
23
|
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type PopoverChangePayload = {
|
|
26
|
+
open?: boolean;
|
|
27
|
+
element: JsxNode;
|
|
28
|
+
};
|
|
29
|
+
|
|
21
30
|
export type ModelListChangePayload = {
|
|
22
31
|
modelList: ChartModel[];
|
|
23
32
|
};
|
|
@@ -15,6 +15,7 @@ import type { WebChartQuery } from "../../../spec/web-chart.js";
|
|
|
15
15
|
* values for given the split-by field.
|
|
16
16
|
*
|
|
17
17
|
* @param props - The object used to query the features (layer or feature layer view)
|
|
18
|
+
* @internal
|
|
18
19
|
*/
|
|
19
20
|
export function uniqueValues(props: {
|
|
20
21
|
queryObject?: QueryObject;
|
|
@@ -7,6 +7,7 @@ import type { WebChartBin, WebChartDataItem, WebChartDataTypes } from "../../spe
|
|
|
7
7
|
* Generates the y field names for box plot
|
|
8
8
|
*
|
|
9
9
|
* @param y
|
|
10
|
+
* @internal
|
|
10
11
|
*/
|
|
11
12
|
export function getBoxPlotStatisticFieldNames(y?: string): Record<BoxPlotYFieldKeys, string>;
|
|
12
13
|
|
|
@@ -15,6 +16,7 @@ export function getBoxPlotStatisticFieldNames(y?: string): Record<BoxPlotYFieldK
|
|
|
15
16
|
* If `subType` is not defined, the chart is defaulted to be a statistic gauge.
|
|
16
17
|
*
|
|
17
18
|
* @param config - the chart config
|
|
19
|
+
* @internal
|
|
18
20
|
*/
|
|
19
21
|
export function isGaugeByFeature(config: WebChart): boolean;
|
|
20
22
|
|
|
@@ -23,6 +25,7 @@ export function isGaugeByFeature(config: WebChart): boolean;
|
|
|
23
25
|
* is to be assigned to the chart (WebChartDataItem[] | WebChartBin[])
|
|
24
26
|
*
|
|
25
27
|
* @param fetchedData - The fetched finished data
|
|
28
|
+
* @internal
|
|
26
29
|
*/
|
|
27
30
|
export function extractChartDataFromFetchedData(fetchedData?: WebChartDataTypes): WebChartBin[] | WebChartDataItem[] | undefined;
|
|
28
31
|
|
|
@@ -30,6 +33,7 @@ export function extractChartDataFromFetchedData(fetchedData?: WebChartDataTypes)
|
|
|
30
33
|
* Determine whether the current box plot has multi-fields or not based on its query type
|
|
31
34
|
*
|
|
32
35
|
* @param chartSubType - Box plot sub type
|
|
36
|
+
* @internal
|
|
33
37
|
*/
|
|
34
38
|
export function isMultiFieldsBoxPlot(chartSubType?: ChartSubType): boolean;
|
|
35
39
|
|
|
@@ -37,6 +41,7 @@ export function isMultiFieldsBoxPlot(chartSubType?: ChartSubType): boolean;
|
|
|
37
41
|
* Compute Y value for given Box Plot Y field key based on the provided config
|
|
38
42
|
*
|
|
39
43
|
* @param props - The BoxPlotYFieldKeys related to the stat
|
|
44
|
+
* @internal
|
|
40
45
|
*/
|
|
41
46
|
export function getBoxPlotYValue(props: BoxPlotYValueProps): string;
|
|
42
47
|
|
|
@@ -44,6 +49,7 @@ export function getBoxPlotYValue(props: BoxPlotYValueProps): string;
|
|
|
44
49
|
* Check if the Box-plot data item has valid open or close (first quartile/third quartile) values since those values are considered as necessary.
|
|
45
50
|
*
|
|
46
51
|
* @param props - The WebChartDataItem to check for valid values
|
|
52
|
+
* @internal
|
|
47
53
|
*/
|
|
48
54
|
export function doesBoxPlotItemHaveValidQuartiles(props: {
|
|
49
55
|
dataItem: WebChartDataItem;
|
|
@@ -63,6 +69,7 @@ export function doesBoxPlotItemHaveValidQuartiles(props: {
|
|
|
63
69
|
*
|
|
64
70
|
* @param seriesConfig - The array of configs for the chart series.
|
|
65
71
|
* @param filteredSeriesIds - List of series ids to use as a filter.
|
|
72
|
+
* @internal
|
|
66
73
|
*/
|
|
67
74
|
export function getYList(seriesConfig: WebChartSeriesType[], filteredSeriesIds?: string[]): string[];
|
|
68
75
|
|
|
@@ -70,6 +77,7 @@ export function getYList(seriesConfig: WebChartSeriesType[], filteredSeriesIds?:
|
|
|
70
77
|
* Gathers the list of `y` values used by a box plot from the series configs.
|
|
71
78
|
*
|
|
72
79
|
* @param props - Whether the box plot mean lines are shown
|
|
80
|
+
* @internal
|
|
73
81
|
*/
|
|
74
82
|
export function getBoxPlotYList(props: {
|
|
75
83
|
showMean?: boolean;
|
|
@@ -81,6 +89,7 @@ export function getBoxPlotYList(props: {
|
|
|
81
89
|
* validate the individual bar chart data item using its x and y values
|
|
82
90
|
*
|
|
83
91
|
* @param props - The bar/line chart data item
|
|
92
|
+
* @internal
|
|
84
93
|
*/
|
|
85
94
|
export function validateBarNLineChartDataItem(props: {
|
|
86
95
|
dataItem: WebChartDataItem;
|
|
@@ -94,6 +103,7 @@ export function validateBarNLineChartDataItem(props: {
|
|
|
94
103
|
*
|
|
95
104
|
* @param props - The chart's config
|
|
96
105
|
* @returns A boolean
|
|
106
|
+
* @internal
|
|
97
107
|
*/
|
|
98
108
|
export function isEmptyDataset(props: {
|
|
99
109
|
chartConfig?: WebChart | WebGaugeChart;
|
|
@@ -105,6 +115,7 @@ export function isEmptyDataset(props: {
|
|
|
105
115
|
* Gets the data min and max values for a stacked series; also an indicator whether the data has negative values.
|
|
106
116
|
*
|
|
107
117
|
* @param props - The config for the series
|
|
118
|
+
* @internal
|
|
108
119
|
*/
|
|
109
120
|
export function getDataMinMaxFromStackedSeries(props: {
|
|
110
121
|
seriesConfig: WebChartSeriesType[];
|
|
@@ -120,6 +131,7 @@ export function getDataMinMaxFromStackedSeries(props: {
|
|
|
120
131
|
* Looks for the min and max values from a data set, considering only the visible series.
|
|
121
132
|
*
|
|
122
133
|
* @param props - The chart config
|
|
134
|
+
* @internal
|
|
123
135
|
*/
|
|
124
136
|
export function getDataMinMaxFromSeries(props: {
|
|
125
137
|
chartConfig: WebChart;
|
|
@@ -3,6 +3,7 @@ import type { WebChartQuery } from "../../spec/web-chart.js";
|
|
|
3
3
|
import type { DataWarningKeywords } from "../chart-config/validator/interfaces.js";
|
|
4
4
|
import type { ChartSubType } from "../misc/interfaces.js";
|
|
5
5
|
|
|
6
|
+
/** @internal */
|
|
6
7
|
export interface DataMinMax {
|
|
7
8
|
minY: number;
|
|
8
9
|
maxY: number;
|
|
@@ -10,6 +11,7 @@ export interface DataMinMax {
|
|
|
10
11
|
maxX?: number;
|
|
11
12
|
}
|
|
12
13
|
|
|
14
|
+
/** @internal */
|
|
13
15
|
export interface DataInfo {
|
|
14
16
|
valid: boolean;
|
|
15
17
|
invalidType?: DataWarningKeywords;
|
|
@@ -18,6 +20,7 @@ export interface DataInfo {
|
|
|
18
20
|
queryConfig?: WebChartQuery;
|
|
19
21
|
}
|
|
20
22
|
|
|
23
|
+
/** @internal */
|
|
21
24
|
export const BoxPlotYFieldKeys: {
|
|
22
25
|
Min: string;
|
|
23
26
|
FirstQuartile: string;
|
|
@@ -30,8 +33,10 @@ export const BoxPlotYFieldKeys: {
|
|
|
30
33
|
Outlier: string;
|
|
31
34
|
};
|
|
32
35
|
|
|
36
|
+
/** @internal */
|
|
33
37
|
export type BoxPlotYFieldKeys = (typeof BoxPlotYFieldKeys)[keyof typeof BoxPlotYFieldKeys];
|
|
34
38
|
|
|
39
|
+
/** @internal */
|
|
35
40
|
export interface BoxPlotYValueProps {
|
|
36
41
|
key: BoxPlotYFieldKeys;
|
|
37
42
|
y?: string;
|
|
@@ -42,6 +47,7 @@ export interface BoxPlotYValueProps {
|
|
|
42
47
|
standardizeValues?: boolean;
|
|
43
48
|
}
|
|
44
49
|
|
|
50
|
+
/** @internal */
|
|
45
51
|
export interface DataUpdateDetails {
|
|
46
52
|
common?: {
|
|
47
53
|
layerChanged?: boolean;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { WebChartTemporalBinningUnits } from "../../../spec/chart-object-literals.js";
|
|
2
2
|
import type { TimeIntervalInfo, WebChartDataItem } from "../../../spec/data-source.js";
|
|
3
3
|
|
|
4
|
+
/** @internal */
|
|
4
5
|
export interface DateRange {
|
|
5
6
|
dateMinTimestamp?: number | null;
|
|
6
7
|
dateMaxTimestamp?: number | null;
|
|
7
8
|
}
|
|
8
9
|
|
|
10
|
+
/** @internal */
|
|
9
11
|
export interface IntervalUnitHelper {
|
|
10
12
|
unit: WebChartTemporalBinningUnits;
|
|
11
13
|
threshold: number;
|
|
@@ -13,13 +15,16 @@ export interface IntervalUnitHelper {
|
|
|
13
15
|
preferredIntervalSize: number[];
|
|
14
16
|
}
|
|
15
17
|
|
|
18
|
+
/** @internal */
|
|
16
19
|
export const timeUnitHelper: IntervalUnitHelper[];
|
|
17
20
|
|
|
21
|
+
/** @internal */
|
|
18
22
|
export interface TimeBinningStatistics {
|
|
19
23
|
dateRange: DateRange;
|
|
20
24
|
numberOfFeatures: number;
|
|
21
25
|
}
|
|
22
26
|
|
|
27
|
+
/** @internal */
|
|
23
28
|
export interface GroupProps {
|
|
24
29
|
binFirstOrLastIndex: number;
|
|
25
30
|
data: WebChartDataItem[];
|
|
@@ -29,4 +34,5 @@ export interface GroupProps {
|
|
|
29
34
|
newDateMax: number;
|
|
30
35
|
}
|
|
31
36
|
|
|
37
|
+
/** @internal */
|
|
32
38
|
export const groupByWhenCaseForMedianTimeBinning: `{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'`;
|