Hello team,
In my bootstrap MVC application am using SB Admin template with Json, ajax and angularJS.
I have the following page.
1. Products stockIn page
2. Sales page.
And my question how do I display daily Sales, products quantity in stock, critical stocks and also plot it on a graph in admin dashboard.
Thank you all for your help.
Emmmanuel FIADUFEPosted Apr 4, 2023, 4:57 PM
Hello Sachin
I tried your code and did some changes to suit my code but is giving me some errors in the PlotGraph code
Emmmanuel FIADUFEPosted Apr 4, 2023, 4:11 PM
Please do I need to create a new table like as you statated in your example because I have table like stockIn, Sales table and sales details table
Sachin SinghPosted Apr 4, 2023, 9:24 AM
create a viewModel
now fill the above view model
Now based on json response use ChartJs library and assign x and y axes.
Emmmanuel FIADUFEPosted Apr 3, 2023, 3:54 PM
Thank you Tamang, I will check it and revert
Pasang TamangPosted Apr 3, 2023, 9:32 AM
Hi,
Please check this code repository https://github.com/go2ismail/Asp.Net-User-Role-Membership-Example. This will gives you idea about creating admin dashboard. For graph you can check this article https://www.c-sharpcorner.com/article/creating-charts-with-asp-net-core-mvc-using-google-chart-api-part-two/. I hope you will find these helpful.
Regards,
Pasang