OED icon indicating copy to clipboard operation
OED copied to clipboard

map chart link not honor map interval

Open huss opened this issue 1 year ago • 1 comments

Describe the bug

A chart link for a map does not reproduce the map interval if not the default one.

To Reproduce

Steps to reproduce the behavior:

  1. Select a meter
  2. Go to map graphic
  3. Change the map interval so not default
  4. Get the chart link
  5. When you use it it will show the default map interval.

Expected behavior

It should honor the user choice.

Screenshots

Here is a sample link that does not have the map interval:

http://localhost:3000/graph?meterIDs=26&chartType=map&serverRange=all&mapID=1&unitID=1&rate=hour,1&areaUnit=meters&areaNormalization=false&minMax=false

Note the bar link does have the barDuration so it is fine:

http://localhost:3000/graph?meterIDs=25&chartType=bar&serverRange=all&barDuration=7&barStacking=false&unitID=1&rate=hour,1&areaUnit=meters&areaNormalization=false&minMax=false

Additional context

Issue #1166 addresses that the map is not properly chosen. Until that is addressed, the map must be manually chosen to see this issue.

huss avatar Mar 21 '24 19:03 huss

I want to work on this issue.

davanmur avatar Jun 11 '24 19:06 davanmur