Tableau 嵌入开发测试

开发测试

JavaScript API Tutorial Basic Embed Tableau JS API嵌入 function initializeViz() { var placeholderDiv = document.getElementById(“tableauViz”); var url = “https://public.tableau.com/views/WorldIndicators/GDPpercapita”; //options = { // hideTabs: true, // onFirstInteractive: function () { // console.log(“Run this code when the viz has finished loading.”); } //var options = { // width: placeholderDiv.offsetWidth, // height: placeholderDiv.offsetHeight, // hideTabs: true, // hideToolbar: true, // onFirstInteractive: function () { // workbook = viz.getWorkbook(); // activeSheet = workbook.getActiveSheet(); // } // }; viz = new tableau.Viz(placeholderDiv, url, options); }
Basic Embed Tableau JS API嵌入
Basic Embed Tableau JS API嵌入
以下使用了 vizContainer引用了tableau public 视图:
广告

发布者:喜乐君

喜乐君 | Tableau Visionary 20202-2023,《数据可视化分析》《业务可视化分析》作者

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

您正在使用您的 WordPress.com 账号评论。 注销 /  更改 )

Facebook photo

您正在使用您的 Facebook 账号评论。 注销 /  更改 )

Connecting to %s

%d 博主赞过: