map chart link not honor map interval
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:
- Select a meter
- Go to map graphic
- Change the map interval so not default
- Get the chart link
- 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.
I want to work on this issue.