Comments (6)
Have you tried restarting node-red?
from node-red-dashboard.
And then I restarted node-red and the gauge appeared! However there appears to be a discrepancy in the coloring of the inner and outer rings
This happens because my data range (10-100) and segments range (0-100) were not the same
The color changes align when the ranges are the same, e.g. both the green segment and the range starting at 10
It goes wrong the other way too. Starting the data range at zero and the first segment at 20 I get this:
I think the segment colors need to be positioned within the data data range so the color changes always align. Either that or the editor should insist the ranges are the same.
Cheers, Colin
from node-red-dashboard.
Thanks ColinL, I'll add a restart to my trouble shooting in future.
from node-red-dashboard.
It should not be necessary, but I think there are still some issues to be sorted out with D2 that mean that a restart may be required under various conditions.
from node-red-dashboard.
Restart isn't necessary, this occurs when the min
of the Gauge doesn't match the first segment provided in the list of colours.
I have it on my list to make this check more robust
from node-red-dashboard.
Summarising todos in here:
- Update the documentation to specify
msg.payload
is how to set the value - Better validation in the NR Editor to make sure that the
min
value aligns with the smallest providedsegment
. - Can also offer validation if a segment is provided that is larger than the
max
.
from node-red-dashboard.
Related Issues (20)
- Informational question: gestures support HOT 7
- 'Widget load' event triggered only when there is data for the node in the Node-red datastore HOT 1
- Add new Teleport for app-bar-title HOT 2
- ui-template: template is not rendered until content is sent HOT 5
- DB2 \ Layout \ Pages keeps resetting to expanded view. HOT 3
- Include VSparkline for use in ui-template HOT 4
- ui-table: add inital Row setting to Items per page dropdown HOT 2
- ui-table: possibility to hide array values that are displayed HOT 3
- Add a way to move a group to other page using "UI Control" node .
- Dashboard does not reconnect if network is down for a significant time. HOT 1
- Ditch the Connection Re-established popup! HOT 7
- After multiple/quick dashboard reload top-bar and side-bar disappear HOT 5
- Form - Add option to allow Drop Down as an element HOT 1
- Form - Allow the Form elements to be sized similar group sizing.
- The presence of a v-switch in a ui-template affects the positioning of core ui-switch node
- PWA feature - problem with Google Oauth authentication (and probably other similar systems) HOT 45
- Radio button group: programatic setting does not work anymore HOT 18
- Add "development" NODE_ENV option for build HOT 4
- Add a way to pass parameters to a page HOT 3
- No Longer possible to change the "favicon" HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-dashboard.