diff --git a/web/components/contract/numeric-graph.tsx b/web/components/contract/numeric-graph.tsx index 621c0e29..f6532b9b 100644 --- a/web/components/contract/numeric-graph.tsx +++ b/web/components/contract/numeric-graph.tsx @@ -56,10 +56,10 @@ export const NumericGraph = memo(function NumericGraph(props: { min: min, max: max, }} - xFormat={(d) => `${Math.round(+d * 100) / 100}`} + xFormat={(d) => `${formatLargeNumber(+d, 3)}`} axisBottom={{ tickValues: numXTickValues, - format: (d) => `${Math.round(+d * 100) / 100}`, + format: (d) => `${formatLargeNumber(+d, 3)}`, }} colors={{ datum: 'color' }} pointSize={0}