@mui/x-charts
Version:
The community edition of the Charts components (MUI X).
7 lines (6 loc) • 379 B
TypeScript
import { SeriesId, SeriesValueFormatter } from '../models/seriesType/common';
export declare function defaultizeValueFormatter<TValue, ISeries extends {
valueFormatter?: SeriesValueFormatter<TValue>;
}>(series: Record<SeriesId, ISeries>, defaultValueFormatter: SeriesValueFormatter<TValue>): Record<SeriesId, ISeries & {
valueFormatter: SeriesValueFormatter<TValue>;
}>;