Bold BI®Unlock stunning dashboards with Bold BI®: 35+ widgets, 150+ data sources, AI agent & more. Try it for free!
Dear Syncfusion,
I have created a .cshtml razor page (PAU.cshtml) in my browser application to enable me call Syncfusion Dashboards in my application. However, when I load the dashboard in the application, the dashboard is loaded but the graphs are not drawn yet it shows the data is being picked from the database.
When I happen to inspect, it is complaining about the uncaught type error as shown in the image below.
I have provided more attachments in regard to my razor page, the syncfusion dashboard in designer mode and the preview that works when you run the dashboard in preview.
I shall be glad for your response.
Thank You
Thank You Solomon for your response, by you saying " So remove the reference and use the $ instead" what do you exactly mean by I should use $.
More clarity and example will be appreciated.
Thank You
Thank You Very Much Solomon.
I have been able to solve the problem.
Below is how I changed the changed.
$(function (e) {
$("#dashboard").css({ "width": "99%", "height": "90vh" })
$("#dashboard").ejDashboardViewer({
////IBS Office Server Dashboard Url
//serviceUrl: "http://102.68.174.102/DashBoardService/DashboardService.svc",
//dashboardPath: dashboardpathAgyw,
////Azure Server Dashboard Url
//serviceUrl: "http://52.188.137.38:8080/DashBoardService/DashboardService.svc",
//dashboardPath: dashboardpathAgyw,
////Local Dashboard Url
serviceUrl: "http://localhost/DashBoardService/DashboardService.svc",
dashboardPath: dashboardpathpau,
});
});