@arcgis/charts-components 5.1.0-next.85 → 5.1.0-next.86

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.
Files changed (183) hide show
  1. package/dist/cdn/{4JYFPXNP.js → 27R3TDQ3.js} +1 -1
  2. package/dist/cdn/{TRBZZLQ4.js → 2P5TV6TZ.js} +1 -1
  3. package/dist/cdn/{QBGYIPDE.js → 2PY6XJ5J.js} +32 -32
  4. package/dist/cdn/{E2TM7BJP.js → 2YZFLCHV.js} +1 -1
  5. package/dist/cdn/{R3KMZ5JQ.js → 3UGQ33ZJ.js} +1 -1
  6. package/dist/cdn/45N4ERUO.js +2 -0
  7. package/dist/cdn/{UUKLISLI.js → 4OBWKQXV.js} +1 -1
  8. package/dist/cdn/{54XEB3TI.js → 5C6NKK2M.js} +1 -1
  9. package/dist/cdn/{YWCBY5V6.js → 5P2CIK73.js} +1 -1
  10. package/dist/cdn/{3DN4ZRPN.js → 6CGIXX6D.js} +1 -1
  11. package/dist/cdn/{G7SW4EUO.js → 6FI7BQHR.js} +1 -1
  12. package/dist/cdn/{LQGOVHK5.js → 6TU7TELQ.js} +1 -1
  13. package/dist/cdn/{XXZLJJUD.js → 6U3ROWZZ.js} +1 -1
  14. package/dist/cdn/{YDR7QMVT.js → 7BU2NYJF.js} +1 -1
  15. package/dist/cdn/{4M44GUGJ.js → 7FAH7JCG.js} +1 -1
  16. package/dist/cdn/{64LZP4QQ.js → AOBR2FZX.js} +1 -1
  17. package/dist/cdn/{SUAG7EYU.js → AUF6Z2XS.js} +1 -1
  18. package/dist/cdn/{NT6PM5XH.js → AWKPSK42.js} +1 -1
  19. package/dist/cdn/{DLKG6DVQ.js → B2EZWE7S.js} +1 -1
  20. package/dist/cdn/{RL2K7DDP.js → BQAMQZ3V.js} +1 -1
  21. package/dist/cdn/{NFHOSKHP.js → DNF2AXKJ.js} +1 -1
  22. package/dist/cdn/{PNXMBMZW.js → DPB4UM43.js} +1 -1
  23. package/dist/cdn/{MO6SHL7R.js → E236NXER.js} +1 -1
  24. package/dist/cdn/{TUAKPBN6.js → E5GUU5JX.js} +1 -1
  25. package/dist/cdn/{NSIRDSJE.js → ECWZPFK5.js} +1 -1
  26. package/dist/cdn/{I346TCJF.js → EDG6NE3Q.js} +1 -1
  27. package/dist/cdn/{NGG777T3.js → EVB7GUKT.js} +2 -2
  28. package/dist/cdn/EVQPWQQD.js +99 -0
  29. package/dist/cdn/{DMFLHZHN.js → FEOJNWJU.js} +1 -1
  30. package/dist/cdn/{EF2W7QYA.js → FTGZEUG5.js} +1 -1
  31. package/dist/cdn/{KOP2PBMW.js → FTMDNRQ4.js} +1 -1
  32. package/dist/cdn/G37XSGAU.js +2 -0
  33. package/dist/cdn/{DJ2U4EHB.js → GIDKEEAF.js} +1 -1
  34. package/dist/cdn/{EQTKAWX7.js → GKB2KMVK.js} +1 -1
  35. package/dist/cdn/{4T6ARKXI.js → H4V744QH.js} +1 -1
  36. package/dist/cdn/H5LAP626.js +2 -0
  37. package/dist/cdn/{X43NGKXD.js → IO7XSZZJ.js} +1 -1
  38. package/dist/cdn/{6ZQWP3MJ.js → J55BL4K2.js} +1 -1
  39. package/dist/cdn/{PNDSQQ5E.js → JBWZAGT4.js} +1 -1
  40. package/dist/cdn/{JKNNRHD2.js → JJVDA3DN.js} +1 -1
  41. package/dist/cdn/JK4I5WFK.js +2 -0
  42. package/dist/cdn/{BCCYIEWA.js → JMR3NFDK.js} +1 -1
  43. package/dist/cdn/{HLWXN26K.js → JRBIKCLX.js} +1 -1
  44. package/dist/cdn/{XP5EHKK5.js → JVUPGGG4.js} +1 -1
  45. package/dist/cdn/{7R74WZE5.js → KMIWEAU6.js} +1 -1
  46. package/dist/cdn/{EPJKU44A.js → KSO34SAO.js} +1 -1
  47. package/dist/cdn/{VICPGXIO.js → L4V7IFLS.js} +1 -1
  48. package/dist/cdn/{ZZ6ZKTOB.js → LCPXJOVJ.js} +1 -1
  49. package/dist/cdn/{ABINJ3BK.js → LLMY5OHZ.js} +1 -1
  50. package/dist/cdn/{4NGF4CFB.js → LRKPA44Q.js} +1 -1
  51. package/dist/cdn/{UP66E6QT.js → MXWWYMFC.js} +1 -1
  52. package/dist/cdn/{3EZT4DMV.js → MZP3HKKC.js} +1 -1
  53. package/dist/cdn/{DCK2YGKJ.js → N5SWE4NH.js} +1 -1
  54. package/dist/cdn/{5FR6VDUA.js → N72YIV7E.js} +1 -1
  55. package/dist/cdn/{GY72PUJO.js → NGI7H6FA.js} +1 -1
  56. package/dist/cdn/{PVGB35UN.js → NL5S3OE6.js} +1 -1
  57. package/dist/cdn/{6WHMWFQV.js → NPB7D5KA.js} +1 -1
  58. package/dist/cdn/{XDQXFURT.js → NZW6ACIT.js} +1 -1
  59. package/dist/cdn/{OFVDF7MK.js → O2LUS7QH.js} +1 -1
  60. package/dist/cdn/{AU5I6VM4.js → OQNYW7IP.js} +1 -1
  61. package/dist/cdn/{5KBAXDQP.js → OZJAKFKE.js} +1 -1
  62. package/dist/cdn/{KQPSYN5C.js → P5PYOHCA.js} +1 -1
  63. package/dist/cdn/{ESPYLUAE.js → PE3FCPYX.js} +1 -1
  64. package/dist/cdn/{G6DYYIOL.js → PHEGFURT.js} +1 -1
  65. package/dist/cdn/{IWIH7WUN.js → Q2EXXGKR.js} +1 -1
  66. package/dist/cdn/{7HR7XH2G.js → Q4T4D2LB.js} +1 -1
  67. package/dist/cdn/{WAOI2ELL.js → QC5B3B6A.js} +1 -1
  68. package/dist/cdn/{U436QJR4.js → QULJVW56.js} +1 -1
  69. package/dist/cdn/{CRP74XRF.js → RAYEVTTF.js} +1 -1
  70. package/dist/cdn/{N333UOH4.js → RFBBY6PC.js} +1 -1
  71. package/dist/cdn/{VF57GKNK.js → RI3UECXS.js} +1 -1
  72. package/dist/cdn/{I3F7HHTI.js → RNDCOMA2.js} +1 -1
  73. package/dist/cdn/{6LEDHDVS.js → S7T24OCU.js} +1 -1
  74. package/dist/cdn/{45UZ5A2P.js → TBLK3BOQ.js} +1 -1
  75. package/dist/cdn/{XBPOWLBI.js → TS4AXHNJ.js} +1 -1
  76. package/dist/cdn/{QXUDRWYI.js → UBDNMJPP.js} +1 -1
  77. package/dist/cdn/{H6CD2WG5.js → UMK53D2L.js} +1 -1
  78. package/dist/cdn/{UVWAABXY.js → VGFOPTRV.js} +1 -1
  79. package/dist/cdn/{TMCW2LUV.js → VK7C24TQ.js} +1 -1
  80. package/dist/cdn/{NG4T3CM7.js → VMYL36WS.js} +1 -1
  81. package/dist/cdn/{ZXHUZALT.js → VYWV24JN.js} +1 -1
  82. package/dist/cdn/{TXUK6Z75.js → W44VQVU5.js} +1 -1
  83. package/dist/cdn/{SN3JJXMR.js → WHVMPOF6.js} +1 -1
  84. package/dist/cdn/{7CQDF63V.js → WPIPMEWS.js} +1 -1
  85. package/dist/cdn/{Q5N7EDBG.js → WZ2UHREI.js} +1 -1
  86. package/dist/cdn/{ADAJBZRP.js → YG3PYTVU.js} +1 -1
  87. package/dist/cdn/{MPEXW6QX.js → YZABL4ES.js} +1 -1
  88. package/dist/cdn/{5JYTP6ED.js → Z4W5GME2.js} +1 -1
  89. package/dist/cdn/index.js +1 -1
  90. package/dist/chart-rendering/common/interfaces.d.ts +5 -0
  91. package/dist/chunks/axis-lines-symbol.js +12 -12
  92. package/dist/chunks/bar-chart-model.js +3 -3
  93. package/dist/chunks/box-plot-data.js +52 -52
  94. package/dist/chunks/box-plot-model.js +8 -8
  95. package/dist/chunks/chart-model.js +34 -34
  96. package/dist/chunks/chart-ui-utils2.js +8 -8
  97. package/dist/chunks/class-breaks.js +10 -10
  98. package/dist/chunks/combo-bar-line-chart-model.js +11 -11
  99. package/dist/chunks/data-labels-symbol.js +1 -1
  100. package/dist/chunks/data.js +20 -20
  101. package/dist/chunks/gauge-model.js +14 -14
  102. package/dist/chunks/generate-x-axis-title.js +1 -1
  103. package/dist/chunks/heat-chart-model.js +5 -5
  104. package/dist/chunks/histogram-data.js +8 -8
  105. package/dist/chunks/histogram-model.js +7 -7
  106. package/dist/chunks/index.js +1918 -1773
  107. package/dist/chunks/index2.js +60 -60
  108. package/dist/chunks/index3.js +10 -10
  109. package/dist/chunks/interfaces.js +5 -5
  110. package/dist/chunks/line-chart-model.js +7 -7
  111. package/dist/chunks/model-setter.js +3 -3
  112. package/dist/chunks/model-with-guides.js +7 -7
  113. package/dist/chunks/model-with-tooltips.js +21 -21
  114. package/dist/chunks/model-with-y-guides.js +9 -9
  115. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  116. package/dist/chunks/pie-chart-data.js +16 -16
  117. package/dist/chunks/pie-chart-model.js +12 -12
  118. package/dist/chunks/radar-chart-model.js +5 -5
  119. package/dist/chunks/rotated-state.js +1 -1
  120. package/dist/chunks/scatterplot-model.js +63 -63
  121. package/dist/chunks/serial-chart-data.js +208 -208
  122. package/dist/chunks/serial-chart-model.js +19 -19
  123. package/dist/chunks/series-length.js +1 -1
  124. package/dist/chunks/series.js +1 -1
  125. package/dist/chunks/{action-bar-utils.js → type-guards2.js} +33 -25
  126. package/dist/chunks/utils.js +35 -35
  127. package/dist/chunks/utils2.js +5 -5
  128. package/dist/chunks/web-component-utils.js +12 -12
  129. package/dist/components/arcgis-chart/customElement.d.ts +93 -55
  130. package/dist/components/arcgis-chart/customElement.js +4294 -4271
  131. package/dist/components/arcgis-charts-action-bar/customElement.js +35 -38
  132. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +11 -11
  134. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +12 -12
  135. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  137. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  139. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
  140. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  141. package/dist/components/arcgis-charts-config-create-flow/customElement.js +3 -3
  142. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  144. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
  147. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
  148. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
  150. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -5
  153. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +10 -10
  154. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -4
  157. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
  159. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  160. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  161. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
  162. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  163. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  164. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  165. package/dist/docs/api.json +1 -1
  166. package/dist/docs/docs.json +1 -1
  167. package/dist/docs/vscode.html-custom-data.json +1 -1
  168. package/dist/docs/web-types.json +1 -1
  169. package/dist/index.js +395 -392
  170. package/dist/interfaces.d.ts +2 -1
  171. package/dist/json-schema/index.d.ts +79 -2
  172. package/dist/spec/rest-js-types.d.ts +15 -0
  173. package/dist/spec/web-chart.d.ts +2 -2
  174. package/dist/utils/chart-config/validator/index.d.ts +2 -0
  175. package/dist/utils/data/interfaces.d.ts +2 -0
  176. package/dist/utils/layer/index.d.ts +7 -12
  177. package/dist/utils/layer/utils/index.d.ts +1 -1
  178. package/package.json +3 -3
  179. package/dist/cdn/LNB6B5WL.js +0 -2
  180. package/dist/cdn/SL2YX32M.js +0 -2
  181. package/dist/cdn/TQNTRGWQ.js +0 -99
  182. package/dist/cdn/UE5DMUQ3.js +0 -2
  183. package/dist/cdn/YPCD27EC.js +0 -2
