import type { VisualVariableStop, SmartMappingSupportedStop, SupportedBreaks, ViewModelState, ZoomOptions } from "@arcgis/core/widgets/smartMapping/types.js";Type definitions
VisualVariableStop
- Since
- ArcGIS Maps SDK for JavaScript 5.0
- Type
- ColorSizeStop | ColorStop | SizeStop | OpacityStop
HistogramConfig
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Configuration options for defining the slider's Histogram.
barCreatedFunction
- Type
- BarCreatedFunction | undefined
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Function for styling bars representing histogram bins. This can be used to style bins or add custom interaction to them. For example, you can use this function to color bins that match the colors on the slider's track.
bins
- Type
- HistogramBin[] | undefined
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The bins of the histogram. This is an array of objects indicating the range and count of data in each bin. This value is typically retrieved from the histogram function.
dataLines
- Type
- DataLineInfos[] | undefined
- Since
- ArcGIS Maps SDK for JavaScript 5.0
When set, renders lines on the histogram that indicate important or meaningful values to the end user.
dataLineCreatedFunction
- Type
- DataLineCreatedFunction | undefined
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Function that fires each time a data line is created. You can use this to style individual dataLines on the data axis.
GradientStopInfo
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The return object of the getStopInfo() and getColorStopInfo() methods.
ColorBreak
- Since
- ArcGIS Maps SDK for JavaScript 5.0
color
- Type
- Color
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Features with values within the provided min
and max will be rendered with this color.
max
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The max value of the break. The max of each break should match the min
value of the break directly above it.
min
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The min value of the break. The min of each break should match the max
value of the break directly below it.
SizeBreak
- Since
- ArcGIS Maps SDK for JavaScript 5.0
size
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The size in points of the symbol representing features with values within
the given min and max.
max
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The max value of the break. The max of each break should match the min
value of the break directly above it.
min
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The min value of the break. The min of each break should match the max
value of the break directly below it.