ZoomCharts Documentation
ZoomCharts.Configuration.GeoChartSettingsLayerAggregated
Inheritance hierarchy
This type inherits from GeoChartSettingsLayerOverlay. Through this type it also inherits members from GeoChartSettingsLayerBase.
Methods
This type does not define any methods.
Properties
aggregation: "sum" | "min" | "max" | "first" | "last" | "avg" | "count"
Aggregation function to use.
Valid values:- sum
- min
- max
- first
- last
- avg
- count
aggregationField: string
Data field used for aggregation.
Custom function to call for aggregation
Parameters
array of nodes matching single shape
Return value
Data type: number
aggregated value, to be passed to styleFunction
data: anonymous type
enabled: boolean
Inherited from: GeoChartSettingsLayerBase
id: string
Inherited from: GeoChartSettingsLayerBase
maxZoom: number
Inherited from: GeoChartSettingsLayerBase
minZoom: number
Inherited from: GeoChartSettingsLayerBase
name: string
Inherited from: GeoChartSettingsLayerBase
perZoomStyle: boolean
Inherited from: GeoChartSettingsLayerBase
Forces style re-evaluation on zoom change. Use to provide zoom dependant style.
shapesLayer: string
Inherited from: GeoChartSettingsLayerOverlay
The ID of a linked shapes layer. Style changes will be applied to this layer. The shapes layer must be defined before the aggregation layer.
Function for applying the aggregated value on node.
Parameters
node: ItemsChartNode
shape node style is being applied to
value: number
computed aggregate value
type: "shapes" | "items" | "charts" | "aggregateOnShapes"
Inherited from: GeoChartSettingsLayerBase
- shapes
- items
- charts
- aggregateOnShapes
useFindObjectHack: boolean
Inherited from: GeoChartSettingsLayerBase