Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create 3D pie chart? -Asp.net MVC

I have seen Microsoft charting control @ here and here.

It has good demonstration for displaying bar chart in MVC.

On scottgu's blog There are plenty of examples but they are using server controls (i.e <asp:CHRT runat"server">. This is also supported in MVC by Modifying web.config.

but as we should avoid using server control as postback is not supported in MVC, we should render it as shown in "without code behind page" example.

Exactly like This Question.

Now I would like to know how other chart types (like pie chart) can be created in controller?

like image 430
Vikas Avatar asked Jan 02 '26 06:01

Vikas


1 Answers

I like google charts. Just write a HTMLHelper to render the correct URL.

http://code.google.com/apis/chart/

like image 183
David Avatar answered Jan 03 '26 18:01

David



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!