I'm trying to set a pie chart with data programatically but I'm unsure how to do this nor can I find documentation for this method. I'm populating the graph on the NeedDataSource event like so:
I'm also unclear as how the graph1.DataSource method works, as I assigned it to an object containing string, int, List<string> and List<int> and the result was a full blue pie chart with a series (?) called System.Collections.Generic.List`1 [System.String]
private
void
graph1_NeedDataSource(
object
sender, EventArgs e)
{
}
I'm also unclear as how the graph1.DataSource method works, as I assigned it to an object containing string, int, List<string> and List<int> and the result was a full blue pie chart with a series (?) called System.Collections.Generic.List`1 [System.String]