8 Replies Latest reply on Apr 29, 2013 3:07 PM by chris.rezny

    getting a javascript error on changeSizeAsync

    chris.rezny

      i have an embedded Tableau report that i am access via the Javascript API and whever i try and resize the viz i get an error "Invalid Parameter size.behavior"

       

      below is a snipit of the code i'm using

       

      if (activeSheet != null) {

                      activeSheet.changeSizeAsync({ width: 300, height: 400  });

       

       

                  }

       

      where activeSheet is the current sheet in the visualzation

       

      error.png

       

      any help would be appreciated