▾
import type { SupportedLayer, SupportedRasterLayer, ChartLayer, ChartLayerInput, ChartLayerInputSansView } from "@arcgis/charts-components/interfaces.js";Type definitions
SupportedLayer
Supported layer types for feature charts.
- Type
- ChartLayer | SubtypeSublayer
SupportedRasterLayer
Supported layer types for imagery charts.
- Type
- ImageryLayer | ImageryTileLayer | WCSLayer
ChartLayer
FeatureLayer-like surface used by charts & model.
- Supertypes
- default
type
- Type
- Layer["type"]
id
- Type
- FeatureLayer["id"]
url
- Type
- FeatureLayer["url"] | undefined
fields
- Type
- FeatureLayer["fields"]
fieldsIndex
- Type
- FeatureLayer["fieldsIndex"]
capabilities
- Type
- FeatureLayer["capabilities"] | null | undefined
sourceJSON
- Type
- FeatureLayer["sourceJSON"] | undefined
objectIdField
- Type
- FeatureLayer["objectIdField"]
outFields
- Type
- FeatureLayer["outFields"]
load
- Type
- Layer["load"]
queryFeatures
- Type
- FeatureLayer["queryFeatures"]
queryFeatureCount
- Type
- FeatureLayer["queryFeatureCount"]
queryObjectIds
- Type
- FeatureLayer["queryObjectIds"]
queryAttributeBins
- Type
- FeatureLayer["queryAttributeBins"] | undefined
createQuery
- Type
- FeatureLayer["createQuery"]
getFieldDomain
- Type
- FeatureLayer["getFieldDomain"] | undefined
renderer
- Type
- FeatureLayer["renderer"] | undefined
layerId
- Type
- FeatureLayer["layerId"] | undefined
isTable
- Type
- FeatureLayer["isTable"] | undefined
title
- Type
- FeatureLayer["title"] | undefined
popupTemplate
- Type
- FeatureLayer["popupTemplate"] | undefined
definitionExpression
- Type
- FeatureLayer["definitionExpression"] | undefined
fullExtent
- Type
- FeatureLayer["fullExtent"] | undefined
portalItem
- Type
- FeatureLayer["portalItem"] | undefined
charts
- Type
- FeatureLayer["charts"] | undefined
dateFieldsTimeZone
- Type
- FeatureLayer["dateFieldsTimeZone"] | undefined
version
- Type
- FeatureLayer["version"] | undefined
uniqueIdFields
- Type
- FeatureLayer["uniqueIdFields"] | undefined
ChartLayerInputSansView
Layer inputs accepted by chart models. Excludes ChartLayerView because models operate on layers rather than views.
- Supertypes
- Exclude<ChartLayerInput‚ ChartLayerView>
ChartLayerView
Feature-like layer-view contract accepted by chart components for client-side queries.
view
- Type
- FeatureLikeLayerView["view"]
queryAttributeBins
- Type
- FeatureLikeLayerView["queryAttributeBins"] | undefined
queryObjectIds
- Type
- FeatureLikeLayerView["queryObjectIds"]
queryFeatureCount
- Type
- FeatureLikeLayerView["queryFeatureCount"]
queryFeatures
- Type
- FeatureLikeLayerView["queryFeatures"]
dataUpdating
- Type
- FeatureLikeLayerView["dataUpdating"]
updating
- Type
- FeatureLikeLayerView["updating"]
CSVOptions
Options for exporting chart data to CSV.
locale
- 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".