Frage

MSChart Control is originally a webforms control. The typical strategy for including this control on ASP.NET MVC is to create the chart in the controller then render it as an image to the view. Here's an example of how it's actually done.

My concern is then since the chart itself is rendered as an image, you are not able to bind any chart-related events to it with normal methods, such as mouse hover on a point to show tooltip or click event on a bar. Would something like this possible on MVC?

War es hilfreich?

Lösung

Nope. Not with the MSChart control. Because like webforms, everything gets sent to the browser and is rendered there. The chart is just an image.

A lot of people use HighCharts. I've used Google charts.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top