ESM
import { ChartComponentEvents, ActionToggle, ActionState, ErrorPolicy, ChangePolicy } from "@arcgis/charts-components/utils/types/index.js";Type definitions
DefaultChartActions
Type definition
- Type
- (typeof DefaultChartActions)[keyof typeof DefaultChartActions]
ChartConfig
Type definition
- Type parameters
- <T extends ModelTypes = ModelTypes, V extends WebChart = T extends typeof ModelTypes.BoxPlot ? WebBoxPlot : T extends typeof ModelTypes.Gauge ? WebGaugeChart : T extends typeof ModelTypes.HeatChart ? WebHeatChart : WebChart>
Type alias for a chart configuration.
This type is generic and supports configuration for different chart types, data source types, and data source requirement policies.
It extends and modifies the base WebChart while replacing the generic series with the specific series type.
- Supertypes
- Omit<V‚ "legend" | "series">
series
Property
- Type
- ModelTypeToSeriesType[]
legend
Property
- Type
- T extends typeof ModelTypes.PieChart ? WebChartPieChartLegend : WebChartLegend | undefined
ActionToggle
Type definition
- Type
- (typeof ActionToggle)[keyof typeof ActionToggle]
ActionState
Type definition
- Type
- (typeof ActionState)[keyof typeof ActionState]
ErrorPolicy
Type definition
- Type
- (typeof ErrorPolicy)[keyof typeof ErrorPolicy]
ChangePolicy
Type definition
- Type
- (typeof ChangePolicy)[keyof typeof ChangePolicy]
SyncSelectionsBetweenChartAndLayerViewPolicy
Type definition
- Type
- (typeof SyncSelectionsBetweenChartAndLayerViewPolicy)[keyof typeof SyncSelectionsBetweenChartAndLayerViewPolicy]
Variables
ChartComponentEvents
Variable
- Type
- { readonly DataProcessComplete: "arcgisDataProcessComplete"; readonly DataFetchComplete: "arcgisDataFetchComplete"; readonly DataProcessError: "arcgisDataProcessError"; readonly LegendItemVisibilityChange: "arcgisLegendItemVisibilityChange"; readonly UpdateComplete: "arcgisUpdateComplete"; readonly SeriesColorChange: "arcgisSeriesColorChange"; readonly AxesMinMaxChange: "arcgisAxesMinMaxChange"; readonly DefaultActionSelect: "arcgisDefaultActionSelect"; readonly SelectionComplete: "arcgisSelectionComplete"; readonly ActionBarToggle: "arcgisActionBarToggle"; readonly NoRenderPropChange: "arcgisNoRenderPropChange"; readonly BadDataWarningRaise: "arcgisBadDataWarningRaise"; readonly InvalidConfigRaise: "arcgisInvalidConfigWarningRaise"; readonly SeriesOrder: "arcgisSeriesOrder"; readonly RuntimeError: "arcgisRuntimeError"; readonly ConfigChange: "arcgisConfigChange"; readonly RenderingComplete: "arcgisRenderingComplete"; }