@urban-toolkit/autk-plot / Binning2dTransformConfig
Type Alias: Binning2dTransformConfig
Binning2dTransformConfig =
object
Defined in: api.ts:124
Binning-2d preset config.
The x and y columns are read from PlotConfig.attributes.axis[0] and axis[1]. Use '@transform' in PlotConfig.attributes.color to mark the output slot.
Properties
options?
optionaloptions?:object
Defined in: api.ts:126
binsX?
optionalbinsX?:number
Number of bins for the x axis when quantitative. Defaults to 10.
binsY?
optionalbinsY?:number
Number of bins for the y axis when quantitative. Defaults to 10.
reducer?
optionalreducer?:TransformReducer
Reducer applied within each cell. Defaults to 'count'.
value?
optionalvalue?:string
Feature property to aggregate for non-count reducers. Required when reducer is not 'count'.
preset
preset:
"binning-2d"
Defined in: api.ts:125