Skip to content

Instantly share code, notes, and snippets.

@cmtoomey
Created March 28, 2016 20:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmtoomey/c9b21f53d6145dc50ea0 to your computer and use it in GitHub Desktop.
Save cmtoomey/c9b21f53d6145dc50ea0 to your computer and use it in GitHub Desktop.
Tableau Animation
i = 1
function interval() {
var i = 0;
setInterval(function() {
if (i < 70) {
console.log("The count is: " + i);
animate1(i);
i++;
}
}, 1000);
};
function animate1(a) {
workbooka.changeParameterValueAsync(“ANIMATE”, [a]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment