ASP.net chart control stacked bar column chart

ASP.net chart control stacked bar column chart

To  make ASP.net chart control look like a stacked bar column chart

Add the Following in Code behind:

// Code to make the chart look like stacked
 Chart2.Series[0].ChartType = SeriesChartType.StackedColumn;

 Chart2.Series[1].ChartType = SeriesChartType.StackedColumn;

 Chart2.Series[2].ChartType = SeriesChartType.StackedColumn;

 Chart2.Series[3].ChartType = SeriesChartType.StackedColumn;

No comments:

Post a Comment