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

Bar ranges #979

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Bar ranges #979

merged 2 commits into from
Aug 3, 2023

Conversation

huss
Copy link
Member

@huss huss commented Aug 1, 2023

Description

If there were multiple meters/groups with different time ranges then when the user selected a subrange that did not include one of the meter/group ranges then it did not honor this on bar. This is now fixed. It now uses all the meters to graph to determine what to do.

Type of change

  • Note merging this changes the database configuration.
  • This change requires a documentation update

Checklist

  • I have followed the OED pull request ideas
  • I have removed text in ( ) from the issue request

Limitations

None known

If there were multiple meters/groups with different time ranges then
when the user selected a subrange that did not include on of the
meter/group ranges then it did not honor this on bar. This is now
fixed. It now uses all the meters to graph to determine what to do.
@huss huss added this to the 1.0 Release milestone Aug 1, 2023
@huss huss requested a review from spearec August 1, 2023 19:55
@huss
Copy link
Member Author

huss commented Aug 1, 2023

With more testing I found that when you mix meters and groups then the bars do not align. This is because meters and groups are fetched separately. I'll think about this more but it may be tricky to fix this.

@huss
Copy link
Member Author

huss commented Aug 2, 2023

With more testing I found that when you mix meters and groups then the bars do not align. This is because meters and groups are fetched separately. I'll think about this more but it may be tricky to fix this.

I've opened issue #980 to address this in the future. It is not planned for v1.0.0 so this PR can go forward.

@spearec
Copy link
Contributor

spearec commented Aug 3, 2023

Am not sure how to reproduce this issue as it's not something I remember seeing.
Code looks good, so assuming it does fix the issue then it should be good to merge.

@huss huss merged commit c91b7c1 into OpenEnergyDashboard:v1.0.0 Aug 3, 2023
@huss huss deleted the barRanges branch September 1, 2023 15:49
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

Successfully merging this pull request may close these issues.

None yet

2 participants