Chartjs-Chart js, loading data dynamically

1👍

It looks like you are trying to assign .NET list of integers to a jQuery function. This is never going to work as you are mixing two languages. You need to serialize List to JSON first.

You can achieve this using Newtonsoft Json nuget package:

using Newtonsoft.Json;

var data= JsonConvert.SerializeObject(Model.reject_count);

Leave a comment