I have a column chart and it is working fine with the following code. Now I want to make it a stack column chart by adding Crickettime, Hockeytime, with the existing football time. I have similar procedures to find Crickettime and Hockeytime. I think I need to specify series in the following method so that series1 is football time, and series2 is Cricket time, and series 3 is hockey time. Any help on how to specify the series.
private void GetChartData2(){
SqlConnection con2 = new System.Data.SqlClient.SqlConnection();
con2.ConnectionString = "connectionstring";
SqlCommand cmd2 = new SqlCommand("Execute spGetFootballTimeOftheUsersPerDay_Updated '" + currentUser + "'", con2);
cmd2.CommandTimeout = 0;
System.Data.SqlClient.SqlDataAdapter sqldataadap2 = new System.Data.SqlClient.SqlDataAdapter();
sqldataadap2.SelectCommand = cmd2;
DataTable dtable = new DataTable();
dtable.Locale = System.Globalization.CultureInfo.InvariantCulture;
sqldataadap2.Fill(dtable);
Chart2.DataSource = dtable;
Chart2.DataBind();
}