2 Replies Latest reply on Mar 26, 2018 4:19 AM by Michael Marcavage

    Javascript APIs, set focus on marks after filter change

    Michael Marcavage

      I am working with Tableau's javascript (js) APIs and changing the filter values on a fill map.

      On load of the page, I have the fill map focused on NJ, when I click a button that triggers js code to change the filters to look at SC, I have to manually move the map to bring SC to be the centers of the viz. Is there a way using the js api to move SC into primary focus?

       

      If there there is a way to do this other than via javascript, I am open to it.