You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a sensor that measures the power being imported (negative value) or exported (positive value) from the grid. I would like to display that with a fill that is in the centre of the card when the value is near zero and then either fills left if the value is negative or fills to the right if the value is positive.
Ideally, the zero point would be determined by where zero falls between the min and max values. So, min = -5,000 and max = 10,000, the zero point would be 1/3 of the width.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a sensor that measures the power being imported (negative value) or exported (positive value) from the grid. I would like to display that with a fill that is in the centre of the card when the value is near zero and then either fills left if the value is negative or fills to the right if the value is positive.
Ideally, the zero point would be determined by where zero falls between the min and max values. So, min = -5,000 and max = 10,000, the zero point would be 1/3 of the width.
Beta Was this translation helpful? Give feedback.
All reactions