Charts Break when data is not available #2643
Labels
Assigned to HM
Work that is being assisted on by HM
bug
Something isn't working
Triaged
When the ticket has been correctly triaged, add this label
Describe the bug
I am using Chart component to render my timeseries data.
The source for timeseries data is iot-sitewise.
When I choose a timerange where data is not available for some timeslots, I can see the Chart populated with the data points when available as below:
However, as soon as the chart is rendered, I get the aggregate error as shown below.
I tried setting the aggregationType to 'AVERAGE' and resolution to "0", "1m", "1h" to see if I can resolve this error, but it does not seem to help.
Below is the timeseries data query :
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Error should not be seen in the UI.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I can see a similar error in the issue: #2605
The text was updated successfully, but these errors were encountered: