Replies: 1 comment 1 reply
-
|
There are min/max values reported already? For your battery example: https://github.com/espruino/BangleApps/blob/master/apps/clock_info/lib.js#L77 So min+max+v for value are reported. Not for all of them as sometimes it doesn't make sense, but for most. And Circlesclock for instance (which I think is what you're referring to) renders the clockinfos using that data: https://github.com/espruino/BangleApps/blob/master/apps/circlesclock/app.js#L193 The max is just reported by |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed some clocks that display a clock_info use a ring chart to display info, which looks really neat, and useful to see data at a glance. However, they can't access the data directly, instead creating their own clockInfo list to add on ring functionality. My idea is to have this as a option when defining a clockInfo in the first place. The main reason we can't use the existing battery, steps, heart rate clockInfos are because the clock doesn't know the max, so what if we have an option specifying the maximum value? That would then allow for a seamless integration between clocks and clock_infos, without needing to make a custom clockInfo for each clock separately.
I envision the new definition of a clockInfo to be something like this:
Beta Was this translation helpful? Give feedback.
All reactions