Any one see this. The middle scale shows 0 on the pointer, but the number shows -2.5.
The other 2 scales show correctly.
What is the payload for middle gauge?
[{"id":"73e21dd8bd56e59f","type":"ui-gauge","z":"8e39447b869dbd7c","name":"","group":"e803caf42918a1bf","order":1,"width":0,"height":0,"gtype":"gauge-half","gstyle":"needle","title":"EI","units":"units","prefix":"","suffix":"","segments":[{"from":"-2.5","color":"#ffcc66"},{"from":"-1","color":"#33cc33"},{"from":"1","color":"#ffcc66"}],"min":"-2.5","max":"2.5","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":510,"y":680,"wires":[]},{"id":"ee316ca9eb304757","type":"ui-gauge","z":"8e39447b869dbd7c","name":"","group":"e803caf42918a1bf","order":1,"width":0,"height":0,"gtype":"gauge-half","gstyle":"needle","title":"EI","units":"units","prefix":"","suffix":"","segments":[{"from":"-2.5","color":"#ffcc66"},{"from":"-1","color":"#33cc33"},{"from":"1","color":"#ffcc66"}],"min":"-2.5","max":"2.5","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":510,"y":720,"wires":[]},{"id":"2274c427bfc55a7b","type":"ui-gauge","z":"8e39447b869dbd7c","name":"","group":"e803caf42918a1bf","order":1,"width":0,"height":0,"gtype":"gauge-half","gstyle":"needle","title":"EI","units":"units","prefix":"","suffix":"","segments":[{"from":"-2.5","color":"#ffcc66"},{"from":"-1","color":"#33cc33"},{"from":"1","color":"#ffcc66"}],"min":"-2.5","max":"2.5","sizeThickness":16,"sizeGap":4,"sizeKeyThickness":8,"styleRounded":true,"styleGlow":false,"className":"","x":510,"y":760,"wires":[]},{"id":"d96ca3bbd68181aa","type":"inject","z":"8e39447b869dbd7c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"0.0","payloadType":"num","x":190,"y":720,"wires":[["a1d7a0c2cbd9ec7d"]]},{"id":"7a6ec73e0e7f4eec","type":"inject","z":"8e39447b869dbd7c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"-1","payloadType":"num","x":190,"y":800,"wires":[["2274c427bfc55a7b"]]},{"id":"fa69dbf014bc22c0","type":"inject","z":"8e39447b869dbd7c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":190,"y":640,"wires":[["73e21dd8bd56e59f"]]},{"id":"c3efd9f604dcb195","type":"inject","z":"8e39447b869dbd7c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"0.0000001","payloadType":"num","x":200,"y":680,"wires":[["a1d7a0c2cbd9ec7d"]]},{"id":"d886a82a1f4dbb57","type":"inject","z":"8e39447b869dbd7c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"-0.0000001","payloadType":"num","x":210,"y":760,"wires":[["a1d7a0c2cbd9ec7d"]]},{"id":"a1d7a0c2cbd9ec7d","type":"junction","z":"8e39447b869dbd7c","x":360,"y":720,"wires":[["ee316ca9eb304757"]]},{"id":"e803caf42918a1bf","type":"ui-group","name":"MyGroup","page":"598e16af8e340f25","width":"3","height":"1","order":-1,"showTitle":true,"className":"","visible":"true","disabled":"false"},{"id":"598e16af8e340f25","type":"ui-page","name":"MyPage","ui":"c7808fa856cdeb06","path":"/page3","icon":"home","layout":"grid","theme":"68d1b11d88c4cd1e","order":2,"className":"","visible":"true","disabled":"false"},{"id":"c7808fa856cdeb06","type":"ui-base","name":"UI Name","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false},{"id":"68d1b11d88c4cd1e","type":"ui-theme","name":"Theme Name","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]
Have fixed this with: UI Gauge: Better zero check & unit label alignment by joepavitt · Pull Request #598 · FlowFuse/node-red-dashboard · GitHub
Afprøvet og virker i version 1.3.0
Tested and working in version 1.3.0
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.