Merge branch 'dev_environment' of gitlab.com:brandx/bxt-app into dev_environment
This commit is contained in:
commit
707d44ead1
2 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ export default function AreaGraph(props: Props) {
|
||||||
} else {
|
} else {
|
||||||
str = describer.convertWithoutUnits(
|
str = describer.convertWithoutUnits(
|
||||||
roundTo(parseFloat(String(value)), 2),
|
roundTo(parseFloat(String(value)), 2),
|
||||||
// newStructure
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return str + describer.GetUnit();
|
return str + describer.GetUnit();
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,7 @@ export default function MultiLineGraph(props: Props) {
|
||||||
{...props}
|
{...props}
|
||||||
valueFormatter={value => {
|
valueFormatter={value => {
|
||||||
return describer.convertWithUnits(
|
return describer.convertWithUnits(
|
||||||
roundTo(parseFloat(String(value)), 2)
|
roundTo(parseFloat(String(value)), 2), true
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue