문제

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

도움이 되었습니까?

해결책

Changed

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

to

myChart.Series["mySeries"].ChartType = SeriesChartType.Column;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top