发布时间 : 2019-11-01 11:16:29.587|阅读 362 次
概述:本示例说明如何以全屏模式显示仪表板查看器。
相关链接:
Stimulsoft Dashboards.JS是一个功能齐全的工具,用于为JavaScript平台创建仪表板。要生成和查看仪表板,您需要任何支持HTML5和JavaScript的Web浏览器。当不需要服务器端时,它可以作为客户端工作,也可以在服务器端使用服务器端。该软件与Node.js完美兼容。
立即点击下载Stimulsoft Dashboards.JS最新版
本示例说明如何以全屏模式显示仪表板查看器。
<script type="text/javascript"> // Set full screen mode for the viewer var options = new Stimulsoft.Viewer.StiViewerOptions(); options.appearance.scrollbarsMode = true; options.appearance.fullScreenMode = true; // Create the dashboard viewer with specified options var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false); viewer.report = Stimulsoft.Report.StiReport.createNewDashboard(); </script>
在下面的屏幕截图中,您可以看到示例代码的结果。