Cannot read property 'sti_as' of null

Stimulsoft Dashboards.JS discussion
Post Reply
trcadmin
Posts: 6
Joined: Mon Apr 08, 2019 9:14 am

Cannot read property 'sti_as' of null

Post by trcadmin » Mon May 13, 2019 2:18 am

Hi,

I encounter error as below the sti_as value is null when I createNewDashboard().



TypeError: Cannot read property 'sti_as' of null
Function.ct.createNewDashboard
http://localhost:3000/js/stimulsoft/sti ... 349:185195
(anonymous function)
http://localhost:3000/static/js/105.chunk.js:57:60
54 |
55 | setTimeout(function () {
56 | // Create a new dashboard instance
> 57 | var dashboard = window.Stimulsoft.Report.StiReport.createNewDashboard(); // Load dashboard from JSON object
| ^ 58 |
59 | dashboard.load(dashboardObject); // Assign the dashboard to the viewer
60 |
Lech Kulikowski
Posts: 1305
Joined: Tue Mar 20, 2018 5:34 am

Re: Cannot read property 'sti_as' of null

Post by Lech Kulikowski » Mon May 13, 2019 6:30 am

Hello,

Please check the following samples:
https://github.com/stimulsoft/Samples-Dashboards-JS

Thank you.
Post Reply