原創|使用教程|編輯:鄭恭琳|2019-11-01 11:10:33.073|閱讀 239 次
概述:本示例說明如何加載儀表板模板并在設計器中對其進行編輯。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關鏈接:
Stimulsoft Dashboards.JS是一個功能齊全的工具,用于為JavaScript平臺創建儀表板。要生成和查看儀表板,您需要任何支持HTML5和JavaScript的Web瀏覽器。當不需要服務器端時,它可以作為客戶端工作,也可以在服務器端使用服務器端。該軟件與Node.js完美兼容。
立即點擊下載Stimulsoft Dashboards.JS最新版
本示例說明如何加載儀表板模板并在設計器中對其進行編輯。
<script type="text/javascript"> // Set full screen mode for the designer var options = new Stimulsoft.Designer.StiDesignerOptions(); options.appearance.fullScreenMode = true; // Create the dashboard designer with specified options var designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false); // Create a new dashboard instance var report = Stimulsoft.Report.StiReport.createNewDashboard(); // Load dashboard from url report.loadFile("../dashboard/DashboardChristmas.mrt"); // Edit dashboard template in the designer designer.report = report; </script>
在下面的屏幕截圖中,您可以看到示例代碼的結果。
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn