-
Notifications
You must be signed in to change notification settings - Fork 9
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
Allow switching Brief page circular gauges from percentages to units #551
Comments
Note that we might have to do manual unit conversion (e.g. L to kL etc) if the base value would make the string too long to "fit" in the quarter circle area allowed for the labels. |
Marking as 1.0.0, medium_prio. |
settings -> Brief View -> .... |
This dbus path is already on the dbus: Sounds like this path is supposed to be used for switching between percentages and units. @chriadam, @DanielMcInnes? |
It turns out that |
Brief page circular gauges already support displaying percentages, which can be activated from Settings > Display& Language > Brief view levels > Toggle Show % on/off (uses |
Yes, We could add another setting like |
So there is supposed to be an option to show nothing? Or not show any unit (just numbers)? If there are three options, and they are always exclusive, then I would propose using one path (can be |
Currently it is used as either true/false, so true = show %, and false = show nothing.
My initial thought was that a name like |
Would one actually prefer to have the brief page show "nothing"? What unit will the displayed number be in then? Afaic, the only useful options are to show the values in percentages ( |
Currently if you set |
Understood, then it makes sense to have 3 options. I would propose to rename |
Sounds good to me. Can gui-v2 use it like this already, or is |
Ok |
Removed "/Settings/Gui/BriefView/ShowPercentages" and added "/Settings/Gui/BriefView/Unit" with 3 options: - 0: show no values and units on the briefview - 1: show value in absolute units - 2: show percentages victronenergy/gui-v2#551
Removed "/Settings/Gui/BriefView/ShowPercentages" and added "/Settings/Gui/BriefView/Unit" with 3 options: - 0: show no values and units on the briefview - 1: show value in absolute units - 2: show percentages Default value is set to 1 victronenergy/gui-v2#551
I added the setting. |
Sorry just to verify do we want to change the default from percentages to absolute unit values? I don't have preferences either way, just the original issue description talks about adding a setting to allow switching from percentages to "raw" units, not the other way around. |
Removed "/Settings/Gui/BriefView/ShowPercentages" and added "/Settings/Gui/BriefView/Unit" with 3 options: - 0: show no values and units on the briefview - 1: show value in absolute units - 2: show percentages Default value is set to 2 victronenergy/gui-v2#551
added "/Settings/Gui/BriefView/Unit" with 3 options: - 0: show no values and units on the briefview - 1: show value in absolute units - 2: show percentages Default value is set to 2 victronenergy/gui-v2#551 JHO: don't remove /Settings/Gui/BriefView/ShowPercentages yet, it is still in use.
Allow showing the remaining tank levels in absolute volumes, but show the remaining battery level always in percentages. Fixes #551.
Allow showing the remaining tank levels in absolute volumes, but show the remaining battery level always in percentages. Fixes #551.
Matthijs has asked if we could add a setting to allow switching the Brief page circular gauge values from Percentages to being "raw" units (e.g. Battery 87% to Battery 126 AH).
The text was updated successfully, but these errors were encountered: