๐:0
You can use Chart.Mvc which is a .NET wrapper on chart.js library: http://www.martinobordin.it/Chart.Mvc/Home/QuickStart
This should solve your problem.
Of course you can look to source code (https://github.com/martinobordin/Chart.Mvc) and do it your own way ๐