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

Feature request: Scale input #535

Closed
wormiedk opened this issue Jan 14, 2021 · 7 comments
Closed

Feature request: Scale input #535

wormiedk opened this issue Jan 14, 2021 · 7 comments
Labels
duplicate This issue or pull request already exists

Comments

@wormiedk
Copy link

It would be great if there was a possibility of scaling the input so I could have more graphs sharing the same axis.

As an example I have a radiator with a status variable between 0 and 3 that I would like to display alongside another value which is in the range of 0-100. It would be great if I could multiply the status variable by e.g 20 in order to display them together on the same axis.

I am already using the other axis for something different.

@RomRider
Copy link
Collaborator

Well, that doesn't look very logic for a graph. An axis represents a type of value with a defined scale, it can't represent 2 different scales at the same time on the same axis. Sounds like comparing apples and oranges.

You could however create a template sensor in home assistant which would multiply the value by 20 and display that sensor in the graph instead.

@RomRider RomRider added the wontfix This will not be worked on label Jan 18, 2021
@stale
Copy link

stale bot commented Feb 7, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!

@stale stale bot added the stale Stale issue - closed due to inactivity label Feb 7, 2022
@ildar170975 ildar170975 added duplicate This issue or pull request already exists and removed wontfix This will not be worked on labels Feb 11, 2022
@stale
Copy link

stale bot commented Feb 11, 2022

Still an active issue, got it! Removing stale label.

1 similar comment
@stale
Copy link

stale bot commented Feb 11, 2022

Still an active issue, got it! Removing stale label.

@ildar170975
Copy link
Collaborator

ildar170975 commented Feb 11, 2022

Although it is meaningless to show different parameters on the same Y-axis, anyway it is possible by using a value_factor option for each entity - then both graphs will by within same "scale".

Note that:

  1. The value_factor is introduced in v0.9.4.
  2. The value_factor should be per-entity - value_factor should be per-entity #607
  3. The value_factor should be [-xxx.xxx, +xxx.xxx] - see feat: add a multiplier to replace the potentially confusing value_factor #591

Closed as duplicate in favour of #591

@stale stale bot removed stale Stale issue - closed due to inactivity labels Feb 11, 2022
@andrewjswan
Copy link

Or for graph like:
image

@ildar170975
Copy link
Collaborator

The issue is closed.
Add new ideas into open related issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants