Metrics charts should display entire time window irrespective of data
Summary
When selecting a time range with gaps in data or empty data, our charts show only the time range where data exists.
Steps to reproduce
- Create a simple project
- Generate spikes of data for a short period of time
- Select time range for a longer period of time
What is the current bug behavior?
Although I selected the time range of last 8hr, I am presented with a chart of the last minute (this is because we had data only for the last minute)
What is the expected correct behavior?
We should see the whole 8hr with no data and a spike of data over the last minute
Relevant logs and/or screenshots
Proposal
We should force our dashboard to present the selected time window
Technical details
Setting the min and max values based on the selected time range should do it.
Edited by Dhiraj Bodicherla