API reference: @salmonui/charts/gauge
GaugeAnnotationinterface
import type { GaugeAnnotation } from '@salmonui/charts/gauge';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;
}
| Name | Signature | Description |
|---|---|---|
idoptional | readonly id?: string | undefined; | |
angleoptional | readonly angle?: number | undefined; | Circular: angle in degrees (clockwise from 12 o'clock) and radius as a fraction of the axis radius. |
radiusoptional | readonly radius?: number | undefined; | |
valueoptional | readonly value?: number | undefined; | Linear: position along the axis in data units, plus a pixel offset. |
xoptional | readonly x?: number | undefined; | |
yoptional | readonly y?: number | undefined; | |
content | readonly content: unknown; | |
rotateoptional | readonly rotate?: boolean | undefined; | |
labeloptional | readonly label?: string | undefined; | Tooltip text ( |