@@ -45,23 +45,23 @@ export abstract class ArcgisChart extends LitElement {
45
45
  * - `none`: No action is performed on user interaction.
46
46
  * - `zoom`: Zoom into a specific area of the chart.
47
47
  *
48
- * **Note**: Not applicable to gauge.
48
+ * **Note**: Not applicable to gauges.
49
49
  */
50
50
  accessor actionMode: ActionModes | undefined;
51
51
  /**
52
- * Whether to allow the object id to be used as a statistic other than `COUNT`.
52
+ * Whether to allow the object id to be used as a statistic other than `Count`.
53
53
  *
54
54
  * @default false
55
55
  */
56
56
  accessor allowUsingObjectIdStat: boolean;
57
57
  /**
58
- * The ARIA attributes for the chart.
58
+ * 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).
59
59
  *
60
60
  * @since 5.0
61
61
  */
62
62
  accessor aria: DOMContainerAria;
63
63
  /**
64
- * When `true`, the chart will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the chart to a different place on the page, or temporarily hide it.
64
+ * 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.
65
65
  *
66
66
  * @default false
67
67
  * @since 5.0
@@ -78,6 +78,8 @@ export abstract class ArcgisChart extends LitElement {
78
78
  * When `true`, the data label text color is automatically adjusted for readability based on its background.
79
79
  * 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.
80
80
  *
81
+ * **Note**: Applicable to heat charts only.
82
+ *
81
83
  * @default false
82
84
  */
83
85
  accessor autoInverseDataLabelTextColor: boolean;
@@ -95,19 +97,19 @@ export abstract class ArcgisChart extends LitElement {
95
97
  */
96
98
  accessor chartIndex: number | undefined;
97
99
  /**
98
- * Used to customize the number maximum of bars allowed on the chart.
100
+ * Customize the maximum number of series allowed on the chart.
99
101
  *
100
102
  * The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
101
103
  * or update of the chart, or render the elements up to the given limits.
102
104
  *
103
- * **Note**: Not applicable to gauge.
105
+ * **Note**: Not applicable to gauges.
104
106
  */
105
107
  accessor chartLimits: ChartElementLimit | undefined;
106
108
  /**
107
109
  * Lifecycle function executed after the data has been processed and before the chart renders.
108
- * Can be used to alter the config from information extracted from the data for instance.
110
+ * Can be used to alter the model from information extracted from the data.
109
111
  *
110
- * **Note**: Applicable to gauge and pie chart only.
112
+ * **Note**: Applicable to gauges and pie charts only.
111
113
  */
112
114
  accessor chartWillRender: PreRenderCallback | undefined;
113
115
  /**
@@ -640,13 +642,13 @@ export abstract class ArcgisChart extends LitElement {
640
642
  * - `y-axis`: Allows to draw a rectangle bound to the y-axis.
641
643
  * - `undefined`: Defaults to the preset behavior according to the chart type and action mode.
642
644
  *
643
- * **Note**: Not applicable to gauge.
645
+ * **Note**: Not applicable to gauges.
644
646
  */
645
647
  accessor cursorRange: CursorRange | undefined;
646
648
  /**
647
- * A callback function used to format the data labels. If the returned string contains HTML tags they will be interpreted as such.
649
+ * Callback function used to format the data labels. If the returned string contains HTML tags they will be interpreted as such.
648
650
  *
649
- * **Note**: Not applicable to gauge.
651
+ * **Note**: Not applicable to gauges.
650
652
  */
651
653
  accessor dataLabelFormatter: ChartOptions["dataLabelFormatter"] | undefined;
652
654
  /**
@@ -656,7 +658,7 @@ export abstract class ArcgisChart extends LitElement {
656
658
  */
657
659
  accessor disableInteractions: boolean;
658
660
  /**
659
- * Disables the toggling of series via the legend items.
661
+ * Disables the toggling of series from the legend items.
660
662
  *
661
663
  * **Note**: Only applicable to multi-series charts.
662
664
  *
@@ -711,7 +713,7 @@ export abstract class ArcgisChart extends LitElement {
711
713
  /**
712
714
  * The index of the feature to render when using a feature based gauge.
713
715
  *
714
- * **Note**: Only applicable to gauge.
716
+ * **Note**: Only applicable to gauges.
715
717
  *
716
718
  * @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.
717
719
  */
@@ -725,29 +727,28 @@ export abstract class ArcgisChart extends LitElement {
725
727
  /**
726
728
  * When `true`, all chart elements are filtered based on the selection.
727
729
  *
728
- * **Note**: Not applicable to gauge.
729
- * Not applicable to imagery layer charts.
730
+ * **Note**: Not applicable to gauges or charts configured with imagery layers.
730
731
  *
731
732
  * @default false
732
733
  */
733
734
  accessor filterBySelection: boolean;
734
735
  /**
735
- * A callback function used to format the gauge inner label. If the returned string contains HTML tags they will be interpreted as such.
736
+ * Callback function used to format the gauge inner label. If the returned string contains HTML tags they will be interpreted as such.
736
737
  *
737
- * **Note**: Applicable to gauge only.
738
+ * **Note**: Applicable to gauges only.
738
739
  */
739
740
  accessor gaugeInnerLabelFormatter: GaugeInnerLabelFormatCallback | undefined;
740
741
  /**
741
- * A callback function used to format the axes guides tooltip. If the returned string contains HTML tags they will be interpreted as such.
742
+ * Callback function used to format the axes guides tooltip. If the returned string contains HTML tags they will be interpreted as such.
742
743
  *
743
- * **Note**: Not applicable to pie chart.
744
+ * **Note**: Not applicable to pie charts.
744
745
  */
745
746
  accessor guideTooltipFormatter: GuideTooltipFormatCallback | undefined;
746
747
  /**
747
748
  * When `true`, the empty series are completely hidden from the chart and the legend.
748
749
  * For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
749
750
  *
750
- * **Note**: Not applicable to gauge.
751
+ * **Note**: Not applicable to gauges.
751
752
  *
752
753
  * @deprecated since 5.1. Use [showEmptySeries](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#showEmptySeries) instead.
753
754
  * @default false
@@ -796,7 +797,7 @@ export abstract class ArcgisChart extends LitElement {
796
797
  * It's recommended that this property should only be set to `true` for small datasets.
797
798
  * When left `undefined`, will be treated as `false`.
798
799
  *
799
- * **Note**: Applicable to line chart only.
800
+ * **Note**: Applicable to line charts only.
800
801
  *
801
802
  * @deprecated since 5.1. Won't be replaced.
802
803
  * @default false
@@ -806,7 +807,7 @@ export abstract class ArcgisChart extends LitElement {
806
807
  * This property will be effective when the component's `view` is provided or when the `layer` is set to a FeatureLayerView.
807
808
  *
808
809
  * By default the queries made by the chart will consider the view's extent as the unique geometry filter applicable. This implies ignoring any
809
- * geometry passed through the config (`component.config.dataFilters`) or the runtime filters (`component.runtimeDataFilters`).
810
+ * geometry passed through the model (`component.model.dataFilters`) or the runtime filters (`component.runtimeDataFilters`).
810
811
  *
811
812
  * Setting this property to `false` signals the queries to ignore the view's extent, whether an additional geometry filter is provided or not.
812
813
  *
@@ -846,7 +847,7 @@ export abstract class ArcgisChart extends LitElement {
846
847
  /**
847
848
  * Allows the chart to update automatically when the layer's renderer changes.
848
849
  *
849
- * Applies when the color match feature is enabled.
850
+ * Applies when the color match is enabled.
850
851
  *
851
852
  * **Note**: If the property is set to `ignore` the chart will use the layer's renderer information when the data is updated.
852
853
  *
@@ -856,7 +857,7 @@ export abstract class ArcgisChart extends LitElement {
856
857
  /**
857
858
  * Sets the legend's position on the chart.
858
859
  *
859
- * **Note**: Not applicable to gauge.
860
+ * **Note**: Not applicable to gauges.
860
861
  *
861
862
  * @deprecated since 5.0. Use charts model's [legendPosition](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#legendPosition) prop instead.
862
863
  */
@@ -865,19 +866,27 @@ export abstract class ArcgisChart extends LitElement {
865
866
  * A callback function used to format the legend value labels. If the returned string contains HTML tags they will be interpreted as such.
866
867
  * If provided, the formatter will be used if at least `WebChartPieChartLegend.displayNumericValue` or `WebChartPieChartLegend.displayPercentage` is true.
867
868
  *
868
- * **Note**: Applicable to pie chart only.
869
+ * **Note**: Applicable to pie charts only.
869
870
  */
870
871
  accessor legendValueLabelFormatter: PieChartLegendValueLabelFormatCallback | undefined;
871
872
  /**
872
873
  * When `true`, the legend is visible on the chart.
873
874
  *
874
- * **Note**: Not applicable to gauge.
875
+ * **Note**: Not applicable to gauges.
875
876
  *
876
877
  * @deprecated since 5.0. Use charts model's [legendVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#legendVisibility) prop instead.
877
878
  * @default false
878
879
  */
879
880
  accessor legendVisibility: boolean;
880
- /** Defines the colors for the loader animation. */
881
+ /**
882
+ * Defines the colors for the loader animation.
883
+ *
884
+ * @example
885
+ * ```ts
886
+ * // Set a blue curtain and a red spinner for the loader animation
887
+ * myChart.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
888
+ * ```
889
+ */
881
890
  accessor loaderColors: LoaderColors | undefined;
882
891
  /** Custom message overrides for the chart's strings. */
883
892
  accessor messageOverrides: { chartNotFoundWarning?: string | undefined; } & {
@@ -1142,7 +1151,7 @@ export abstract class ArcgisChart extends LitElement {
1142
1151
  /**
1143
1152
  * Provides an API to interact with the chart's configuration.
1144
1153
  *
1145
- * **Note**: This property has a union type of `ChartModel | WebChart` meaning a raw chart config object can be passed to it instead, however it is recommended to use a `ChartModel` instance whenever possible.
1154
+ * **Note**: This property has a union type of `ChartModel | WebChart` meaning a raw chart configuration object can be passed to it instead, however it is recommended to use the `ChartModel` instance whenever possible.
1146
1155
  */
1147
1156
  accessor model: ChartModel | WebChart | undefined;
1148
1157
  /**
@@ -1156,14 +1165,14 @@ export abstract class ArcgisChart extends LitElement {
1156
1165
  /** A placeholder string to provides a brief hint to the user indicating needed information for creating a chart. */
1157
1166
  accessor placeholder: string | undefined;
1158
1167
  /**
1159
- * Builds charts sequentially instead of rendering them all at once
1168
+ * Builds charts sequentially instead of rendering them all at once.
1160
1169
  *
1161
1170
  * @deprecated since 5.1. Use [skipChartCreationQueue](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#skipChartCreationQueue) instead.
1162
1171
  * @default false
1163
1172
  */
1164
1173
  accessor queueChartCreation: boolean | undefined;
1165
1174
  /**
1166
- * When `true`, the chart's dataItems associated with empty (no value) categories (from only a `Count` aggregation)
1175
+ * When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
1167
1176
  * will be populated with 0s, via the `completeDataForEmptyCategoriesWithZeros` method.
1168
1177
  *
1169
1178
  * @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
@@ -1178,7 +1187,7 @@ export abstract class ArcgisChart extends LitElement {
1178
1187
  *
1179
1188
  * The extent (`IExtent`) is returned through a property called `arcgis_charts_features_extent`.
1180
1189
  *
1181
- * **Note**: Not applicable to gauge.
1190
+ * **Note**: Not applicable to gauges.
1182
1191
  *
1183
1192
  * @default false
1184
1193
  */
@@ -1186,7 +1195,7 @@ export abstract class ArcgisChart extends LitElement {
1186
1195
  /**
1187
1196
  * When `true`, the selection indexes will be computed whenever a selection is made on or passed to the chart.
1188
1197
  *
1189
- * **Note**: Not applicable to gauge.
1198
+ * **Note**: Not applicable to gauges.
1190
1199
  *
1191
1200
  * @default false
1192
1201
  */
@@ -1195,8 +1204,7 @@ export abstract class ArcgisChart extends LitElement {
1195
1204
  * When `true`, the object ids will be computed whenever a selection is made on or passed to the chart.
1196
1205
  * Only considered for a data source using a feature layer.
1197
1206
  *
1198
- * **Note**: Not applicable to gauge.
1199
- * Not applicable to imagery layer charts. It's always `false` for imagery layers. No object ids will be computed.
1207
+ * **Note**: Not applicable to gauges or charts configured with imagery layers. It's always `false` for imagery layers. No object ids will be computed.
1200
1208
  *
1201
1209
  * @default false
1202
1210
  */
@@ -1210,19 +1218,28 @@ export abstract class ArcgisChart extends LitElement {
1210
1218
  * @default false
1211
1219
  */
1212
1220
  accessor rotation: boolean;
1213
- /** Applies runtime data filters to the chart. */
1221
+ /**
1222
+ * Applies runtime data filters to the chart.
1223
+ *
1224
+ * @example
1225
+ * ```ts
1226
+ * myChart.runtimeDataFilters = {
1227
+ * where: "FieldValue = 9",
1228
+ * };
1229
+ * ```
1230
+ */
1214
1231
  accessor runtimeDataFilters: WebChartDataFilters | undefined;
1215
1232
  /**
1216
- * A callback function used to format the secondary y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1233
+ * Callback function used to format the secondary y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1217
1234
  * The property will be effective only if 3 axes are defined (dual axis chart).
1218
1235
  *
1219
- * **Note**: Not applicable to pie chart or gauge.
1236
+ * **Note**: Appliable to bar charts, line charts, combo bar line charts and radar charts.
1220
1237
  */
1221
1238
  accessor secondaryYAxisLabelFormatter: AxisLabelFormatCallback | undefined;
1222
1239
  /**
1223
1240
  * When this property is set, it will apply a selection on the chart matching the provided selection.
1224
1241
  *
1225
- * **Note**: Not applicable to gauge.
1242
+ * **Note**: Not applicable to gauges.
1226
1243
  */
1227
1244
  accessor selectionData: SelectionData | undefined;
1228
1245
  /**
@@ -1237,7 +1254,23 @@ export abstract class ArcgisChart extends LitElement {
1237
1254
  * - If no style is provided for the selected elements, a default selection is applied.
1238
1255
  * - If no style is provided for the non selected elements, the chart's style is applied.
1239
1256
  *
1240
- * **Note**: Not applicable to gauge.
1257
+ * **Note**: Not applicable to gauges.
1258
+ *
1259
+ * * \@example
1260
+ * ```ts
1261
+ * myChart.selectionTheme = {
1262
+ * "selectedElementsTheme": {
1263
+ * "transformation": {
1264
+ * "scale": 1.2
1265
+ * }
1266
+ * },
1267
+ * "nonSelectedElementsTheme": {
1268
+ * "transformation": {
1269
+ * "opacity": 0.5
1270
+ * }
1271
+ * }
1272
+ * }
1273
+ * ```
1241
1274
  */
1242
1275
  accessor selectionTheme: SelectionTheme | undefined;
1243
1276
  /**
@@ -1254,7 +1287,7 @@ export abstract class ArcgisChart extends LitElement {
1254
1287
  * When `false`, the empty series are completely hidden from the chart and the legend.
1255
1288
  * For example a series can be empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
1256
1289
  *
1257
- * **Note**: Not applicable to gauge.
1290
+ * **Note**: Not applicable to gauges.
1258
1291
  *
1259
1292
  * @default false
1260
1293
  * @since 5.1
@@ -1277,9 +1310,7 @@ export abstract class ArcgisChart extends LitElement {
1277
1310
  /**
1278
1311
  * Whether to skip the chart rendering queue.
1279
1312
  *
1280
- * When `true`, charts will render immediately without waiting for other charts
1281
- * to finish rendering. This bypasses the queuing mechanism used by `amChartsOptions.queue`.
1282
- *
1313
+ * When `true`, charts will render immediately without waiting for other charts to finish rendering.
1283
1314
  * When `false` (default), charts are queued so that only one chart renders at a time.
1284
1315
  *
1285
1316
  * @default false
@@ -1309,15 +1340,22 @@ export abstract class ArcgisChart extends LitElement {
1309
1340
  /** Used to set a custom time zone for the chart. */
1310
1341
  accessor timeZone: MapView["timeZone"] | undefined;
1311
1342
  /**
1312
- * A callback function used to format the tooltips. If the returned string contains HTML tags they will be interpreted as such.
1343
+ * Callback function used to format the tooltips. If the returned string contains HTML tags they will be interpreted as such.
1313
1344
  *
1314
- * **Note**: Not applicable to gauge.
1345
+ * @example
1346
+ * ```ts
1347
+ * myChart.tooltipFormatter = ({ statValue }) => {
1348
+ * return `<b>Custom tooltip</b> for ${statValue}`;
1349
+ * };
1350
+ * ```
1351
+ *
1352
+ * **Note**: Not applicable to gauges.
1315
1353
  */
1316
1354
  accessor tooltipFormatter: ChartOptions["tooltipFormatter"] | undefined;
1317
1355
  /**
1318
1356
  * Whether to update the series when the data updates while the chart uses a split-by field configuration.
1319
1357
  *
1320
- * If `addMissingSeries` is set to `true` the missing series will be added to cover the split-by values not referenced by the config.
1358
+ * If `addMissingSeries` is set to `true` the missing series will be added to cover the split-by values not referenced by the model.
1321
1359
  * The default information from the property `updateSplitBySeries.seriesTemplate` will be applied to the new series.
1322
1360
  *
1323
1361
  * **Note**: Applicable only to bar chart, line chart and box plot when a split-by field is used.
@@ -1340,21 +1378,21 @@ export abstract class ArcgisChart extends LitElement {
1340
1378
  /**
1341
1379
  * Whether the chart should be refreshed when the view's time extent changes.
1342
1380
  *
1343
- * **Note**: Not supported for histogram.
1381
+ * **Note**: Not applicable for histograms.
1344
1382
  *
1345
1383
  * @default "ignore"
1346
1384
  */
1347
1385
  accessor viewTimeExtentChangePolicy: ViewTimeExtentChangePolicy;
1348
1386
  /**
1349
- * A callback function used to format the x-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1387
+ * Callback function used to format the x-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1350
1388
  *
1351
- * **Note**: Not applicable to pie chart.
1389
+ * **Note**: Not applicable to pie charts.
1352
1390
  */
1353
1391
  accessor xAxisLabelFormatter: AxisLabelFormatCallback | undefined;
1354
1392
  /**
1355
- * A callback function used to format the y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1393
+ * Callback function used to format the y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1356
1394
  *
1357
- * **Note**: Not applicable to pie chart or gauge.
1395
+ * **Note**: Not applicable to pie charts or gauges.
1358
1396
  */
1359
1397
  accessor yAxisLabelFormatter: AxisLabelFormatCallback | undefined;
1360
1398
  /**
@@ -1409,7 +1447,7 @@ export abstract class ArcgisChart extends LitElement {
1409
1447
  /**
1410
1448
  * Notify method allows passing external messages to the chart component.
1411
1449
  * It can be used to pass validation or information messages.
1412
- * In a situation where a config update is overriding your notification modal, consider waiting for the `arcgisUpdateComplete` event.
1450
+ * In a situation where a model update is overriding the notification modal, consider waiting for the [@arcgisUpdateComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisUpdateComplete) event.
1413
1451
  *
1414
1452
  * @param message - The message to display in the chart's info modal.
1415
1453
  * @param heading - The heading to display in the chart's info modal.
@@ -1425,7 +1463,7 @@ export abstract class ArcgisChart extends LitElement {
1425
1463
  resetAxesBounds?: boolean;
1426
1464
  }): Promise<void>;
1427
1465
  /**
1428
- * Resets the chart zoom to bring it back to full extent
1466
+ * Resets the chart zoom to bring it back to full extent.
1429
1467
  *
1430
1468
  * **Note**: Applicable to XY charts only.
1431
1469
  */
@@ -1440,7 +1478,7 @@ export abstract class ArcgisChart extends LitElement {
1440
1478
  readonly arcgisAxesMinMaxChange: import("@arcgis/lumina").TargetedEvent<this, AxesMinMaxChangePayload>;
1441
1479
  /** Event triggered when an error is detected with the data set. */
1442
1480
  readonly arcgisBadDataWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
1443
- /** Event triggered when the chart is not found for the given `chartIndex` property. */
1481
+ /** Event triggered when the chart is not found for the given [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property. */
1444
1482
  readonly arcgisChartNotFoundWarning: import("@arcgis/lumina").TargetedEvent<this, string>;
1445
1483
  /** Event triggered when the chart config is changed. */
1446
1484
  readonly arcgisConfigChange: import("@arcgis/lumina").TargetedEvent<this, {
@@ -1453,7 +1491,7 @@ export abstract class ArcgisChart extends LitElement {
1453
1491
  *
1454
1492
  * For instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.
1455
1493
  *
1456
- * **Note**: Applicable to pie chart only.
1494
+ * **Note**: Applicable to pie charts only.
1457
1495
  */
1458
1496
  readonly arcgisDataFetchComplete: import("@arcgis/lumina").TargetedEvent<this, WebChartDataTypes>;
1459
1497
  /** Event triggered once the chart data has been processed. */