# GaugeChartStreamSource

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

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

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

## Type declaration

```typescript
export interface GaugeChartStreamSource {
  push(value: number): void;
  pushBatch(values: ReadonlyArray<number>): void;
  shift(count: number): void;
  replace(values: ReadonlyArray<number>): void;
  snapshot(window?: number): number[];
  latest(): number | undefined;
  subscribe(listener: (event: GaugeChartStreamEvent) => void): () => void;
  readonly length: number;
}
```

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

## Related types

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