One chart shows no data in my react app


#1

Hi guys, I’m adding filters directly to charts in a react app and one of the charts shows no data. How can I troubleshoot?


#2

Hi @robert.dev1, most likely, there is a filter in your chart that is filtering out all data. In the js console, type cf.getVisualization('element-id-of-viz')._queryConfigs. Replace element-id-of-viz with the actual element id you are using for your visualization. Then open the query configuration and look into the filters array to examine the filters you have applied.

Please let me know if this could help you.


#3

Thank you very much @juan.dominguez you save my life :+1::+1::+1:, very appreciated.