API REFERENCE
PolarChartStreamSource
The PolarChartStreamSource type declaration and related types. Optional fields are marked with ?.
Type declaration
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;
}