diff --git a/platform/features/timeline/src/capabilities/GraphCapability.js b/platform/features/timeline/src/capabilities/GraphCapability.js index 86095b13ab..4e9cce0c8c 100644 --- a/platform/features/timeline/src/capabilities/GraphCapability.js +++ b/platform/features/timeline/src/capabilities/GraphCapability.js @@ -62,7 +62,7 @@ define( result.power, 0, domainObject.getModel().capacity, // Watts - (domainObject.getModel().startingSOC/100)*domainObject.getModel().capacity, + (domainObject.getModel().startingSOC / 100) * domainObject.getModel().capacity, 1 / 3600000 // millis-to-hour (since units are watt-hours) ); }