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]: Toggle between total KWH and cost rather than showing both on same scaled graph #350

Open
puterboy opened this issue Feb 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@puterboy
Copy link

puterboy commented Feb 8, 2024

Over time if KWH and cost are not the same scale (say cost is $0.20 KWH) then the magnitude difference between the two traces continues to increase linearly making it difficult to see short term changes in energy use.

For example. if:

  • KWH=1, then Cost=0.20 and the scale is approximately 0 to 1, so you can perhaps perceive perhaps changes of .05KWH
  • KWH=100, then Cost=20 and the scale is approximately 20 to 100, so you can perhaps perceive changes of 5KWH
  • KWH=1000, then Cost=200 and the scale is approximately 200 to 1000, so you can perhaps perceive changes of 59KWH
    etc.

A way to solve this would be to only display a single trace and add a toggle between them -- this is OK since they basically say the same thing -- i.e. they are parallel lines differing only by the scale parameter $/KWH

@puterboy puterboy added the enhancement New feature or request label Feb 8, 2024
@puterboy
Copy link
Author

puterboy commented Feb 8, 2024

Even better/easier since assuming constant cost (which I think is all you allow), the curves differ only in scale.
So, why not just have a single curve with different Right and Left hand axis scales -- say left in KWH and right in $.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant