API REFERENCE

MarimekkoChartStreamEvent

The MarimekkoChartStreamEvent type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export type MarimekkoChartStreamEvent =
  | { type: 'push'; count: 1 }
  | { type: 'pushBatch'; count: number }
  | { type: 'shift'; count: number }
  | { type: 'replace'; count: number };