I have created the bar chart but the series are showing vertically.I need to show the bars horizontally.i have used the below code
private void LoadChartData(DataTable initialDataSource)
{
for (int i = 1; i < initialDataSource.Columns.Count; i++)
{
Series series = new Series();
foreach (DataRow dr in initialDataSource.Rows)
{
int y = (int)dr[i];
series.Points.AddXY(dr["Closing_Month"].ToString(), y);
}
Chart1.Series.Add(series);
}
}