Adjust numeric graph axis to use large number formatting
This commit is contained in:
parent
21527275d1
commit
fc6b36b690
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user