Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sweepAngle on gradientArc in FitBit OS Simulator (OSX) Sense

Can anyone help or confirm if the sweepAngle works (or not) for gradientArc (gradient-type: linear) in FitBit OS Simulator for OSX, version 0.9.0.1, using device: Sense?

 

The debug shows that the new sweepAngle is being set on the element, but the simulator display is not showing the new angle.

 

If I manually set the sweep-angle in css, the simulator display shows the new angle.

 

Side note: if i change the gradientArc over to a normal Arc (and change all the style parameters from gradientArc to the Arc type as well), the sweepAngle works fine.

 

Thanks.

Best Answer
0 Votes
2 REPLIES 2

Is this happening only in the simulator or is it happening on a real device also? Which device and SDK version are you using?

Best Answer
0 Votes

Only in the simulator [OSX], Sense, and version 0.9.0.1. 

 

Tested on the physical Sense device, and is working.

 

It’s weird because on the simulator if I make a call to grab the gradientarc properties after the sweepAngle change, all the properties for the gradientarc are set to the new values as expected, but the display doesn’t actually display the gradientArc changes. But on the actual device the intended behavior works. 

 

 

Best Answer
0 Votes