import "@arcgis/charts-components/components/arcgis-chart";- Inheritance
- ArcgisChart→
HTMLElement
- Since
- ArcGIS Maps SDK for JavaScript 4.32
The Chart component renders a chart based on the provided model. Get started by reading the introduction to charts page.
Supported chart types include bar charts, box plots, line charts, combo bar-line charts, gauges, heat charts, histograms, pie charts, scatterplots, and radar charts.
- See also
-
Note: When the chart is getting rendered while its container is not yet fully sized, a console error about the chart's attribute height may appear. This is a known issue and should not affect the functionality of the chart.
Demos
Properties
| Property | Attribute | Type |
|---|---|---|
| action-mode | ||
| allow-using-object-id-stat | ||
| animation-enabled | ||
| | ||
| auto-destroy-disabled | ||
| deprecated | auto-dispose-chart | |
| auto-inverse-data-label-text-color | ||
| | ||
| chart-index | ||
| | ||
| | ||
| configuration-enabled | ||
| cursor-range | ||
| | ChartOptions["dataLabelFormatter"] | undefined | |
| deprecated | disable-interactions | |
| deprecated | disable-toggling-legend-items | |
| deprecated | enable-configuration | |
| deprecated | enable-responsive-features | |
| error-policy | ||
| deprecated | feature-index | |
| deprecated | filter-by-extent | |
| filter-by-selection | ||
| filter-by-view-extent | ||
| | ||
| | ||
| deprecated | hide-empty-series | |
| deprecated | hide-license-watermark | |
| hide-loader-animation | ||
| hide-ui-messages | ||
| hide-zero-count-categories | ||
| deprecated | ignore-smooth-rendering-limit | |
| ignore-view-extent | ||
| interactions-disabled | ||
| | ||
| deprecated | layer-fields-change-policy | |
| deprecated | layer-filter-change-policy | |
| layer-item-id | ||
| deprecated | layer-renderer-change-policy | |
| deprecated | legend-position | |
| | ||
| deprecated | legend-visibility | |
| deprecated | | |
| | ||
| | ||
| null-as-valid | ||
| placeholder | ||
| popup-template-field-infos-enabled | ||
| deprecated | queue-chart-creation | |
| deprecated | replace-no-value-category-with-zero | |
| return-features-extent | ||
| return-selection-indexes | ||
| return-selection-oi-ds | ||
| rotated | ||
| deprecated | rotation | |
| | ||
| | ||
| | ||
| | ||
| | ||
| set-time-binning-info-when-not-provided | ||
| show-empty-series | ||
| show-license-watermark | ||
| deprecated | show-ui-messages | |
| skip-chart-creation-queue | ||
| sync-charts-selection | ||
| deprecated | sync-selection | |
| deprecated | sync-selections-between-chart-and-layer-view-policy | |
| sync-view-selection | ||
| sync-view-time-extent | ||
| sync-view-time-zone | ||
| deprecated | | (typeof WebChartTypes.BarSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries)[] |
| time-zone | ||
| toggling-legend-items-disabled | ||
| | ChartOptions["tooltipFormatter"] | undefined | |
| | ||
| deprecated | use-animated-charts | |
| deprecated | use-popup-template-fields-info | |
| | ||
| deprecated | view-time-extent-change-policy | |
| | ||
| |
actionMode
- Type
- ActionModes | undefined
Specifies the user action behavior for the chart.
monoSelection: Select a single data point or series, new selection replaces the previous one.multiSelection: Select multiple data points or series, new selection adds to the previous one.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.none: No action is performed on user interaction.zoom: Zoom into a specific area of the chart.
Note: Not applicable to gauges.
- Attribute
- action-mode
allowUsingObjectIdStat
- Type
- boolean
Whether to allow the object id to be used as a statistic other than Count.
- Attribute
- allow-using-object-id-stat
- Default value
- false
aria
- Type
- DOMContainerAria | undefined
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: label, description, describedByElements, and labelledByElements.
autoDestroyDisabled
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.0
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() method when you are done to prevent memory leaks.
- Attribute
- auto-destroy-disabled
- Default value
- false
autoDisposeChart
- Type
- boolean
Auto disposes the chart when a new one is created in the same container.
- Attribute
- auto-dispose-chart
- Default value
- false
autoInverseDataLabelTextColor
- Type
- boolean
When true, the data label text color is automatically adjusted for readability based on its background.
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.
Note: Applicable to heat charts only.
- Attribute
- auto-inverse-data-label-text-color
- Default value
- false
calciteThemingCSSVariables
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Allows picking the Calcite CSS variables to use when applying a Calcite theme.
By default the following variables are used:
- background:
--calcite-color-foreground-1 - text:
--calcite-color-text-1 - line:
--calcite-color-border-1 - secondary line:
--calcite-color-text-3 - spinner:
--calcite-color-brand-hover
The charts colors are overridden by those associated to those CSS variables, but only if they have not been customized beforehand.
chartIndex
The index of the chart to be rendered from the layer. Must be used in conjunction with the layerItemId or layer property.
If a layer or layerItemId is set without chartIndex, the first chart in the layer will be rendered.
If the chartIndex is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
- Attribute
- chart-index
- Example
- <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
chartLimits
- Type
- ChartElementLimit | undefined
Customize the maximum number of series allowed on the chart.
The chart's behavior once that limit is reached can be adjusted through the behaviorAfterLimit nested property, to either reject the creation
or update of the chart, or render the elements up to the given limits.
Note: Not applicable to gauges.
chartWillRender
- Type
- PreRenderCallback | undefined
Lifecycle function executed after the data has been processed and before the chart renders. Can be used to alter the model from information extracted from the data.
Note: Applicable to gauges and pie charts only.
configurationEnabled
- Type
- boolean
Whether to use features uniquely designed for a chart currently being configured by a user via the UI. When true, the slotted charts action bar will expose an Edit chart action, surfaces relevant error states, and can show a helpful in-container placeholder about the chart’s purpose.
- Attribute
- configuration-enabled
- Default value
- false
cursorRange
- Type
- CursorRange | undefined
Sets the cursor range when actionMode is set to zoom, multiSelection or multiSelectionWithCtrlKey.
multi-axes: Allows to draw a free rectangle.x-axis: Allows to draw a rectangle bound to the x-axis.y-axis: Allows to draw a rectangle bound to the y-axis.undefined: Defaults to the preset behavior according to the chart type and action mode.
Note: Not applicable to gauges.
- Attribute
- cursor-range
dataLabelFormatter
- Type
- ChartOptions["dataLabelFormatter"] | undefined
Callback function used to format the data labels. If the returned string contains HTML tags they will be interpreted as such.
Note: Not applicable to gauges.
disableInteractions
- Type
- boolean
Disables all interactions on the chart.
- Attribute
- disable-interactions
- Default value
- false
disableTogglingLegendItems
- Type
- boolean
Disables the toggling of series from the legend items.
Note: Only applicable to multi-series charts.
- Attribute
- disable-toggling-legend-items
- Default value
- false
enableConfiguration
- Type
- boolean
Whether to use features uniquely designed for a chart currently being configured by a user via the UI. When true, the slotted charts action bar will expose an Edit chart action, surfaces relevant error states, and can show a helpful in-container placeholder about the chart’s purpose.
- Attribute
- enable-configuration
- Default value
- false
enableResponsiveFeatures
- Type
- boolean
Enables the responsive features.
- Attribute
- enable-responsive-features
- Default value
- false
errorPolicy
- Type
- ErrorPolicy
Whether to display an error alert and hide the chart when it can't be created or updated.
- Attribute
- error-policy
- Default value
- "throw"
filterByExtent
- Type
- boolean
When true, all chart elements are filtered based on the view extent.
- Attribute
- filter-by-extent
- Default value
- false
filterBySelection
- Type
- boolean
When true, all chart elements are filtered based on the selection.
Note: Not applicable to gauges or charts configured with imagery layers.
- Attribute
- filter-by-selection
- Default value
- false
filterByViewExtent
- Type
- boolean
When true, all chart elements are filtered based on the view extent.
- Attribute
- filter-by-view-extent
- Default value
- false
hideEmptySeries
When true, the empty series are completely hidden from the chart and the legend.
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).
Note: Not applicable to gauges.
- Attribute
- hide-empty-series
- Default value
- false
hideLoaderAnimation
- Type
- boolean
Hides the loader animation (curtain and spinner), showed by default at every update.
- Attribute
- hide-loader-animation
- Default value
- false
hideUIMessages
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Whether to display or hide all UI messages (e.g. no data warnings, or when the logarithmic scale can't be applied to an axis when the data contains values <= 0).
- Attribute
- hide-ui-messages
- Default value
- false
hideZeroCountCategories
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Whether to keep missing categories from a count aggregation as gaps in the chart's data.
When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
When this property is set to true, the dataset will keep these gaps instead of filling them with 0s.
When left to false, the chart's dataItems associated with empty (no value) categories (from only a Count aggregation)
will be populated with 0s.
- Attribute
- hide-zero-count-categories
- Default value
- false
ignoreSmoothRenderingLimit
- Type
- boolean
When true, disables the default setting that uses debounce functions to handle the visibility of markers
that are outside of the plotting area when the min/max bound changes and/or when a zoom action is performed
(via chart cursor or scrollbar), to increase performance.
This property will be set when the chart is created and cannot be updated after that.
It's recommended that this property should only be set to true for small datasets.
When left undefined, will be treated as false.
Note: Applicable to line charts only.
- Attribute
- ignore-smooth-rendering-limit
- Default value
- false
ignoreViewExtent
- Type
- boolean
This property will be effective when the component's view is provided or when the layer is set to a FeatureLayerView.
By default the queries made by the chart will consider the view's extent as the unique geometry filter applicable. This implies ignoring any
geometry passed through the model (component.model.dataFilters) or the runtime filters (component.runtimeDataFilters).
Setting this property to false signals the queries to ignore the view's extent, whether an additional geometry filter is provided or not.
- Attribute
- ignore-view-extent
- Default value
- false
interactionsDisabled
- Type
- boolean
Disables all interactions on the chart.
- Attribute
- interactions-disabled
- Default value
- false
layerItemId
Layer item ID associated with the chart to be rendered. Can be used in conjunction with the chartIndex property.
If layerItemId is set without chartIndex, the first chart in the layer will be rendered.
Supported layers include: FeatureLayer, SubtypeSublayer, ImageryLayer, ImageryTileLayer and WCSLayer.
- Attribute
- layer-item-id
- Example
- <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
layerRendererChangePolicy
Allows the chart to update automatically when the layer's renderer changes. Applies when the color match is enabled.
Note: If the property is set to ignore the chart will still use the layer's renderer information when the data is updated.
- Attribute
- layer-renderer-change-policy
- Default value
- "refresh"
legendPosition
- Type
- WebChartLegendPositions | undefined
Sets the legend's position on the chart.
Note: Not applicable to gauges.
- Attribute
- legend-position
legendValueLabelFormatter
A callback function used to format the legend value labels. If the returned string contains HTML tags they will be interpreted as such.
If provided, the formatter will be used if at least displayNumericValue or displayPercentage is true.
Note: Applicable to pie charts only.
legendVisibility
- Type
- boolean
When true, the legend is visible on the chart.
Note: Not applicable to gauges.
- Attribute
- legend-visibility
- Default value
- false
loaderColors
- Type
- LoaderColors | undefined
Defines the colors for the loader animation.
- Example
- // Set a blue curtain and a red spinner for the loader animationchartComponent.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
model
- Type
- ChartModel | WebChart | undefined
Provides an API to interact with the chart's configuration.
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.
nullAsValid
- Type
- boolean
Whether to consider a null statistic as valid. If set to false and the data has only null values, the chart's dataset will be considered empty:
- The corresponding warning event will be sent
- The "no data" message will be displayed (unless
hideUIMessagesis set totrueorshowUIMessagesis set tofalse)
- Attribute
- null-as-valid
- Default value
- false
returnFeaturesExtent
- Type
- boolean
When true, the features extent will be returned through the @arcgisDataProcessComplete and @arcgisSelectionComplete events payload.
Applies only to:
- Charts using an aggregation.
- Data source using a feature layer compatible with envelope aggregation.
The extent (IExtent) is returned through the property featuresExtentField.
Note: Not applicable to gauges.
- Attribute
- return-features-extent
- Default value
- false
returnSelectionIndexes
- Type
- boolean
When true, the selection indexes will be computed whenever a selection is made on or passed to the chart.
Note: Not applicable to gauges.
- Attribute
- return-selection-indexes
- Default value
- false
returnSelectionOIDs
When true, the object ids will be computed whenever a selection is made on or passed to the chart.
Only considered for a data source using a feature layer.
Note: Not applicable to gauges or charts configured with imagery layers. It's always false for imagery layers. No object ids will be computed.
- Attribute
- return-selection-oi-ds
- Default value
- false
rotated
- Type
- boolean
When true, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
Note: Applicable to bar chart, line chart, combo bar line chart and box plot.
- Attribute
- rotated
- Default value
- false
rotation
- Type
- boolean
When true, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
Note: Applicable to bar chart, line chart, combo bar line chart and box plot.
- Attribute
- rotation
- Default value
- false
runtimeDataFilters
- Type
- WebChartDataFilters | undefined
Applies runtime data filters to the chart.
- Example
- chartComponent.runtimeDataFilters = {where: "FieldValue = 9",};
secondaryYAxisLabelFormatter
- Type
- AxisLabelFormatCallback | undefined
Callback function used to format the secondary y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
Note: Appliable to bar charts, line charts, combo bar line charts with dual axes.
selectionData
- Type
- SelectionData | undefined
When this property is set, it will apply a selection on the chart matching the provided selection.
Note: Not applicable to gauges.
selectionManager
- Type
- SelectionManager | undefined
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Selection manager object used to synchronize the selections with the chart when syncViewSelection is true.
It has precedence over the layer view's SelectionManager when both are available.
selectionTheme
- Type
- SelectionTheme | undefined
Used to provide a customized theme for the selected and non selected elements.
- If no style is provided for the selected elements, a default selection is applied.
- If no style is provided for the non selected elements, the chart's style is applied.
Note: Not applicable to gauges.
- Example
- chartComponent.selectionTheme = {"selectedElementsTheme": {"transformation": {"scale": 1.2}},"nonSelectedElementsTheme": {"transformation": {"opacity": 0.5}}}
setTimeBinningInfoWhenNotProvided
- Type
- boolean
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.
Note: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar line chart, radar chart).
- Attribute
- set-time-binning-info-when-not-provided
- Default value
- false
showEmptySeries
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Show the series on the chart even if it doesn't have data (i.e. empty)
When false, the empty series are completely hidden from the chart and the legend.
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).
Note: Not applicable to gauges.
- Attribute
- show-empty-series
- Default value
- false
showLicenseWatermark
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Shows the license watermark.
- Attribute
- show-license-watermark
- Default value
- false
skipChartCreationQueue
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Whether to skip the chart rendering queue.
When true, charts will render immediately without waiting for other charts to finish rendering.
When false (default), charts are queued so that only one chart renders at a time.
- Attribute
- skip-chart-creation-queue
- Default value
- false
syncChartsSelection
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Whether to synchronize the selection between chart components from the same layer.
- Attribute
- sync-charts-selection
- Default value
- false
syncSelection
- Type
- boolean
Whether to synchronize the selection between chart components from the same layer.
- Attribute
- sync-selection
- Default value
- false
syncSelectionsBetweenChartAndLayerViewPolicy
Determines whether the chart's selection should be synchronized with either the chart's selectionManager or the layer view's.
- Attribute
- sync-selections-between-chart-and-layer-view-policy
- Default value
- "disabled"
syncViewSelection
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Determines whether the chart's selection should be synchronized with either the chart's selectionManager or the layer view's.
- Attribute
- sync-view-selection
- Default value
- false
syncViewTimeExtent
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Whether the chart should be refreshed when the view's time extent changes.
Note: Not supported for histogram.
- Attribute
- sync-view-time-extent
- Default value
- false
syncViewTimeZone
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Whether the chart's data should be in sync with the view's timeZone.
Note: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
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.
- Attribute
- sync-view-time-zone
- Default value
- false
syncViewTimeZoneInclusionList
- Type
- (typeof WebChartTypes.BarSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries)[]
List of chart types to include from syncing the view's timeZone with the data. Currently heat charts are included by default.
Note: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
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.
tooltipFormatter
- Type
- ChartOptions["tooltipFormatter"] | undefined
Callback function used to format the tooltips. If the returned string contains HTML tags they will be interpreted as such.
- Example
- chartComponent.tooltipFormatter = ({ statValue }) => {return `<b>Custom tooltip</b> for ${statValue}`;};
Note: Not applicable to gauges.
updateSplitBySeries
Whether to update the series when the data updates while the chart uses a split-by field configuration.
If addMissingSeries is set to true the missing series will be added to cover the split-by values not referenced by the model.
The default information from the property updateSplitBySeries.seriesTemplate will be applied to the new series.
Note: Applicable only to bar chart, line chart and box plot when a split-by field is used.
useAnimatedCharts
- Type
- boolean
Enable animation on the chart.
- Attribute
- use-animated-charts
- Default value
- false
usePopupTemplateFieldsInfo
- Type
- boolean
Allows the use of the fields alias from the layer.popupTemplate when rendering the field names on the chart (e.g. tooltips, axes, legend).
- Attribute
- use-popup-template-fields-info
- Default value
- false
xAxisLabelFormatter
- Type
- AxisLabelFormatCallback | undefined
Callback function used to format the x-axis labels. If the returned string contains HTML tags they will be interpreted as such.
Note: Not applicable to pie charts.
yAxisLabelFormatter
- Type
- AxisLabelFormatCallback | undefined
Callback function used to format the y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
Note: Not applicable to pie charts or gauges.
Methods
| Method | Signature |
|---|---|
| clearSelection(): Promise<void> | |
| inherited | componentOnReady(): Promise<this> |
| destroy(): Promise<void> | |
| deprecated | errorAlert(errorMessage?: string): Promise<void> |
| exportAsCSV(options?: CSVOptions): Promise<void> | |
| exportAsImage(format?: DownloadableChartImagesTypes): Promise<void> | |
| loadModel(): Promise<void> | |
| notify(message?: string, heading?: string): Promise<void> | |
| refresh(props?: {
updateData?: boolean;
resetAxesBounds?: boolean;
}): Promise<void> | |
| resetZoom(): Promise<void> | |
| switchSelection(): Promise<void> |
componentOnReady
- Signature
-
componentOnReady (): Promise<this>
Creates a promise that resolves once the component is fully loaded.
- Returns
- Promise<this>
- Example
- const arcgisChart = document.createElement("arcgis-chart");document.body.append(arcgisChart);await arcgisChart.componentOnReady();console.log("arcgis-chart is ready to go!");
exportAsCSV
- Signature
-
exportAsCSV (options?: CSVOptions): Promise<void>
Export the current chart's data as a CSV file.
The Options object can contain the following properties:
columns: An array of column to include in the CSV file.delimiter: The delimiter to use in the CSV file. Default is,.includeHeader: Whether to include the header row in the CSV file. Default istrue.quoteAll: Whether to quote all values in the CSV file. Default isfalse.locale: The locale to use when formatting the CSV file. Default isen.- Locale supported are: "ar", "ar-u-nu-latn", "bs", "bg", "ca", "cs", "da", "de", "el", "en", "en-US", "es", "et", "fi", "fr", "he", "hr", "hu", "id", "it", "ja", "ko", "lt", "lv", "no", "nl", "pl", "pt-BR", "pt-PT", "ro", "ru", "sr", "sl", "sk", "sv", "th", "tr", "uk", "vi", "zh-CN", "zh-HK", "zh-TW"
Note: The chart types supported by this method are:
- Bar chart
- Box plot
- Combo bar line chart
- Heat chart
- Histogram
- Line chart
- Pie chart
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| options | | |
notify
- Signature
-
notify (message?: string, heading?: string): Promise<void>
Notify method allows passing external messages to the chart component. It can be used to pass validation or information messages. In a situation where a model update is overriding the notification modal, consider waiting for the @arcgisUpdateComplete event.
Events
| Name | Type |
|---|---|
| deprecated | |
arcgisAxesMinMaxChange
arcgisAxesMinMaxChange: CustomEvent<AxesMinMaxChangePayload> Event triggered once the chart axes min/max values are computed.
arcgisBadDataWarningRaise
arcgisBadDataWarningRaise: CustomEvent<DataWarningObject> Event triggered when an error is detected with the data set.
arcgisChartNotFoundWarning
arcgisChartNotFoundWarning: CustomEvent<string> Event triggered when the chart is not found for the given chartIndex property.
arcgisConfigChange
arcgisConfigChange: CustomEvent<{
newConfig: WebChart | undefined;
oldConfig: WebChart | undefined;
functionCalled: string | undefined;
}> Event triggered when the chart config is changed.
arcgisDataFetchComplete
arcgisDataFetchComplete: CustomEvent<WebChartDataTypes> Event triggered once the chart data has been fetched but not yet fully processed.
For instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.
Note: Applicable to pie charts only.
arcgisDataProcessComplete
arcgisDataProcessComplete: CustomEvent<DataProcessCompletePayload> Event triggered once the chart data has been processed.
arcgisDataProcessError
arcgisDataProcessError: CustomEvent<void> Event triggered when an error occurred while fetching of processing the data for the chart.
arcgisInvalidConfigWarningRaise
arcgisInvalidConfigWarningRaise: CustomEvent<DataWarningObject> Event triggered when an invalid configuration is detected.
arcgisLegendItemVisibilityChange
arcgisLegendItemVisibilityChange: CustomEvent<LegendItemVisibilityChangePayload> Event triggered once a legend item visibility has been changed.
arcgisNoRenderPropChange
arcgisNoRenderPropChange: CustomEvent<NoRenderPropChangePayload> Event triggered when a no-render prop is changed.
arcgisRenderingComplete
arcgisRenderingComplete: CustomEvent<void> Event triggered once the chart rendering is complete.
arcgisRuntimeError
arcgisRuntimeError: CustomEvent<void> Event triggered when an error occurred that prevents the chart from being created or updated.
arcgisSelectionComplete
arcgisSelectionComplete: CustomEvent<SelectionCompletePayload> Event triggered when a selection is applied to the chart.
arcgisSeriesColorChange
arcgisSeriesColorChange: CustomEvent<SeriesColorChangePayload> Event triggered once the chart series color have been assigned.
arcgisSeriesOrder
arcgisSeriesOrder: CustomEvent<string[]> Event carrying the series id as they have been sorted following the orderOptions instructions.
arcgisUpdateComplete
arcgisUpdateComplete: CustomEvent<ValidationStatus> Event triggered once the chart is updated.
Slots
| Name | Description |
|---|---|
| Slot for adding a |