Infinite extent for field "count": [Infinity, -Infinity]

I am building a bar chart in Vega visualization and it is getting created as expected. But when I change the time range or put some filter for which I don't have data, then ideally the chart should be blank and display nothing, but in my case it is showing the below error:
Infinite extent for field "count": [Infinity, -Infinity]
This may be because of the Transform that I'm using in my code. Can you help me resolving this issue or let me know if I can replace Transform with some other property.

What transform are you using?

I know some support default values or some basic conditional if statements that you can use to check values.

Hi @aaron-nimocks ,
Thanks for your reply!
I finally got the configuration to hide the warnings if we don't have ay data. Below is the syntax that I used.

 config: {โ€‹โ€‹โ€‹โ€‹โ€‹
kibana: {โ€‹โ€‹โ€‹โ€‹โ€‹
  hideWarnings: true
  }โ€‹โ€‹โ€‹โ€‹โ€‹
  }โ€‹โ€‹โ€‹โ€‹โ€‹
2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.