Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero Reference - Center Swing point for +ve and -ve ui level #32

Closed
G-Cottam opened this issue Nov 29, 2020 · 4 comments
Closed

Zero Reference - Center Swing point for +ve and -ve ui level #32

G-Cottam opened this issue Nov 29, 2020 · 4 comments

Comments

@G-Cottam
Copy link

The Min and Max are settable however the zero reference is not. It always assumes a positive number from minimum when displaying the levels, It would be good to have the ability to set the zero reference so the ui levels swings from this zero reference point.

This would allow this to be used for display of a controllers output eg Possitive or Negative Controller output. with Zero Center.
Or Delta from Setpoint display.

The levels could then peek in both directions away from the zero reference point.

The Zero reference at first could be "0" for first version but actualy the same maths would work if it was changed to be from a reference number "number" for delta from setpoint.

Love the ui Level, good job !!.

@hotNipi
Copy link
Owner

hotNipi commented Nov 29, 2020

The support for differential mode is asked many times. But there is design flaw written into ui_level which takes almost rewrite whole node to get rid of first. Too much work to fit into my daily schedules.
But there is a next generation of the artless-gauge which supports dashed lines now, so it can be configured to look similar to ui_level. And for artless-gauge, the differential mode is fully supported.

image

@rohnershare
Copy link

Hello I am unfortunately a complete beginner in programming. however, I would like to build a dashboard in node red. I've seen your bar graphics and I think they're very beautiful. I would like to have everything (as far as possible) automated in my project. to do this, I transfer the variables using payload. now i would like to build a block that is predefined. unfortunately I can't quite get along with your code. I am also working on the project with a friend and although he can program well, he cannot cope with it either. if you want you can write to me at beschlac@gmail.com then I can explain it to you in more detail. I would be very happy. Greetings from the black forest, bernd

@hotNipi
Copy link
Owner

hotNipi commented Jan 7, 2021

I did read couple of times but still I don't understand the problem.
But I guess You are trying to do custom widget for node-red dashboard. If so, my nodes are not best example for beginners for sure. They are complex mainly due the too many options offered with one node but also my intention is to keep calculations at server side to have front-end power more dedicated to rendering. That makes code hard to read and understand. But not my fault.

But anyway. You should open your problem more clearly.

@hotNipi
Copy link
Owner

hotNipi commented Jun 15, 2021

Closed due the inactivity

@hotNipi hotNipi closed this as completed Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants