Hello,
I'm new to .NET MVC and I'm trying to use the MsChart Control.
I can display a chart easily by dragging the chart control in an ASPX view, set up a Datasource and choose the X and Y values for my series.
But, for my application, I need more than one series. After looking around, it looks like the DataBindCrossTable is the solution.
In Alex's blog (http://blogs.msdn.com/b/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx), the code is:
chart1.DataBindCrossTab(myReader, "Name", "Year", "Sales", "Label=Commissions");
Elsewhere I've seen something like:
Chart1.
DataBindCrossTable
(Database1DataSet.