1 Reply Latest reply on Jan 23, 2019 6:01 PM by patrick.byrne.0

    React/ JS API Viz Issue

    Ben  Hazzard

      Hello,

       

      I'm trying to implement a dashboard from Tableau public into my project, but I'm having an issue calling the Viz constructor.

      Page Component:

      Screen Shot 2018-12-29 at 5.24.48 PM.png

      Viz Component:

      Screen Shot 2018-12-29 at 5.24.32 PM.png

       

      Error:

      Screen Shot 2018-12-29 at 5.26.02 PM.png

       

      I have also included a .d.ts file in the tableau-api directory to declare both of the files.

       

      Thanks!