Skip to content
Types
import type { ModelParams, SerialChartConfig, SerialChartSeries } from "@arcgis/charts-components/model/interfaces/chart-interfaces.js";

Type definitions

ModelParams

Type definition
Type parameters
<T extends ChartConfig>

Parameters for creating a chart model.

layer

Property
Type
SupportedLayer | undefined

Layer instance associated with the chart.

iLayer

Property
Type
IFeatureLayer | undefined

Layer description to be used when the layer property is not set.

config

Property
Type
T | undefined

Chart config object to be edited. If not provided, a new config will be created using default values.

SerialChartConfig

Type definition

Type alias for the supported serial chart config.

Type
ChartConfig<typeof ModelTypes.BarChart> | ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.HeatChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>

SerialChartSeries

Type definition

Type alias for the supported serial chart series.