asp.net mvc - Drawing a PIE chart in C# MVC application -


i have created asp.net c# mvc3 project, , need display pie chart , populate values returned following controller;

my controller ;

        public actionresult index()         {             var model = new timetrackermodel();             model.typeschools = alldatalist.retrievealltypeschool();             return view(model);                  } 

the model type schools return number of primary, secondary , tertiary schools in uk.

now, need display these values in pie chart. how can draw pie chart according values returned.

1.) how can draw pie chart (i unable drag , drop chart tool toolbar) 2.) how can populate pie chart values given controller.

1) need js library purpose, suggest raphael: http://raphaeljs.com/pie.html

2) may create custom view template model or simple view


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -