API REFERENCE

GaugeNeedleSpec

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

Type declaration

typescript
export interface GaugeNeedleSpec {
  readonly value: number;
  readonly id?: string | number;
  readonly name?: string;
  readonly color?: string;
  readonly shape?: GaugeNeedleShape;
  readonly length?: number | string;
  readonly rearLength?: number | string;
  readonly width?: number;
  readonly visible?: boolean;
}