Skip to content

Center energy dashboard bar charts on period midpoint#30325

Draft
MindFreeze wants to merge 1 commit intodevfrom
fix-30291
Draft

Center energy dashboard bar charts on period midpoint#30325
MindFreeze wants to merge 1 commit intodevfrom
fix-30291

Conversation

@MindFreeze
Copy link
Copy Markdown
Member

@MindFreeze MindFreeze commented Mar 25, 2026

Proposed change

Shift bar x-values to the period midpoint so bars visually span between the tick marks they represent. The solar forecast line is also shifted to align with the bars.

Fixes #30291

Screenshots

Before:
image

After:
image

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

To help with the load of incoming pull requests:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

alignment of bars in Energy Dashboard, Electricity usage.

1 participant