Skip to main content

zoomdata-client.d.ts failed to define the visualize function

Comments

4 comments

  • Mehrtash G

    Hi Harvey,

    It sounds like the documentation you are using may not reference the version of Composer you are using which I believe is 6.9.

    Can you try following this link instead?

    Embed Composer Components Using JavaScript and Trusted Access

    0
  • Jiawei Z Zhang

    Mehrtash G
    Hi Mehrtash,

    Previously I was following another doc, which is Embed a Zoomdata Chart in Your Web Page.

    I want to know what's the difference between these 2 docs?

    0
  • Ellis Carroll

    Hi Harvey!

    From what you're showing, this is version 4.9 documentation outlining the process of embedding a single Zoomdata chart into a web application. We are currently on version 6.9 which is why the documents outline different embedding workflows. 

    in version 4.9, there were two use cases for embedding:

    1. Embedding a dashboard via iFrame
    2. Embedding a single visual/chart via the ZoomdataSDK

    The zoomdata-client.d.ts file has most likely been removed due to the changes we've made to better fit our current embedding strategy introduced in versions 5 & 6 of Composer. 

    Are you currently on version 6.9? 

    If so, please use the documentation outlined by Mehrtash. It outlines what's needed to embed using our new embed.js.

    Embed Composer Components Using JavaScript and Trusted Access

    0
  • Jiawei Z Zhang

    Ellis Carroll

    Thanks Ellis,

    Now I'm working on v6.9.1 and I am following the new guide to embed our charts.

    0

Please sign in to leave a comment.