1 Reply Latest reply on Jun 15, 2018 2:53 PM by Patrick A Van Der Hyde

    How can I change the refresh speed of only a part of the dashboard on html?

    Yusuke Miyamura

      I am refreshing the dashboard using javascript, but I'd like to raise the update for only one sheet.
      I do not understand javascript and html because it is a beginner.
      Could you tell me anyone?

      <!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>