17

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

Santiago Alessandri
  • 6,630
  • 30
  • 46
alhazen
  • 1,907
  • 3
  • 22
  • 43

1 Answers1

47

Changed

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

to

myChart.Series["mySeries"].ChartType = SeriesChartType.Column;
Jeroen Vannevel
  • 43,651
  • 22
  • 107
  • 170
alhazen
  • 1,907
  • 3
  • 22
  • 43