@arcgis/charts-components 5.2.0-next.2 → 5.2.0-next.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{ZRFHAQL6.js → 2OXJ5CIC.js} +1 -1
- package/dist/cdn/2YRBTD5E.js +2 -0
- package/dist/cdn/{VVKV5KKN.js → 3CRUKP7D.js} +1 -1
- package/dist/cdn/3MKY6UCO.js +2 -0
- package/dist/cdn/3SBYV6BW.js +2 -0
- package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
- package/dist/cdn/4MBX554Q.js +2 -0
- package/dist/cdn/4ZGGMYAW.js +2 -0
- package/dist/cdn/{HCMD362H.js → 54CA4NEA.js} +1 -1
- package/dist/cdn/5B7SUFIW.js +2 -0
- package/dist/cdn/{VDG54AIC.js → 62ECX35C.js} +1 -1
- package/dist/cdn/{HCV34H6X.js → 6ECU76VK.js} +1 -1
- package/dist/cdn/7473JWME.js +2 -0
- package/dist/cdn/74UHJFPH.js +2 -0
- package/dist/cdn/{PVJEBBA7.js → 7532DIDI.js} +1 -1
- package/dist/cdn/{JVHJMPFE.js → 7C6E54U5.js} +1 -1
- package/dist/cdn/7X5P6K2W.js +2 -0
- package/dist/cdn/A636YSNA.js +2 -0
- package/dist/cdn/{TNB3MBXR.js → ABAERFCU.js} +1 -1
- package/dist/cdn/AH2UFHXP.js +2 -0
- package/dist/cdn/AHTGZ4MH.js +2 -0
- package/dist/cdn/AQIB3VEP.js +2 -0
- package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
- package/dist/cdn/{KOBNV5AQ.js → B34ZX3IO.js} +1 -1
- package/dist/cdn/BMAAWO5F.js +2 -0
- package/dist/cdn/CG6MYXFY.js +2 -0
- package/dist/cdn/{LONASKGH.js → CPT6BODA.js} +1 -1
- package/dist/cdn/CRCAJAFA.js +2 -0
- package/dist/cdn/DG2OI6R3.js +3 -0
- package/dist/cdn/DKENYDHS.js +233 -0
- package/dist/cdn/{YRBE7MBU.js → DSHN2EGI.js} +1 -1
- package/dist/cdn/E44C5J3E.js +2 -0
- package/dist/cdn/{LZYN55O4.js → EHMSOPGV.js} +1 -1
- package/dist/cdn/{KLC6NTPC.js → ETXHDKUU.js} +1 -1
- package/dist/cdn/{GL3IXVRN.js → F4WIDKYH.js} +1 -1
- package/dist/cdn/{TZB57XD4.js → FGRHILPJ.js} +1 -1
- package/dist/cdn/FYDWWQCT.js +2 -0
- package/dist/cdn/GIBMAXXC.js +2 -0
- package/dist/cdn/{24LTTBTF.js → HJIWACZ5.js} +1 -1
- package/dist/cdn/HKF4PBPJ.js +58 -0
- package/dist/cdn/{WEQBZOH7.js → HNHNP7BI.js} +1 -1
- package/dist/cdn/{TYMKFCF4.js → HXR7LXG4.js} +1 -1
- package/dist/cdn/I4MM4T5T.js +2 -0
- package/dist/cdn/IHHPUKGG.js +2 -0
- package/dist/cdn/{R45FWF7D.js → IJNPEW4W.js} +1 -1
- package/dist/cdn/{OE3UFORR.js → ILMYZIWD.js} +1 -1
- package/dist/cdn/{U4XLNCOU.js → IQ3T72TK.js} +1 -1
- package/dist/cdn/{3YT44D4Z.js → IRJ2YA3P.js} +1 -1
- package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
- package/dist/cdn/JMLS3OCC.js +2 -0
- package/dist/cdn/JQ7KK2TT.js +2 -0
- package/dist/cdn/K5AZMQ5Q.js +2 -0
- package/dist/cdn/KNYJJN7R.js +2 -0
- package/dist/cdn/{FDXE5JLT.js → L3XXFSDJ.js} +1 -1
- package/dist/cdn/L52YJC6U.js +2 -0
- package/dist/cdn/{GES3HRXE.js → LKAKZYML.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → LNRU4KNE.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
- package/dist/cdn/{RAQZUMC6.js → LYRIOMLM.js} +1 -1
- package/dist/cdn/{RFQBUWOW.js → NI4KTOCF.js} +1 -1
- package/dist/cdn/O533LNDP.js +2 -0
- package/dist/cdn/{UKDTXHZT.js → OKMRX4U5.js} +1 -1
- package/dist/cdn/{LDPHZHSF.js → OYQK2TIQ.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → PKCOYJHN.js} +1 -1
- package/dist/cdn/{PK5XIIZY.js → POIIR3QR.js} +1 -1
- package/dist/cdn/PSUB3KL5.js +4 -0
- package/dist/cdn/{KI4HS3AM.js → PWNFUWUN.js} +1 -1
- package/dist/cdn/Q5J2S3DE.js +2 -0
- package/dist/cdn/{5JML3JUR.js → QEC5EZ6Q.js} +1 -1
- package/dist/cdn/QID7XRNR.js +2 -0
- package/dist/cdn/QKL4PXPG.js +2 -0
- package/dist/cdn/{2K4ODNJ4.js → QN7MXGGV.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
- package/dist/cdn/R7QGZ7QJ.js +2 -0
- package/dist/cdn/RGFQCA4L.js +102 -0
- package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
- package/dist/cdn/RQN3DHRN.js +2 -0
- package/dist/cdn/{N524VXQ2.js → RY3TJU7J.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → RZGDZC44.js} +1 -1
- package/dist/cdn/S7Z4HRW7.js +2 -0
- package/dist/cdn/SCX3TUEG.js +2 -0
- package/dist/cdn/STTG3UAJ.js +2 -0
- package/dist/cdn/{VEA5ZR5D.js → SZOAGNYC.js} +1 -1
- package/dist/cdn/{PZGIXDMC.js → T5KLEUNC.js} +1 -1
- package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
- package/dist/cdn/{PC7IKOIB.js → TH2F4GPI.js} +1 -1
- package/dist/cdn/{TU3UF32Y.js → U555MUVU.js} +1 -1
- package/dist/cdn/V2H2UI2W.js +2 -0
- package/dist/cdn/{RX3RNE7F.js → V6UMDO6X.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → VK4OJOVV.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → VM6CF4WH.js} +1 -1
- package/dist/cdn/{TAI4RIWT.js → WE2J37H5.js} +1 -1
- package/dist/cdn/{5G7DSKI7.js → XAO2DW32.js} +1 -1
- package/dist/cdn/XRLVJJBT.js +2 -0
- package/dist/cdn/{U2LJZ4ML.js → XVW5DABR.js} +1 -1
- package/dist/cdn/YVOKQFAW.js +2 -0
- package/dist/cdn/{PSO5AURI.js → Z2Z3DPFE.js} +1 -1
- package/dist/cdn/ZW4PF3UK.js +2 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/class-breaks.js +18 -18
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/index2.js +2259 -2226
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +107 -49
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/pie-chart-data.js +42 -36
- package/dist/chunks/pie-chart-model.js +175 -162
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +591 -579
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/utils.js +67 -56
- package/dist/chunks/web-component-utils.js +601 -491
- package/dist/components/arcgis-chart/customElement.d.ts +145 -138
- package/dist/components/arcgis-chart/customElement.js +6352 -6352
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +35 -36
- 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 +14 -17
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +26 -27
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +29 -31
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -40
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
- 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.d.ts +66 -70
- package/dist/index.js +212 -210
- package/dist/json-schema/index.d.ts +59 -2
- package/dist/loader.js +1 -1
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +8 -2
- package/dist/utils/chart-config/converter/index.js +264 -264
- package/dist/utils/chart-config/utils/index.d.ts +36 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/data/index.d.ts +8 -11
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +6 -6
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/CCR46UHB.js +0 -2
- package/dist/cdn/CRFJ2GGS.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/E2N2S7BH.js +0 -2
- package/dist/cdn/E43KEVHT.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/F7Y6EWWB.js +0 -2
- package/dist/cdn/G5HVFOIO.js +0 -2
- package/dist/cdn/G7TRU7JI.js +0 -2
- package/dist/cdn/IHQ7R6L4.js +0 -4
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/KVGEY3IQ.js +0 -2
- package/dist/cdn/KXNZEPLT.js +0 -58
- package/dist/cdn/LWODMEOP.js +0 -2
- package/dist/cdn/LYZGRYQV.js +0 -2
- package/dist/cdn/MF3FGXHI.js +0 -2
- package/dist/cdn/MUPHTV55.js +0 -2
- package/dist/cdn/N5ERJZPG.js +0 -2
- package/dist/cdn/NGPMU4T3.js +0 -2
- package/dist/cdn/NJCZ6UTM.js +0 -2
- package/dist/cdn/NMB6TWC2.js +0 -2
- package/dist/cdn/NNNTZU5J.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PJUAU42S.js +0 -2
- package/dist/cdn/PY5Q3V6E.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/UAJGYF4S.js +0 -2
- package/dist/cdn/UT6G7RV7.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/WO6JBNMU.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZRZEKOEF.js +0 -2
- /package/dist/cdn/{2HGBRW4I.js → 3HAB3JR6.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → 3YOOX2CV.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → 4DSO7LUF.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → 5HRLHWQ5.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → 732EZ6WJ.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → 7IS6QE6S.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → 7XZZ5OZL.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → AN2NRYQV.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → ASUGYCJ6.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → BICQEJYZ.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → C2I4WPWM.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → C47AIJTI.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → C5YJ7J3A.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → DPV2ZJLF.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → E4535ZTP.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → FJNRPAMO.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → GI54JT4O.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → GYTYFBNU.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → J5QUGI2J.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → JPEN5TFK.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → KBQM3DLQ.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → LEMJA72W.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → MMO2QPOA.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → PS7IL5JZ.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → R2RRMPOC.js} +0 -0
- /package/dist/cdn/{ABIVSH72.js → RV6E7KKQ.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → RYLXJPKL.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → S2R72ISR.js} +0 -0
- /package/dist/cdn/{N3VOUI25.js → T4NEEFOY.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → TEERYUCS.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → V454JYTQ.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → V7JF5I5M.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → VIZWWEG5.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → W5SPX6WM.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → X2IOJECM.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → X33RIIGI.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → YBTVIOHQ.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → YFQHZWLO.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → YX4EVVJM.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → YXH22GJ6.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → ZMQTYGGT.js} +0 -0
|
@@ -35,112 +35,12 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
35
35
|
* @since 4.32
|
|
36
36
|
*/
|
|
37
37
|
export abstract class ArcgisChart extends LitElement {
|
|
38
|
-
/** @internal */
|
|
39
|
-
protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the user action behavior for the chart.
|
|
42
|
-
*
|
|
43
|
-
* - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
|
|
44
|
-
* - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
|
|
45
|
-
* - `multiSelectionWithCtrlKey`: Select multiple data points or series while holding the Ctrl key (Cmd on Mac). When the key is held, each new selection is added; otherwise, the selection is replaced.
|
|
46
|
-
* - `none`: No action is performed on user interaction.
|
|
47
|
-
* - `zoom`: Zoom into a specific area of the chart.
|
|
48
|
-
*
|
|
49
|
-
* **Note**: Not applicable to gauges.
|
|
50
|
-
*/
|
|
51
|
-
accessor actionMode: ActionModes | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to allow the object id to be used as a statistic other than `Count`.
|
|
54
|
-
*
|
|
55
|
-
* @default false
|
|
56
|
-
*/
|
|
57
|
-
accessor allowUsingObjectIdStat: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Enable animation on the chart.
|
|
60
|
-
*
|
|
61
|
-
* @default false
|
|
62
|
-
*/
|
|
63
|
-
accessor animationEnabled: boolean | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
|
|
66
|
-
*
|
|
67
|
-
* @since 5.0
|
|
68
|
-
*/
|
|
69
|
-
accessor aria: DOMContainerAria | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* If `true`, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
|
|
72
|
-
*
|
|
73
|
-
* @default false
|
|
74
|
-
* @since 5.0
|
|
75
|
-
*/
|
|
76
|
-
accessor autoDestroyDisabled: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Auto disposes the chart when a new one is created in the same container.
|
|
79
|
-
*
|
|
80
|
-
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
81
|
-
* @default false
|
|
82
|
-
*/
|
|
83
|
-
accessor autoDisposeChart: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* When `true`, the data label text color is automatically adjusted for readability based on its background.
|
|
86
|
-
* If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
|
|
87
|
-
*
|
|
88
|
-
* **Note**: Applicable to heat charts only.
|
|
89
|
-
*
|
|
90
|
-
* @default false
|
|
91
|
-
*/
|
|
92
|
-
accessor autoInverseDataLabelTextColor: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Allows picking the Calcite CSS variables to use when applying a Calcite theme.
|
|
95
|
-
*
|
|
96
|
-
* By default the following variables are used:
|
|
97
|
-
* background: --calcite-color-foreground-1
|
|
98
|
-
* text: --calcite-color-text-1
|
|
99
|
-
* line: --calcite-color-border-1
|
|
100
|
-
* secondary line: --calcite-color-text-3
|
|
101
|
-
* spinner: --calcite-color-brand-hover
|
|
102
|
-
*
|
|
103
|
-
* The charts colors are overridden by those associated to those CSS variables, but only if they have not been
|
|
104
|
-
* customized beforehand.
|
|
105
|
-
*
|
|
106
|
-
* @since 5.1
|
|
107
|
-
*/
|
|
108
|
-
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
109
|
-
/**
|
|
110
|
-
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
111
|
-
*
|
|
112
|
-
* If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
113
|
-
*
|
|
114
|
-
* If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
115
|
-
*
|
|
116
|
-
* @example
|
|
117
|
-
* ```html
|
|
118
|
-
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
accessor chartIndex: number | undefined;
|
|
122
|
-
/**
|
|
123
|
-
* Customize the maximum number of series allowed on the chart.
|
|
124
|
-
*
|
|
125
|
-
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
|
|
126
|
-
* or update of the chart, or render the elements up to the given limits.
|
|
127
|
-
*
|
|
128
|
-
* **Note**: Not applicable to gauges.
|
|
129
|
-
*/
|
|
130
|
-
accessor chartLimits: ChartElementLimit | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* Lifecycle function executed after the data has been processed and before the chart renders.
|
|
133
|
-
* Can be used to alter the model from information extracted from the data.
|
|
134
|
-
*
|
|
135
|
-
* **Note**: Applicable to gauges and pie charts only.
|
|
136
|
-
*/
|
|
137
|
-
accessor chartWillRender: PreRenderCallback | undefined;
|
|
138
38
|
/**
|
|
139
39
|
* Localized common strings.
|
|
140
40
|
*
|
|
141
41
|
* @internal
|
|
142
42
|
*/
|
|
143
|
-
protected
|
|
43
|
+
protected _commonStrings: {
|
|
144
44
|
utilsStrings: {
|
|
145
45
|
chartType: {
|
|
146
46
|
chart: string;
|
|
@@ -223,6 +123,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
223
123
|
};
|
|
224
124
|
notifications: {
|
|
225
125
|
invalidConfig: string;
|
|
126
|
+
invalidConfigForRaster: string;
|
|
127
|
+
invalidConfigTitle: string;
|
|
226
128
|
invalidSeriesConfig: string;
|
|
227
129
|
invalidSeriesConfigTitle: string;
|
|
228
130
|
validateAggregationTypeMsg: string;
|
|
@@ -488,6 +390,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
488
390
|
};
|
|
489
391
|
notifications: {
|
|
490
392
|
invalidConfig: string;
|
|
393
|
+
invalidConfigForRaster: string;
|
|
394
|
+
invalidConfigTitle: string;
|
|
491
395
|
invalidSeriesConfig: string;
|
|
492
396
|
invalidSeriesConfigTitle: string;
|
|
493
397
|
validateAggregationTypeMsg: string;
|
|
@@ -671,6 +575,106 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
671
575
|
"Invalid date": string;
|
|
672
576
|
};
|
|
673
577
|
}>;
|
|
578
|
+
/** @internal */
|
|
579
|
+
protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
|
|
580
|
+
/**
|
|
581
|
+
* Specifies the user action behavior for the chart.
|
|
582
|
+
*
|
|
583
|
+
* - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
|
|
584
|
+
* - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
|
|
585
|
+
* - `multiSelectionWithCtrlKey`: Select multiple data points or series while holding the Ctrl key (Cmd on Mac). When the key is held, each new selection is added; otherwise, the selection is replaced.
|
|
586
|
+
* - `none`: No action is performed on user interaction.
|
|
587
|
+
* - `zoom`: Zoom into a specific area of the chart.
|
|
588
|
+
*
|
|
589
|
+
* **Note**: Not applicable to gauges.
|
|
590
|
+
*/
|
|
591
|
+
accessor actionMode: ActionModes | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* Whether to allow the object id to be used as a statistic other than `Count`.
|
|
594
|
+
*
|
|
595
|
+
* @default false
|
|
596
|
+
*/
|
|
597
|
+
accessor allowUsingObjectIdStat: boolean;
|
|
598
|
+
/**
|
|
599
|
+
* Enable animation on the chart.
|
|
600
|
+
*
|
|
601
|
+
* @default false
|
|
602
|
+
*/
|
|
603
|
+
accessor animationEnabled: boolean | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
|
|
606
|
+
*
|
|
607
|
+
* @since 5.0
|
|
608
|
+
*/
|
|
609
|
+
accessor aria: DOMContainerAria | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* If `true`, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
|
|
612
|
+
*
|
|
613
|
+
* @default false
|
|
614
|
+
* @since 5.0
|
|
615
|
+
*/
|
|
616
|
+
accessor autoDestroyDisabled: boolean;
|
|
617
|
+
/**
|
|
618
|
+
* Auto disposes the chart when a new one is created in the same container.
|
|
619
|
+
*
|
|
620
|
+
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
621
|
+
* @default false
|
|
622
|
+
*/
|
|
623
|
+
accessor autoDisposeChart: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* When `true`, the data label text color is automatically adjusted for readability based on its background.
|
|
626
|
+
* If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
|
|
627
|
+
*
|
|
628
|
+
* **Note**: Applicable to heat charts only.
|
|
629
|
+
*
|
|
630
|
+
* @default false
|
|
631
|
+
*/
|
|
632
|
+
accessor autoInverseDataLabelTextColor: boolean;
|
|
633
|
+
/**
|
|
634
|
+
* Allows picking the Calcite CSS variables to use when applying a Calcite theme.
|
|
635
|
+
*
|
|
636
|
+
* By default the following variables are used:
|
|
637
|
+
* - background: `--calcite-color-foreground-1`
|
|
638
|
+
* - text: `--calcite-color-text-1`
|
|
639
|
+
* - line: `--calcite-color-border-1`
|
|
640
|
+
* - secondary line: `--calcite-color-text-3`
|
|
641
|
+
* - spinner: `--calcite-color-brand-hover`
|
|
642
|
+
*
|
|
643
|
+
* The charts colors are overridden by those associated to those CSS variables, but only if they have not been
|
|
644
|
+
* customized beforehand.
|
|
645
|
+
*
|
|
646
|
+
* @since 5.1
|
|
647
|
+
*/
|
|
648
|
+
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
649
|
+
/**
|
|
650
|
+
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
651
|
+
*
|
|
652
|
+
* If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
653
|
+
*
|
|
654
|
+
* If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
655
|
+
*
|
|
656
|
+
* @example
|
|
657
|
+
* ```html
|
|
658
|
+
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
659
|
+
* ```
|
|
660
|
+
*/
|
|
661
|
+
accessor chartIndex: number | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Customize the maximum number of series allowed on the chart.
|
|
664
|
+
*
|
|
665
|
+
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
|
|
666
|
+
* or update of the chart, or render the elements up to the given limits.
|
|
667
|
+
*
|
|
668
|
+
* **Note**: Not applicable to gauges.
|
|
669
|
+
*/
|
|
670
|
+
accessor chartLimits: ChartElementLimit | undefined;
|
|
671
|
+
/**
|
|
672
|
+
* Lifecycle function executed after the data has been processed and before the chart renders.
|
|
673
|
+
* Can be used to alter the model from information extracted from the data.
|
|
674
|
+
*
|
|
675
|
+
* **Note**: Applicable to gauges and pie charts only.
|
|
676
|
+
*/
|
|
677
|
+
accessor chartWillRender: PreRenderCallback | undefined;
|
|
674
678
|
/**
|
|
675
679
|
* Whether to use features uniquely designed for a chart currently being configured by a user via the UI.
|
|
676
680
|
* When true, the slotted charts action bar will expose an Edit chart action, surfaces relevant error states,
|
|
@@ -744,7 +748,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
744
748
|
/**
|
|
745
749
|
* The index of the feature to render when using a feature based gauge.
|
|
746
750
|
*
|
|
747
|
-
* **Note**:
|
|
751
|
+
* **Note**: Applicable to gauges only.
|
|
748
752
|
*
|
|
749
753
|
* @deprecated since 5.0. Use charts model's [featureIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/model/gauge-model/gauge-model/#featureIndex) prop instead.
|
|
750
754
|
*/
|
|
@@ -784,7 +788,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
784
788
|
accessor guideTooltipFormatter: GuideTooltipFormatCallback | undefined;
|
|
785
789
|
/**
|
|
786
790
|
* When `true`, the empty series are completely hidden from the chart and the legend.
|
|
787
|
-
* For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
|
|
791
|
+
* For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by view extent).
|
|
788
792
|
*
|
|
789
793
|
* **Note**: Not applicable to gauges.
|
|
790
794
|
*
|
|
@@ -820,7 +824,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
820
824
|
* When this property is set to `true`, the dataset will keep these gaps instead of filling them with 0s.
|
|
821
825
|
*
|
|
822
826
|
* When left to `false`, the chart's dataItems associated with empty (no value) categories (from only a `Count` aggregation)
|
|
823
|
-
* will be populated with 0s
|
|
827
|
+
* will be populated with 0s.
|
|
824
828
|
*
|
|
825
829
|
* @default false
|
|
826
830
|
* @since 5.1
|
|
@@ -882,6 +886,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
882
886
|
*
|
|
883
887
|
* If `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
884
888
|
*
|
|
889
|
+
* Supported layers include: `FeatureLayer`, `SubtypeSublayer`, `ImageryLayer`, `ImageryTileLayer` and `WCSLayer`.
|
|
890
|
+
*
|
|
885
891
|
* @example
|
|
886
892
|
* ```html
|
|
887
893
|
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
@@ -889,13 +895,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
889
895
|
*/
|
|
890
896
|
accessor layerItemId: string | undefined;
|
|
891
897
|
/**
|
|
892
|
-
* Allows the chart to update automatically when the layer's renderer changes.
|
|
893
|
-
* Applies when the color match is enabled.
|
|
894
|
-
*
|
|
895
|
-
* @deprecated
|
|
896
|
-
* since 5.1. Won't be replaced.
|
|
898
|
+
* Allows the chart to update automatically when the layer's renderer changes. Applies when the color match is enabled.
|
|
897
899
|
*
|
|
898
900
|
* **Note**: If the property is set to `ignore` the chart will still use the layer's renderer information when the data is updated.
|
|
901
|
+
*
|
|
902
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
899
903
|
* @default "refresh"
|
|
900
904
|
*/
|
|
901
905
|
accessor layerRendererChangePolicy: LayerRendererChangePolicy;
|
|
@@ -909,7 +913,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
909
913
|
accessor legendPosition: WebChartLegendPositions | undefined;
|
|
910
914
|
/**
|
|
911
915
|
* A callback function used to format the legend value labels. If the returned string contains HTML tags they will be interpreted as such.
|
|
912
|
-
* If provided, the formatter will be used if at least
|
|
916
|
+
* If provided, the formatter will be used if at least [displayNumericValue](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChartPieChartLegend-displayNumericValue) or [displayPercentage](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChartPieChartLegend-displayPercentage) is `true`.
|
|
913
917
|
*
|
|
914
918
|
* **Note**: Applicable to pie charts only.
|
|
915
919
|
*/
|
|
@@ -930,12 +934,12 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
930
934
|
* @example
|
|
931
935
|
* ```ts
|
|
932
936
|
* // Set a blue curtain and a red spinner for the loader animation
|
|
933
|
-
*
|
|
937
|
+
* chartComponent.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
|
|
934
938
|
* ```
|
|
935
939
|
*/
|
|
936
940
|
accessor loaderColors: LoaderColors | undefined;
|
|
937
941
|
/** Custom message overrides for the chart's strings. */
|
|
938
|
-
accessor messageOverrides: {
|
|
942
|
+
accessor messageOverrides: {
|
|
939
943
|
utilsStrings?: {
|
|
940
944
|
chartType?: {
|
|
941
945
|
chart?: string | undefined;
|
|
@@ -1018,6 +1022,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1018
1022
|
} | undefined;
|
|
1019
1023
|
notifications?: {
|
|
1020
1024
|
invalidConfig?: string | undefined;
|
|
1025
|
+
invalidConfigForRaster?: string | undefined;
|
|
1026
|
+
invalidConfigTitle?: string | undefined;
|
|
1021
1027
|
invalidSeriesConfig?: string | undefined;
|
|
1022
1028
|
invalidSeriesConfigTitle?: string | undefined;
|
|
1023
1029
|
validateAggregationTypeMsg?: string | undefined;
|
|
@@ -1200,7 +1206,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1200
1206
|
"Unable to load file: %1"?: string | undefined;
|
|
1201
1207
|
"Invalid date"?: string | undefined;
|
|
1202
1208
|
} | undefined;
|
|
1203
|
-
};
|
|
1209
|
+
} & { chartNotFoundWarning?: string | undefined; };
|
|
1204
1210
|
/**
|
|
1205
1211
|
* Provides an API to interact with the chart's configuration.
|
|
1206
1212
|
*
|
|
@@ -1232,19 +1238,19 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1232
1238
|
accessor queueChartCreation: boolean | undefined;
|
|
1233
1239
|
/**
|
|
1234
1240
|
* When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
|
|
1235
|
-
* will be populated with 0s
|
|
1241
|
+
* will be populated with 0s.
|
|
1236
1242
|
*
|
|
1237
1243
|
* @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
|
|
1238
1244
|
* @default false
|
|
1239
1245
|
*/
|
|
1240
1246
|
accessor replaceNoValueCategoryWithZero: boolean | undefined;
|
|
1241
1247
|
/**
|
|
1242
|
-
* When `true`, the features extent will be returned through the
|
|
1248
|
+
* When `true`, the features extent will be returned through the [@arcgisDataProcessComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisDataProcessComplete) and [@arcgisSelectionComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisSelectionComplete) events payload.
|
|
1243
1249
|
* Applies only to:
|
|
1244
1250
|
* - Charts using an aggregation.
|
|
1245
1251
|
* - Data source using a feature layer compatible with envelope aggregation.
|
|
1246
1252
|
*
|
|
1247
|
-
* The extent (
|
|
1253
|
+
* The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
|
|
1248
1254
|
*
|
|
1249
1255
|
* **Note**: Not applicable to gauges.
|
|
1250
1256
|
*
|
|
@@ -1271,7 +1277,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1271
1277
|
/**
|
|
1272
1278
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1273
1279
|
*
|
|
1274
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1280
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1275
1281
|
*
|
|
1276
1282
|
* @default false
|
|
1277
1283
|
*/
|
|
@@ -1279,7 +1285,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1279
1285
|
/**
|
|
1280
1286
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1281
1287
|
*
|
|
1282
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1288
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1283
1289
|
*
|
|
1284
1290
|
* @deprecated since 5.0. Use either [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated) or the charts model's [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#rotated) prop instead.
|
|
1285
1291
|
* @default false
|
|
@@ -1290,7 +1296,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1290
1296
|
*
|
|
1291
1297
|
* @example
|
|
1292
1298
|
* ```ts
|
|
1293
|
-
*
|
|
1299
|
+
* chartComponent.runtimeDataFilters = {
|
|
1294
1300
|
* where: "FieldValue = 9",
|
|
1295
1301
|
* };
|
|
1296
1302
|
* ```
|
|
@@ -1298,9 +1304,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1298
1304
|
accessor runtimeDataFilters: WebChartDataFilters | undefined;
|
|
1299
1305
|
/**
|
|
1300
1306
|
* Callback function used to format the secondary y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
|
|
1301
|
-
* The property will be effective only if 3 axes are defined (dual axis chart).
|
|
1302
1307
|
*
|
|
1303
|
-
* **Note**: Appliable to bar charts, line charts, combo bar line charts
|
|
1308
|
+
* **Note**: Appliable to bar charts, line charts, combo bar line charts with dual axes.
|
|
1304
1309
|
*/
|
|
1305
1310
|
accessor secondaryYAxisLabelFormatter: AxisLabelFormatCallback | undefined;
|
|
1306
1311
|
/**
|
|
@@ -1310,8 +1315,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1310
1315
|
*/
|
|
1311
1316
|
accessor selectionData: SelectionData | undefined;
|
|
1312
1317
|
/**
|
|
1313
|
-
* Selection manager object used to synchronize the selections with the chart when
|
|
1314
|
-
* It has precedence over the layer view's [SelectionManager](
|
|
1318
|
+
* Selection manager object used to synchronize the selections with the chart when [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) is `true`.
|
|
1319
|
+
* It has precedence over the layer view's [SelectionManager](/references/core/views/SelectionManager/) when both are available.
|
|
1315
1320
|
*
|
|
1316
1321
|
* @since 5.1
|
|
1317
1322
|
*/
|
|
@@ -1323,9 +1328,9 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1323
1328
|
*
|
|
1324
1329
|
* **Note**: Not applicable to gauges.
|
|
1325
1330
|
*
|
|
1326
|
-
*
|
|
1331
|
+
* @example
|
|
1327
1332
|
* ```ts
|
|
1328
|
-
*
|
|
1333
|
+
* chartComponent.selectionTheme = {
|
|
1329
1334
|
* "selectedElementsTheme": {
|
|
1330
1335
|
* "transformation": {
|
|
1331
1336
|
* "scale": 1.2
|
|
@@ -1343,7 +1348,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1343
1348
|
/**
|
|
1344
1349
|
* When `true`, the series properties `unit` and `size` become optional and will be automatically set to values that fit the data set. Used when creating or updating a chart compatible with time binning.
|
|
1345
1350
|
*
|
|
1346
|
-
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar
|
|
1351
|
+
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar line chart, radar chart).
|
|
1347
1352
|
*
|
|
1348
1353
|
* @default false
|
|
1349
1354
|
*/
|
|
@@ -1352,7 +1357,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1352
1357
|
* Show the series on the chart even if it doesn't have data (i.e. empty)
|
|
1353
1358
|
*
|
|
1354
1359
|
* When `false`, the empty series are completely hidden from the chart and the legend.
|
|
1355
|
-
* For example a series can be empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
|
|
1360
|
+
* For example a series can be empty after applying a data filter, filter by attribute or geometry (as when using the filter by view extent).
|
|
1356
1361
|
*
|
|
1357
1362
|
* **Note**: Not applicable to gauges.
|
|
1358
1363
|
*
|
|
@@ -1399,14 +1404,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1399
1404
|
*/
|
|
1400
1405
|
accessor syncSelection: boolean;
|
|
1401
1406
|
/**
|
|
1402
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1407
|
+
* Determines whether the chart's selection should be synchronized with either the chart's [selectionManager](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#selectionManager) or the layer view's.
|
|
1403
1408
|
*
|
|
1404
1409
|
* @deprecated since 5.1. Use [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) prop instead.
|
|
1405
1410
|
* @default "disabled"
|
|
1406
1411
|
*/
|
|
1407
1412
|
accessor syncSelectionsBetweenChartAndLayerViewPolicy: SyncSelectionsBetweenChartAndLayerViewPolicy;
|
|
1408
1413
|
/**
|
|
1409
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1414
|
+
* Determines whether the chart's selection should be synchronized with either the chart's [selectionManager](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#selectionManager) or the layer view's.
|
|
1410
1415
|
*
|
|
1411
1416
|
* @default false
|
|
1412
1417
|
* @since 5.1
|
|
@@ -1422,7 +1427,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1422
1427
|
*/
|
|
1423
1428
|
accessor syncViewTimeExtent: boolean;
|
|
1424
1429
|
/**
|
|
1425
|
-
* Whether the chart's data should be in sync with the view's
|
|
1430
|
+
* Whether the chart's data should be in sync with the view's [timeZone](/references/core/views/MapView/#timeZone).
|
|
1431
|
+
*
|
|
1426
1432
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1427
1433
|
* capacity to handle the `/queryBins` operation. For any other case the chart will ignore the view's time zone regardless of the value of this property.
|
|
1428
1434
|
*
|
|
@@ -1431,7 +1437,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1431
1437
|
*/
|
|
1432
1438
|
accessor syncViewTimeZone: boolean;
|
|
1433
1439
|
/**
|
|
1434
|
-
* List of chart types to include from syncing the view's
|
|
1440
|
+
* List of chart types to include from syncing the view's [`timeZone`](/references/core/views/MapView/#timeZone) with the data. Currently heat charts are included by default.
|
|
1441
|
+
*
|
|
1435
1442
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1436
1443
|
* capacity to handle the `/queryBins` operation. For any other case the chart will ignore the view's time zone regardless of the content of this list.
|
|
1437
1444
|
*
|
|
@@ -1445,10 +1452,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1445
1452
|
* ```ts
|
|
1446
1453
|
* chartComponent.timeZone = "America/Los_Angeles";
|
|
1447
1454
|
* ```
|
|
1448
|
-
* @example
|
|
1449
|
-
* ```html
|
|
1450
|
-
* <arcgis-chart time-zone="America/Los_Angeles"></arcgis-chart>
|
|
1451
|
-
* ```
|
|
1452
1455
|
*/
|
|
1453
1456
|
accessor timeZone: MapView["timeZone"] | undefined;
|
|
1454
1457
|
/**
|
|
@@ -1464,7 +1467,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1464
1467
|
*
|
|
1465
1468
|
* @example
|
|
1466
1469
|
* ```ts
|
|
1467
|
-
*
|
|
1470
|
+
* chartComponent.tooltipFormatter = ({ statValue }) => {
|
|
1468
1471
|
* return `<b>Custom tooltip</b> for ${statValue}`;
|
|
1469
1472
|
* };
|
|
1470
1473
|
* ```
|
|
@@ -1558,7 +1561,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1558
1561
|
* **Note**: The chart types supported by this method are:
|
|
1559
1562
|
* - Bar chart
|
|
1560
1563
|
* - Box plot
|
|
1561
|
-
* - Combo bar
|
|
1564
|
+
* - Combo bar line chart
|
|
1562
1565
|
* - Heat chart
|
|
1563
1566
|
* - Histogram
|
|
1564
1567
|
* - Line chart
|
|
@@ -1630,7 +1633,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1630
1633
|
readonly arcgisDataProcessComplete: import("@arcgis/lumina").TargetedEvent<this, DataProcessCompletePayload>;
|
|
1631
1634
|
/** Event triggered when an error occurred while fetching of processing the data for the chart. */
|
|
1632
1635
|
readonly arcgisDataProcessError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1633
|
-
/**
|
|
1636
|
+
/**
|
|
1637
|
+
* Event triggered when an invalid configuration is detected.
|
|
1638
|
+
*
|
|
1639
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
1640
|
+
*/
|
|
1634
1641
|
readonly arcgisInvalidConfigWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
|
|
1635
1642
|
/** Event triggered once a legend item visibility has been changed. */
|
|
1636
1643
|
readonly arcgisLegendItemVisibilityChange: import("@arcgis/lumina").TargetedEvent<this, LegendItemVisibilityChangePayload>;
|