alhazen
alhazen

Reputation: 1915

Changing a horizontal bar chart to a vertical one

I'm using the'System.Windows.Forms.DataVisualization.Charting' library for my chart and I was wondering if anyone figured out how to switch the axes to display the chart vertically

Thanks.

alt text

Upvotes: 17

Views: 25584

Answers (1)

alhazen
alhazen

Reputation: 1915

Changed

myChart.Series["mySeries"].ChartType = SeriesChartType.Bar;

to

myChart.Series["mySeries"].ChartType = SeriesChartType.Column;

Upvotes: 47

Related Questions