API REFERENCE

BoxPlotStreamSource

BoxPlotStreamSource 타입 선언과 관련 타입입니다. 선택 필드는 ?로 표시됩니다.

타입 선언

typescript
export interface BoxPlotStreamSource {
  readonly length: number;
  readonly capacity: number;
  readonly dropped: number;
  push(datum: BoxPlotDatumInput): void;
  pushBatch(data: ReadonlyArray<BoxPlotDatumInput>): void;
  shift(count: number): void;
  replace(data: ReadonlyArray<BoxPlotDatumInput>): void;
  snapshot(): BoxPlotDatumInput[];
  subscribe(listener: (event: BoxPlotStreamEvent) => void): () => void;
}