could you provide your code and I will test it on my systems?
It's quite easy to reproduce.
1. Browse to LessonSevenEnd.html (allow the scripts to run)
2. Click "Show 99'-2003 Categorically"
3. Click "Show Last 10 years"
As the result of applying both filters, the visualization/chart has gone - you see "white page" instead of empty chart
L7.rar 25.0 KB
When you restrict the filters to a point where there is no data, the viz will become blank like what you are seeing.
So what you're seeing is actually a "blank chart" rather than a "blank div". If it were simply a blank div, it would not take up space on the page.
Can you tell me more about what you expect or desire to see?
I would expect to have some API capability to check if some data returned or not, or probably some distinguished JS event.
I believe "no data event" might be quite significant for web applications that embed Tableau views.
Regarding the workaround...
In our case, we display "worksheets" directly, not "dashboards", so it looks like the floating text message won't work for us.
I'll be glad to know if some alternatives exist to retrieve "no data" state.