I am using ASP.Net MVC3 and the MS chart controls to draw a pie chart.
It seems I have to set an IMG control with the source set to an action controller. However this looses the possibility of being able to 'click' on the image and get a redirect to another page with the relevant segment that has been clicked.
Can anyone help?
Thanks
This tutorial - here. Should help you, however in doing this it will add a viewstate to your views. It basically adds runat="server"
to your page so treats it like any normal webforms page and violates the MVC principal.
If your bothered about that then there are a number of javascript charts that can be used - the Google chart api is a good start.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With