Skip to content

charton API


charton API / @chart-on/core / index / MarkerClusterOptions

Interface: MarkerClusterOptions ​

Defined in: packages/core/src/annotations/types.ts:61

Folding crowded bars of markers into one, from annotations.applyOptions({ markerCluster }).

Properties ​

enabled ​

enabled: boolean

Defined in: packages/core/src/annotations/types.ts:63

Default false.


maxPerBar ​

maxPerBar: number

Defined in: packages/core/src/annotations/types.ts:69

Markers of one kind and position on one bar fold into one once there are more than this. The folded marker shows the count; its tooltip lists the members. Default 1.