2 Replies Latest reply on Jul 2, 2018 7:09 PM by Yusuke Miyamura

    Avoiding update marks when dashboard is automatically reloaded

    Yusuke Miyamura

      I am implementing automatic reloading like html like below, but what should I do to avoid showing update marks turning around when updating and whitening screen masking?

       

       

      Please give me some advice or hint.

      Thank you.

       

      <!DOCTYPE html>

       

      <html lang="en">

       

        <head>

       

        <title>Tableau JavaScript API</title>

       

        <script type="text/javascript" src="http://    /javascripts/api/tableau_v8.js"></script>

       

        </head>

       

        <body>

       

        <div id="tableauViz"></div>

       

       

       

      <script type='text/javascript'>

       

      var placeholderDiv = document.getElementById("tableauViz");

       

        var url = "       ";

       

        var options = {

       

          hideTabs: true,

       

          width: "100%",

       

          height: "1000px"

       

        };

       

        var viz = new tableauSoftware.Viz(placeholderDiv,url, options);

       

       

          setInterval(function () {viz.refreshDataAsync() }, 5000);

       

       

       

      </script>

       

      </body>

       

      </html>