We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92bdbb commit 0018e0eCopy full SHA for 0018e0e
fhf-datafangst-client/src/components/Graphs/SpeciesHistogram.tsx
@@ -181,5 +181,5 @@ interface TooltipParams {
181
const formatter = (data: TooltipParams[]) => {
182
const params = data[0];
183
184
- return `<h3>${params.value[0]}</h3> <br/> <b> Forrige tur </b>: ${params.value[1]} kg <br/> <b>Snitt </b>: ${params.value[2]} kg`;
+ return `<h3>${params.value[0]}</h3> <br/> <b> Forrige tur </b>: ${params.value[1].toFixed(2)} kg <br/> <b>Snitt </b>: ${params.value[2].toFixed(2)} kg`;
185
};
0 commit comments