Types
import type { SupportedLayer, SupportedRasterLayer, ChartLayer, ChartLayerInput, ChartLayerInputSansView } from "@arcgis/charts-components/interfaces.js";

Type definitions

SupportedLayer

deprecated Type definition

Supported layer types for feature charts.

SupportedRasterLayer

deprecated Type definition

Supported layer types for imagery charts.

ChartLayer

Type definition

FeatureLayer-like surface used by charts & model.

Supertypes
default

type

Property
Type
Layer["type"]

id

Property
Type
FeatureLayer["id"]

url

Property
Type
FeatureLayer["url"] | undefined

fields

Property
Type
FeatureLayer["fields"]

fieldsIndex

Property
Type
FeatureLayer["fieldsIndex"]

capabilities

Property
Type
FeatureLayer["capabilities"] | null | undefined

sourceJSON

Property
Type
FeatureLayer["sourceJSON"] | undefined

objectIdField

Property
Type
FeatureLayer["objectIdField"]

outFields

Property
Type
FeatureLayer["outFields"]

load

Property
Type
Layer["load"]

queryFeatures

Property
Type
FeatureLayer["queryFeatures"]

queryFeatureCount

Property
Type
FeatureLayer["queryFeatureCount"]

queryObjectIds

Property
Type
FeatureLayer["queryObjectIds"]

queryAttributeBins

Property
Type
FeatureLayer["queryAttributeBins"] | undefined

createQuery

Property
Type
FeatureLayer["createQuery"]

getFieldDomain

Property
Type
FeatureLayer["getFieldDomain"] | undefined

renderer

Property
Type
FeatureLayer["renderer"] | undefined

layerId

Property
Type
FeatureLayer["layerId"] | undefined

isTable

Property
Type
FeatureLayer["isTable"] | undefined

title

Property
Type
FeatureLayer["title"] | undefined

popupTemplate

Property
Type
FeatureLayer["popupTemplate"] | undefined

definitionExpression

Property
Type
FeatureLayer["definitionExpression"] | undefined

fullExtent

Property
Type
FeatureLayer["fullExtent"] | undefined

portalItem

Property
Type
FeatureLayer["portalItem"] | undefined

charts

Property
Type
FeatureLayer["charts"] | undefined

dateFieldsTimeZone

Property
Type
FeatureLayer["dateFieldsTimeZone"] | undefined

version

Property
Type
FeatureLayer["version"] | undefined

uniqueIdFields

Property
Type
FeatureLayer["uniqueIdFields"] | undefined

ChartLayerInput

Type definition

Layer input accepted by chart components and models.

ChartLayerInputSansView

Type definition

Layer inputs accepted by chart models. Excludes ChartLayerView because models operate on layers rather than views.

ChartLayerView

Type definition

Feature-like layer-view contract accepted by chart components for client-side queries.

layer

readonly Property
Type
ChartLayer

view

Property
Type
FeatureLikeLayerView["view"]

queryAttributeBins

Property
Type
FeatureLikeLayerView["queryAttributeBins"] | undefined

queryObjectIds

Property
Type
FeatureLikeLayerView["queryObjectIds"]

queryFeatureCount

Property
Type
FeatureLikeLayerView["queryFeatureCount"]

queryFeatures

Property
Type
FeatureLikeLayerView["queryFeatures"]

dataUpdating

Property
Type
FeatureLikeLayerView["dataUpdating"]

updating

Property
Type
FeatureLikeLayerView["updating"]

IntervalPopoverProps

Type definition

size

Property
Type
number

unit

Property
Type
WebChartTemporalBinningUnits

CSVOptions

Type definition

Options for exporting chart data to CSV.

columns

Property
Type
string[] | undefined

An array of columns to include. Each string should correspond to a property name in the data objects. By default all columns will be exported.

delimiter

Property
Type
string | undefined

The delimiter to use. Defaults to a comma (,).

includeHeader

Property
Type
boolean | undefined

Whether to include the header row. Defaults to true.

quoteAll

Property
Type
boolean | undefined

Whether to quote all values. Defaults to false.

locale

Property
Type
SupportedLocale | undefined

Locale used for formatting numbers (decimal and thousands separators) in the CSV. Defaults to en.

Supported locales: "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".

roundDecimals

Property
Type
number | undefined

Number of decimal places to round numeric values to. By default numbers will be rounded using the highest number of decimal places found in the data.

Variables