# PolarChartStreamSource

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

Canonical: https://chart.syidax.com/docs/types/PolarChartStreamSource/

<a id="declaration"></a>

## Type declaration

```typescript
export interface PolarChartStreamSource {
  push(datum: PolarRoseRowDatum): void;
  pushBatch(data: ReadonlyArray<PolarRoseRowDatum>): void;
  shift(count: number): void;
  replace(data: ReadonlyArray<PolarRoseRowDatum>): void;
  snapshot(window?: number): PolarRoseRowDatum[];
  latest(): PolarRoseRowDatum | undefined;
  subscribe(listener: (event: PolarChartStreamEvent) => void): () => void;
  readonly length: number;
}
```

<a id="related"></a>

## Related types

- [PolarRoseRowDatum](https://chart.syidax.com/docs/types/PolarRoseRowDatum.md)
- [PolarChartStreamEvent](https://chart.syidax.com/docs/types/PolarChartStreamEvent.md)
