I have a webpage with 7 Tableau visualizations in it, coming from Tableau Server 9.2.
Each viz is doing a live connection to a Vertica cluster.
I am using my own query engine which generates the SQL necessary based on the filters selected by the end-user in the webpage, and inserts the final rows of data into Vertica.
When the data has been inserted, I tell each viz to refresh like this:
I then check to see if the viz has loaded or not, by selecting and then counting marks like this:
and then printing out each data point like this:
$.each(selectedMarks, function (i, mark)
$.each(mark.getPairs(), function (j, pair)
console.log(pair.fieldName + ": " + pair.value);
What's puzzling is that even when the charts are blank and empty, it still logs to the console every data point from that chart. So I don't think it's an issue of Tableau not being able to read the data.
This happens on both Chrome and Safari, on Mac OS X, and has happened to multiple users.
There are no errors in the developer console.
Any ideas how to debug this?
Did you get this figured out and working? I see no one replied previously but if you are still having an issue, please respond and we can see if anyone might have an idea to help.