# GaugeAnnotation (@salmonui/charts/gauge)

> The GaugeAnnotation interface of @salmonui/charts/gauge.

Canonical: https://salmonui.dev/docs/reference/charts/gauge/GaugeAnnotation

```ts
import type { GaugeAnnotation } from '@salmonui/charts/gauge';
```

Entry index: https://salmonui.dev/docs/reference/charts/gauge (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/gauge.md).

## Reference

Kind: interface

```ts
interface GaugeAnnotation {
    readonly id?: string | undefined;
    readonly angle?: number | undefined;
    readonly radius?: number | undefined;
    readonly value?: number | undefined;
    readonly x?: number | undefined;
    readonly y?: number | undefined;
    readonly content: unknown;
    readonly rotate?: boolean | undefined;
    readonly label?: string | undefined;
}
```

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id?: string \| undefined;` | optional |  |
| `angle` | `readonly angle?: number \| undefined;` | optional | Circular: angle in degrees (clockwise from 12 o'clock) and radius as a fraction of the axis radius. |
| `radius` | `readonly radius?: number \| undefined;` | optional |  |
| `value` | `readonly value?: number \| undefined;` | optional | Linear: position along the axis in data units, plus a pixel offset. |
| `x` | `readonly x?: number \| undefined;` | optional |  |
| `y` | `readonly y?: number \| undefined;` | optional |  |
| `content` | `readonly content: unknown;` |  |  |
| `rotate` | `readonly rotate?: boolean \| undefined;` | optional |  |
| `label` | `readonly label?: string \| undefined;` | optional | Tooltip text (`tooltip.targets` with `'annotation'`). |
