API REFERENCE
DotPlotChartStreamSource
DotPlotChartStreamSource 타입 선언과 관련 타입입니다. 선택 필드는 ?로 표시됩니다.
타입 선언
export interface DotPlotChartStreamSource {
push(datum: DotPlotCategoryDatum): void;
pushBatch(data: ReadonlyArray<DotPlotCategoryDatum>): void;
shift(count: number): void;
replace(data: ReadonlyArray<DotPlotCategoryDatum>): void;
snapshot(window?: number): DotPlotCategoryDatum[];
latest(): DotPlotCategoryDatum | undefined;
subscribe(listener: (event: DotPlotChartStreamEvent) => void): () => void;
readonly length: number;
}