I have created a ASP.NET C# MVC3 project, and i need to display a PIE chart and populate it with values returned by the following controller;
My Controller ;
public ActionResult Index()
{
var model = new TimeTrackerModel();
model.TypeSchools = AllDataList.retrieveAlltypeSchool();
return View(model);
}
The Model Type Schools will return the number of Primary, Secondary and Tertiary Schools in UK
.
Now, i need to display these values in a PIE chart
. How can draw a PIE chart
according to the Values returned.
1.) How can i draw a PIE chart (I am unable to drag and drop the CHART tool from the toolbar) 2.) How can i populate the PIE chart with the values given from the controller.