@arcgis/charts-components 5.2.0-next.93 → 5.2.0-next.95
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/{H2NVXIPH.js → 225VUGML.js} +3 -3
- package/dist/cdn/{GUMN6KPP.js → 2CFI7BGP.js} +1 -1
- package/dist/cdn/{BZEYWH2F.js → 2R6MQ752.js} +1 -1
- package/dist/cdn/{KAUOH4F3.js → 3GJ64ZJ4.js} +1 -1
- package/dist/cdn/{DOE5S7EP.js → 3NLKE6ZN.js} +1 -1
- package/dist/cdn/{IIV6X3KV.js → 42FKRE56.js} +1 -1
- package/dist/cdn/{QVLDIB2N.js → 455LSMAU.js} +1 -1
- package/dist/cdn/{WTABMFFY.js → 4A4EW5Z5.js} +1 -1
- package/dist/cdn/{SJBJ2N5C.js → 4DR6JUR7.js} +2 -2
- package/dist/cdn/{VCBFPEET.js → 4LJRIJWD.js} +1 -1
- package/dist/cdn/{4JMHK7HK.js → 4U63XRSZ.js} +1 -1
- package/dist/cdn/{LU7UO6PR.js → 52GJ6UGS.js} +1 -1
- package/dist/cdn/{73DFT5MR.js → 56CLURJA.js} +1 -1
- package/dist/cdn/{54LUEUIT.js → 5GDVKAX5.js} +1 -1
- package/dist/cdn/{JXAPOWHG.js → 5SKJYBPO.js} +1 -1
- package/dist/cdn/{UZHQF5CV.js → 5SYHQWPP.js} +1 -1
- package/dist/cdn/{MF2ZBHWI.js → 63AHC52W.js} +1 -1
- package/dist/cdn/{QIBUTVUN.js → 6H6SZO4Y.js} +1 -1
- package/dist/cdn/{OQQIDPDH.js → 6VIPQGM6.js} +1 -1
- package/dist/cdn/{D7LBGWWL.js → 7LA6R3JD.js} +1 -1
- package/dist/cdn/{SBJGOYJL.js → 7TM4LYGN.js} +1 -1
- package/dist/cdn/{ELNZ7PTF.js → AIQU35U3.js} +1 -1
- package/dist/cdn/{4A42J7HF.js → AMTIT4IA.js} +1 -1
- package/dist/cdn/{KJAMXKR3.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/{KQUI4CT6.js → AYCQHDDV.js} +1 -1
- package/dist/cdn/{3K7H52Y5.js → AZYYQMCD.js} +1 -1
- package/dist/cdn/{44ICH2UX.js → BB3YY4S4.js} +1 -1
- package/dist/cdn/{XW5I2M45.js → BDASIXVJ.js} +1 -1
- package/dist/cdn/{6K6Z6CQE.js → BWLRC2U5.js} +1 -1
- package/dist/cdn/{5YBMIR4F.js → C3ZVHFEH.js} +1 -1
- package/dist/cdn/{KHWZ54IX.js → CC7DZFC6.js} +1 -1
- package/dist/cdn/{CKRZTUGB.js → CDRZ4CST.js} +1 -1
- package/dist/cdn/{4JWNKQ22.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/{H4R2P2BO.js → D3VGNOMT.js} +1 -1
- package/dist/cdn/{4VW736DF.js → D5DOFLCS.js} +1 -1
- package/dist/cdn/{3HG6OEAW.js → E6E2KLJ2.js} +1 -1
- package/dist/cdn/{XYJJ2PIL.js → E6JK3JRJ.js} +1 -1
- package/dist/cdn/{KHC2DMSU.js → EB4CM3YK.js} +1 -1
- package/dist/cdn/{NYR4K242.js → EVTLSZ5O.js} +1 -1
- package/dist/cdn/{7HANUCEA.js → EWIMT2AS.js} +1 -1
- package/dist/cdn/{IGE2Z7GO.js → FBS4RBSA.js} +1 -1
- package/dist/cdn/{ZO4GRLG6.js → FCADGQJJ.js} +1 -1
- package/dist/cdn/{GUWBPR2H.js → GJ2CW5F2.js} +1 -1
- package/dist/cdn/{YQL5A2WS.js → GKIYT47O.js} +1 -1
- package/dist/cdn/{MTFWTSTG.js → GVJ5WCQD.js} +1 -1
- package/dist/cdn/{YOUTTWJN.js → GXYKOTY7.js} +1 -1
- package/dist/cdn/{4O4L6CM3.js → H62OOC74.js} +1 -1
- package/dist/cdn/{GK6IJBRW.js → HC33KORY.js} +1 -1
- package/dist/cdn/{65HVRSR6.js → HF4BJOBP.js} +1 -1
- package/dist/cdn/{EFXNPF4V.js → HKNSFOTD.js} +1 -1
- package/dist/cdn/{HZEGDF6W.js → HN3ITVY4.js} +1 -1
- package/dist/cdn/{OPMACXLA.js → HPPHOWG7.js} +1 -1
- package/dist/cdn/{2B4DKL3R.js → IBMPLHXH.js} +1 -1
- package/dist/cdn/{HSIYQNVK.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/{ZFHU5I2O.js → IJVOYQLH.js} +1 -1
- package/dist/cdn/{DLCJMSYG.js → JM6L3BZH.js} +1 -1
- package/dist/cdn/{COSE26XR.js → JMEPJL72.js} +1 -1
- package/dist/cdn/{RCAJJ24P.js → JSVAA6N4.js} +1 -1
- package/dist/cdn/{QBBUOEKF.js → KERMLQR2.js} +1 -1
- package/dist/cdn/{4QQRIMTI.js → KYESCAI2.js} +1 -1
- package/dist/cdn/{SBZKGQBV.js → KYOCE6FA.js} +1 -1
- package/dist/cdn/{HIVJRWLF.js → LZ7SW2R3.js} +1 -1
- package/dist/cdn/{SOR4DYKA.js → MQI4ZLAS.js} +1 -1
- package/dist/cdn/{RAJO727X.js → O4DFT4N4.js} +1 -1
- package/dist/cdn/{57PMXO2G.js → OKKEWHMB.js} +1 -1
- package/dist/cdn/{ULF3LG3W.js → OKZKKKY6.js} +1 -1
- package/dist/cdn/{JSPNXGH3.js → OURE3TA5.js} +1 -1
- package/dist/cdn/{LZ3ZRY2F.js → OVRV43B7.js} +1 -1
- package/dist/cdn/{KVWM73YN.js → PT2OG4W2.js} +1 -1
- package/dist/cdn/{SZNZAD56.js → QKUFLZC3.js} +1 -1
- package/dist/cdn/QO2RH3XB.js +3 -0
- package/dist/cdn/{62EUOXR7.js → QWVW4ZUT.js} +24 -24
- package/dist/cdn/{LKC6J4IQ.js → RD7TKIQS.js} +1 -1
- package/dist/cdn/{KZ4SCRQT.js → RNGQEQRO.js} +1 -1
- package/dist/cdn/{KPEBWOLJ.js → RQCFIEGS.js} +1 -1
- package/dist/cdn/{D5O2M65G.js → S6RBDFHP.js} +1 -1
- package/dist/cdn/{LJJPOUVA.js → SIHW3QVG.js} +1 -1
- package/dist/cdn/{NGGJIQHT.js → SS7GYFUD.js} +1 -1
- package/dist/cdn/{GVJF3VFV.js → SZSTCHLY.js} +1 -1
- package/dist/cdn/{BHJHX65O.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/{N4XXKTCN.js → TJJ4LMYG.js} +1 -1
- package/dist/cdn/{LCJVASMQ.js → UCHQXTEC.js} +1 -1
- package/dist/cdn/{F66W272X.js → ULQSD4KK.js} +1 -1
- package/dist/cdn/UVESG7TY.js +2 -0
- package/dist/cdn/{SMTDJE55.js → VJNOQYPI.js} +1 -1
- package/dist/cdn/{F6VXAPTT.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/{YX7WAUQZ.js → VWUW3HFU.js} +1 -1
- package/dist/cdn/{KYCNUCTQ.js → WOVEUX6R.js} +1 -1
- package/dist/cdn/{QFXCVZYG.js → WTMEWLUJ.js} +1 -1
- package/dist/cdn/{OCT2KA4Q.js → WTOK3YQI.js} +1 -1
- package/dist/cdn/{VVOQ4Q2X.js → WVOXFKFO.js} +1 -1
- package/dist/cdn/{CPDE3ZSY.js → XQ7JB6AU.js} +1 -1
- package/dist/cdn/{VBDLVCPP.js → YFMHKHFE.js} +1 -1
- package/dist/cdn/{BZIGQJAH.js → YGPTQ6U2.js} +1 -1
- package/dist/cdn/{L6IM34J7.js → YHC6WRNQ.js} +1 -1
- package/dist/cdn/{SQHEWY2J.js → ZDKUHFRX.js} +1 -1
- package/dist/cdn/{WPLJ5BXE.js → ZLARROJV.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +59 -47
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +3 -3
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/index.js +1208 -1256
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +8 -8
- package/dist/chunks/index4.js +4 -4
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/serial-chart-data.js +50 -50
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/utils.js +2 -2
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +156 -22
- package/dist/components/arcgis-chart/customElement.js +5544 -5580
- 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 +11 -11
- 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-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/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-pie-chart-data/customElement.js +23 -23
- 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-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/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 +366 -364
- package/dist/loader.js +1 -1
- package/dist/spec/chart-object-literals.d.ts +3 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +2 -2
- package/dist/utils/chart-config/utils/index.d.ts +1 -2
- package/dist/utils/data/categorical-data/index.d.ts +17 -1
- package/package.json +4 -4
- package/dist/cdn/CDWFPVYG.js +0 -2
- package/dist/cdn/IHDWXIBS.js +0 -3
|
@@ -5,7 +5,7 @@ import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
|
|
|
5
5
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
6
6
|
import type { DOMContainerAria } from "@arcgis/core/views/DOMContainer.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
|
-
import type { AxisLabelFormatCallback,
|
|
8
|
+
import type { AxisLabelFormatCallback, BarAndLineDataLabelFormatCallback, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, HistogramLabelFormatCallback, PieChartLabelFormatCallback, PieChartLegendValueLabelFormatCallback, PreRenderCallback, ScatterplotLabelFormatCallback, TooltipFormatters } from "../../chart-rendering/common/interfaces.js";
|
|
9
9
|
import type { ChartLayerInput, CSVOptions } from "../../interfaces.js";
|
|
10
10
|
import type { ChartModel } from "../../model/chart-model/chart-model.js";
|
|
11
11
|
import type { WebChartTypes, WebChartLegendPositions } from "../../spec/chart-object-literals.js";
|
|
@@ -772,7 +772,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
772
772
|
*
|
|
773
773
|
* **Note**: Not applicable to gauges and radar charts.
|
|
774
774
|
*/
|
|
775
|
-
accessor dataLabelFormatter:
|
|
775
|
+
accessor dataLabelFormatter: BarAndLineDataLabelFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback | undefined;
|
|
776
776
|
/**
|
|
777
777
|
* Disables all interactions on the chart.
|
|
778
778
|
*
|
|
@@ -785,7 +785,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
785
785
|
*
|
|
786
786
|
* **Note**: Only applicable to multi-series charts.
|
|
787
787
|
*
|
|
788
|
-
* @deprecated since 5.1. Use [
|
|
788
|
+
* @deprecated since 5.1. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendInteractionsDisabled) instead.
|
|
789
789
|
* @default false
|
|
790
790
|
*/
|
|
791
791
|
accessor disableTogglingLegendItems: boolean;
|
|
@@ -1011,6 +1011,15 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1011
1011
|
* @default "refresh"
|
|
1012
1012
|
*/
|
|
1013
1013
|
accessor layerRendererChangePolicy: LayerRendererChangePolicy;
|
|
1014
|
+
/**
|
|
1015
|
+
* When `true`, disables the toggling of series or slices from the legend items. Clicking on the legend items will not hide or show the corresponding elements on the chart.
|
|
1016
|
+
*
|
|
1017
|
+
* **Note**: Only applicable to charts with multiple series and while the legend is displayed.
|
|
1018
|
+
*
|
|
1019
|
+
* @default false
|
|
1020
|
+
* @since 5.2
|
|
1021
|
+
*/
|
|
1022
|
+
accessor legendInteractionsDisabled: boolean | undefined;
|
|
1014
1023
|
/**
|
|
1015
1024
|
* Sets the legend's position on the chart.
|
|
1016
1025
|
*
|
|
@@ -1747,6 +1756,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1747
1756
|
*
|
|
1748
1757
|
* **Note**: Only applicable to charts with multiple series and while the legend is displayed.
|
|
1749
1758
|
*
|
|
1759
|
+
* @deprecated since 5.2. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendInteractionsDisabled) instead.
|
|
1750
1760
|
* @default false
|
|
1751
1761
|
*/
|
|
1752
1762
|
accessor togglingLegendItemsDisabled: boolean | undefined;
|
|
@@ -1768,7 +1778,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1768
1778
|
*
|
|
1769
1779
|
* **Note**: Not applicable to gauges.
|
|
1770
1780
|
*/
|
|
1771
|
-
accessor tooltipFormatter:
|
|
1781
|
+
accessor tooltipFormatter: TooltipFormatters | undefined;
|
|
1772
1782
|
/**
|
|
1773
1783
|
* Whether to automatically add the missing series to cover the split-by values not referenced in the configuration.
|
|
1774
1784
|
* - This property only applies to plain chart configuration object that's constructed following the [WebChart](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChart) specification.
|
|
@@ -1846,6 +1856,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1846
1856
|
* - The "No data available to display" warning message will be displayed in the chart container.
|
|
1847
1857
|
*
|
|
1848
1858
|
* @default false
|
|
1859
|
+
* @since 5.2
|
|
1849
1860
|
*/
|
|
1850
1861
|
accessor zeroCountAsValid: boolean;
|
|
1851
1862
|
/**
|
|
@@ -1982,51 +1993,174 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1982
1993
|
* **Note**: Not applicable to gauges.
|
|
1983
1994
|
*/
|
|
1984
1995
|
switchSelection(): Promise<void>;
|
|
1985
|
-
/**
|
|
1996
|
+
/**
|
|
1997
|
+
* Emitted when the chart's axes minimum or maximum values are computed.
|
|
1998
|
+
*
|
|
1999
|
+
* @example
|
|
2000
|
+
* ```ts
|
|
2001
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2002
|
+
* chartElement.addEventListener("arcgisAxesMinMaxChange", (event) => {
|
|
2003
|
+
* const { bounds, model } = event.detail;
|
|
2004
|
+
* // Handle the new bounds and model
|
|
2005
|
+
* });
|
|
2006
|
+
* ```
|
|
2007
|
+
*/
|
|
1986
2008
|
readonly arcgisAxesMinMaxChange: import("@arcgis/lumina").TargetedEvent<this, AxesMinMaxChangePayload>;
|
|
1987
|
-
/**
|
|
2009
|
+
/**
|
|
2010
|
+
* Emitted when the chart's data is incompatible with its model. Bad data such as empty dataset, axis logarithmic scale being incompatible with the data will trigger this event.
|
|
2011
|
+
* The event details contain information about the error.
|
|
2012
|
+
*
|
|
2013
|
+
* @example
|
|
2014
|
+
* ```ts
|
|
2015
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2016
|
+
* chartElement.addEventListener("arcgisBadDataWarningRaise", (event) => {
|
|
2017
|
+
* const { keyword, header, message, params } = event.detail;
|
|
2018
|
+
* // Handle the bad data warning
|
|
2019
|
+
* });
|
|
2020
|
+
* ```
|
|
2021
|
+
*/
|
|
1988
2022
|
readonly arcgisBadDataWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
|
|
1989
|
-
/**
|
|
2023
|
+
/**
|
|
2024
|
+
* Emitted when the chart is not found for the given [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property with a valid [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId).
|
|
2025
|
+
*
|
|
2026
|
+
* @example
|
|
2027
|
+
* ```ts
|
|
2028
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2029
|
+
* chartElement.addEventListener("arcgisChartNotFoundWarning", (event) => {
|
|
2030
|
+
* const warningMessage = event.detail;
|
|
2031
|
+
* // Handle the warning message
|
|
2032
|
+
* });
|
|
2033
|
+
* ```
|
|
2034
|
+
*/
|
|
1990
2035
|
readonly arcgisChartNotFoundWarning: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
1991
|
-
/**
|
|
2036
|
+
/**
|
|
2037
|
+
* Emitted when the chart configuration is changed.
|
|
2038
|
+
*
|
|
2039
|
+
* @example
|
|
2040
|
+
* ```ts
|
|
2041
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2042
|
+
* chartElement.addEventListener("arcgisConfigChange", (event) => {
|
|
2043
|
+
* const { newConfig, oldConfig, functionCalled } = event.detail;
|
|
2044
|
+
* // Handle the configuration change
|
|
2045
|
+
* });
|
|
2046
|
+
* ```
|
|
2047
|
+
*/
|
|
1992
2048
|
readonly arcgisConfigChange: import("@arcgis/lumina").TargetedEvent<this, {
|
|
1993
2049
|
newConfig: WebChart | undefined;
|
|
1994
2050
|
oldConfig: WebChart | undefined;
|
|
1995
2051
|
functionCalled: string | undefined;
|
|
1996
2052
|
}>;
|
|
1997
2053
|
/**
|
|
1998
|
-
*
|
|
1999
|
-
*
|
|
2000
|
-
* For instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.
|
|
2054
|
+
* Emitted once the chart data has been fetched but not yet fully processed. This event can be used to see all the slices before they get grouped into the 'other' slice during the post-processing step for pie charts.
|
|
2055
|
+
* The event details contain the pie chart's data with its ungrouped slices.
|
|
2001
2056
|
*
|
|
2002
2057
|
* **Note**: Applicable to pie charts only.
|
|
2003
2058
|
*/
|
|
2004
2059
|
readonly arcgisDataFetchComplete: import("@arcgis/lumina").TargetedEvent<this, WebChartDataTypes>;
|
|
2005
|
-
/**
|
|
2060
|
+
/**
|
|
2061
|
+
* Emitted once the chart data is updated and any subsequent updates to the chart's data.
|
|
2062
|
+
* The event details contain the chart's data.
|
|
2063
|
+
*
|
|
2064
|
+
* @example
|
|
2065
|
+
* ```ts
|
|
2066
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2067
|
+
* chartElement.addEventListener("arcgisDataProcessComplete", (event) => {
|
|
2068
|
+
* const { chartData, model } = event.detail;
|
|
2069
|
+
* // Handle the processed chart data
|
|
2070
|
+
* });
|
|
2071
|
+
* ```
|
|
2072
|
+
*/
|
|
2006
2073
|
readonly arcgisDataProcessComplete: import("@arcgis/lumina").TargetedEvent<this, DataProcessCompletePayload>;
|
|
2007
|
-
/**
|
|
2074
|
+
/**
|
|
2075
|
+
* Emitted when an error occurred while fetching or processing the data for the chart.
|
|
2076
|
+
*
|
|
2077
|
+
* @example
|
|
2078
|
+
* ```ts
|
|
2079
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2080
|
+
* chartElement.addEventListener("arcgisDataProcessError", () => {
|
|
2081
|
+
* // Handle the data process error
|
|
2082
|
+
* });
|
|
2083
|
+
* ```
|
|
2084
|
+
*/
|
|
2008
2085
|
readonly arcgisDataProcessError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
2009
2086
|
/**
|
|
2010
|
-
*
|
|
2087
|
+
* Emitted when an invalid configuration is detected.
|
|
2011
2088
|
*
|
|
2012
2089
|
* @deprecated since 5.1. Won't be replaced.
|
|
2013
2090
|
*/
|
|
2014
2091
|
readonly arcgisInvalidConfigWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
|
|
2015
|
-
/**
|
|
2092
|
+
/**
|
|
2093
|
+
* Emitted once a legend item visibility has been changed.
|
|
2094
|
+
* The event details contain the toggled item's visibility and related information (series or slice id).
|
|
2095
|
+
*
|
|
2096
|
+
* @example
|
|
2097
|
+
* ```ts
|
|
2098
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2099
|
+
* chartElement.addEventListener("arcgisLegendItemVisibilityChange", (event) => {
|
|
2100
|
+
* const { legendItemVisibility, model } = event.detail;
|
|
2101
|
+
* // Handle the legend item visibility change
|
|
2102
|
+
* });
|
|
2103
|
+
* ```
|
|
2104
|
+
*/
|
|
2016
2105
|
readonly arcgisLegendItemVisibilityChange: import("@arcgis/lumina").TargetedEvent<this, LegendItemVisibilityChangePayload>;
|
|
2017
|
-
/**
|
|
2106
|
+
/** Emitted when a no-render property ([rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated), [legendPosition](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendPosition), [legendVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendVisibility), [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) and [featureIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#featureIndex)) is changed. */
|
|
2018
2107
|
readonly arcgisNoRenderPropChange: import("@arcgis/lumina").TargetedEvent<this, NoRenderPropChangePayload>;
|
|
2019
|
-
/**
|
|
2108
|
+
/**
|
|
2109
|
+
* Emitted once the chart is created and the rendering is complete. This event also emits with any subsequent chart updates, including when the chart is refreshed or when the configuration is changed.
|
|
2110
|
+
*
|
|
2111
|
+
* @example
|
|
2112
|
+
* ```ts
|
|
2113
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2114
|
+
* chartElement.addEventListener("arcgisRenderingComplete", () => {
|
|
2115
|
+
* // Handle the rendering complete event
|
|
2116
|
+
* });
|
|
2117
|
+
*/
|
|
2020
2118
|
readonly arcgisRenderingComplete: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
2021
|
-
/**
|
|
2119
|
+
/**
|
|
2120
|
+
* Emitted when an error occurred that prevents the chart from being created or updated.
|
|
2121
|
+
*
|
|
2122
|
+
* @example
|
|
2123
|
+
* ```ts
|
|
2124
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2125
|
+
* chartElement.addEventListener("arcgisRuntimeError", () => {
|
|
2126
|
+
* // Handle the runtime error
|
|
2127
|
+
* });
|
|
2128
|
+
*/
|
|
2022
2129
|
readonly arcgisRuntimeError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
2023
|
-
/**
|
|
2130
|
+
/**
|
|
2131
|
+
* Emitted when a selection is applied to the chart.
|
|
2132
|
+
* The [`selectionData`](/references/charts-components/utils/misc/interfaces/#SelectionData) event detail contains various information about the selection, including the selected OIDs.
|
|
2133
|
+
*
|
|
2134
|
+
* @example
|
|
2135
|
+
* ```ts
|
|
2136
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2137
|
+
* chartElement.addEventListener("arcgisSelectionComplete", (event) => {
|
|
2138
|
+
* const { selectionData, model } = event.detail;
|
|
2139
|
+
* // Handle the selection complete event
|
|
2140
|
+
* });
|
|
2141
|
+
* ```
|
|
2142
|
+
*/
|
|
2024
2143
|
readonly arcgisSelectionComplete: import("@arcgis/lumina").TargetedEvent<this, SelectionCompletePayload>;
|
|
2025
|
-
/**
|
|
2144
|
+
/** Emitted once one of the chart's series color has been assigned or changed. */
|
|
2026
2145
|
readonly arcgisSeriesColorChange: import("@arcgis/lumina").TargetedEvent<this, SeriesColorChangePayload>;
|
|
2027
|
-
/**
|
|
2146
|
+
/**
|
|
2147
|
+
* Emitted when the chart is created and at every update to confirm the order of the series on the chart.
|
|
2148
|
+
* The event details contain the modified series' indexes and names.
|
|
2149
|
+
*
|
|
2150
|
+
* @example
|
|
2151
|
+
* ```ts
|
|
2152
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
2153
|
+
* chartElement.addEventListener("arcgisSeriesOrder", (event) => {
|
|
2154
|
+
* // Handle the series order change
|
|
2155
|
+
* });
|
|
2156
|
+
* ```
|
|
2157
|
+
*/
|
|
2028
2158
|
readonly arcgisSeriesOrder: import("@arcgis/lumina").TargetedEvent<this, string[]>;
|
|
2029
|
-
/**
|
|
2159
|
+
/**
|
|
2160
|
+
* Emitted once the chart is updated.
|
|
2161
|
+
*
|
|
2162
|
+
* @deprecated since 5.2. Use [@arcgisRenderingComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisRenderingComplete) instead.
|
|
2163
|
+
*/
|
|
2030
2164
|
readonly arcgisUpdateComplete: import("@arcgis/lumina").TargetedEvent<this, ValidationStatus>;
|
|
2031
2165
|
readonly "@eventTypes": {
|
|
2032
2166
|
arcgisAxesMinMaxChange: ArcgisChart["arcgisAxesMinMaxChange"]["detail"];
|