How to add charts in asp.net mvc

Using System.Web.Helpers;

public ActionResult ShowChart()
{
var key = new Chart(width: 600, height: 400)
.AddSeries(
chartType: “bar”,
legend: “Rainfall”,
xValue: new[] { “Jan”, “Feb”, “Mar”, “Apr”, “May” },
yValues: new[] { “20”, “20”, “40”, “10”, “10” })
.Write();

return null;
}

Note : Above you can use line,bar,pie,stock,column types