Full Screen Viewer by Default

This example shows how to show the dashboard viewer in full screen mode.

<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>


In the screenshot below you can see the result of the sample code.

Full Screen Viewer by Default