fix battery volatge unit in overview for sodistore home, pro, grid
This commit is contained in:
parent
4a6caa9ed3
commit
5666191a6b
|
|
@ -244,6 +244,8 @@ export const getChartOptions = (
|
|||
const seriesName = w.config.series[seriesIndex].name;
|
||||
if (seriesName === 'Battery SOC') {
|
||||
return val.toFixed(2) + ' %';
|
||||
} else if (seriesName === 'Battery Voltage') {
|
||||
return val.toFixed(2) + ' (V)';
|
||||
} else {
|
||||
return (
|
||||
formatPowerForGraph(val, chartInfo.magnitude).value.toFixed(
|
||||
|
|
|
|||
Loading…
Reference in New Issue