Files
waveform-analysis/src/utils/index.ts

32 lines
743 B
TypeScript
Raw Normal View History

2026-07-20 10:21:30 +08:00
/**
*
*/
// 域计算工具
export { paddedDomain, buildMinorTicks } from './domain'
// 格式化工具
export {
displayTime,
endpointFractionDigits,
formatEndpointTime,
formatAxisTime,
formatAxisTimeExponent,
2026-07-20 10:21:30 +08:00
formatTooltipTime,
formatAnnotationTime,
formatPlainNumber,
formatScientificAxisLabel,
formatScientificAxisExponent,
2026-07-20 10:21:30 +08:00
formatScientificYAxisLabel,
formatTooltipNumber,
resolveScientificAxisExponent,
shouldUseScientificAxisLabel,
2026-07-20 10:21:30 +08:00
shouldUseScientificYAxisLabel,
type ScientificAxisLabelOptions,
2026-07-20 10:21:30 +08:00
type ScientificYAxisLabelOptions,
type TimeUnit,
} from './formatters'
// 几何计算工具
export { resolveTrackGeometry, clamp, type TrackGeometry } from './geometry'