View as Markdown

API reference: @salmonui/charts/chart

ChartFormattype

import type { ChartFormat } from '@salmonui/charts/chart';
type ChartFormat = string | Intl.NumberFormatOptions | Intl.DateTimeFormatOptions;

A number preset ('n2', 'c0', 'p1'), a {value} template ('{value} °C'), or Intl options.