ASP.NET MVC: No Data in Bar Chart

ika palad 86 Reputation points
2021-10-13T13:18:26.733+00:00

I'm working in ASP.NET MVC binding Syncfusion Bar Chart in SQL Server however the data in the bar chart is not loading and there are no prompt error message in my code. I wonder what could be the problem. Here the output and my code.

ChartController.cs

Index.cshtml

Output

Network error

Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Yijing Sun-MSFT 7,106 Reputation points
    2021-10-14T03:32:59.917+00:00

    Hi @ika palad ,
    According to your error pictures,I think your problem is that you can't find the router.js file. You could check if the path of the router.js file is correct.

    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. ika palad 86 Reputation points
    2021-10-13T13:29:11.547+00:00

    Console error

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.