@mui/x-charts
Version:
The community edition of the charts components (MUI X).
12 lines • 379 B
JavaScript
import defaultizeValueFormatter from '../internals/defaultizeValueFormatter';
var formatter = function formatter(_ref) {
var series = _ref.series,
seriesOrder = _ref.seriesOrder;
return {
series: defaultizeValueFormatter(series, function (v) {
return "(".concat(v.x, ", ").concat(v.y, ")");
}),
seriesOrder: seriesOrder
};
};
export default formatter;