OpenEnergyDashboard / OED

Open Energy Dashboard (OED)
Mozilla Public License 2.0
75 stars 263 forks source link

values wrong on map graphic based on bar choice #1163

Open huss opened 6 months ago

huss commented 6 months ago

Describe the bug

The dates shown on the map graphic seem to show the correct start date but the end date is based on the bar interval and not the map interval. Furthermore, it seems to normalize the value by the number of bar days not map interval days.

To Reproduce

Steps to reproduce the behavior:

  1. Select the Sin Amp 1 kWh meter.
  2. On map note the values shown or day, week, 4 week.
  3. On bar interval select day from what should have defaulted to 4 week.
  4. On map the dates are only one day and the values are off.

Expected behavior

Bar and map intervals should be independent and work properly.

danielshid commented 2 months ago

i will be working on this issue.