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 |
Cannot read property 'sti_as' of null
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Cannot read property 'sti_as' of null
Hello,
Please check the following samples:
https://github.com/stimulsoft/Samples-Dashboards-JS
Thank you.
Please check the following samples:
https://github.com/stimulsoft/Samples-Dashboards-JS
Thank you.