08-06-2021 23:29
08-06-2021 23:29
let sweep = Math.floor(180*(batteryPercentage/100));
batteryLineFront.sweepAngle = sweep;
This doesn't seem to be working after I changed my arc svg object to a gradientArc. Doesn't seem to work on the simulator or on the Sense.
Device is the Sense. SDK version 6.0, simulator is on Windows and v0.9.1. Someone else reported that it works on the device, but the device does not seem to change either.
08-11-2021 07:32
08-11-2021 07:32
Is it just failing to change via JavaScript? Does it work with hardcoded attributes?
start-angle='0' sweep-angle='270'
08-11-2021 08:39
08-11-2021 08:39
Yes, works when hard coded into the SVG as expected but does not update (apparently) via javascript.