API reference: @salmonui/charts/gauge
GaugeLabelsinterface
import type { GaugeLabels } from '@salmonui/charts/gauge';interface GaugeLabels {
readonly position?: 'inside' | 'outside' | undefined;
readonly rotate?: boolean | undefined;
readonly hide?: 'first' | 'last' | undefined;
readonly showLast?: boolean | undefined;
readonly overlap?: 'hide' | 'show' | undefined;
readonly format?: Intl.NumberFormatOptions | undefined;
readonly hidden?: boolean | undefined;
}
| Name | Signature | Description |
|---|---|---|
positionoptional | readonly position?: 'inside' | 'outside' | undefined; | |
rotateoptional | readonly rotate?: boolean | undefined; | Rotate labels along the arc (circular). |
hideoptional | readonly hide?: 'first' | 'last' | undefined; | |
showLastoptional | readonly showLast?: boolean | undefined; | Label the maximum even when it is not on the interval. |
overlapoptional | readonly overlap?: 'hide' | 'show' | undefined; |
|
formatoptional | readonly format?: Intl.NumberFormatOptions | undefined; | |
hiddenoptional | readonly hidden?: boolean | undefined; |